adata-ui 2.0.69 → 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 +1 -0
- package/components/features/pk-mobile-services/APkMobileServices.vue +1 -2
- package/components/navigation/header/HeaderLink.vue +7 -1
- package/composables/useHeaderNavigationLinks.ts +7 -7
- package/lang/en.ts +1 -0
- package/lang/kk.ts +1 -0
- package/lang/ru.ts +1 -0
- package/package.json +1 -1
- package/shared/constans/pages.ts +1 -0
package/app.vue
CHANGED
|
@@ -28,8 +28,7 @@ const linkByIndex = [
|
|
|
28
28
|
PAGES.pk.unload,
|
|
29
29
|
PAGES.pk.compare,
|
|
30
30
|
PAGES.pk.sanctions,
|
|
31
|
-
|
|
32
|
-
// buildLocalizedUrl(locale, config.myLayer.landingUrl, '/all-services'),
|
|
31
|
+
buildLocalizedUrl(locale, config.myLayer.landingUrl, '/all-services'),
|
|
33
32
|
]
|
|
34
33
|
</script>
|
|
35
34
|
|
|
@@ -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
|
|
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
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
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'),
|
|
@@ -400,7 +400,7 @@ export const usePkServicesLinks = () => {
|
|
|
400
400
|
{
|
|
401
401
|
title: t('all_services'),
|
|
402
402
|
icon: AIconExpandWindow,
|
|
403
|
-
to: buildLocalizedUrl(locale.value, `https://${mode}.kz`, PAGES.
|
|
403
|
+
to: buildLocalizedUrl(locale.value, `https://${mode}.kz`, PAGES.allServices)
|
|
404
404
|
},
|
|
405
405
|
]
|
|
406
406
|
}
|
package/lang/en.ts
CHANGED
package/lang/kk.ts
CHANGED
package/lang/ru.ts
CHANGED
package/package.json
CHANGED