labmaker-plugin 0.0.289 → 0.0.291

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.
@@ -131,23 +131,13 @@ const to = {
131
131
  methods: {
132
132
  process() {
133
133
  this.tempGif = document.getElementById("giffyGif_" + this.alphanum), this.tempGif.onload = () => {
134
- console.log(this.tempGif.height, this.tempGif.width), this.imgHeight = this.tempGif.height, this.imgWidth = this.tempGif.width;
134
+ this.imgHeight = this.tempGif.height, this.imgWidth = this.tempGif.width;
135
135
  let A = document.createElement("canvas");
136
136
  A.width = this.imgWidth, A.height = this.imgHeight, A.getContext("2d").drawImage(this.tempGif, 0, 0), this.tempImage = A.toDataURL("image/png");
137
137
  };
138
138
  },
139
139
  playGif() {
140
- this.showGif = !this.showGif, this.showGif ? this.$store.dispatch("googleGA", {
141
- category: "Image",
142
- action: "Image GIF play",
143
- label: "MLP" + this.$store.getters.mlp,
144
- value: "100"
145
- }) : this.$store.dispatch("googleGA", {
146
- category: "Image",
147
- action: "Image GIF stop",
148
- label: "MLP " + this.$store.getters.mlp.module + this.$store.getters.mlp.lesson + this.$store.getters.mlp.page,
149
- value: "100"
150
- }), this.content.animDuration && this.showGif && setTimeout(() => {
140
+ this.showGif = !this.showGif, this.content.animDuration && this.showGif && setTimeout(() => {
151
141
  this.showGif = !1;
152
142
  }, this.content.animDuration);
153
143
  },
@@ -170,7 +160,7 @@ const to = {
170
160
  beforeMount() {
171
161
  this.stepperStore = this.stepperMain(), this.alphanum = Math.random().toString(36).replace("0.", "");
172
162
  }
173
- }, so = (A) => (En("data-v-09a67b0d"), A = A(), kn(), A), io = { class: "image-container" }, no = { class: "image" }, oo = /* @__PURE__ */ so(() => /* @__PURE__ */ M("span", {
163
+ }, so = (A) => (En("data-v-f26c3682"), A = A(), kn(), A), io = { class: "image-container" }, no = { class: "image" }, oo = /* @__PURE__ */ so(() => /* @__PURE__ */ M("span", {
174
164
  class: "screenReaderAlt",
175
165
  "aria-hidden": "true"
176
166
  }, "Start Animation", -1)), lo = ["id", "alt", "src"], fo = ["id", "src", "alt"], ho = ["innerHTML"], uo = ["innerHTML"], mo = ["innerHTML"];
@@ -240,7 +230,7 @@ function Ho(A, c, e, a, r, t) {
240
230
  ])
241
231
  ]);
242
232
  }
243
- const vo = /* @__PURE__ */ a2(to, [["render", Ho], ["__scopeId", "data-v-09a67b0d"]]);
233
+ const vo = /* @__PURE__ */ a2(to, [["render", Ho], ["__scopeId", "data-v-f26c3682"]]);
244
234
  const Co = {
245
235
  props: ["content"],
246
236
  //moduleLessonPage