microboard-temp 0.4.16 → 0.4.17
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
|
@@ -46222,6 +46222,13 @@ registerItem({
|
|
|
46222
46222
|
item: Deck,
|
|
46223
46223
|
defaultData: defaultDeckData
|
|
46224
46224
|
});
|
|
46225
|
+
// src/Items/Examples/CardGame/Dice/AddDice.ts
|
|
46226
|
+
class AddDice extends ShapeTool {
|
|
46227
|
+
constructor(board, name) {
|
|
46228
|
+
super(board, name, Dice, { cursorName: "crosshair", fixedRatio: true });
|
|
46229
|
+
}
|
|
46230
|
+
}
|
|
46231
|
+
|
|
46225
46232
|
// src/Items/Examples/CardGame/Dice/Dice.ts
|
|
46226
46233
|
var TIMEOUT = 3000;
|
|
46227
46234
|
var defaultDiceData = {
|
|
@@ -46425,7 +46432,7 @@ class Dice extends BaseItem {
|
|
|
46425
46432
|
registerItem({
|
|
46426
46433
|
item: Dice,
|
|
46427
46434
|
defaultData: defaultDiceData,
|
|
46428
|
-
toolData: { name: "AddDice", tool:
|
|
46435
|
+
toolData: { name: "AddDice", tool: AddDice }
|
|
46429
46436
|
});
|
|
46430
46437
|
// src/Pointer/Cursor.ts
|
|
46431
46438
|
var defaultCursors = [
|
package/dist/cjs/index.js
CHANGED
|
@@ -46222,6 +46222,13 @@ registerItem({
|
|
|
46222
46222
|
item: Deck,
|
|
46223
46223
|
defaultData: defaultDeckData
|
|
46224
46224
|
});
|
|
46225
|
+
// src/Items/Examples/CardGame/Dice/AddDice.ts
|
|
46226
|
+
class AddDice extends ShapeTool {
|
|
46227
|
+
constructor(board, name) {
|
|
46228
|
+
super(board, name, Dice, { cursorName: "crosshair", fixedRatio: true });
|
|
46229
|
+
}
|
|
46230
|
+
}
|
|
46231
|
+
|
|
46225
46232
|
// src/Items/Examples/CardGame/Dice/Dice.ts
|
|
46226
46233
|
var TIMEOUT = 3000;
|
|
46227
46234
|
var defaultDiceData = {
|
|
@@ -46425,7 +46432,7 @@ class Dice extends BaseItem {
|
|
|
46425
46432
|
registerItem({
|
|
46426
46433
|
item: Dice,
|
|
46427
46434
|
defaultData: defaultDiceData,
|
|
46428
|
-
toolData: { name: "AddDice", tool:
|
|
46435
|
+
toolData: { name: "AddDice", tool: AddDice }
|
|
46429
46436
|
});
|
|
46430
46437
|
// src/Pointer/Cursor.ts
|
|
46431
46438
|
var defaultCursors = [
|
package/dist/cjs/node.js
CHANGED
|
@@ -48762,6 +48762,13 @@ registerItem({
|
|
|
48762
48762
|
item: Deck,
|
|
48763
48763
|
defaultData: defaultDeckData
|
|
48764
48764
|
});
|
|
48765
|
+
// src/Items/Examples/CardGame/Dice/AddDice.ts
|
|
48766
|
+
class AddDice extends ShapeTool {
|
|
48767
|
+
constructor(board, name) {
|
|
48768
|
+
super(board, name, Dice, { cursorName: "crosshair", fixedRatio: true });
|
|
48769
|
+
}
|
|
48770
|
+
}
|
|
48771
|
+
|
|
48765
48772
|
// src/Items/Examples/CardGame/Dice/Dice.ts
|
|
48766
48773
|
var TIMEOUT = 3000;
|
|
48767
48774
|
var defaultDiceData = {
|
|
@@ -48965,7 +48972,7 @@ class Dice extends BaseItem {
|
|
|
48965
48972
|
registerItem({
|
|
48966
48973
|
item: Dice,
|
|
48967
48974
|
defaultData: defaultDiceData,
|
|
48968
|
-
toolData: { name: "AddDice", tool:
|
|
48975
|
+
toolData: { name: "AddDice", tool: AddDice }
|
|
48969
48976
|
});
|
|
48970
48977
|
// src/Pointer/Cursor.ts
|
|
48971
48978
|
var defaultCursors = [
|
package/dist/esm/browser.js
CHANGED
|
@@ -46072,6 +46072,13 @@ registerItem({
|
|
|
46072
46072
|
item: Deck,
|
|
46073
46073
|
defaultData: defaultDeckData
|
|
46074
46074
|
});
|
|
46075
|
+
// src/Items/Examples/CardGame/Dice/AddDice.ts
|
|
46076
|
+
class AddDice extends ShapeTool {
|
|
46077
|
+
constructor(board, name) {
|
|
46078
|
+
super(board, name, Dice, { cursorName: "crosshair", fixedRatio: true });
|
|
46079
|
+
}
|
|
46080
|
+
}
|
|
46081
|
+
|
|
46075
46082
|
// src/Items/Examples/CardGame/Dice/Dice.ts
|
|
46076
46083
|
var TIMEOUT = 3000;
|
|
46077
46084
|
var defaultDiceData = {
|
|
@@ -46275,7 +46282,7 @@ class Dice extends BaseItem {
|
|
|
46275
46282
|
registerItem({
|
|
46276
46283
|
item: Dice,
|
|
46277
46284
|
defaultData: defaultDiceData,
|
|
46278
|
-
toolData: { name: "AddDice", tool:
|
|
46285
|
+
toolData: { name: "AddDice", tool: AddDice }
|
|
46279
46286
|
});
|
|
46280
46287
|
// src/Pointer/Cursor.ts
|
|
46281
46288
|
var defaultCursors = [
|
package/dist/esm/index.js
CHANGED
|
@@ -46065,6 +46065,13 @@ registerItem({
|
|
|
46065
46065
|
item: Deck,
|
|
46066
46066
|
defaultData: defaultDeckData
|
|
46067
46067
|
});
|
|
46068
|
+
// src/Items/Examples/CardGame/Dice/AddDice.ts
|
|
46069
|
+
class AddDice extends ShapeTool {
|
|
46070
|
+
constructor(board, name) {
|
|
46071
|
+
super(board, name, Dice, { cursorName: "crosshair", fixedRatio: true });
|
|
46072
|
+
}
|
|
46073
|
+
}
|
|
46074
|
+
|
|
46068
46075
|
// src/Items/Examples/CardGame/Dice/Dice.ts
|
|
46069
46076
|
var TIMEOUT = 3000;
|
|
46070
46077
|
var defaultDiceData = {
|
|
@@ -46268,7 +46275,7 @@ class Dice extends BaseItem {
|
|
|
46268
46275
|
registerItem({
|
|
46269
46276
|
item: Dice,
|
|
46270
46277
|
defaultData: defaultDiceData,
|
|
46271
|
-
toolData: { name: "AddDice", tool:
|
|
46278
|
+
toolData: { name: "AddDice", tool: AddDice }
|
|
46272
46279
|
});
|
|
46273
46280
|
// src/Pointer/Cursor.ts
|
|
46274
46281
|
var defaultCursors = [
|
package/dist/esm/node.js
CHANGED
|
@@ -48600,6 +48600,13 @@ registerItem({
|
|
|
48600
48600
|
item: Deck,
|
|
48601
48601
|
defaultData: defaultDeckData
|
|
48602
48602
|
});
|
|
48603
|
+
// src/Items/Examples/CardGame/Dice/AddDice.ts
|
|
48604
|
+
class AddDice extends ShapeTool {
|
|
48605
|
+
constructor(board, name) {
|
|
48606
|
+
super(board, name, Dice, { cursorName: "crosshair", fixedRatio: true });
|
|
48607
|
+
}
|
|
48608
|
+
}
|
|
48609
|
+
|
|
48603
48610
|
// src/Items/Examples/CardGame/Dice/Dice.ts
|
|
48604
48611
|
var TIMEOUT = 3000;
|
|
48605
48612
|
var defaultDiceData = {
|
|
@@ -48803,7 +48810,7 @@ class Dice extends BaseItem {
|
|
|
48803
48810
|
registerItem({
|
|
48804
48811
|
item: Dice,
|
|
48805
48812
|
defaultData: defaultDiceData,
|
|
48806
|
-
toolData: { name: "AddDice", tool:
|
|
48813
|
+
toolData: { name: "AddDice", tool: AddDice }
|
|
48807
48814
|
});
|
|
48808
48815
|
// src/Pointer/Cursor.ts
|
|
48809
48816
|
var defaultCursors = [
|