microboard-temp 0.13.85 → 0.13.87

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.
@@ -58748,12 +58748,12 @@ var init_Sticker = __esm(() => {
58748
58748
  if (data.backgroundColor != null) {
58749
58749
  this.backgroundColor = coerceColorValue(data.backgroundColor);
58750
58750
  }
58751
- if (data.transformation) {
58752
- this.transformation.deserialize(data.transformation);
58753
- }
58754
58751
  if (data.text) {
58755
58752
  this.text.deserialize(data.text);
58756
58753
  }
58754
+ if (data.transformation) {
58755
+ this.transformation.deserialize(data.transformation);
58756
+ }
58757
58757
  this.text.updateElement();
58758
58758
  const linkTo = data.linkTo;
58759
58759
  if (linkTo) {
@@ -60131,10 +60131,6 @@ var init_Frame = __esm(() => {
60131
60131
  this.borderOpacity = data.borderOpacity ?? this.borderOpacity;
60132
60132
  this.borderStyle = data.borderStyle ?? this.borderStyle;
60133
60133
  this.borderWidth = data.borderWidth ?? this.borderWidth;
60134
- if (data.transformation) {
60135
- this.transformation.deserialize(data.transformation);
60136
- this.transformPath();
60137
- }
60138
60134
  if (data.childIds) {
60139
60135
  this.childIds = data.childIds || [];
60140
60136
  }
@@ -60142,6 +60138,10 @@ var init_Frame = __esm(() => {
60142
60138
  this.text.deserialize(data.text);
60143
60139
  this.updateTextContainer();
60144
60140
  }
60141
+ if (data.transformation) {
60142
+ this.transformation.deserialize(data.transformation);
60143
+ this.transformPath();
60144
+ }
60145
60145
  this.canChangeRatio = data.canChangeRatio ?? this.canChangeRatio;
60146
60146
  this.subject.publish(this);
60147
60147
  return this;
@@ -69242,13 +69242,12 @@ var init_Shape = __esm(() => {
69242
69242
  this.borderOpacity = data.borderOpacity ?? this.borderOpacity;
69243
69243
  this.borderStyle = data.borderStyle ?? this.borderStyle;
69244
69244
  this.borderWidth = data.borderWidth ?? this.borderWidth;
69245
- if (data.transformation) {
69246
- this.transformation.deserialize(data.transformation);
69247
- this.transformPath();
69248
- }
69249
69245
  if (data.text) {
69250
69246
  this.text.deserialize(data.text);
69251
69247
  }
69248
+ if (data.transformation) {
69249
+ this.transformation.deserialize(data.transformation);
69250
+ }
69252
69251
  this.transformPath();
69253
69252
  this.text.updateElement();
69254
69253
  this.subject.publish(this);
package/dist/cjs/index.js CHANGED
@@ -58748,12 +58748,12 @@ var init_Sticker = __esm(() => {
58748
58748
  if (data.backgroundColor != null) {
58749
58749
  this.backgroundColor = coerceColorValue(data.backgroundColor);
58750
58750
  }
58751
- if (data.transformation) {
58752
- this.transformation.deserialize(data.transformation);
58753
- }
58754
58751
  if (data.text) {
58755
58752
  this.text.deserialize(data.text);
58756
58753
  }
58754
+ if (data.transformation) {
58755
+ this.transformation.deserialize(data.transformation);
58756
+ }
58757
58757
  this.text.updateElement();
58758
58758
  const linkTo = data.linkTo;
58759
58759
  if (linkTo) {
@@ -60131,10 +60131,6 @@ var init_Frame = __esm(() => {
60131
60131
  this.borderOpacity = data.borderOpacity ?? this.borderOpacity;
60132
60132
  this.borderStyle = data.borderStyle ?? this.borderStyle;
60133
60133
  this.borderWidth = data.borderWidth ?? this.borderWidth;
60134
- if (data.transformation) {
60135
- this.transformation.deserialize(data.transformation);
60136
- this.transformPath();
60137
- }
60138
60134
  if (data.childIds) {
60139
60135
  this.childIds = data.childIds || [];
60140
60136
  }
@@ -60142,6 +60138,10 @@ var init_Frame = __esm(() => {
60142
60138
  this.text.deserialize(data.text);
60143
60139
  this.updateTextContainer();
60144
60140
  }
60141
+ if (data.transformation) {
60142
+ this.transformation.deserialize(data.transformation);
60143
+ this.transformPath();
60144
+ }
60145
60145
  this.canChangeRatio = data.canChangeRatio ?? this.canChangeRatio;
60146
60146
  this.subject.publish(this);
60147
60147
  return this;
@@ -69242,13 +69242,12 @@ var init_Shape = __esm(() => {
69242
69242
  this.borderOpacity = data.borderOpacity ?? this.borderOpacity;
69243
69243
  this.borderStyle = data.borderStyle ?? this.borderStyle;
69244
69244
  this.borderWidth = data.borderWidth ?? this.borderWidth;
69245
- if (data.transformation) {
69246
- this.transformation.deserialize(data.transformation);
69247
- this.transformPath();
69248
- }
69249
69245
  if (data.text) {
69250
69246
  this.text.deserialize(data.text);
69251
69247
  }
69248
+ if (data.transformation) {
69249
+ this.transformation.deserialize(data.transformation);
69250
+ }
69252
69251
  this.transformPath();
69253
69252
  this.text.updateElement();
69254
69253
  this.subject.publish(this);
package/dist/cjs/node.js CHANGED
@@ -61168,12 +61168,12 @@ var init_Sticker = __esm(() => {
61168
61168
  if (data.backgroundColor != null) {
61169
61169
  this.backgroundColor = coerceColorValue(data.backgroundColor);
61170
61170
  }
61171
- if (data.transformation) {
61172
- this.transformation.deserialize(data.transformation);
61173
- }
61174
61171
  if (data.text) {
61175
61172
  this.text.deserialize(data.text);
61176
61173
  }
61174
+ if (data.transformation) {
61175
+ this.transformation.deserialize(data.transformation);
61176
+ }
61177
61177
  this.text.updateElement();
61178
61178
  const linkTo = data.linkTo;
61179
61179
  if (linkTo) {
@@ -62551,10 +62551,6 @@ var init_Frame = __esm(() => {
62551
62551
  this.borderOpacity = data.borderOpacity ?? this.borderOpacity;
62552
62552
  this.borderStyle = data.borderStyle ?? this.borderStyle;
62553
62553
  this.borderWidth = data.borderWidth ?? this.borderWidth;
62554
- if (data.transformation) {
62555
- this.transformation.deserialize(data.transformation);
62556
- this.transformPath();
62557
- }
62558
62554
  if (data.childIds) {
62559
62555
  this.childIds = data.childIds || [];
62560
62556
  }
@@ -62562,6 +62558,10 @@ var init_Frame = __esm(() => {
62562
62558
  this.text.deserialize(data.text);
62563
62559
  this.updateTextContainer();
62564
62560
  }
62561
+ if (data.transformation) {
62562
+ this.transformation.deserialize(data.transformation);
62563
+ this.transformPath();
62564
+ }
62565
62565
  this.canChangeRatio = data.canChangeRatio ?? this.canChangeRatio;
62566
62566
  this.subject.publish(this);
62567
62567
  return this;
@@ -71662,13 +71662,12 @@ var init_Shape = __esm(() => {
71662
71662
  this.borderOpacity = data.borderOpacity ?? this.borderOpacity;
71663
71663
  this.borderStyle = data.borderStyle ?? this.borderStyle;
71664
71664
  this.borderWidth = data.borderWidth ?? this.borderWidth;
71665
- if (data.transformation) {
71666
- this.transformation.deserialize(data.transformation);
71667
- this.transformPath();
71668
- }
71669
71665
  if (data.text) {
71670
71666
  this.text.deserialize(data.text);
71671
71667
  }
71668
+ if (data.transformation) {
71669
+ this.transformation.deserialize(data.transformation);
71670
+ }
71672
71671
  this.transformPath();
71673
71672
  this.text.updateElement();
71674
71673
  this.subject.publish(this);
@@ -58686,12 +58686,12 @@ var init_Sticker = __esm(() => {
58686
58686
  if (data.backgroundColor != null) {
58687
58687
  this.backgroundColor = coerceColorValue(data.backgroundColor);
58688
58688
  }
58689
- if (data.transformation) {
58690
- this.transformation.deserialize(data.transformation);
58691
- }
58692
58689
  if (data.text) {
58693
58690
  this.text.deserialize(data.text);
58694
58691
  }
58692
+ if (data.transformation) {
58693
+ this.transformation.deserialize(data.transformation);
58694
+ }
58695
58695
  this.text.updateElement();
58696
58696
  const linkTo = data.linkTo;
58697
58697
  if (linkTo) {
@@ -60069,10 +60069,6 @@ var init_Frame = __esm(() => {
60069
60069
  this.borderOpacity = data.borderOpacity ?? this.borderOpacity;
60070
60070
  this.borderStyle = data.borderStyle ?? this.borderStyle;
60071
60071
  this.borderWidth = data.borderWidth ?? this.borderWidth;
60072
- if (data.transformation) {
60073
- this.transformation.deserialize(data.transformation);
60074
- this.transformPath();
60075
- }
60076
60072
  if (data.childIds) {
60077
60073
  this.childIds = data.childIds || [];
60078
60074
  }
@@ -60080,6 +60076,10 @@ var init_Frame = __esm(() => {
60080
60076
  this.text.deserialize(data.text);
60081
60077
  this.updateTextContainer();
60082
60078
  }
60079
+ if (data.transformation) {
60080
+ this.transformation.deserialize(data.transformation);
60081
+ this.transformPath();
60082
+ }
60083
60083
  this.canChangeRatio = data.canChangeRatio ?? this.canChangeRatio;
60084
60084
  this.subject.publish(this);
60085
60085
  return this;
@@ -69180,13 +69180,12 @@ var init_Shape = __esm(() => {
69180
69180
  this.borderOpacity = data.borderOpacity ?? this.borderOpacity;
69181
69181
  this.borderStyle = data.borderStyle ?? this.borderStyle;
69182
69182
  this.borderWidth = data.borderWidth ?? this.borderWidth;
69183
- if (data.transformation) {
69184
- this.transformation.deserialize(data.transformation);
69185
- this.transformPath();
69186
- }
69187
69183
  if (data.text) {
69188
69184
  this.text.deserialize(data.text);
69189
69185
  }
69186
+ if (data.transformation) {
69187
+ this.transformation.deserialize(data.transformation);
69188
+ }
69190
69189
  this.transformPath();
69191
69190
  this.text.updateElement();
69192
69191
  this.subject.publish(this);
package/dist/esm/index.js CHANGED
@@ -58679,12 +58679,12 @@ var init_Sticker = __esm(() => {
58679
58679
  if (data.backgroundColor != null) {
58680
58680
  this.backgroundColor = coerceColorValue(data.backgroundColor);
58681
58681
  }
58682
- if (data.transformation) {
58683
- this.transformation.deserialize(data.transformation);
58684
- }
58685
58682
  if (data.text) {
58686
58683
  this.text.deserialize(data.text);
58687
58684
  }
58685
+ if (data.transformation) {
58686
+ this.transformation.deserialize(data.transformation);
58687
+ }
58688
58688
  this.text.updateElement();
58689
58689
  const linkTo = data.linkTo;
58690
58690
  if (linkTo) {
@@ -60062,10 +60062,6 @@ var init_Frame = __esm(() => {
60062
60062
  this.borderOpacity = data.borderOpacity ?? this.borderOpacity;
60063
60063
  this.borderStyle = data.borderStyle ?? this.borderStyle;
60064
60064
  this.borderWidth = data.borderWidth ?? this.borderWidth;
60065
- if (data.transformation) {
60066
- this.transformation.deserialize(data.transformation);
60067
- this.transformPath();
60068
- }
60069
60065
  if (data.childIds) {
60070
60066
  this.childIds = data.childIds || [];
60071
60067
  }
@@ -60073,6 +60069,10 @@ var init_Frame = __esm(() => {
60073
60069
  this.text.deserialize(data.text);
60074
60070
  this.updateTextContainer();
60075
60071
  }
60072
+ if (data.transformation) {
60073
+ this.transformation.deserialize(data.transformation);
60074
+ this.transformPath();
60075
+ }
60076
60076
  this.canChangeRatio = data.canChangeRatio ?? this.canChangeRatio;
60077
60077
  this.subject.publish(this);
60078
60078
  return this;
@@ -69173,13 +69173,12 @@ var init_Shape = __esm(() => {
69173
69173
  this.borderOpacity = data.borderOpacity ?? this.borderOpacity;
69174
69174
  this.borderStyle = data.borderStyle ?? this.borderStyle;
69175
69175
  this.borderWidth = data.borderWidth ?? this.borderWidth;
69176
- if (data.transformation) {
69177
- this.transformation.deserialize(data.transformation);
69178
- this.transformPath();
69179
- }
69180
69176
  if (data.text) {
69181
69177
  this.text.deserialize(data.text);
69182
69178
  }
69179
+ if (data.transformation) {
69180
+ this.transformation.deserialize(data.transformation);
69181
+ }
69183
69182
  this.transformPath();
69184
69183
  this.text.updateElement();
69185
69184
  this.subject.publish(this);
package/dist/esm/node.js CHANGED
@@ -61088,12 +61088,12 @@ var init_Sticker = __esm(() => {
61088
61088
  if (data.backgroundColor != null) {
61089
61089
  this.backgroundColor = coerceColorValue(data.backgroundColor);
61090
61090
  }
61091
- if (data.transformation) {
61092
- this.transformation.deserialize(data.transformation);
61093
- }
61094
61091
  if (data.text) {
61095
61092
  this.text.deserialize(data.text);
61096
61093
  }
61094
+ if (data.transformation) {
61095
+ this.transformation.deserialize(data.transformation);
61096
+ }
61097
61097
  this.text.updateElement();
61098
61098
  const linkTo = data.linkTo;
61099
61099
  if (linkTo) {
@@ -62471,10 +62471,6 @@ var init_Frame = __esm(() => {
62471
62471
  this.borderOpacity = data.borderOpacity ?? this.borderOpacity;
62472
62472
  this.borderStyle = data.borderStyle ?? this.borderStyle;
62473
62473
  this.borderWidth = data.borderWidth ?? this.borderWidth;
62474
- if (data.transformation) {
62475
- this.transformation.deserialize(data.transformation);
62476
- this.transformPath();
62477
- }
62478
62474
  if (data.childIds) {
62479
62475
  this.childIds = data.childIds || [];
62480
62476
  }
@@ -62482,6 +62478,10 @@ var init_Frame = __esm(() => {
62482
62478
  this.text.deserialize(data.text);
62483
62479
  this.updateTextContainer();
62484
62480
  }
62481
+ if (data.transformation) {
62482
+ this.transformation.deserialize(data.transformation);
62483
+ this.transformPath();
62484
+ }
62485
62485
  this.canChangeRatio = data.canChangeRatio ?? this.canChangeRatio;
62486
62486
  this.subject.publish(this);
62487
62487
  return this;
@@ -71582,13 +71582,12 @@ var init_Shape = __esm(() => {
71582
71582
  this.borderOpacity = data.borderOpacity ?? this.borderOpacity;
71583
71583
  this.borderStyle = data.borderStyle ?? this.borderStyle;
71584
71584
  this.borderWidth = data.borderWidth ?? this.borderWidth;
71585
- if (data.transformation) {
71586
- this.transformation.deserialize(data.transformation);
71587
- this.transformPath();
71588
- }
71589
71585
  if (data.text) {
71590
71586
  this.text.deserialize(data.text);
71591
71587
  }
71588
+ if (data.transformation) {
71589
+ this.transformation.deserialize(data.transformation);
71590
+ }
71592
71591
  this.transformPath();
71593
71592
  this.text.updateElement();
71594
71593
  this.subject.publish(this);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "microboard-temp",
3
- "version": "0.13.85",
3
+ "version": "0.13.87",
4
4
  "description": "A flexible interactive whiteboard library",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",