@eturnity/eturnity_reusable_components 8.7.0-EPDM-10448.0 → 8.7.0-EPDM-10679.0

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eturnity/eturnity_reusable_components",
3
- "version": "8.7.0-EPDM-10448.0",
3
+ "version": "8.7.0-EPDM-10679.0",
4
4
  "files": [
5
5
  "dist",
6
6
  "src"
@@ -0,0 +1,3 @@
1
+ <svg width="26" height="26" viewBox="0 0 19 26" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M8.947 24.9C4.1 24.9 1.308 23.24.1 19.773c-.141-.389-.148-.542.1-.649l3.457-1.791c.218-.11.292-.1.393.177a4.731 4.731 0 0 0 4.8 3.039c2.459-.044 4.162-.874 4.162-2.5 0-1.448-1.574-3.046-4.849-3.42-.259-.027-.577-.06-.858-.1C3.8 13.986.871 11.979.737 7.921c-.151-4.6 2.4-7.81 8.708-7.81 4.735 0 7.455 2.236 8.582 5.194.142.378-.038.532-.251.6l-3.955 1.623c-.249.106-.348.029-.416-.147-.544-1.418-1.642-3.339-4.2-3.224-2.6.121-3.633 1.159-3.862 2.706-.316 2.128 1.568 3.117 5.1 3.527.318.035.711.106 1.175.176 4.558.636 6.967 3.083 6.967 6.768 0 5.446-4.047 7.564-9.637 7.564" fill="white"/>
3
+ </svg>
@@ -254,9 +254,6 @@
254
254
  activeDropdown: null,
255
255
  }
256
256
  },
257
- mounted() {
258
- this.activeDropdown = this.activeParentTab
259
- },
260
257
  methods: {
261
258
  toggleActiveDropdown(value) {
262
259
  if (this.activeDropdown === value) {
@@ -266,5 +263,17 @@
266
263
  }
267
264
  },
268
265
  },
266
+ watch: {
267
+ activeTab: {
268
+ // once active tab is received, check if any parent
269
+ // tab is active and if so open according dropdown
270
+ handler() {
271
+ if (this.activeParentTab) {
272
+ this.activeDropdown = this.activeParentTab
273
+ }
274
+ },
275
+ once: true,
276
+ },
277
+ },
269
278
  }
270
279
  </script>