microboard-temp 0.4.104 → 0.4.105
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
|
@@ -47951,7 +47951,7 @@ class Deck extends BaseItem {
|
|
|
47951
47951
|
cachedCanvas = null;
|
|
47952
47952
|
isCacheDirty = true;
|
|
47953
47953
|
enableResize = false;
|
|
47954
|
-
path =
|
|
47954
|
+
path = null;
|
|
47955
47955
|
constructor(board, id = "") {
|
|
47956
47956
|
super(board, id, defaultDeckData, true);
|
|
47957
47957
|
this.index.getUnderPoint = () => [];
|
|
@@ -48077,7 +48077,7 @@ class Deck extends BaseItem {
|
|
|
48077
48077
|
const ctx = context.ctx;
|
|
48078
48078
|
if (this.isCacheDirty || !this.cachedCanvas) {
|
|
48079
48079
|
this.updateCache(context);
|
|
48080
|
-
this.path
|
|
48080
|
+
this.path?.render(context);
|
|
48081
48081
|
}
|
|
48082
48082
|
if (this.cachedCanvas && this.cachedCanvas.width && this.cachedCanvas.height) {
|
|
48083
48083
|
ctx.save();
|
package/dist/cjs/index.js
CHANGED
|
@@ -47951,7 +47951,7 @@ class Deck extends BaseItem {
|
|
|
47951
47951
|
cachedCanvas = null;
|
|
47952
47952
|
isCacheDirty = true;
|
|
47953
47953
|
enableResize = false;
|
|
47954
|
-
path =
|
|
47954
|
+
path = null;
|
|
47955
47955
|
constructor(board, id = "") {
|
|
47956
47956
|
super(board, id, defaultDeckData, true);
|
|
47957
47957
|
this.index.getUnderPoint = () => [];
|
|
@@ -48077,7 +48077,7 @@ class Deck extends BaseItem {
|
|
|
48077
48077
|
const ctx = context.ctx;
|
|
48078
48078
|
if (this.isCacheDirty || !this.cachedCanvas) {
|
|
48079
48079
|
this.updateCache(context);
|
|
48080
|
-
this.path
|
|
48080
|
+
this.path?.render(context);
|
|
48081
48081
|
}
|
|
48082
48082
|
if (this.cachedCanvas && this.cachedCanvas.width && this.cachedCanvas.height) {
|
|
48083
48083
|
ctx.save();
|
package/dist/cjs/node.js
CHANGED
|
@@ -50424,7 +50424,7 @@ class Deck extends BaseItem {
|
|
|
50424
50424
|
cachedCanvas = null;
|
|
50425
50425
|
isCacheDirty = true;
|
|
50426
50426
|
enableResize = false;
|
|
50427
|
-
path =
|
|
50427
|
+
path = null;
|
|
50428
50428
|
constructor(board, id = "") {
|
|
50429
50429
|
super(board, id, defaultDeckData, true);
|
|
50430
50430
|
this.index.getUnderPoint = () => [];
|
|
@@ -50550,7 +50550,7 @@ class Deck extends BaseItem {
|
|
|
50550
50550
|
const ctx = context.ctx;
|
|
50551
50551
|
if (this.isCacheDirty || !this.cachedCanvas) {
|
|
50552
50552
|
this.updateCache(context);
|
|
50553
|
-
this.path
|
|
50553
|
+
this.path?.render(context);
|
|
50554
50554
|
}
|
|
50555
50555
|
if (this.cachedCanvas && this.cachedCanvas.width && this.cachedCanvas.height) {
|
|
50556
50556
|
ctx.save();
|
package/dist/esm/browser.js
CHANGED
|
@@ -47800,7 +47800,7 @@ class Deck extends BaseItem {
|
|
|
47800
47800
|
cachedCanvas = null;
|
|
47801
47801
|
isCacheDirty = true;
|
|
47802
47802
|
enableResize = false;
|
|
47803
|
-
path =
|
|
47803
|
+
path = null;
|
|
47804
47804
|
constructor(board, id = "") {
|
|
47805
47805
|
super(board, id, defaultDeckData, true);
|
|
47806
47806
|
this.index.getUnderPoint = () => [];
|
|
@@ -47926,7 +47926,7 @@ class Deck extends BaseItem {
|
|
|
47926
47926
|
const ctx = context.ctx;
|
|
47927
47927
|
if (this.isCacheDirty || !this.cachedCanvas) {
|
|
47928
47928
|
this.updateCache(context);
|
|
47929
|
-
this.path
|
|
47929
|
+
this.path?.render(context);
|
|
47930
47930
|
}
|
|
47931
47931
|
if (this.cachedCanvas && this.cachedCanvas.width && this.cachedCanvas.height) {
|
|
47932
47932
|
ctx.save();
|
package/dist/esm/index.js
CHANGED
|
@@ -47793,7 +47793,7 @@ class Deck extends BaseItem {
|
|
|
47793
47793
|
cachedCanvas = null;
|
|
47794
47794
|
isCacheDirty = true;
|
|
47795
47795
|
enableResize = false;
|
|
47796
|
-
path =
|
|
47796
|
+
path = null;
|
|
47797
47797
|
constructor(board, id = "") {
|
|
47798
47798
|
super(board, id, defaultDeckData, true);
|
|
47799
47799
|
this.index.getUnderPoint = () => [];
|
|
@@ -47919,7 +47919,7 @@ class Deck extends BaseItem {
|
|
|
47919
47919
|
const ctx = context.ctx;
|
|
47920
47920
|
if (this.isCacheDirty || !this.cachedCanvas) {
|
|
47921
47921
|
this.updateCache(context);
|
|
47922
|
-
this.path
|
|
47922
|
+
this.path?.render(context);
|
|
47923
47923
|
}
|
|
47924
47924
|
if (this.cachedCanvas && this.cachedCanvas.width && this.cachedCanvas.height) {
|
|
47925
47925
|
ctx.save();
|
package/dist/esm/node.js
CHANGED
|
@@ -50261,7 +50261,7 @@ class Deck extends BaseItem {
|
|
|
50261
50261
|
cachedCanvas = null;
|
|
50262
50262
|
isCacheDirty = true;
|
|
50263
50263
|
enableResize = false;
|
|
50264
|
-
path =
|
|
50264
|
+
path = null;
|
|
50265
50265
|
constructor(board, id = "") {
|
|
50266
50266
|
super(board, id, defaultDeckData, true);
|
|
50267
50267
|
this.index.getUnderPoint = () => [];
|
|
@@ -50387,7 +50387,7 @@ class Deck extends BaseItem {
|
|
|
50387
50387
|
const ctx = context.ctx;
|
|
50388
50388
|
if (this.isCacheDirty || !this.cachedCanvas) {
|
|
50389
50389
|
this.updateCache(context);
|
|
50390
|
-
this.path
|
|
50390
|
+
this.path?.render(context);
|
|
50391
50391
|
}
|
|
50392
50392
|
if (this.cachedCanvas && this.cachedCanvas.width && this.cachedCanvas.height) {
|
|
50393
50393
|
ctx.save();
|
|
@@ -12,7 +12,7 @@ export declare class Deck extends BaseItem {
|
|
|
12
12
|
private cachedCanvas;
|
|
13
13
|
private isCacheDirty;
|
|
14
14
|
enableResize: boolean;
|
|
15
|
-
path: Path;
|
|
15
|
+
path: Path | null;
|
|
16
16
|
constructor(board: Board, id?: string);
|
|
17
17
|
applyAddChildren(childIds: string[]): void;
|
|
18
18
|
applyRemoveChildren(childIds: string[]): void;
|