microboard-temp 0.5.16 → 0.5.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 +4 -2
- package/dist/cjs/index.js +4 -2
- package/dist/cjs/node.js +4 -2
- package/dist/esm/browser.js +4 -2
- package/dist/esm/index.js +4 -2
- package/dist/esm/node.js +4 -2
- package/package.json +1 -1
package/dist/cjs/browser.js
CHANGED
|
@@ -21735,8 +21735,8 @@ class BaseItem extends Mbr {
|
|
|
21735
21735
|
}
|
|
21736
21736
|
renderHTML(documentFactory) {
|
|
21737
21737
|
const div = documentFactory.createElement("base-item");
|
|
21738
|
-
const { translateX, translateY
|
|
21739
|
-
const transform = `translate(${translateX}px, ${translateY}px) scale(
|
|
21738
|
+
const { translateX, translateY } = this.transformation.matrix;
|
|
21739
|
+
const transform = `translate(${translateX}px, ${translateY}px) scale(1, 1)`;
|
|
21740
21740
|
div.style.backgroundColor = "#b2b0c3";
|
|
21741
21741
|
div.id = this.getId();
|
|
21742
21742
|
div.style.width = `${this.getWidth()}px`;
|
|
@@ -47857,6 +47857,8 @@ class Card extends BaseItem {
|
|
|
47857
47857
|
createImages() {
|
|
47858
47858
|
this.face = conf.documentFactory.createElement("img");
|
|
47859
47859
|
this.backside = conf.documentFactory.createElement("img");
|
|
47860
|
+
this.face.crossOrigin = "anonymous";
|
|
47861
|
+
this.backside.crossOrigin = "anonymous";
|
|
47860
47862
|
this.face.src = this.faceUrl;
|
|
47861
47863
|
this.backside.src = this.backsideUrl;
|
|
47862
47864
|
this.face.onload = () => {
|
package/dist/cjs/index.js
CHANGED
|
@@ -21735,8 +21735,8 @@ class BaseItem extends Mbr {
|
|
|
21735
21735
|
}
|
|
21736
21736
|
renderHTML(documentFactory) {
|
|
21737
21737
|
const div = documentFactory.createElement("base-item");
|
|
21738
|
-
const { translateX, translateY
|
|
21739
|
-
const transform = `translate(${translateX}px, ${translateY}px) scale(
|
|
21738
|
+
const { translateX, translateY } = this.transformation.matrix;
|
|
21739
|
+
const transform = `translate(${translateX}px, ${translateY}px) scale(1, 1)`;
|
|
21740
21740
|
div.style.backgroundColor = "#b2b0c3";
|
|
21741
21741
|
div.id = this.getId();
|
|
21742
21742
|
div.style.width = `${this.getWidth()}px`;
|
|
@@ -47857,6 +47857,8 @@ class Card extends BaseItem {
|
|
|
47857
47857
|
createImages() {
|
|
47858
47858
|
this.face = conf.documentFactory.createElement("img");
|
|
47859
47859
|
this.backside = conf.documentFactory.createElement("img");
|
|
47860
|
+
this.face.crossOrigin = "anonymous";
|
|
47861
|
+
this.backside.crossOrigin = "anonymous";
|
|
47860
47862
|
this.face.src = this.faceUrl;
|
|
47861
47863
|
this.backside.src = this.backsideUrl;
|
|
47862
47864
|
this.face.onload = () => {
|
package/dist/cjs/node.js
CHANGED
|
@@ -24207,8 +24207,8 @@ class BaseItem extends Mbr {
|
|
|
24207
24207
|
}
|
|
24208
24208
|
renderHTML(documentFactory) {
|
|
24209
24209
|
const div = documentFactory.createElement("base-item");
|
|
24210
|
-
const { translateX, translateY
|
|
24211
|
-
const transform = `translate(${translateX}px, ${translateY}px) scale(
|
|
24210
|
+
const { translateX, translateY } = this.transformation.matrix;
|
|
24211
|
+
const transform = `translate(${translateX}px, ${translateY}px) scale(1, 1)`;
|
|
24212
24212
|
div.style.backgroundColor = "#b2b0c3";
|
|
24213
24213
|
div.id = this.getId();
|
|
24214
24214
|
div.style.width = `${this.getWidth()}px`;
|
|
@@ -50330,6 +50330,8 @@ class Card extends BaseItem {
|
|
|
50330
50330
|
createImages() {
|
|
50331
50331
|
this.face = conf.documentFactory.createElement("img");
|
|
50332
50332
|
this.backside = conf.documentFactory.createElement("img");
|
|
50333
|
+
this.face.crossOrigin = "anonymous";
|
|
50334
|
+
this.backside.crossOrigin = "anonymous";
|
|
50333
50335
|
this.face.src = this.faceUrl;
|
|
50334
50336
|
this.backside.src = this.backsideUrl;
|
|
50335
50337
|
this.face.onload = () => {
|
package/dist/esm/browser.js
CHANGED
|
@@ -21581,8 +21581,8 @@ class BaseItem extends Mbr {
|
|
|
21581
21581
|
}
|
|
21582
21582
|
renderHTML(documentFactory) {
|
|
21583
21583
|
const div = documentFactory.createElement("base-item");
|
|
21584
|
-
const { translateX, translateY
|
|
21585
|
-
const transform = `translate(${translateX}px, ${translateY}px) scale(
|
|
21584
|
+
const { translateX, translateY } = this.transformation.matrix;
|
|
21585
|
+
const transform = `translate(${translateX}px, ${translateY}px) scale(1, 1)`;
|
|
21586
21586
|
div.style.backgroundColor = "#b2b0c3";
|
|
21587
21587
|
div.id = this.getId();
|
|
21588
21588
|
div.style.width = `${this.getWidth()}px`;
|
|
@@ -47703,6 +47703,8 @@ class Card extends BaseItem {
|
|
|
47703
47703
|
createImages() {
|
|
47704
47704
|
this.face = conf.documentFactory.createElement("img");
|
|
47705
47705
|
this.backside = conf.documentFactory.createElement("img");
|
|
47706
|
+
this.face.crossOrigin = "anonymous";
|
|
47707
|
+
this.backside.crossOrigin = "anonymous";
|
|
47706
47708
|
this.face.src = this.faceUrl;
|
|
47707
47709
|
this.backside.src = this.backsideUrl;
|
|
47708
47710
|
this.face.onload = () => {
|
package/dist/esm/index.js
CHANGED
|
@@ -21574,8 +21574,8 @@ class BaseItem extends Mbr {
|
|
|
21574
21574
|
}
|
|
21575
21575
|
renderHTML(documentFactory) {
|
|
21576
21576
|
const div = documentFactory.createElement("base-item");
|
|
21577
|
-
const { translateX, translateY
|
|
21578
|
-
const transform = `translate(${translateX}px, ${translateY}px) scale(
|
|
21577
|
+
const { translateX, translateY } = this.transformation.matrix;
|
|
21578
|
+
const transform = `translate(${translateX}px, ${translateY}px) scale(1, 1)`;
|
|
21579
21579
|
div.style.backgroundColor = "#b2b0c3";
|
|
21580
21580
|
div.id = this.getId();
|
|
21581
21581
|
div.style.width = `${this.getWidth()}px`;
|
|
@@ -47696,6 +47696,8 @@ class Card extends BaseItem {
|
|
|
47696
47696
|
createImages() {
|
|
47697
47697
|
this.face = conf.documentFactory.createElement("img");
|
|
47698
47698
|
this.backside = conf.documentFactory.createElement("img");
|
|
47699
|
+
this.face.crossOrigin = "anonymous";
|
|
47700
|
+
this.backside.crossOrigin = "anonymous";
|
|
47699
47701
|
this.face.src = this.faceUrl;
|
|
47700
47702
|
this.backside.src = this.backsideUrl;
|
|
47701
47703
|
this.face.onload = () => {
|
package/dist/esm/node.js
CHANGED
|
@@ -24041,8 +24041,8 @@ class BaseItem extends Mbr {
|
|
|
24041
24041
|
}
|
|
24042
24042
|
renderHTML(documentFactory) {
|
|
24043
24043
|
const div = documentFactory.createElement("base-item");
|
|
24044
|
-
const { translateX, translateY
|
|
24045
|
-
const transform = `translate(${translateX}px, ${translateY}px) scale(
|
|
24044
|
+
const { translateX, translateY } = this.transformation.matrix;
|
|
24045
|
+
const transform = `translate(${translateX}px, ${translateY}px) scale(1, 1)`;
|
|
24046
24046
|
div.style.backgroundColor = "#b2b0c3";
|
|
24047
24047
|
div.id = this.getId();
|
|
24048
24048
|
div.style.width = `${this.getWidth()}px`;
|
|
@@ -50164,6 +50164,8 @@ class Card extends BaseItem {
|
|
|
50164
50164
|
createImages() {
|
|
50165
50165
|
this.face = conf.documentFactory.createElement("img");
|
|
50166
50166
|
this.backside = conf.documentFactory.createElement("img");
|
|
50167
|
+
this.face.crossOrigin = "anonymous";
|
|
50168
|
+
this.backside.crossOrigin = "anonymous";
|
|
50167
50169
|
this.face.src = this.faceUrl;
|
|
50168
50170
|
this.backside.src = this.backsideUrl;
|
|
50169
50171
|
this.face.onload = () => {
|