adata-ui 2.0.70 → 2.0.71

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/app.vue CHANGED
@@ -1,5 +1,6 @@
1
1
  <template>
2
2
  <nuxt-layout>
3
+ <a-header />
3
4
  <nuxt-page></nuxt-page>
4
5
  </nuxt-layout>
5
6
  </template>
@@ -22,6 +22,10 @@ const navs: any = [
22
22
  {
23
23
  label: 'header.navs.tariffs',
24
24
  to: myLayer.landingUrl + PAGES.tariffs
25
+ },
26
+ {
27
+ label: 'header.navs.api',
28
+ to: myLayer.landingUrl + PAGES.api
25
29
  }
26
30
  ]
27
31
 
@@ -48,6 +52,8 @@ const currentMenuToShow = (index) => {
48
52
  const toggleMenu = (index: number) => {
49
53
  if (index === 2) {
50
54
  window.open(buildLocalizedUrl(locale, myLayer.landingUrl, PAGES.tariffs), '_blank')
55
+ } else if (index === 3) {
56
+ window.open(buildLocalizedUrl(locale, myLayer.landingUrl, PAGES.api), '_blank')
51
57
  } else {
52
58
  currentMenu.value = currentMenuToShow(index)
53
59
  const prev = currentIndex.value
@@ -76,7 +82,7 @@ const closeMenu = (forceClose = false) => {
76
82
  }
77
83
  }
78
84
  const onMenuMouseEnter = (index: number) => {
79
- if (index !== 2) {
85
+ if (![2, 3].includes(index)) {
80
86
  if (show.value === false) {
81
87
  delayTimer.value = setTimeout(() => {
82
88
  toggleMenu(index)
@@ -215,12 +215,12 @@ export const useHeaderNavigationLinks = () => {
215
215
  icon: Connections,
216
216
  to: buildLocalizedUrl(locale, `https://tnved.${mode}.kz`, PAGES.fea.main)
217
217
  },
218
- // {
219
- // title: t('header.products.fea.items.i.t'),
220
- // subtitle: t('header.products.fea.items.i.st'),
221
- // icon: IconHandshake,
222
- // to: buildLocalizedUrl(locale, myLayer.tnvedUrl, PAGES.fea.t)
223
- // },
218
+ {
219
+ title: t('header.products.fea.items.i.t'),
220
+ subtitle: t('header.products.fea.items.i.st'),
221
+ icon: IconHandshake,
222
+ to: buildLocalizedUrl(locale, `https://tnved.${mode}.kz`, PAGES.fea.t)
223
+ },
224
224
  {
225
225
  title: t('header.products.fea.items.cp.t'),
226
226
  subtitle: t('header.products.fea.items.cp.st'),
package/lang/en.ts CHANGED
@@ -63,6 +63,7 @@ const EnLocale: RuLocale = {
63
63
  products: 'Products and Solutions',
64
64
  tariffs: 'Tariffs',
65
65
  contacts: 'Contacts',
66
+ api: "API"
66
67
  },
67
68
  products: {
68
69
  counterparties: {
package/lang/kk.ts CHANGED
@@ -63,6 +63,7 @@ const KkLocale: RuLocale = {
63
63
  products: 'Өнімдер мен шешімдер',
64
64
  tariffs: 'Тарифтер',
65
65
  contacts: 'Байланыс',
66
+ api: "API"
66
67
  },
67
68
  products: {
68
69
  counterparties: {
package/lang/ru.ts CHANGED
@@ -59,6 +59,7 @@ const RuLocale = {
59
59
  products: 'Продукты и решения',
60
60
  tariffs: 'Тарифы',
61
61
  contacts: 'Контакты',
62
+ api: "API"
62
63
  },
63
64
  products: {
64
65
  counterparties: {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "adata-ui",
3
3
  "type": "module",
4
- "version": "2.0.70",
4
+ "version": "2.0.71",
5
5
  "main": "./nuxt.config.ts",
6
6
  "scripts": {
7
7
  "dev": "nuxi dev .playground",
@@ -1,5 +1,6 @@
1
1
  export const PAGES = {
2
2
  tariffs: '/tariffs',
3
+ api: '/api-description',
3
4
  userAgreement: '/user-agreements',
4
5
  privacy: '/privacy-policy',
5
6
  vacancy: '/vacancy',