microboard-temp 0.14.45 → 0.14.46
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/cjs/browser.js +19 -0
- package/dist/cjs/index.js +19 -0
- package/dist/cjs/node.js +19 -0
- package/dist/esm/browser.js +19 -0
- package/dist/esm/index.js +19 -0
- package/dist/esm/node.js +19 -0
- package/package.json +1 -1
package/dist/cjs/browser.js
CHANGED
|
@@ -64896,6 +64896,25 @@ class Shape extends BaseItem {
|
|
|
64896
64896
|
this.subject.publish(this);
|
|
64897
64897
|
}
|
|
64898
64898
|
onPropertyUpdated(property, value, prevValue) {
|
|
64899
|
+
switch (property) {
|
|
64900
|
+
case "shapeType":
|
|
64901
|
+
this.initPath();
|
|
64902
|
+
break;
|
|
64903
|
+
case "backgroundOpacity":
|
|
64904
|
+
this.path.setBackgroundOpacity(value);
|
|
64905
|
+
break;
|
|
64906
|
+
case "borderOpacity":
|
|
64907
|
+
this.path.setBorderOpacity(value);
|
|
64908
|
+
break;
|
|
64909
|
+
case "borderStyle":
|
|
64910
|
+
this.path.setBorderStyle(value);
|
|
64911
|
+
break;
|
|
64912
|
+
case "borderWidth":
|
|
64913
|
+
this.path.setBorderWidth(value);
|
|
64914
|
+
break;
|
|
64915
|
+
default:
|
|
64916
|
+
break;
|
|
64917
|
+
}
|
|
64899
64918
|
super.onPropertyUpdated(property, value, prevValue);
|
|
64900
64919
|
this.saveShapeData();
|
|
64901
64920
|
}
|
package/dist/cjs/index.js
CHANGED
|
@@ -64896,6 +64896,25 @@ class Shape extends BaseItem {
|
|
|
64896
64896
|
this.subject.publish(this);
|
|
64897
64897
|
}
|
|
64898
64898
|
onPropertyUpdated(property, value, prevValue) {
|
|
64899
|
+
switch (property) {
|
|
64900
|
+
case "shapeType":
|
|
64901
|
+
this.initPath();
|
|
64902
|
+
break;
|
|
64903
|
+
case "backgroundOpacity":
|
|
64904
|
+
this.path.setBackgroundOpacity(value);
|
|
64905
|
+
break;
|
|
64906
|
+
case "borderOpacity":
|
|
64907
|
+
this.path.setBorderOpacity(value);
|
|
64908
|
+
break;
|
|
64909
|
+
case "borderStyle":
|
|
64910
|
+
this.path.setBorderStyle(value);
|
|
64911
|
+
break;
|
|
64912
|
+
case "borderWidth":
|
|
64913
|
+
this.path.setBorderWidth(value);
|
|
64914
|
+
break;
|
|
64915
|
+
default:
|
|
64916
|
+
break;
|
|
64917
|
+
}
|
|
64899
64918
|
super.onPropertyUpdated(property, value, prevValue);
|
|
64900
64919
|
this.saveShapeData();
|
|
64901
64920
|
}
|
package/dist/cjs/node.js
CHANGED
|
@@ -67369,6 +67369,25 @@ class Shape extends BaseItem {
|
|
|
67369
67369
|
this.subject.publish(this);
|
|
67370
67370
|
}
|
|
67371
67371
|
onPropertyUpdated(property, value, prevValue) {
|
|
67372
|
+
switch (property) {
|
|
67373
|
+
case "shapeType":
|
|
67374
|
+
this.initPath();
|
|
67375
|
+
break;
|
|
67376
|
+
case "backgroundOpacity":
|
|
67377
|
+
this.path.setBackgroundOpacity(value);
|
|
67378
|
+
break;
|
|
67379
|
+
case "borderOpacity":
|
|
67380
|
+
this.path.setBorderOpacity(value);
|
|
67381
|
+
break;
|
|
67382
|
+
case "borderStyle":
|
|
67383
|
+
this.path.setBorderStyle(value);
|
|
67384
|
+
break;
|
|
67385
|
+
case "borderWidth":
|
|
67386
|
+
this.path.setBorderWidth(value);
|
|
67387
|
+
break;
|
|
67388
|
+
default:
|
|
67389
|
+
break;
|
|
67390
|
+
}
|
|
67372
67391
|
super.onPropertyUpdated(property, value, prevValue);
|
|
67373
67392
|
this.saveShapeData();
|
|
67374
67393
|
}
|
package/dist/esm/browser.js
CHANGED
|
@@ -64669,6 +64669,25 @@ class Shape extends BaseItem {
|
|
|
64669
64669
|
this.subject.publish(this);
|
|
64670
64670
|
}
|
|
64671
64671
|
onPropertyUpdated(property, value, prevValue) {
|
|
64672
|
+
switch (property) {
|
|
64673
|
+
case "shapeType":
|
|
64674
|
+
this.initPath();
|
|
64675
|
+
break;
|
|
64676
|
+
case "backgroundOpacity":
|
|
64677
|
+
this.path.setBackgroundOpacity(value);
|
|
64678
|
+
break;
|
|
64679
|
+
case "borderOpacity":
|
|
64680
|
+
this.path.setBorderOpacity(value);
|
|
64681
|
+
break;
|
|
64682
|
+
case "borderStyle":
|
|
64683
|
+
this.path.setBorderStyle(value);
|
|
64684
|
+
break;
|
|
64685
|
+
case "borderWidth":
|
|
64686
|
+
this.path.setBorderWidth(value);
|
|
64687
|
+
break;
|
|
64688
|
+
default:
|
|
64689
|
+
break;
|
|
64690
|
+
}
|
|
64672
64691
|
super.onPropertyUpdated(property, value, prevValue);
|
|
64673
64692
|
this.saveShapeData();
|
|
64674
64693
|
}
|
package/dist/esm/index.js
CHANGED
|
@@ -64662,6 +64662,25 @@ class Shape extends BaseItem {
|
|
|
64662
64662
|
this.subject.publish(this);
|
|
64663
64663
|
}
|
|
64664
64664
|
onPropertyUpdated(property, value, prevValue) {
|
|
64665
|
+
switch (property) {
|
|
64666
|
+
case "shapeType":
|
|
64667
|
+
this.initPath();
|
|
64668
|
+
break;
|
|
64669
|
+
case "backgroundOpacity":
|
|
64670
|
+
this.path.setBackgroundOpacity(value);
|
|
64671
|
+
break;
|
|
64672
|
+
case "borderOpacity":
|
|
64673
|
+
this.path.setBorderOpacity(value);
|
|
64674
|
+
break;
|
|
64675
|
+
case "borderStyle":
|
|
64676
|
+
this.path.setBorderStyle(value);
|
|
64677
|
+
break;
|
|
64678
|
+
case "borderWidth":
|
|
64679
|
+
this.path.setBorderWidth(value);
|
|
64680
|
+
break;
|
|
64681
|
+
default:
|
|
64682
|
+
break;
|
|
64683
|
+
}
|
|
64665
64684
|
super.onPropertyUpdated(property, value, prevValue);
|
|
64666
64685
|
this.saveShapeData();
|
|
64667
64686
|
}
|
package/dist/esm/node.js
CHANGED
|
@@ -67130,6 +67130,25 @@ class Shape extends BaseItem {
|
|
|
67130
67130
|
this.subject.publish(this);
|
|
67131
67131
|
}
|
|
67132
67132
|
onPropertyUpdated(property, value, prevValue) {
|
|
67133
|
+
switch (property) {
|
|
67134
|
+
case "shapeType":
|
|
67135
|
+
this.initPath();
|
|
67136
|
+
break;
|
|
67137
|
+
case "backgroundOpacity":
|
|
67138
|
+
this.path.setBackgroundOpacity(value);
|
|
67139
|
+
break;
|
|
67140
|
+
case "borderOpacity":
|
|
67141
|
+
this.path.setBorderOpacity(value);
|
|
67142
|
+
break;
|
|
67143
|
+
case "borderStyle":
|
|
67144
|
+
this.path.setBorderStyle(value);
|
|
67145
|
+
break;
|
|
67146
|
+
case "borderWidth":
|
|
67147
|
+
this.path.setBorderWidth(value);
|
|
67148
|
+
break;
|
|
67149
|
+
default:
|
|
67150
|
+
break;
|
|
67151
|
+
}
|
|
67133
67152
|
super.onPropertyUpdated(property, value, prevValue);
|
|
67134
67153
|
this.saveShapeData();
|
|
67135
67154
|
}
|