adata-ui 2.1.0 → 2.1.2
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/.editorconfig +12 -12
- package/.nuxtrc +1 -1
- package/.playground/app.config.ts +5 -5
- package/README.md +75 -75
- package/app.config.ts +4 -3
- package/app.vue +1 -0
- package/assets/styles/index.scss +104 -0
- package/assets/styles/modules/_base.scss +5 -0
- package/assets/styles/modules/_typography.scss +152 -0
- package/components/elements/README.md +1 -1
- package/components/elements/accordion/AAccordion.vue +13 -12
- package/components/elements/curve-block/ACurveBlock.vue +94 -19
- package/components/elements/feature-description/AFeatureDescription.vue +4 -4
- package/components/elements/illustrations/noAccess.vue +11 -2
- package/components/elements/photos-animation/APhotosAnimation.vue +3 -1
- package/components/elements/select/ASelect.vue +65 -9
- package/components/features/lang-switcher/lang-switcher.vue +8 -1
- package/components/features/payment/banner/BasicPlusLimitBanner.vue +104 -0
- package/components/features/payment/banner/PaymentBanner.vue +108 -0
- package/components/features/payment/process/PaymentKaspiQrSidePanel.vue +158 -0
- package/components/features/payment/process/PaymentKaspiRedirectSidePanel.vue +112 -0
- package/components/features/payment/process/PaymentMethodSidePanel.vue +121 -0
- package/components/features/payment/process/PaymentProcess.vue +138 -0
- package/components/features/payment/process/PaymentTopUpSidePanel.vue +130 -0
- package/components/features/pk-mobile-services/APkMobileServices.vue +21 -2
- package/components/forms/README.md +1 -1
- package/components/forms/checkbox/ACheckbox.vue +0 -2
- package/components/forms/radio-button/ARadioButton.vue +21 -13
- package/components/forms/request-demo/ARequestDemo.vue +21 -7
- package/components/modals/AConfirmationEmail.vue +40 -0
- package/components/modals/AnotherDeviceModal.vue +3 -2
- package/components/modals/ConnectingTariffModal.vue +0 -1
- package/components/modals/ContentNavigationModal.vue +148 -75
- package/components/modals/Insufficient-funds-modal.vue +5 -2
- package/components/modals/LimitReachedModal.vue +4 -3
- package/components/modals/ReportBugModal.vue +3 -3
- package/components/modals/Resend.vue +82 -0
- package/components/modals/SubmitApplicationModal.vue +4 -0
- package/components/modals/id/AuthModal.vue +78 -0
- package/components/modals/id/IdAutoLogoutModal.vue +45 -0
- package/components/modals/id/IdBanner.vue +58 -0
- package/components/modals/id/IdConfirmAccountOtpModal.vue +186 -0
- package/components/modals/id/IdConfirmSuccessfulModal.vue +41 -0
- package/components/modals/id/IdLoginModal.vue +316 -0
- package/components/modals/id/IdModals.vue +114 -0
- package/components/modals/id/IdNewPasswordModal.vue +129 -0
- package/components/modals/id/IdOtpInput.vue +155 -0
- package/components/modals/id/IdPasswordSuccessfulModal.vue +25 -0
- package/components/modals/id/IdRecoveryModal.vue +117 -0
- package/components/modals/id/IdRegistrationModal.vue +215 -0
- package/components/modals/id/IdResetPasswordOtpModal.vue +158 -0
- package/components/modals/id/IdTwoFactorModal.vue +130 -0
- package/components/navigation/README.md +1 -1
- package/components/navigation/bottom-navigation/ABottomNavigation.vue +34 -29
- package/components/navigation/footer/AFooter.vue +210 -57
- package/components/navigation/footer/ui/{new-footer-accordion.vue → a-footer-accordion.vue} +2 -4
- package/components/navigation/header/AHeader.vue +59 -51
- package/components/navigation/header/AlmatyContacts.vue +16 -14
- package/components/navigation/header/AstanaContacts.vue +13 -11
- package/components/navigation/header/CardGallery.vue +5 -4
- package/components/navigation/header/HeaderLink.vue +16 -8
- package/components/navigation/header/NavList.vue +21 -5
- package/components/navigation/header/ProductMenu.vue +8 -78
- package/components/navigation/header/ProfileMenu.vue +10 -5
- package/components/navigation/header/TopHeader.vue +2 -2
- package/components/navigation/mobile-navigation/AMobileNavigation.vue +3 -3
- package/components/navigation/pill-tabs/APillTabs.vue +18 -4
- package/components/navigation/pill-tabs/types.ts +1 -0
- package/components/navigation/side-navigation/ASideNavigation.vue +23 -21
- package/components/overlays/README.md +1 -1
- package/components/overlays/side-panel/ASidePanel.vue +439 -0
- package/components/overlays/tooltip/ATooltip.vue +149 -154
- package/components/utils/removeTrailingSlash.ts +7 -0
- package/composables/useBuyTariffs.ts +91 -0
- package/composables/useHeaderNavigationLinks.ts +174 -297
- package/composables/useIdModals.ts +36 -0
- package/composables/usePayment.ts +74 -0
- package/composables/useUrls.ts +21 -0
- package/eslint.config.mjs +45 -0
- package/icons/adata-logo.vue +1 -1
- package/icons/ai-assistant.vue +13 -0
- package/icons/akimat.vue +20 -0
- package/icons/arrow/arrow-bottom-left-on-square.vue +1 -1
- package/icons/arrow/arrow-circle-reset.vue +1 -1
- package/icons/arrow/arrow-corner.vue +1 -1
- package/icons/arrow/arrow-graph-down.vue +1 -1
- package/icons/arrow/arrow-graph-up.vue +1 -1
- package/icons/arrow/arrow-square-down.vue +1 -1
- package/icons/arrow/arrow-top-right-on-square.vue +1 -1
- package/icons/arrow-currency-gray.vue +1 -1
- package/icons/arrow-currency-green.vue +1 -1
- package/icons/arrow-currency-red.vue +1 -1
- package/icons/avatar.vue +1 -1
- package/icons/bank.vue +5 -0
- package/icons/block.vue +1 -1
- package/icons/bookmark/bookmark-filled.vue +1 -1
- package/icons/bookmark/bookmark.vue +1 -1
- package/icons/browsers/browser-duck.vue +1 -1
- package/icons/browsers/browser-google.vue +7 -1
- package/icons/browsers/browser-yandex.vue +1 -1
- package/icons/building-vector.vue +1 -1
- package/icons/calculator.vue +1 -1
- package/icons/calendar.vue +1 -1
- package/icons/car.vue +1 -1
- package/icons/chart-bar.vue +5 -0
- package/icons/chart-pie.vue +16 -0
- package/icons/check/check-circle.vue +1 -1
- package/icons/check/check.vue +1 -1
- package/icons/check/checkmark-circle.vue +1 -1
- package/icons/check-sb.vue +7 -0
- package/icons/checkbox/checkbox-active.vue +1 -1
- package/icons/checkbox/checkbox-empty.vue +1 -1
- package/icons/checkbox/checkbox-intermediate.vue +1 -1
- package/icons/chevron/chevron-down.vue +1 -1
- package/icons/chevron/chevron-left.vue +1 -1
- package/icons/chevron/chevron-right.vue +1 -1
- package/icons/chevron/chevron-up.vue +1 -1
- package/icons/chevron/double-chevron-right.vue +1 -1
- package/icons/clipboard-text.vue +1 -1
- package/icons/clock.vue +1 -1
- package/icons/company/company-bazis.vue +3 -3
- package/icons/company/company-bereke.vue +13 -13
- package/icons/company/company-bigroup.vue +5 -5
- package/icons/company/company-erg.vue +6 -6
- package/icons/company/company-forte.vue +11 -11
- package/icons/company/company-halyk.vue +4 -4
- package/icons/company/company-jusan.vue +20 -3
- package/icons/company/company-kaspi.vue +3 -3
- package/icons/company/company-mycar.vue +2 -2
- package/icons/company/company-samruk.vue +9 -9
- package/icons/company-egov-small.vue +1 -1
- package/icons/company.vue +1 -1
- package/icons/copy.vue +1 -1
- package/icons/currency/currency-dollar.vue +1 -1
- package/icons/currency/currency-down.vue +1 -1
- package/icons/currency/currency-eur.vue +1 -1
- package/icons/currency/currency-rub.vue +1 -1
- package/icons/currency/currency-tenge.vue +9 -0
- package/icons/currency/currency-usd.vue +1 -1
- package/icons/currency/currency-yuan.vue +1 -1
- package/icons/delete.vue +1 -1
- package/icons/document.vue +1 -1
- package/icons/download.vue +1 -1
- package/icons/edit.vue +1 -1
- package/icons/education.vue +1 -1
- package/icons/egov-small.vue +1 -1
- package/icons/excel-icon.vue +14 -0
- package/icons/expand-window.vue +1 -1
- package/icons/eye-closed.vue +1 -1
- package/icons/eye-open.vue +1 -1
- package/icons/eye-opened.vue +1 -1
- package/icons/file/file.vue +1 -1
- package/icons/filter.vue +1 -1
- package/icons/flag.vue +1 -1
- package/icons/gift.vue +1 -1
- package/icons/globe.vue +1 -1
- package/icons/google.vue +41 -0
- package/icons/hand/hand-thumb-up-filled.vue +1 -1
- package/icons/hand/hand-thumb-up.vue +1 -1
- package/icons/hand-with-phone/hand-with-phone-dark.vue +1 -1
- package/icons/hand-with-phone/hand-with-phone-light.vue +1 -1
- package/icons/handshake.vue +1 -1
- package/icons/hcheck.vue +1 -1
- package/icons/hdocument.vue +1 -1
- package/icons/history.vue +1 -1
- package/icons/horizontal-more.vue +1 -1
- package/icons/hot-line.vue +6 -0
- package/icons/hummer.vue +1 -1
- package/icons/info/info-circle.vue +1 -1
- package/icons/invoice.vue +1 -1
- package/icons/kaspi-qr.vue +13 -0
- package/icons/link-chain.vue +1 -1
- package/icons/link.vue +1 -1
- package/icons/linkedin.vue +24 -24
- package/icons/loader-circle.vue +1 -1
- package/icons/location.vue +1 -1
- package/icons/lock.vue +1 -1
- package/icons/logo.vue +1 -1
- package/icons/logout.vue +1 -1
- package/icons/magnify/magnifying-glass-minus.vue +1 -1
- package/icons/magnify/magnifying-glass-plus.vue +1 -1
- package/icons/magnify/magnifying-glass.vue +1 -1
- package/icons/mail.vue +1 -1
- package/icons/mailru.vue +34 -0
- package/icons/main-filter.vue +1 -1
- package/icons/map/map-pin-filled.vue +1 -1
- package/icons/map/map-pin-rect.vue +1 -1
- package/icons/map/map-pin.vue +1 -1
- package/icons/map-marker-start.vue +1 -1
- package/icons/medal.vue +1 -1
- package/icons/menu-filled.vue +1 -1
- package/icons/menu.vue +1 -1
- package/icons/message/message.vue +1 -1
- package/icons/minus/minus-circle.vue +1 -1
- package/icons/money.vue +1 -1
- package/icons/monitoring.vue +1 -1
- package/icons/moon.vue +1 -1
- package/icons/more.vue +1 -1
- package/icons/notification.vue +1 -1
- package/icons/paperclip.vue +1 -1
- package/icons/payment/payment-card.vue +1 -1
- package/icons/payment/payment-kaspi.vue +1 -1
- package/icons/person-vector.vue +1 -1
- package/icons/person-with-briefcase.vue +1 -1
- package/icons/phone-filled.vue +1 -1
- package/icons/phone.vue +1 -1
- package/icons/plus/plus-circle.vue +1 -1
- package/icons/plus/plus.vue +1 -1
- package/icons/profile.vue +1 -1
- package/icons/radio/radio-check.vue +1 -1
- package/icons/radio/radio-empty.vue +1 -1
- package/icons/receipt.vue +1 -1
- package/icons/sanctions.vue +8 -0
- package/icons/scales/scale.vue +1 -1
- package/icons/scales/scales.vue +1 -1
- package/icons/scales/standing-scales.vue +1 -1
- package/icons/search.vue +1 -1
- package/icons/share/share-alt.vue +1 -1
- package/icons/share/share.vue +1 -1
- package/icons/socials/face-book.vue +1 -1
- package/icons/socials/instagram.vue +1 -1
- package/icons/socials/telegram.vue +1 -1
- package/icons/socials/tik-tok.vue +1 -1
- package/icons/socials/youtube.vue +1 -1
- package/icons/sort/sort-asc.vue +1 -1
- package/icons/sort/sort-desc.vue +1 -1
- package/icons/splitting-arrows.vue +1 -1
- package/icons/star/star-filled.vue +1 -1
- package/icons/star/star-half-filled.vue +1 -1
- package/icons/star/star.vue +1 -1
- package/icons/sun.vue +14 -14
- package/icons/sviazi.vue +1 -1
- package/icons/tag.vue +1 -1
- package/icons/tasks.vue +10 -0
- package/icons/tender-search.vue +1 -1
- package/icons/toasts/check-circle-toast.vue +1 -1
- package/icons/toasts/warning-triangle-toast.vue +1 -1
- package/icons/trash.vue +1 -1
- package/icons/triangle.vue +1 -1
- package/icons/truck.vue +1 -1
- package/icons/user.vue +1 -1
- package/icons/users-focus.vue +1 -1
- package/icons/users.vue +1 -1
- package/icons/warning/warning-circle.vue +1 -1
- package/icons/warning/warning-triangle-filled.vue +1 -1
- package/icons/warning/warning-triangle.vue +1 -1
- package/icons/whatsapp.vue +1 -1
- package/icons/work-bag.vue +1 -1
- package/icons/work-case.vue +9 -0
- package/icons/work-search.vue +1 -1
- package/icons/work.vue +1 -1
- package/icons/x-mark.vue +1 -1
- package/icons/yandex.vue +28 -0
- package/illustrations/address-location.vue +1 -1
- package/illustrations/ball-with-chain.vue +1 -1
- package/illustrations/bill.vue +1 -1
- package/illustrations/buildings.vue +1 -1
- package/illustrations/calendar.vue +1 -1
- package/illustrations/chains.vue +1 -1
- package/illustrations/coin-percent.vue +1 -1
- package/illustrations/coins-stack.vue +1 -1
- package/illustrations/delete-dark.vue +1 -1
- package/illustrations/delete.vue +1 -1
- package/illustrations/doc-with-stamp.vue +1 -1
- package/illustrations/document.vue +1 -1
- package/illustrations/door.vue +1 -1
- package/illustrations/empty-box.vue +1 -1
- package/illustrations/empty-wallet.vue +1 -1
- package/illustrations/graph-in-coin.vue +1 -1
- package/illustrations/hammer.vue +1 -1
- package/illustrations/hand-cash.vue +1 -1
- package/illustrations/info.vue +1 -1
- package/illustrations/mail.vue +1 -1
- package/illustrations/ok.vue +1 -1
- package/illustrations/people-group.vue +1 -1
- package/illustrations/person-with-phone.vue +1 -1
- package/illustrations/person.vue +1 -1
- package/illustrations/phone-check.vue +1 -1
- package/illustrations/phone-payment-method.vue +1 -1
- package/illustrations/stop-hand.vue +1 -1
- package/illustrations/stop-sign.vue +1 -1
- package/illustrations/suit.vue +1 -1
- package/illustrations/suitcase.vue +1 -1
- package/illustrations/terminal-dark.vue +1 -1
- package/illustrations/terminal.vue +1 -1
- package/illustrations/trash-can.vue +1 -1
- package/illustrations/turn-on-tariff.vue +1 -1
- package/illustrations/two-persons.vue +1 -1
- package/lang/en.ts +475 -270
- package/lang/kk.ts +476 -271
- package/lang/ru.ts +315 -107
- package/layouts/default.vue +13 -13
- package/nuxt.config.ts +42 -14
- package/package.json +69 -53
- package/public/kaspi/logo.svg +4 -0
- package/shared/constans/pages.ts +17 -2
- package/tailwind.config.ts +163 -0
- package/vitest.config.ts +14 -0
- package/.eslintrc.cjs +0 -4
- package/.playground/app.vue +0 -9
- package/.playground/pages/index.vue +0 -13
- package/.prettierignore +0 -24
- package/.prettierrc +0 -10
- package/assets/styles/index.css +0 -226
- package/components/modals/AuthModal.vue +0 -50
- package/components/navigation/footer/NewFooter.vue +0 -276
- package/components/navigation/footer/ui/footer-acccordion.vue +0 -119
|
@@ -26,7 +26,7 @@ import { buildLocalizedUrl } from '#adata-ui/utils/localizedNavigation'
|
|
|
26
26
|
import IconLock from '#adata-ui/icons/lock.vue'
|
|
27
27
|
import IconReceipt from '#adata-ui/icons/receipt.vue'
|
|
28
28
|
import IconFavorite from '#adata-ui/icons/bookmark/bookmark.vue'
|
|
29
|
-
import IconReport from '#adata-ui/icons/file/file.vue'
|
|
29
|
+
// import IconReport from '#adata-ui/icons/file/file.vue'
|
|
30
30
|
import IconHistory from '#adata-ui/icons/history.vue'
|
|
31
31
|
import IconMessage from '#adata-ui/icons/message/message.vue'
|
|
32
32
|
import {
|
|
@@ -38,539 +38,416 @@ import {
|
|
|
38
38
|
AIconGlobe,
|
|
39
39
|
AIconId,
|
|
40
40
|
AIconFiles,
|
|
41
|
-
AIconArrowSquareDown, AIconExpandWindow
|
|
41
|
+
AIconArrowSquareDown, AIconExpandWindow, AIconUsers, AIconWarningTriangle, AIconSearch, AIconAkimat, AIconCurrencyTenge, AIconExcelIcon
|
|
42
42
|
} from '#components'
|
|
43
43
|
import MapPinRect from '#adata-ui/icons/map/map-pin-rect.vue'
|
|
44
|
-
import MagnifyingGlass from '#adata-ui/icons/magnify/magnifying-glass.vue'
|
|
45
44
|
import MapPaper from '#adata-ui/icons/map-paper.vue'
|
|
45
|
+
import ChartBar from '#adata-ui/icons/chart-bar.vue'
|
|
46
|
+
import Bank from '#adata-ui/icons/bank.vue'
|
|
47
|
+
import { useUrls } from '#adata-ui/composables/useUrls'
|
|
48
|
+
import AiAssistant from '#adata-ui/icons/ai-assistant.vue'
|
|
49
|
+
import Tasks from '#adata-ui/icons/tasks.vue'
|
|
50
|
+
import HotLine from '#adata-ui/icons/hot-line.vue'
|
|
51
|
+
import Sanctions from '#adata-ui/icons/sanctions.vue'
|
|
52
|
+
import CheckSb from '#adata-ui/icons/check-sb.vue'
|
|
46
53
|
|
|
47
54
|
export const useHeaderNavigationLinks = () => {
|
|
48
55
|
const { t, locale } = useI18n()
|
|
49
|
-
const
|
|
50
|
-
const localePath = useLocalePath()
|
|
56
|
+
const urls = useUrls()
|
|
51
57
|
|
|
52
58
|
return computed(() => {
|
|
53
59
|
return [
|
|
54
60
|
{
|
|
55
61
|
key: 'pk',
|
|
56
62
|
name: t('header.products.counterparties.label'),
|
|
63
|
+
link: buildLocalizedUrl(locale, urls.pk, PAGES.pk.main),
|
|
57
64
|
icon: AIconUsersThree,
|
|
58
|
-
to:
|
|
65
|
+
to: urls.pk,
|
|
59
66
|
items: [
|
|
60
67
|
{
|
|
61
68
|
title: t('header.products.counterparties.items.counterparty.title'),
|
|
62
69
|
subtitle: t('header.products.counterparties.items.counterparty.subtitle'),
|
|
63
70
|
icon: IconSearch,
|
|
64
|
-
to: buildLocalizedUrl(locale,
|
|
71
|
+
to: buildLocalizedUrl(locale, urls.pk, PAGES.pk.main),
|
|
65
72
|
},
|
|
66
73
|
{
|
|
67
74
|
title: t('header.products.counterparties.items.unloading.title'),
|
|
68
75
|
subtitle: t('header.products.counterparties.items.unloading.subtitle'),
|
|
69
76
|
icon: IconArrowCircle,
|
|
70
|
-
to: buildLocalizedUrl(locale,
|
|
77
|
+
to: buildLocalizedUrl(locale, urls.pk, PAGES.pk.unload),
|
|
71
78
|
},
|
|
72
79
|
{
|
|
73
80
|
title: t('header.products.counterparties.items.wholesale.title'),
|
|
74
81
|
subtitle: t('header.products.counterparties.items.wholesale.subtitle'),
|
|
75
82
|
icon: IconUsers,
|
|
76
|
-
to: buildLocalizedUrl(locale,
|
|
83
|
+
to: buildLocalizedUrl(locale, urls.pk, PAGES.pk.employees),
|
|
77
84
|
},
|
|
78
85
|
{
|
|
79
86
|
title: t('header.products.counterparties.items.foreign.title'),
|
|
80
87
|
subtitle: t('header.products.counterparties.items.foreign.subtitle'),
|
|
81
88
|
icon: IconGlobe,
|
|
82
|
-
to: buildLocalizedUrl(locale,
|
|
89
|
+
to: buildLocalizedUrl(locale, urls.pk, PAGES.pk.foreign),
|
|
83
90
|
},
|
|
84
91
|
{
|
|
85
92
|
title: t('header.products.counterparties.items.compare.title'),
|
|
86
93
|
icon: IconScales,
|
|
87
|
-
to: buildLocalizedUrl(locale,
|
|
94
|
+
to: buildLocalizedUrl(locale, urls.pk, PAGES.pk.compare),
|
|
88
95
|
},
|
|
89
96
|
{
|
|
90
97
|
title: t('header.products.counterparties.items.networks.title'),
|
|
91
98
|
icon: IconLink,
|
|
92
|
-
to: buildLocalizedUrl(locale,
|
|
99
|
+
to: buildLocalizedUrl(locale, urls.pk, PAGES.pk.connections)
|
|
93
100
|
},
|
|
94
101
|
{
|
|
95
102
|
title: t('header.products.counterparties.items.sanction.title'),
|
|
96
103
|
icon: IconBlock,
|
|
97
|
-
to: buildLocalizedUrl(locale,
|
|
104
|
+
to: buildLocalizedUrl(locale, urls.pk, PAGES.pk.sanctions)
|
|
98
105
|
},
|
|
99
106
|
{
|
|
100
107
|
title: t('header.products.counterparties.items.offshore.title'),
|
|
101
108
|
icon: IconDollar,
|
|
102
|
-
to: buildLocalizedUrl(locale,
|
|
103
|
-
}
|
|
104
|
-
]
|
|
105
|
-
},
|
|
106
|
-
{
|
|
107
|
-
key: 'work',
|
|
108
|
-
name: t('header.products.jobs.label'),
|
|
109
|
-
icon: AIconWorkBag,
|
|
110
|
-
items: [
|
|
111
|
-
{
|
|
112
|
-
title: t('header.products.jobs.items.vacancies.title'),
|
|
113
|
-
icon: IconWork,
|
|
114
|
-
subtitle: t('header.products.jobs.items.vacancies.subtitle'),
|
|
115
|
-
to: myLayer.workUrl + PAGES.work.vacancy
|
|
116
|
-
},
|
|
117
|
-
{
|
|
118
|
-
title: t('header.products.jobs.items.resume.title'),
|
|
119
|
-
subtitle: t('header.products.jobs.items.resume.subtitle'),
|
|
120
|
-
icon: IconDocument,
|
|
121
|
-
to: myLayer.workUrl + PAGES.work.summary
|
|
122
|
-
}
|
|
123
|
-
]
|
|
124
|
-
},
|
|
125
|
-
{
|
|
126
|
-
key: 'tenders',
|
|
127
|
-
name: t('header.products.tenders.label'),
|
|
128
|
-
icon: AIconReceipt,
|
|
129
|
-
to: myLayer.tenderUrl,
|
|
130
|
-
items: [
|
|
131
|
-
{
|
|
132
|
-
title: t('header.products.tenders.items.tenders.title'),
|
|
133
|
-
subtitle: t('header.products.tenders.items.tenders.subtitle'),
|
|
134
|
-
icon: IconSearch,
|
|
135
|
-
to: myLayer.tenderUrl + PAGES.tender.main
|
|
136
|
-
},
|
|
137
|
-
{
|
|
138
|
-
title: t('header.products.tenders.items.procurement.title'),
|
|
139
|
-
subtitle: t('header.products.tenders.items.procurement.subtitle'),
|
|
140
|
-
icon: IconCheck,
|
|
141
|
-
to: myLayer.tenderUrl + PAGES.tender.plans
|
|
142
|
-
},
|
|
143
|
-
{
|
|
144
|
-
title: t('header.products.tenders.items.contracts.title'),
|
|
145
|
-
subtitle: t('header.products.tenders.items.contracts.subtitle'),
|
|
146
|
-
icon: IconFile,
|
|
147
|
-
to: myLayer.tenderUrl + PAGES.tender.contracts
|
|
109
|
+
to: buildLocalizedUrl(locale, urls.pk, PAGES.pk.offshore)
|
|
148
110
|
}
|
|
149
111
|
]
|
|
150
112
|
},
|
|
151
113
|
{
|
|
152
114
|
key: 'fines',
|
|
153
115
|
name: t('header.products.fines.label'),
|
|
116
|
+
link: buildLocalizedUrl(locale, urls.avto, PAGES.fines.main),
|
|
154
117
|
icon: AIconCar,
|
|
155
118
|
items: [
|
|
156
119
|
{
|
|
157
120
|
title: t('header.products.fines.items.fines.title'),
|
|
158
121
|
subtitle: t('header.products.fines.items.fines.subtitle'),
|
|
159
122
|
icon: IconCheckCircle,
|
|
160
|
-
to: buildLocalizedUrl(locale,
|
|
123
|
+
to: buildLocalizedUrl(locale, urls.avto, PAGES.fines.main)
|
|
161
124
|
},
|
|
162
125
|
{
|
|
163
126
|
title: t('header.products.fines.items.auto.title'),
|
|
164
127
|
subtitle: t('header.products.fines.items.auto.subtitle'),
|
|
165
128
|
icon: IconCar,
|
|
166
|
-
to: buildLocalizedUrl(locale,
|
|
129
|
+
to: buildLocalizedUrl(locale, urls.avto, PAGES.fines.avto)
|
|
167
130
|
},
|
|
168
|
-
{
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
}
|
|
131
|
+
// {
|
|
132
|
+
// title: t('header.products.fines.items.wholesaleAuto.title'),
|
|
133
|
+
// subtitle: t('header.products.fines.items.wholesaleAuto.subtitle'),
|
|
134
|
+
// icon: IconTruck,
|
|
135
|
+
// to: buildLocalizedUrl(locale, urls.avto, PAGES.fines.bulk)
|
|
136
|
+
// }
|
|
174
137
|
]
|
|
175
138
|
},
|
|
176
139
|
{
|
|
177
|
-
key: '
|
|
178
|
-
name: t('header.products.
|
|
179
|
-
|
|
140
|
+
key: 'work',
|
|
141
|
+
name: t('header.products.jobs.label'),
|
|
142
|
+
link: urls.work + PAGES.work.vacancy,
|
|
143
|
+
icon: AIconWorkBag,
|
|
180
144
|
items: [
|
|
181
145
|
{
|
|
182
|
-
title: t('header.products.
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
to:
|
|
186
|
-
},
|
|
187
|
-
{
|
|
188
|
-
title: t('header.products.analytics.items.activity.title'),
|
|
189
|
-
subtitle: t('header.products.analytics.items.activity.subtitle'),
|
|
190
|
-
icon: IconArrowGraph,
|
|
191
|
-
to: buildLocalizedUrl(locale, myLayer.analyticsNewUrl, PAGES.analytics.index)
|
|
192
|
-
|
|
193
|
-
},
|
|
194
|
-
{
|
|
195
|
-
title: t('header.products.analytics.items.rate.title'),
|
|
196
|
-
subtitle: t('header.products.analytics.items.rate.subtitle'),
|
|
197
|
-
icon: IconMedal,
|
|
198
|
-
to: buildLocalizedUrl(locale, myLayer.analyticsNewUrl, PAGES.analytics.rating)
|
|
146
|
+
title: t('header.products.jobs.items.vacancies.title'),
|
|
147
|
+
icon: IconWork,
|
|
148
|
+
subtitle: t('header.products.jobs.items.vacancies.subtitle'),
|
|
149
|
+
to: urls.work + PAGES.work.vacancy
|
|
199
150
|
},
|
|
200
151
|
{
|
|
201
|
-
title: t('header.products.
|
|
202
|
-
subtitle: t('header.products.
|
|
203
|
-
icon:
|
|
204
|
-
to:
|
|
152
|
+
title: t('header.products.jobs.items.resume.title'),
|
|
153
|
+
subtitle: t('header.products.jobs.items.resume.subtitle'),
|
|
154
|
+
icon: IconDocument,
|
|
155
|
+
to: urls.work + PAGES.work.summary
|
|
205
156
|
}
|
|
206
157
|
]
|
|
207
158
|
},
|
|
208
159
|
{
|
|
209
160
|
key: 'fea',
|
|
161
|
+
is_new: true,
|
|
210
162
|
name: t('header.products.fea.label'),
|
|
163
|
+
link: buildLocalizedUrl(locale, urls.tnved, PAGES.fea.main),
|
|
211
164
|
icon: AIconGlobe,
|
|
212
165
|
items: [
|
|
213
166
|
{
|
|
214
167
|
title: t('header.products.fea.items.o.t'),
|
|
215
168
|
subtitle: t('header.products.fea.items.o.st'),
|
|
216
169
|
icon: Connections,
|
|
217
|
-
to: buildLocalizedUrl(locale,
|
|
170
|
+
to: buildLocalizedUrl(locale, urls.tnved, PAGES.fea.main)
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
title: t('header.products.fea.items.i.t'),
|
|
174
|
+
subtitle: t('header.products.fea.items.i.st'),
|
|
175
|
+
icon: IconHandshake,
|
|
176
|
+
to: buildLocalizedUrl(locale, urls.tnved, PAGES.fea.t)
|
|
218
177
|
},
|
|
219
|
-
// {
|
|
220
|
-
// title: t('header.products.fea.items.i.t'),
|
|
221
|
-
// subtitle: t('header.products.fea.items.i.st'),
|
|
222
|
-
// icon: IconHandshake,
|
|
223
|
-
// to: buildLocalizedUrl(locale, myLayer.tnvedUrl, PAGES.fea.t)
|
|
224
|
-
// },
|
|
225
178
|
{
|
|
226
179
|
title: t('header.products.fea.items.cp.t'),
|
|
227
180
|
subtitle: t('header.products.fea.items.cp.st'),
|
|
228
181
|
icon: IconTruck,
|
|
229
|
-
to: buildLocalizedUrl(locale,
|
|
182
|
+
to: buildLocalizedUrl(locale, urls.tnved, PAGES.fea.cp)
|
|
230
183
|
|
|
231
184
|
},
|
|
232
185
|
{
|
|
233
186
|
title: t('header.products.fea.items.ca.t'),
|
|
234
187
|
subtitle: t('header.products.fea.items.ca.st'),
|
|
235
188
|
icon: IconCalc,
|
|
236
|
-
to: buildLocalizedUrl(locale,
|
|
189
|
+
to: buildLocalizedUrl(locale, urls.tnved, PAGES.fea.ca)
|
|
237
190
|
},
|
|
238
191
|
{
|
|
239
192
|
title: t('header.products.fea.items.tr.t'),
|
|
240
193
|
subtitle: t('header.products.fea.items.tr.st'),
|
|
241
194
|
icon: IconGlobe,
|
|
242
|
-
to: buildLocalizedUrl(locale,
|
|
195
|
+
to: buildLocalizedUrl(locale, urls.tnved, PAGES.fea.tr)
|
|
243
196
|
},
|
|
244
197
|
{
|
|
245
198
|
title: t('header.products.fea.items.containers.t'),
|
|
246
199
|
subtitle: t('header.products.fea.items.containers.st'),
|
|
247
200
|
icon: MapPaper,
|
|
248
|
-
to: buildLocalizedUrl(locale,
|
|
201
|
+
to: buildLocalizedUrl(locale, urls.tnved, PAGES.fea.containers)
|
|
249
202
|
},
|
|
250
203
|
{
|
|
251
204
|
title: t('header.products.fea.items.importerMap.t'),
|
|
252
205
|
subtitle: t('header.products.fea.items.importerMap.st'),
|
|
253
206
|
icon: MapPinRect,
|
|
254
|
-
to: buildLocalizedUrl(locale,
|
|
207
|
+
to: buildLocalizedUrl(locale, urls.tnved, PAGES.fea.importerMap)
|
|
255
208
|
},
|
|
256
209
|
]
|
|
257
210
|
},
|
|
258
211
|
{
|
|
259
|
-
key: '
|
|
260
|
-
name: t('header.products.
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
subtitle: t('header.products.compliance.items.l.st'),
|
|
266
|
-
icon: IconProfile,
|
|
267
|
-
to: buildLocalizedUrl(locale, `${myLayer.complianceUrl}/compliance`, '')
|
|
268
|
-
}
|
|
269
|
-
]
|
|
270
|
-
},
|
|
271
|
-
{
|
|
272
|
-
key: 'edo',
|
|
273
|
-
name: t('header.products.edo.label'),
|
|
274
|
-
icon: AIconFiles,
|
|
275
|
-
items: [
|
|
276
|
-
{
|
|
277
|
-
title: t('header.products.edo.items.l.t'),
|
|
278
|
-
subtitle: t('header.products.edo.items.l.t'),
|
|
279
|
-
icon: AIconFiles,
|
|
280
|
-
to: buildLocalizedUrl(locale, myLayer?.edoUrl ?? `https://edo.adata.kz` , '')
|
|
281
|
-
}
|
|
282
|
-
]
|
|
283
|
-
}
|
|
284
|
-
]
|
|
285
|
-
})
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
export const useFooterNavigationLinks = () => {
|
|
289
|
-
const { locale } = useI18n()
|
|
290
|
-
const { myLayer } = useAppConfig()
|
|
291
|
-
|
|
292
|
-
return computed(()=>{
|
|
293
|
-
return {
|
|
294
|
-
counterparties: {
|
|
295
|
-
title: 'footer.counterparties.title',
|
|
296
|
-
link: buildLocalizedUrl(locale.value, myLayer.pkUrl, ''),
|
|
212
|
+
key: 'tenders',
|
|
213
|
+
name: t('header.products.tenders.label'),
|
|
214
|
+
link: urls.zakupki + PAGES.tender.customers,
|
|
215
|
+
icon: AIconReceipt,
|
|
216
|
+
is_new: true,
|
|
217
|
+
to: urls.tender,
|
|
297
218
|
items: [
|
|
298
219
|
{
|
|
299
|
-
title: '
|
|
300
|
-
|
|
220
|
+
title: t('header.products.tenders.items.customers.title'),
|
|
221
|
+
subtitle: t('header.products.tenders.items.customers.subtitle'),
|
|
222
|
+
icon: AIconUsers,
|
|
223
|
+
to: urls.zakupki + PAGES.tender.customers,
|
|
301
224
|
},
|
|
302
225
|
{
|
|
303
|
-
title: '
|
|
304
|
-
|
|
226
|
+
title: t('header.products.tenders.items.akimat.title'),
|
|
227
|
+
subtitle: t('header.products.tenders.items.akimat.subtitle'),
|
|
228
|
+
icon: AIconAkimat,
|
|
229
|
+
to: urls.zakupki + PAGES.tender.akimat,
|
|
305
230
|
},
|
|
306
231
|
{
|
|
307
|
-
title: '
|
|
308
|
-
|
|
232
|
+
title: t('header.products.tenders.items.tru.title'),
|
|
233
|
+
subtitle: t('header.products.tenders.items.tru.subtitle'),
|
|
234
|
+
icon: AIconWarningTriangle,
|
|
235
|
+
to: urls.zakupki + PAGES.tender.tru,
|
|
309
236
|
},
|
|
310
237
|
{
|
|
311
|
-
title: '
|
|
312
|
-
|
|
238
|
+
title: t('header.products.tenders.items.price.title'),
|
|
239
|
+
subtitle: t('header.products.tenders.items.price.subtitle'),
|
|
240
|
+
icon: AIconCurrencyTenge,
|
|
241
|
+
to: urls.zakupki + PAGES.tender.price,
|
|
313
242
|
},
|
|
314
243
|
{
|
|
315
|
-
title: '
|
|
316
|
-
|
|
244
|
+
title: t('header.products.tenders.items.constructor.title'),
|
|
245
|
+
subtitle: t('header.products.tenders.items.constructor.subtitle'),
|
|
246
|
+
icon: AIconExcelIcon,
|
|
247
|
+
to: urls.zakupki + PAGES.tender.constructor,
|
|
317
248
|
},
|
|
318
249
|
{
|
|
319
|
-
title: '
|
|
320
|
-
|
|
250
|
+
title: t('header.products.tenders.items.monitoring.title'),
|
|
251
|
+
subtitle: t('header.products.tenders.items.monitoring.subtitle'),
|
|
252
|
+
icon: AIconSearch,
|
|
253
|
+
to: urls.tender,
|
|
321
254
|
},
|
|
322
|
-
{
|
|
323
|
-
title: 'footer.counterparties.offshores',
|
|
324
|
-
link: buildLocalizedUrl(locale.value, myLayer.pkUrl, PAGES.pk.offshore),
|
|
325
|
-
}
|
|
326
255
|
]
|
|
327
256
|
},
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
257
|
+
{
|
|
258
|
+
key: 'edo',
|
|
259
|
+
is_new: true,
|
|
260
|
+
name: t('header.products.edo.label'),
|
|
261
|
+
link: buildLocalizedUrl(locale, urls.edo , ''),
|
|
262
|
+
icon: AIconFiles,
|
|
331
263
|
items: [
|
|
332
264
|
{
|
|
333
|
-
title: '
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
title: 'footer.work.createFindResume',
|
|
338
|
-
link: myLayer.workUrl + PAGES.work.summary
|
|
265
|
+
title: t('header.products.edo.items.l.t'),
|
|
266
|
+
subtitle: t('header.products.edo.items.l.t'),
|
|
267
|
+
icon: AIconFiles,
|
|
268
|
+
to: buildLocalizedUrl(locale, urls.edo , '')
|
|
339
269
|
}
|
|
340
270
|
]
|
|
341
271
|
},
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
272
|
+
{
|
|
273
|
+
key: 'compliance',
|
|
274
|
+
is_new: true,
|
|
275
|
+
name: t('header.products.compliance.label'),
|
|
276
|
+
link: buildLocalizedUrl(locale, urls.compliance, ''),
|
|
277
|
+
icon: AIconId,
|
|
345
278
|
items: [
|
|
346
279
|
{
|
|
347
|
-
title: '
|
|
348
|
-
|
|
280
|
+
title: t('header.products.compliance.items.assistant.t'),
|
|
281
|
+
subtitle: t('header.products.compliance.items.assistant.st'),
|
|
282
|
+
icon: AiAssistant,
|
|
283
|
+
to: urls.compliancemain + PAGES.compliance.assistant
|
|
349
284
|
},
|
|
350
285
|
{
|
|
351
|
-
title: '
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
},
|
|
356
|
-
fines: {
|
|
357
|
-
title: 'footer.fines.title',
|
|
358
|
-
link: buildLocalizedUrl(locale.value, myLayer.avtoUrl, PAGES.fines.main),
|
|
359
|
-
items: [
|
|
360
|
-
{
|
|
361
|
-
title: 'footer.fines.checkFines',
|
|
362
|
-
link: buildLocalizedUrl(locale.value, myLayer.avtoUrl, PAGES.fines.main),
|
|
286
|
+
title: t('header.products.compliance.items.inspection.t'),
|
|
287
|
+
subtitle: t('header.products.compliance.items.inspection.st'),
|
|
288
|
+
icon: Tasks,
|
|
289
|
+
to: urls.compliancemain + PAGES.compliance.inspection
|
|
363
290
|
},
|
|
364
291
|
{
|
|
365
|
-
title: '
|
|
366
|
-
|
|
292
|
+
title: t('header.products.compliance.items.hotline.t'),
|
|
293
|
+
subtitle: t('header.products.compliance.items.hotline.st'),
|
|
294
|
+
icon: HotLine,
|
|
295
|
+
to: urls.compliancemain + PAGES.compliance.hotline
|
|
367
296
|
},
|
|
368
297
|
{
|
|
369
|
-
title: '
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
},
|
|
374
|
-
analytics: {
|
|
375
|
-
title: 'footer.analytics.title',
|
|
376
|
-
link: buildLocalizedUrl(locale, 'https://analytics-new.adata.kz', PAGES.analytics.main),
|
|
377
|
-
items: [
|
|
378
|
-
{
|
|
379
|
-
title: 'footer.analytics.purchaseAnalysis',
|
|
380
|
-
link: myLayer.analyticsUrl + PAGES.analytics.analysis
|
|
298
|
+
title: t('header.products.compliance.items.sanctions.t'),
|
|
299
|
+
subtitle: t('header.products.compliance.items.sanctions.st'),
|
|
300
|
+
icon: Sanctions,
|
|
301
|
+
to: urls.compliancemain + PAGES.compliance.sanctions
|
|
381
302
|
},
|
|
382
303
|
{
|
|
383
|
-
title: '
|
|
384
|
-
|
|
385
|
-
|
|
304
|
+
title: t('header.products.compliance.items.suppliers.t'),
|
|
305
|
+
subtitle: t('header.products.compliance.items.suppliers.st'),
|
|
306
|
+
icon: IconProfile,
|
|
307
|
+
to: urls.compliancemain + PAGES.compliance.suppliers
|
|
386
308
|
},
|
|
387
309
|
{
|
|
388
|
-
title: '
|
|
389
|
-
|
|
310
|
+
title: t('header.products.compliance.items.sb.t'),
|
|
311
|
+
subtitle: t('header.products.compliance.items.sb.st'),
|
|
312
|
+
icon: CheckSb,
|
|
313
|
+
to: urls.compliancemain + PAGES.compliance.sb
|
|
390
314
|
},
|
|
391
|
-
{
|
|
392
|
-
title: 'footer.analytics.businessEntities',
|
|
393
|
-
link: buildLocalizedUrl(locale, 'https://analytics-new.adata.kz', PAGES.analytics.business)
|
|
394
|
-
}
|
|
395
315
|
]
|
|
396
316
|
},
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
317
|
+
{
|
|
318
|
+
key: 'analytics',
|
|
319
|
+
name: t('header.products.analytics.label'),
|
|
320
|
+
link: buildLocalizedUrl(locale, urls.analyticsNew, PAGES.analytics.index),
|
|
321
|
+
icon: AIconArrowGraphUp,
|
|
400
322
|
items: [
|
|
323
|
+
// {
|
|
324
|
+
// title: t('header.products.analytics.items.procurement.title'),
|
|
325
|
+
// subtitle: t('header.products.analytics.items.procurement.subtitle'),
|
|
326
|
+
// icon: IconClipboardText,
|
|
327
|
+
// to: buildLocalizedUrl(locale, urls.analyticsNew, PAGES.analytics.main)
|
|
328
|
+
// },
|
|
401
329
|
{
|
|
402
|
-
title: '
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
link: buildLocalizedUrl(locale.value, myLayer.tnvedUrl, PAGES.fea.o),
|
|
408
|
-
},
|
|
409
|
-
{
|
|
410
|
-
title: 'footer.fea.cp',
|
|
411
|
-
link: buildLocalizedUrl(locale.value, myLayer.tnvedUrl, PAGES.fea.cp),
|
|
412
|
-
},
|
|
413
|
-
{
|
|
414
|
-
title: 'footer.fea.calc',
|
|
415
|
-
link: buildLocalizedUrl(locale.value, myLayer.tnvedUrl, PAGES.fea.ca),
|
|
416
|
-
},
|
|
417
|
-
{
|
|
418
|
-
title: 'footer.fea.mr',
|
|
419
|
-
link: buildLocalizedUrl(locale.value, myLayer.tnvedUrl, PAGES.fea.tr),
|
|
330
|
+
title: t('header.products.analytics.items.activity.title'),
|
|
331
|
+
subtitle: t('header.products.analytics.items.activity.subtitle'),
|
|
332
|
+
icon: IconArrowGraph,
|
|
333
|
+
to: buildLocalizedUrl(locale, urls.analyticsNew, PAGES.analytics.index)
|
|
334
|
+
|
|
420
335
|
},
|
|
421
336
|
{
|
|
422
|
-
title: '
|
|
423
|
-
|
|
337
|
+
title: t('header.products.analytics.items.rate.title'),
|
|
338
|
+
subtitle: t('header.products.analytics.items.rate.subtitle'),
|
|
339
|
+
icon: IconMedal,
|
|
340
|
+
to: buildLocalizedUrl(locale, urls.analyticsNew, PAGES.analytics.rating)
|
|
424
341
|
},
|
|
425
342
|
{
|
|
426
|
-
title: '
|
|
427
|
-
|
|
428
|
-
|
|
343
|
+
title: t('header.products.analytics.items.subjects.title'),
|
|
344
|
+
subtitle: t('header.products.analytics.items.subjects.subtitle'),
|
|
345
|
+
icon: IconCompany,
|
|
346
|
+
to: buildLocalizedUrl(locale, urls.analyticsNew, PAGES.analytics.business)
|
|
347
|
+
}
|
|
429
348
|
]
|
|
430
|
-
}
|
|
431
|
-
}
|
|
432
|
-
})
|
|
433
|
-
}
|
|
434
|
-
|
|
435
|
-
export const useFooterInfoLinks = () => {
|
|
436
|
-
const { locale } = useI18n()
|
|
437
|
-
const { myLayer } = useAppConfig()
|
|
438
|
-
|
|
439
|
-
return computed(() => {
|
|
440
|
-
return [
|
|
441
|
-
{
|
|
442
|
-
title: 'footer.info.tariff',
|
|
443
|
-
link: buildLocalizedUrl(locale.value, myLayer.landingUrl, PAGES.tariffs)
|
|
444
349
|
},
|
|
445
|
-
{
|
|
446
|
-
title: 'footer.info.helpful',
|
|
447
|
-
link: buildLocalizedUrl(locale.value, myLayer.landingUrl, PAGES.usefulMain)
|
|
448
|
-
},
|
|
449
|
-
{
|
|
450
|
-
title: 'footer.info.api',
|
|
451
|
-
link: buildLocalizedUrl(locale.value, myLayer.landingUrl, PAGES.apiDescription)
|
|
452
|
-
},
|
|
453
|
-
{
|
|
454
|
-
title: 'footer.info.userAgreement',
|
|
455
|
-
link: buildLocalizedUrl(locale.value, myLayer.landingUrl, PAGES.userAgreement)
|
|
456
|
-
},
|
|
457
|
-
{
|
|
458
|
-
title: 'footer.info.privacyPolicy',
|
|
459
|
-
link: buildLocalizedUrl(locale.value, myLayer.landingUrl, PAGES.privacy)
|
|
460
|
-
},
|
|
461
|
-
{
|
|
462
|
-
title: 'footer.info.vacancy',
|
|
463
|
-
link: buildLocalizedUrl(locale.value, myLayer.landingUrl, PAGES.vacancy)
|
|
464
|
-
},
|
|
465
|
-
{
|
|
466
|
-
title: 'footer.info.counterparty',
|
|
467
|
-
link: buildLocalizedUrl(locale.value, myLayer.pkUrl, PAGES.pk.counterparty)
|
|
468
|
-
},
|
|
469
|
-
{
|
|
470
|
-
title: 'footer.info.contacts',
|
|
471
|
-
link: buildLocalizedUrl(locale.value, myLayer.landingUrl, PAGES.contacts)
|
|
472
|
-
}
|
|
473
350
|
]
|
|
474
351
|
})
|
|
475
352
|
}
|
|
476
353
|
|
|
477
354
|
export const useHeaderMenuLinks = () => {
|
|
478
355
|
const { t, locale } = useI18n()
|
|
479
|
-
const
|
|
356
|
+
const urls = useUrls()
|
|
480
357
|
|
|
481
358
|
return [
|
|
482
359
|
{
|
|
483
360
|
title: t('header.profile.menu.personalInfo'),
|
|
484
361
|
icon: IconProfile,
|
|
485
|
-
to: buildLocalizedUrl(locale.value,
|
|
362
|
+
to: buildLocalizedUrl(locale.value, urls.landing, PAGES.profile.index)
|
|
486
363
|
},
|
|
487
364
|
{
|
|
488
365
|
title: t('header.profile.menu.security'),
|
|
489
366
|
icon: IconLock,
|
|
490
|
-
to: buildLocalizedUrl(locale.value,
|
|
367
|
+
to: buildLocalizedUrl(locale.value, urls.landing, PAGES.profile.security)
|
|
491
368
|
},
|
|
492
369
|
{
|
|
493
370
|
title: t('header.profile.menu.paymentHistory'),
|
|
494
371
|
icon: IconReceipt,
|
|
495
|
-
to: buildLocalizedUrl(locale.value,
|
|
372
|
+
to: buildLocalizedUrl(locale.value, urls.landing, PAGES.profile.paymentHistory)
|
|
496
373
|
},
|
|
497
374
|
{
|
|
498
375
|
title: t('header.profile.menu.favourites'),
|
|
499
376
|
icon: IconFavorite,
|
|
500
|
-
to: buildLocalizedUrl(locale.value,
|
|
501
|
-
},
|
|
502
|
-
{
|
|
503
|
-
title: t('header.profile.menu.myReports'),
|
|
504
|
-
icon: IconReport,
|
|
505
|
-
to: buildLocalizedUrl(locale.value, myLayer.landingUrl, PAGES.profile.reports)
|
|
377
|
+
to: buildLocalizedUrl(locale.value, urls.landing, PAGES.profile.favourites)
|
|
506
378
|
},
|
|
379
|
+
// {
|
|
380
|
+
// title: t('header.profile.menu.myReports'),
|
|
381
|
+
// icon: IconReport,
|
|
382
|
+
// to: buildLocalizedUrl(locale.value, urls.landing, PAGES.profile.reports)
|
|
383
|
+
// },
|
|
507
384
|
{
|
|
508
385
|
title: t('header.profile.menu.browsingHistory'),
|
|
509
386
|
icon: IconHistory,
|
|
510
|
-
to: buildLocalizedUrl(locale.value,
|
|
387
|
+
to: buildLocalizedUrl(locale.value, urls.landing, PAGES.profile.browsingHistory)
|
|
511
388
|
},
|
|
512
389
|
{
|
|
513
390
|
title: t('header.profile.menu.myGroups'),
|
|
514
391
|
icon: IconUsers,
|
|
515
|
-
to: buildLocalizedUrl(locale.value,
|
|
392
|
+
to: buildLocalizedUrl(locale.value, urls.landing, PAGES.profile.myGroups)
|
|
516
393
|
},
|
|
517
394
|
{
|
|
518
395
|
title: t('header.profile.menu.notes'),
|
|
519
396
|
icon: IconMessage,
|
|
520
|
-
to: buildLocalizedUrl(locale.value,
|
|
397
|
+
to: buildLocalizedUrl(locale.value, urls.landing, PAGES.profile.notes)
|
|
521
398
|
}
|
|
522
399
|
]
|
|
523
400
|
}
|
|
524
401
|
|
|
525
402
|
export const usePkServicesLinks = () => {
|
|
526
403
|
const { t, locale } = useI18n()
|
|
527
|
-
const
|
|
404
|
+
const urls = useUrls()
|
|
528
405
|
|
|
529
406
|
return [
|
|
530
407
|
{
|
|
531
408
|
title: t('header.products.counterparties.items.counterparty.title'),
|
|
532
409
|
icon: IconSearch,
|
|
533
|
-
to: buildLocalizedUrl(locale.value,
|
|
410
|
+
to: buildLocalizedUrl(locale.value, urls.pk, PAGES.pk.main)
|
|
534
411
|
},
|
|
535
412
|
{
|
|
536
413
|
title: t('header.products.counterparties.items.wholesale.title'),
|
|
537
414
|
icon: AIconUsersThree,
|
|
538
|
-
to: buildLocalizedUrl(locale.value,
|
|
415
|
+
to: buildLocalizedUrl(locale.value, urls.pk, PAGES.pk.employees)
|
|
539
416
|
},
|
|
540
417
|
{
|
|
541
418
|
title: t('header.products.counterparties.items.networks.title'),
|
|
542
419
|
icon: IconLink,
|
|
543
|
-
to: buildLocalizedUrl(locale.value,
|
|
420
|
+
to: buildLocalizedUrl(locale.value, urls.pk, PAGES.pk.connections)
|
|
544
421
|
},
|
|
545
422
|
{
|
|
546
423
|
title: t('header.products.counterparties.items.offshore.title'),
|
|
547
424
|
icon: IconDollar,
|
|
548
|
-
to: buildLocalizedUrl(locale.value,
|
|
425
|
+
to: buildLocalizedUrl(locale.value, urls.pk, PAGES.pk.offshore)
|
|
549
426
|
},
|
|
550
427
|
{
|
|
551
428
|
title: t('header.products.counterparties.items.foreign.title'),
|
|
552
429
|
icon: IconGlobe,
|
|
553
|
-
to: buildLocalizedUrl(locale.value,
|
|
430
|
+
to: buildLocalizedUrl(locale.value, urls.pk, PAGES.pk.foreign)
|
|
554
431
|
},
|
|
555
432
|
{
|
|
556
433
|
title: t('header.products.counterparties.items.unloading.title'),
|
|
557
434
|
icon: AIconArrowSquareDown,
|
|
558
|
-
to: buildLocalizedUrl(locale.value,
|
|
435
|
+
to: buildLocalizedUrl(locale.value, urls.pk, PAGES.pk.unload)
|
|
559
436
|
},
|
|
560
437
|
{
|
|
561
438
|
title: t('header.products.counterparties.items.compare.title'),
|
|
562
439
|
icon: IconScales,
|
|
563
|
-
to: buildLocalizedUrl(locale.value,
|
|
440
|
+
to: buildLocalizedUrl(locale.value, urls.pk, PAGES.pk.compare)
|
|
564
441
|
},
|
|
565
442
|
{
|
|
566
443
|
title: t('header.products.counterparties.items.sanction.title'),
|
|
567
444
|
icon: IconBlock,
|
|
568
|
-
to: buildLocalizedUrl(locale.value,
|
|
445
|
+
to: buildLocalizedUrl(locale.value, urls.pk, PAGES.pk.sanctions)
|
|
569
446
|
},
|
|
570
447
|
{
|
|
571
448
|
title: t('all_services'),
|
|
572
449
|
icon: AIconExpandWindow,
|
|
573
|
-
to: buildLocalizedUrl(locale.value,
|
|
450
|
+
to: buildLocalizedUrl(locale.value, urls.landing, PAGES.allServices)
|
|
574
451
|
},
|
|
575
452
|
]
|
|
576
453
|
}
|