microboard-temp 0.5.61 → 0.5.63
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
CHANGED
|
@@ -48996,6 +48996,9 @@ class Screen extends BaseItem {
|
|
|
48996
48996
|
}
|
|
48997
48997
|
this.subject.publish(this);
|
|
48998
48998
|
}
|
|
48999
|
+
getOwnerId() {
|
|
49000
|
+
return this.ownerId;
|
|
49001
|
+
}
|
|
48999
49002
|
getBackgroundColor() {
|
|
49000
49003
|
return this.backgroundColor;
|
|
49001
49004
|
}
|
|
@@ -49120,7 +49123,7 @@ class Screen extends BaseItem {
|
|
|
49120
49123
|
ctx.restore();
|
|
49121
49124
|
}
|
|
49122
49125
|
this.path.render(context);
|
|
49123
|
-
if (localStorage.getItem("currentUser") === this.ownerId || localStorage.getItem("screenOwnerId") === this.ownerId
|
|
49126
|
+
if (localStorage.getItem("currentUser") === this.ownerId || localStorage.getItem("screenOwnerId") === this.ownerId) {
|
|
49124
49127
|
super.render(context);
|
|
49125
49128
|
}
|
|
49126
49129
|
}
|
package/dist/cjs/index.js
CHANGED
|
@@ -48996,6 +48996,9 @@ class Screen extends BaseItem {
|
|
|
48996
48996
|
}
|
|
48997
48997
|
this.subject.publish(this);
|
|
48998
48998
|
}
|
|
48999
|
+
getOwnerId() {
|
|
49000
|
+
return this.ownerId;
|
|
49001
|
+
}
|
|
48999
49002
|
getBackgroundColor() {
|
|
49000
49003
|
return this.backgroundColor;
|
|
49001
49004
|
}
|
|
@@ -49120,7 +49123,7 @@ class Screen extends BaseItem {
|
|
|
49120
49123
|
ctx.restore();
|
|
49121
49124
|
}
|
|
49122
49125
|
this.path.render(context);
|
|
49123
|
-
if (localStorage.getItem("currentUser") === this.ownerId || localStorage.getItem("screenOwnerId") === this.ownerId
|
|
49126
|
+
if (localStorage.getItem("currentUser") === this.ownerId || localStorage.getItem("screenOwnerId") === this.ownerId) {
|
|
49124
49127
|
super.render(context);
|
|
49125
49128
|
}
|
|
49126
49129
|
}
|
package/dist/cjs/node.js
CHANGED
|
@@ -51469,6 +51469,9 @@ class Screen extends BaseItem {
|
|
|
51469
51469
|
}
|
|
51470
51470
|
this.subject.publish(this);
|
|
51471
51471
|
}
|
|
51472
|
+
getOwnerId() {
|
|
51473
|
+
return this.ownerId;
|
|
51474
|
+
}
|
|
51472
51475
|
getBackgroundColor() {
|
|
51473
51476
|
return this.backgroundColor;
|
|
51474
51477
|
}
|
|
@@ -51593,7 +51596,7 @@ class Screen extends BaseItem {
|
|
|
51593
51596
|
ctx.restore();
|
|
51594
51597
|
}
|
|
51595
51598
|
this.path.render(context);
|
|
51596
|
-
if (localStorage.getItem("currentUser") === this.ownerId || localStorage.getItem("screenOwnerId") === this.ownerId
|
|
51599
|
+
if (localStorage.getItem("currentUser") === this.ownerId || localStorage.getItem("screenOwnerId") === this.ownerId) {
|
|
51597
51600
|
super.render(context);
|
|
51598
51601
|
}
|
|
51599
51602
|
}
|
package/dist/esm/browser.js
CHANGED
|
@@ -48842,6 +48842,9 @@ class Screen extends BaseItem {
|
|
|
48842
48842
|
}
|
|
48843
48843
|
this.subject.publish(this);
|
|
48844
48844
|
}
|
|
48845
|
+
getOwnerId() {
|
|
48846
|
+
return this.ownerId;
|
|
48847
|
+
}
|
|
48845
48848
|
getBackgroundColor() {
|
|
48846
48849
|
return this.backgroundColor;
|
|
48847
48850
|
}
|
|
@@ -48966,7 +48969,7 @@ class Screen extends BaseItem {
|
|
|
48966
48969
|
ctx.restore();
|
|
48967
48970
|
}
|
|
48968
48971
|
this.path.render(context);
|
|
48969
|
-
if (localStorage.getItem("currentUser") === this.ownerId || localStorage.getItem("screenOwnerId") === this.ownerId
|
|
48972
|
+
if (localStorage.getItem("currentUser") === this.ownerId || localStorage.getItem("screenOwnerId") === this.ownerId) {
|
|
48970
48973
|
super.render(context);
|
|
48971
48974
|
}
|
|
48972
48975
|
}
|
package/dist/esm/index.js
CHANGED
|
@@ -48835,6 +48835,9 @@ class Screen extends BaseItem {
|
|
|
48835
48835
|
}
|
|
48836
48836
|
this.subject.publish(this);
|
|
48837
48837
|
}
|
|
48838
|
+
getOwnerId() {
|
|
48839
|
+
return this.ownerId;
|
|
48840
|
+
}
|
|
48838
48841
|
getBackgroundColor() {
|
|
48839
48842
|
return this.backgroundColor;
|
|
48840
48843
|
}
|
|
@@ -48959,7 +48962,7 @@ class Screen extends BaseItem {
|
|
|
48959
48962
|
ctx.restore();
|
|
48960
48963
|
}
|
|
48961
48964
|
this.path.render(context);
|
|
48962
|
-
if (localStorage.getItem("currentUser") === this.ownerId || localStorage.getItem("screenOwnerId") === this.ownerId
|
|
48965
|
+
if (localStorage.getItem("currentUser") === this.ownerId || localStorage.getItem("screenOwnerId") === this.ownerId) {
|
|
48963
48966
|
super.render(context);
|
|
48964
48967
|
}
|
|
48965
48968
|
}
|
package/dist/esm/node.js
CHANGED
|
@@ -51303,6 +51303,9 @@ class Screen extends BaseItem {
|
|
|
51303
51303
|
}
|
|
51304
51304
|
this.subject.publish(this);
|
|
51305
51305
|
}
|
|
51306
|
+
getOwnerId() {
|
|
51307
|
+
return this.ownerId;
|
|
51308
|
+
}
|
|
51306
51309
|
getBackgroundColor() {
|
|
51307
51310
|
return this.backgroundColor;
|
|
51308
51311
|
}
|
|
@@ -51427,7 +51430,7 @@ class Screen extends BaseItem {
|
|
|
51427
51430
|
ctx.restore();
|
|
51428
51431
|
}
|
|
51429
51432
|
this.path.render(context);
|
|
51430
|
-
if (localStorage.getItem("currentUser") === this.ownerId || localStorage.getItem("screenOwnerId") === this.ownerId
|
|
51433
|
+
if (localStorage.getItem("currentUser") === this.ownerId || localStorage.getItem("screenOwnerId") === this.ownerId) {
|
|
51431
51434
|
super.render(context);
|
|
51432
51435
|
}
|
|
51433
51436
|
}
|
|
@@ -16,6 +16,7 @@ export declare class Screen extends BaseItem {
|
|
|
16
16
|
backgroundImage: HTMLImageElement | null;
|
|
17
17
|
constructor(board: Board, id?: string, ownerId?: string);
|
|
18
18
|
apply(op: ScreenOperation): void;
|
|
19
|
+
getOwnerId(): string;
|
|
19
20
|
getBackgroundColor(): string;
|
|
20
21
|
getBorderStyle(): string;
|
|
21
22
|
getStrokeColor(): string;
|