adata-ui 0.3.83 → 0.3.85

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adata-ui",
3
- "version": "0.3.83",
3
+ "version": "0.3.85",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -39,7 +39,7 @@
39
39
  >
40
40
  {{ item.name }}
41
41
  </a>
42
- <child-links class="menu__sublinks" :links="item" :module="activeTabKey" :mode="mode" />
42
+ <child-links v-if="item.children.length" class="menu__sublinks" :links="item" :module="activeTabKey" :mode="mode" />
43
43
  </div>
44
44
  </div>
45
45
  <div class="mobile-search">
@@ -686,6 +686,15 @@ export default {
686
686
  }
687
687
  ],
688
688
  },
689
+ {
690
+ id: 6,
691
+ name: 'ВЭД',
692
+ dev: "https://tnved.adtdev.kz",
693
+ prod: "https://tnved.adata.kz",
694
+ staging: "https://tnved.adada.kz",
695
+ key: "tnved",
696
+ children: []
697
+ },
689
698
  ],
690
699
  isOpen: false,
691
700
  weather: null,
@@ -778,19 +787,6 @@ export default {
778
787
  thousandSeparator(val) {
779
788
  return val ? val.toString().replace(/\B(?=(\d{3})+(?!\d))/g, " ") : "0";
780
789
  },
781
- defineIconState(name) {
782
- return name === "DOWN" ? "@/assets/icons/arrow-down.svg" : "@/assets/icons/arrow-up.svg";
783
- },
784
- defineIconEntity(name) {
785
- switch (name) {
786
- case 'USD':
787
- return "@/assets/icons/dollor.svg";
788
- case 'EUR':
789
- return "@/assets/icons/euro.svg";
790
- case 'RUB':
791
- return "@/assets/icons/ruble.svg";
792
- }
793
- },
794
790
  },
795
791
  };
796
792
  </script>