microboard-temp 0.4.74 → 0.4.76
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 +1 -9
- package/dist/cjs/index.js +1 -9
- package/dist/cjs/node.js +1 -9
- package/dist/esm/browser.js +1 -9
- package/dist/esm/index.js +1 -9
- package/dist/esm/node.js +1 -9
- package/dist/types/Items/Examples/CardGame/Card/Card.d.ts +0 -2
- package/dist/types/Items/Examples/CardGame/Dice/Dice.d.ts +0 -2
- package/package.json +1 -1
package/dist/cjs/browser.js
CHANGED
|
@@ -21433,7 +21433,7 @@ class SimpleSpatialIndex {
|
|
|
21433
21433
|
return items;
|
|
21434
21434
|
}
|
|
21435
21435
|
getMbr() {
|
|
21436
|
-
return this.
|
|
21436
|
+
return this.Mbr;
|
|
21437
21437
|
}
|
|
21438
21438
|
list() {
|
|
21439
21439
|
return this.itemsArray.concat();
|
|
@@ -47880,10 +47880,6 @@ class Card extends BaseItem {
|
|
|
47880
47880
|
getPath() {
|
|
47881
47881
|
return new Path(this.getMbr().getLines());
|
|
47882
47882
|
}
|
|
47883
|
-
renderHTML(documentFactory) {
|
|
47884
|
-
const div = documentFactory.createElement("card-item");
|
|
47885
|
-
return div;
|
|
47886
|
-
}
|
|
47887
47883
|
deserialize(data) {
|
|
47888
47884
|
super.deserialize(data);
|
|
47889
47885
|
this.updateMbr();
|
|
@@ -48187,10 +48183,6 @@ class Dice extends BaseItem {
|
|
|
48187
48183
|
getPath() {
|
|
48188
48184
|
return this.path.copy();
|
|
48189
48185
|
}
|
|
48190
|
-
renderHTML(documentFactory) {
|
|
48191
|
-
const div = documentFactory.createElement("dice-item");
|
|
48192
|
-
return div;
|
|
48193
|
-
}
|
|
48194
48186
|
deserialize(data) {
|
|
48195
48187
|
super.deserialize(data);
|
|
48196
48188
|
this.updateRenderValues();
|
package/dist/cjs/index.js
CHANGED
|
@@ -21433,7 +21433,7 @@ class SimpleSpatialIndex {
|
|
|
21433
21433
|
return items;
|
|
21434
21434
|
}
|
|
21435
21435
|
getMbr() {
|
|
21436
|
-
return this.
|
|
21436
|
+
return this.Mbr;
|
|
21437
21437
|
}
|
|
21438
21438
|
list() {
|
|
21439
21439
|
return this.itemsArray.concat();
|
|
@@ -47880,10 +47880,6 @@ class Card extends BaseItem {
|
|
|
47880
47880
|
getPath() {
|
|
47881
47881
|
return new Path(this.getMbr().getLines());
|
|
47882
47882
|
}
|
|
47883
|
-
renderHTML(documentFactory) {
|
|
47884
|
-
const div = documentFactory.createElement("card-item");
|
|
47885
|
-
return div;
|
|
47886
|
-
}
|
|
47887
47883
|
deserialize(data) {
|
|
47888
47884
|
super.deserialize(data);
|
|
47889
47885
|
this.updateMbr();
|
|
@@ -48187,10 +48183,6 @@ class Dice extends BaseItem {
|
|
|
48187
48183
|
getPath() {
|
|
48188
48184
|
return this.path.copy();
|
|
48189
48185
|
}
|
|
48190
|
-
renderHTML(documentFactory) {
|
|
48191
|
-
const div = documentFactory.createElement("dice-item");
|
|
48192
|
-
return div;
|
|
48193
|
-
}
|
|
48194
48186
|
deserialize(data) {
|
|
48195
48187
|
super.deserialize(data);
|
|
48196
48188
|
this.updateRenderValues();
|
package/dist/cjs/node.js
CHANGED
|
@@ -23905,7 +23905,7 @@ class SimpleSpatialIndex {
|
|
|
23905
23905
|
return items;
|
|
23906
23906
|
}
|
|
23907
23907
|
getMbr() {
|
|
23908
|
-
return this.
|
|
23908
|
+
return this.Mbr;
|
|
23909
23909
|
}
|
|
23910
23910
|
list() {
|
|
23911
23911
|
return this.itemsArray.concat();
|
|
@@ -50353,10 +50353,6 @@ class Card extends BaseItem {
|
|
|
50353
50353
|
getPath() {
|
|
50354
50354
|
return new Path(this.getMbr().getLines());
|
|
50355
50355
|
}
|
|
50356
|
-
renderHTML(documentFactory) {
|
|
50357
|
-
const div = documentFactory.createElement("card-item");
|
|
50358
|
-
return div;
|
|
50359
|
-
}
|
|
50360
50356
|
deserialize(data) {
|
|
50361
50357
|
super.deserialize(data);
|
|
50362
50358
|
this.updateMbr();
|
|
@@ -50660,10 +50656,6 @@ class Dice extends BaseItem {
|
|
|
50660
50656
|
getPath() {
|
|
50661
50657
|
return this.path.copy();
|
|
50662
50658
|
}
|
|
50663
|
-
renderHTML(documentFactory) {
|
|
50664
|
-
const div = documentFactory.createElement("dice-item");
|
|
50665
|
-
return div;
|
|
50666
|
-
}
|
|
50667
50659
|
deserialize(data) {
|
|
50668
50660
|
super.deserialize(data);
|
|
50669
50661
|
this.updateRenderValues();
|
package/dist/esm/browser.js
CHANGED
|
@@ -21282,7 +21282,7 @@ class SimpleSpatialIndex {
|
|
|
21282
21282
|
return items;
|
|
21283
21283
|
}
|
|
21284
21284
|
getMbr() {
|
|
21285
|
-
return this.
|
|
21285
|
+
return this.Mbr;
|
|
21286
21286
|
}
|
|
21287
21287
|
list() {
|
|
21288
21288
|
return this.itemsArray.concat();
|
|
@@ -47729,10 +47729,6 @@ class Card extends BaseItem {
|
|
|
47729
47729
|
getPath() {
|
|
47730
47730
|
return new Path(this.getMbr().getLines());
|
|
47731
47731
|
}
|
|
47732
|
-
renderHTML(documentFactory) {
|
|
47733
|
-
const div = documentFactory.createElement("card-item");
|
|
47734
|
-
return div;
|
|
47735
|
-
}
|
|
47736
47732
|
deserialize(data) {
|
|
47737
47733
|
super.deserialize(data);
|
|
47738
47734
|
this.updateMbr();
|
|
@@ -48036,10 +48032,6 @@ class Dice extends BaseItem {
|
|
|
48036
48032
|
getPath() {
|
|
48037
48033
|
return this.path.copy();
|
|
48038
48034
|
}
|
|
48039
|
-
renderHTML(documentFactory) {
|
|
48040
|
-
const div = documentFactory.createElement("dice-item");
|
|
48041
|
-
return div;
|
|
48042
|
-
}
|
|
48043
48035
|
deserialize(data) {
|
|
48044
48036
|
super.deserialize(data);
|
|
48045
48037
|
this.updateRenderValues();
|
package/dist/esm/index.js
CHANGED
|
@@ -21275,7 +21275,7 @@ class SimpleSpatialIndex {
|
|
|
21275
21275
|
return items;
|
|
21276
21276
|
}
|
|
21277
21277
|
getMbr() {
|
|
21278
|
-
return this.
|
|
21278
|
+
return this.Mbr;
|
|
21279
21279
|
}
|
|
21280
21280
|
list() {
|
|
21281
21281
|
return this.itemsArray.concat();
|
|
@@ -47722,10 +47722,6 @@ class Card extends BaseItem {
|
|
|
47722
47722
|
getPath() {
|
|
47723
47723
|
return new Path(this.getMbr().getLines());
|
|
47724
47724
|
}
|
|
47725
|
-
renderHTML(documentFactory) {
|
|
47726
|
-
const div = documentFactory.createElement("card-item");
|
|
47727
|
-
return div;
|
|
47728
|
-
}
|
|
47729
47725
|
deserialize(data) {
|
|
47730
47726
|
super.deserialize(data);
|
|
47731
47727
|
this.updateMbr();
|
|
@@ -48029,10 +48025,6 @@ class Dice extends BaseItem {
|
|
|
48029
48025
|
getPath() {
|
|
48030
48026
|
return this.path.copy();
|
|
48031
48027
|
}
|
|
48032
|
-
renderHTML(documentFactory) {
|
|
48033
|
-
const div = documentFactory.createElement("dice-item");
|
|
48034
|
-
return div;
|
|
48035
|
-
}
|
|
48036
48028
|
deserialize(data) {
|
|
48037
48029
|
super.deserialize(data);
|
|
48038
48030
|
this.updateRenderValues();
|
package/dist/esm/node.js
CHANGED
|
@@ -23742,7 +23742,7 @@ class SimpleSpatialIndex {
|
|
|
23742
23742
|
return items;
|
|
23743
23743
|
}
|
|
23744
23744
|
getMbr() {
|
|
23745
|
-
return this.
|
|
23745
|
+
return this.Mbr;
|
|
23746
23746
|
}
|
|
23747
23747
|
list() {
|
|
23748
23748
|
return this.itemsArray.concat();
|
|
@@ -50190,10 +50190,6 @@ class Card extends BaseItem {
|
|
|
50190
50190
|
getPath() {
|
|
50191
50191
|
return new Path(this.getMbr().getLines());
|
|
50192
50192
|
}
|
|
50193
|
-
renderHTML(documentFactory) {
|
|
50194
|
-
const div = documentFactory.createElement("card-item");
|
|
50195
|
-
return div;
|
|
50196
|
-
}
|
|
50197
50193
|
deserialize(data) {
|
|
50198
50194
|
super.deserialize(data);
|
|
50199
50195
|
this.updateMbr();
|
|
@@ -50497,10 +50493,6 @@ class Dice extends BaseItem {
|
|
|
50497
50493
|
getPath() {
|
|
50498
50494
|
return this.path.copy();
|
|
50499
50495
|
}
|
|
50500
|
-
renderHTML(documentFactory) {
|
|
50501
|
-
const div = documentFactory.createElement("dice-item");
|
|
50502
|
-
return div;
|
|
50503
|
-
}
|
|
50504
50496
|
deserialize(data) {
|
|
50505
50497
|
super.deserialize(data);
|
|
50506
50498
|
this.updateRenderValues();
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { BaseItem, BaseItemData, SerializedItemData } from "Items/BaseItem/BaseItem";
|
|
2
2
|
import { Board } from "Board";
|
|
3
3
|
import { DrawingContext } from "Items/DrawingContext";
|
|
4
|
-
import { DocumentFactory } from "api/DocumentFactory";
|
|
5
4
|
import { Path } from "Items/Path/Path";
|
|
6
5
|
import { Subject } from "Subject";
|
|
7
6
|
import { Paths } from "Items/Path/Paths";
|
|
@@ -30,7 +29,6 @@ export declare class Card extends BaseItem {
|
|
|
30
29
|
render(context: DrawingContext): void;
|
|
31
30
|
updateMbr(): void;
|
|
32
31
|
getPath(): Path | Paths;
|
|
33
|
-
renderHTML(documentFactory: DocumentFactory): HTMLElement;
|
|
34
32
|
deserialize(data: SerializedItemData): this;
|
|
35
33
|
toggleIsOpen(): void;
|
|
36
34
|
apply(op: CardOperation): void;
|
|
@@ -3,7 +3,6 @@ import { BorderWidth, Path } from "../../../Path";
|
|
|
3
3
|
import { Subject } from "../../../../Subject";
|
|
4
4
|
import { Board } from "../../../../Board";
|
|
5
5
|
import { DrawingContext } from "../../../DrawingContext";
|
|
6
|
-
import { DocumentFactory } from "../../../../api/DocumentFactory";
|
|
7
6
|
import { DiceOperation } from "./DiceOperation";
|
|
8
7
|
export type DiceType = "common" | "custom";
|
|
9
8
|
export declare const defaultDiceData: BaseItemData;
|
|
@@ -24,7 +23,6 @@ export declare class Dice extends BaseItem {
|
|
|
24
23
|
render(context: DrawingContext): void;
|
|
25
24
|
updateMbr(): void;
|
|
26
25
|
getPath(): Path;
|
|
27
|
-
renderHTML(documentFactory: DocumentFactory): HTMLElement;
|
|
28
26
|
deserialize(data: SerializedItemData): this;
|
|
29
27
|
getIsRotating(): boolean;
|
|
30
28
|
getType(): DiceType;
|