microboard-temp 0.4.74 → 0.4.75
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 +0 -8
- package/dist/cjs/index.js +0 -8
- package/dist/cjs/node.js +0 -8
- package/dist/esm/browser.js +0 -8
- package/dist/esm/index.js +0 -8
- package/dist/esm/node.js +0 -8
- 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
|
@@ -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
|
@@ -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
|
@@ -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
|
@@ -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
|
@@ -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
|
@@ -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;
|