adata-ui 3.1.59 → 3.1.61
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/dist/module.json +1 -1
- package/dist/runtime/components/NewFooter.vue +3 -2
- package/dist/runtime/components/{MobileServices.vue → PkMobileServices.vue} +11 -19
- package/dist/runtime/composables/useNavigationLInks.js +1 -1
- package/dist/runtime/i18n/i18n.config.d.ts +9 -0
- package/dist/runtime/lang/en.js +3 -0
- package/dist/runtime/lang/kk.js +3 -0
- package/dist/runtime/lang/ru.d.ts +3 -0
- package/dist/runtime/lang/ru.js +3 -0
- package/dist/runtime/shared/constants/pages.d.ts +3 -0
- package/dist/runtime/shared/constants/pages.js +3 -0
- package/dist/runtime/utils/useUrls.d.ts +1 -0
- package/dist/runtime/utils/useUrls.js +1 -0
- package/package.json +1 -1
- /package/dist/runtime/components/{MobileServices.vue.d.ts → PkMobileServices.vue.d.ts} +0 -0
package/dist/module.json
CHANGED
|
@@ -51,6 +51,7 @@ const socialMedia = [
|
|
|
51
51
|
const mainLinks = {
|
|
52
52
|
services: {
|
|
53
53
|
title: "footer.services",
|
|
54
|
+
link: `https://${mode}.kz` + PAGES.allServices,
|
|
54
55
|
items: [
|
|
55
56
|
[
|
|
56
57
|
{
|
|
@@ -70,8 +71,8 @@ const mainLinks = {
|
|
|
70
71
|
link: `https://analytics-new.${mode}.kz/`
|
|
71
72
|
},
|
|
72
73
|
{
|
|
73
|
-
title: "footer.
|
|
74
|
-
link: `https://
|
|
74
|
+
title: "footer.zakupki.title",
|
|
75
|
+
link: `https://zakupki.${mode}.kz/`
|
|
75
76
|
}
|
|
76
77
|
],
|
|
77
78
|
[
|
|
@@ -1,14 +1,8 @@
|
|
|
1
1
|
<script setup>
|
|
2
|
-
import { PAGES } from "#adata-ui/shared/constants/pages";
|
|
3
2
|
import { useServicesLinks } from "#adata-ui/composables/useNavigationLInks";
|
|
4
|
-
import {
|
|
5
|
-
import { useUrls } from "#adata-ui/utils/useUrls";
|
|
6
|
-
import { buildLocalizedUrl } from "#adata-ui/utils/localizedNavigation";
|
|
3
|
+
import { onMounted, ref, useRoute } from "#imports";
|
|
7
4
|
const services = useServicesLinks();
|
|
8
5
|
const route = useRoute();
|
|
9
|
-
const localePath = useLocalePath();
|
|
10
|
-
const { landing } = useUrls();
|
|
11
|
-
const { locale } = useI18n();
|
|
12
6
|
const blockStyles = [
|
|
13
7
|
"first-border-gradient",
|
|
14
8
|
"second-border-gradient",
|
|
@@ -20,17 +14,14 @@ const blockStyles = [
|
|
|
20
14
|
"eighth-border-gradient",
|
|
21
15
|
"ninth-border-gradient"
|
|
22
16
|
];
|
|
23
|
-
const
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
PAGES.pk.sanctions,
|
|
32
|
-
buildLocalizedUrl(locale, landing, "/all-services")
|
|
33
|
-
];
|
|
17
|
+
const hostname = ref("");
|
|
18
|
+
onMounted(() => {
|
|
19
|
+
hostname.value = window.location.hostname;
|
|
20
|
+
});
|
|
21
|
+
const isActive = (to) => {
|
|
22
|
+
const url = new URL(to);
|
|
23
|
+
return url.hostname === hostname.value && url.pathname === route.path;
|
|
24
|
+
};
|
|
34
25
|
</script>
|
|
35
26
|
|
|
36
27
|
<template>
|
|
@@ -45,7 +36,7 @@ const linkByIndex = [
|
|
|
45
36
|
class="size-10 p-2 rounded-lg"
|
|
46
37
|
:class="[
|
|
47
38
|
'bg-deepblue-900/5 dark:bg-gray-200/5',
|
|
48
|
-
{ '!bg-blue-700 text-white dark:!bg-blue-500
|
|
39
|
+
{ '!bg-blue-700 text-white dark:!bg-blue-500': isActive(service.to) }
|
|
49
40
|
]"
|
|
50
41
|
>
|
|
51
42
|
<component
|
|
@@ -56,6 +47,7 @@ const linkByIndex = [
|
|
|
56
47
|
<p class="text-xs text-center">
|
|
57
48
|
{{ service.title }}
|
|
58
49
|
</p>
|
|
50
|
+
|
|
59
51
|
</nuxt-link-locale>
|
|
60
52
|
</div>
|
|
61
53
|
</template>
|
|
@@ -43,7 +43,7 @@ export const useServicesLinks = () => {
|
|
|
43
43
|
{
|
|
44
44
|
title: t("header.products.counterparties.items.unloading.title"),
|
|
45
45
|
icon: IconArrowSquareDown,
|
|
46
|
-
to: buildLocalizedUrl(locale.value, urls.
|
|
46
|
+
to: buildLocalizedUrl(locale.value, urls.export, PAGES.export.main)
|
|
47
47
|
},
|
|
48
48
|
{
|
|
49
49
|
title: t("header.products.counterparties.items.compare.title"),
|
|
@@ -384,6 +384,9 @@ declare const _default: {
|
|
|
384
384
|
searchTenders: string;
|
|
385
385
|
purchasePlans: string;
|
|
386
386
|
};
|
|
387
|
+
zakupki: {
|
|
388
|
+
title: string;
|
|
389
|
+
};
|
|
387
390
|
fines: {
|
|
388
391
|
title: string;
|
|
389
392
|
checkFines: string;
|
|
@@ -1154,6 +1157,9 @@ declare const _default: {
|
|
|
1154
1157
|
searchTenders: string;
|
|
1155
1158
|
purchasePlans: string;
|
|
1156
1159
|
};
|
|
1160
|
+
zakupki: {
|
|
1161
|
+
title: string;
|
|
1162
|
+
};
|
|
1157
1163
|
fines: {
|
|
1158
1164
|
title: string;
|
|
1159
1165
|
checkFines: string;
|
|
@@ -1924,6 +1930,9 @@ declare const _default: {
|
|
|
1924
1930
|
searchTenders: string;
|
|
1925
1931
|
purchasePlans: string;
|
|
1926
1932
|
};
|
|
1933
|
+
zakupki: {
|
|
1934
|
+
title: string;
|
|
1935
|
+
};
|
|
1927
1936
|
fines: {
|
|
1928
1937
|
title: string;
|
|
1929
1938
|
checkFines: string;
|
package/dist/runtime/lang/en.js
CHANGED
package/dist/runtime/lang/kk.js
CHANGED
|
@@ -378,6 +378,9 @@ const KkLocale = {
|
|
|
378
378
|
searchTenders: "\u0422\u0435\u043D\u0434\u0435\u0440\u043B\u0435\u0440\u0434\u0456 \u0456\u0437\u0434\u0435\u0443",
|
|
379
379
|
purchasePlans: "\u0421\u0430\u0442\u044B\u043F \u0430\u043B\u0443 \u0436\u043E\u0441\u043F\u0430\u0440\u043B\u0430\u0440\u044B"
|
|
380
380
|
},
|
|
381
|
+
zakupki: {
|
|
382
|
+
title: "\u0421\u0430\u0442\u044B\u043F \u0430\u043B\u0443\u043B\u0430\u0440"
|
|
383
|
+
},
|
|
381
384
|
fines: {
|
|
382
385
|
title: "\u0410\u0439\u044B\u043F\u043F\u04B1\u043B\u0434\u0430\u0440",
|
|
383
386
|
checkFines: "\u0410\u0439\u044B\u043F\u043F\u04B1\u043B\u0434\u0430\u0440\u0434\u044B \u0442\u0435\u043A\u0441\u0435\u0440\u0443",
|
package/dist/runtime/lang/ru.js
CHANGED
|
@@ -372,6 +372,9 @@ const RuLocale = {
|
|
|
372
372
|
searchTenders: "\u041F\u043E\u0438\u0441\u043A \u043F\u043E \u0442\u0435\u043D\u0434\u0435\u0440\u0430\u043C",
|
|
373
373
|
purchasePlans: "\u041F\u043B\u0430\u043D\u044B \u0437\u0430\u043A\u0443\u043F\u043E\u043A"
|
|
374
374
|
},
|
|
375
|
+
zakupki: {
|
|
376
|
+
title: "\u0417\u0430\u043A\u0443\u043F\u043A\u0438"
|
|
377
|
+
},
|
|
375
378
|
fines: {
|
|
376
379
|
title: "\u0428\u0442\u0440\u0430\u0444\u044B",
|
|
377
380
|
checkFines: "\u041F\u0440\u043E\u0432\u0435\u0440\u043A\u0430 \u0448\u0442\u0440\u0430\u0444\u043E\u0432",
|
package/package.json
CHANGED
|
File without changes
|