@maas/vue-equipment 1.0.0-beta.1 → 1.0.0-beta.2

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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@maas/vue-equipment/nuxt",
3
3
  "configKey": "vueEquipment",
4
- "version": "0.40.0",
4
+ "version": "1.0.0-beta.1",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "0.8.4",
7
7
  "unbuild": "unknown"
@@ -40,12 +40,9 @@ export default /* @__PURE__ */ _defineComponent({
40
40
  return [el, animation2, options];
41
41
  });
42
42
  animation.value = animate(mappedSequence, mappedSequenceOptions);
43
- animation.value.time = mappedProgress.value;
44
43
  animation.value.pause();
44
+ animation.value.time = mappedProgress.value;
45
45
  }
46
- onMounted(() => {
47
- createAnimation();
48
- });
49
46
  watch(mappedProgress, (value) => {
50
47
  if (!value && value !== 0 || !animation.value) {
51
48
  return;
@@ -61,6 +58,9 @@ export default /* @__PURE__ */ _defineComponent({
61
58
  deep: true
62
59
  }
63
60
  );
61
+ onMounted(() => {
62
+ createAnimation();
63
+ });
64
64
  return (_ctx, _cache) => {
65
65
  return _openBlock(), _createElementBlock(
66
66
  "div",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@maas/vue-equipment",
3
3
  "description": "Our Frontend Toolkit, Free and Open Source",
4
- "version": "1.0.0-beta.1",
4
+ "version": "1.0.0-beta.2",
5
5
  "contributors": [
6
6
  {
7
7
  "name": "Robin Scholz",