adata-ui 3.0.2 → 3.1.0
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.d.mts +2 -0
- package/dist/module.json +5 -1
- package/dist/module.mjs +39 -6
- package/dist/runtime/components/Alert.vue +62 -0
- package/dist/runtime/components/Alert.vue.d.ts +29 -0
- package/dist/runtime/components/Chip.vue +24 -0
- package/dist/runtime/components/Chip.vue.d.ts +19 -0
- package/dist/runtime/components/ColorMode.vue +46 -0
- package/dist/runtime/components/ColorMode.vue.d.ts +2 -0
- package/dist/runtime/components/DigitBadge.vue +58 -0
- package/dist/runtime/components/DigitBadge.vue.d.ts +21 -0
- package/dist/runtime/components/Footer.vue +283 -0
- package/dist/runtime/components/Footer.vue.d.ts +2 -0
- package/dist/runtime/components/FooterAccordion.vue +78 -0
- package/dist/runtime/components/FooterAccordion.vue.d.ts +11 -0
- package/dist/runtime/components/Header.vue +139 -0
- package/dist/runtime/components/Header.vue.d.ts +41 -0
- package/dist/runtime/components/NewFooter.vue +267 -0
- package/dist/runtime/components/NewFooter.vue.d.ts +2 -0
- package/dist/runtime/components/NewFooterAccordion.vue +85 -0
- package/dist/runtime/components/NewFooterAccordion.vue.d.ts +11 -0
- package/dist/runtime/components/OtherServiceFeatures.vue +104 -0
- package/dist/runtime/components/OtherServiceFeatures.vue.d.ts +2 -0
- package/dist/runtime/components/Tag.vue +46 -0
- package/dist/runtime/components/Tag.vue.d.ts +25 -0
- package/dist/runtime/components/Toggle.vue +139 -0
- package/dist/runtime/components/Toggle.vue.d.ts +39 -0
- package/dist/runtime/components/accordion/Accordion.vue +149 -0
- package/dist/runtime/components/accordion/Accordion.vue.d.ts +41 -0
- package/dist/runtime/components/accordion/types.d.ts +15 -0
- package/dist/runtime/components/accordion/types.js +0 -0
- package/dist/runtime/components/accordion/ui.config.d.ts +22 -0
- package/dist/runtime/components/accordion/ui.config.js +21 -0
- package/dist/runtime/components/button/Button.vue +133 -0
- package/dist/runtime/components/button/Button.vue.d.ts +37 -0
- package/dist/runtime/components/button/types.d.ts +21 -0
- package/dist/runtime/components/button/types.js +0 -0
- package/dist/runtime/components/checkbox/Checkbox.vue +124 -0
- package/dist/runtime/components/checkbox/Checkbox.vue.d.ts +45 -0
- package/dist/runtime/components/date-picker/DatePicker.vue +102 -0
- package/dist/runtime/components/date-picker/DatePicker.vue.d.ts +16 -0
- package/dist/runtime/components/floating-label/FloatingLabel.vue +22 -0
- package/dist/runtime/components/floating-label/FloatingLabel.vue.d.ts +16 -0
- package/dist/runtime/components/forms/input/standard/InputStandard.vue +301 -0
- package/dist/runtime/components/forms/input/standard/InputStandard.vue.d.ts +0 -0
- package/dist/runtime/components/forms/input/textarea/ATextarea.vue +158 -0
- package/dist/runtime/components/forms/input/textarea/ATextarea.vue.d.ts +43 -0
- package/dist/runtime/components/forms/need-more-data/NeedMoreData.vue +114 -0
- package/dist/runtime/components/forms/need-more-data/NeedMoreData.vue.d.ts +5 -0
- package/dist/runtime/components/forms/request-demo/RequestDemo.vue +67 -0
- package/dist/runtime/components/forms/request-demo/RequestDemo.vue.d.ts +23 -0
- package/dist/runtime/components/header/AlmatyContacts.vue +120 -0
- package/dist/runtime/components/header/AlmatyContacts.vue.d.ts +2 -0
- package/dist/runtime/components/header/AstanaContacts.vue +65 -0
- package/dist/runtime/components/header/AstanaContacts.vue.d.ts +2 -0
- package/dist/runtime/components/header/CardGallery.vue +156 -0
- package/dist/runtime/components/header/CardGallery.vue.d.ts +2 -0
- package/dist/runtime/components/header/ContactMenu.vue +105 -0
- package/dist/runtime/components/header/ContactMenu.vue.d.ts +11 -0
- package/dist/runtime/components/header/HeaderLink.vue +169 -0
- package/dist/runtime/components/header/HeaderLink.vue.d.ts +2 -0
- package/dist/runtime/components/header/LangSwitcher.vue +48 -0
- package/dist/runtime/components/header/LangSwitcher.vue.d.ts +2 -0
- package/dist/runtime/components/header/ListItem.vue +26 -0
- package/dist/runtime/components/header/ListItem.vue.d.ts +7 -0
- package/dist/runtime/components/header/NavCard.vue +40 -0
- package/dist/runtime/components/header/NavCard.vue.d.ts +8 -0
- package/dist/runtime/components/header/NavList.vue +101 -0
- package/dist/runtime/components/header/NavList.vue.d.ts +17 -0
- package/dist/runtime/components/header/ProductMenu.vue +369 -0
- package/dist/runtime/components/header/ProductMenu.vue.d.ts +11 -0
- package/dist/runtime/components/header/ProfileMenu.vue +56 -0
- package/dist/runtime/components/header/ProfileMenu.vue.d.ts +16 -0
- package/dist/runtime/components/header/ProfileMenuContent.vue +228 -0
- package/dist/runtime/components/header/ProfileMenuContent.vue.d.ts +16 -0
- package/dist/runtime/components/header/TopHeader.vue +152 -0
- package/dist/runtime/components/header/TopHeader.vue.d.ts +10 -0
- package/dist/runtime/components/header/types.d.ts +19 -0
- package/dist/runtime/components/header/types.js +0 -0
- package/dist/runtime/components/header-mobile/HeaderMobile.vue +53 -0
- package/dist/runtime/components/header-mobile/HeaderMobile.vue.d.ts +17 -0
- package/dist/runtime/components/mobile-navigation/BottomNavigation.vue +68 -0
- package/dist/runtime/components/mobile-navigation/BottomNavigation.vue.d.ts +29 -0
- package/dist/runtime/components/mobile-navigation/MainButton.vue +16 -0
- package/dist/runtime/components/mobile-navigation/MainButton.vue.d.ts +2 -0
- package/dist/runtime/components/mobile-navigation/MobileProductMenu.vue +261 -0
- package/dist/runtime/components/mobile-navigation/MobileProductMenu.vue.d.ts +2 -0
- package/dist/runtime/components/modals/NoAccessContent.vue +58 -0
- package/dist/runtime/components/modals/NoAccessContent.vue.d.ts +5 -0
- package/dist/runtime/components/pill-tabs/PillTabs.vue +137 -0
- package/dist/runtime/components/pill-tabs/PillTabs.vue.d.ts +38 -0
- package/dist/runtime/components/pill-tabs/types.d.ts +18 -0
- package/dist/runtime/components/pill-tabs/types.js +0 -0
- package/dist/runtime/components/radio-button/RadioButton.vue +69 -0
- package/dist/runtime/components/radio-button/RadioButton.vue.d.ts +40 -0
- package/dist/runtime/components/row-card/RowCard.vue +44 -0
- package/dist/runtime/components/row-card/RowCard.vue.d.ts +26 -0
- package/dist/runtime/components/select-row/index.vue +117 -0
- package/dist/runtime/components/select-row/index.vue.d.ts +31 -0
- package/dist/runtime/components/tree-select/TreeSelect.vue +132 -0
- package/dist/runtime/components/tree-select/TreeSelect.vue.d.ts +22 -0
- package/dist/runtime/components/tree-select/TreeService.d.ts +54 -0
- package/dist/runtime/components/tree-select/TreeService.js +209 -0
- package/dist/runtime/components/tree-select/components/tree-select-nodes.vue +100 -0
- package/dist/runtime/components/tree-select/components/tree-select-nodes.vue.d.ts +9 -0
- package/dist/runtime/components/tree-select/types.d.ts +29 -0
- package/dist/runtime/components/tree-select/types.js +0 -0
- package/dist/runtime/composables/highlight.d.ts +1 -0
- package/dist/runtime/composables/highlight.js +15 -0
- package/dist/runtime/composables/projectState.d.ts +2 -0
- package/dist/runtime/composables/projectState.js +3 -0
- package/dist/runtime/i18n/i18n.config.d.ts +1731 -0
- package/dist/runtime/i18n/i18n.config.js +20 -0
- package/dist/runtime/i18n.d.ts +2 -0
- package/dist/runtime/i18n.js +15 -0
- package/dist/runtime/icons/arrow/arrow-circle-down.vue +30 -0
- package/dist/runtime/icons/arrow/arrow-circle-down.vue.d.ts +2 -0
- package/dist/runtime/icons/arrow/arrow-graph-up.vue +24 -0
- package/dist/runtime/icons/arrow/arrow-graph-up.vue.d.ts +2 -0
- package/dist/runtime/icons/arrow/arrow-right.vue +24 -0
- package/dist/runtime/icons/arrow/arrow-right.vue.d.ts +2 -0
- package/dist/runtime/icons/arrow/arrow-side-up.vue +19 -0
- package/dist/runtime/icons/arrow/arrow-side-up.vue.d.ts +2 -0
- package/dist/runtime/icons/arrow/arrow-top-right-on-square.vue +19 -0
- package/dist/runtime/icons/arrow/arrow-top-right-on-square.vue.d.ts +2 -0
- package/dist/runtime/icons/arrow/chevron-down.vue +19 -0
- package/dist/runtime/icons/arrow/chevron-down.vue.d.ts +2 -0
- package/dist/runtime/icons/avatar.vue +41 -0
- package/dist/runtime/icons/avatar.vue.d.ts +2 -0
- package/dist/runtime/icons/avto/car.vue +17 -0
- package/dist/runtime/icons/avto/car.vue.d.ts +2 -0
- package/dist/runtime/icons/avto/truck.vue +17 -0
- package/dist/runtime/icons/avto/truck.vue.d.ts +2 -0
- package/dist/runtime/icons/block.vue +19 -0
- package/dist/runtime/icons/block.vue.d.ts +2 -0
- package/dist/runtime/icons/bookmark.vue +19 -0
- package/dist/runtime/icons/bookmark.vue.d.ts +2 -0
- package/dist/runtime/icons/calculator.vue +19 -0
- package/dist/runtime/icons/calculator.vue.d.ts +2 -0
- package/dist/runtime/icons/calendar.vue +24 -0
- package/dist/runtime/icons/calendar.vue.d.ts +2 -0
- package/dist/runtime/icons/check-circle.vue +25 -0
- package/dist/runtime/icons/check-circle.vue.d.ts +2 -0
- package/dist/runtime/icons/checkbox/checkbox-active.vue +19 -0
- package/dist/runtime/icons/checkbox/checkbox-active.vue.d.ts +2 -0
- package/dist/runtime/icons/checkbox/checkbox-empty.vue +20 -0
- package/dist/runtime/icons/checkbox/checkbox-empty.vue.d.ts +2 -0
- package/dist/runtime/icons/checkbox/checkbox-intermediate.vue +19 -0
- package/dist/runtime/icons/checkbox/checkbox-intermediate.vue.d.ts +2 -0
- package/dist/runtime/icons/clipboard-text.vue +17 -0
- package/dist/runtime/icons/clipboard-text.vue.d.ts +2 -0
- package/dist/runtime/icons/clock.vue +25 -0
- package/dist/runtime/icons/clock.vue.d.ts +2 -0
- package/dist/runtime/icons/color-mode/moon.vue +20 -0
- package/dist/runtime/icons/color-mode/moon.vue.d.ts +2 -0
- package/dist/runtime/icons/color-mode/sun.vue +27 -0
- package/dist/runtime/icons/color-mode/sun.vue.d.ts +2 -0
- package/dist/runtime/icons/communication/mail.vue +19 -0
- package/dist/runtime/icons/communication/mail.vue.d.ts +2 -0
- package/dist/runtime/icons/communication/phone.vue +19 -0
- package/dist/runtime/icons/communication/phone.vue.d.ts +2 -0
- package/dist/runtime/icons/company.vue +19 -0
- package/dist/runtime/icons/company.vue.d.ts +2 -0
- package/dist/runtime/icons/currency/dollar.vue +19 -0
- package/dist/runtime/icons/currency/dollar.vue.d.ts +2 -0
- package/dist/runtime/icons/currency/down.vue +22 -0
- package/dist/runtime/icons/currency/down.vue.d.ts +2 -0
- package/dist/runtime/icons/currency/eur.vue +69 -0
- package/dist/runtime/icons/currency/eur.vue.d.ts +2 -0
- package/dist/runtime/icons/currency/rub.vue +25 -0
- package/dist/runtime/icons/currency/rub.vue.d.ts +2 -0
- package/dist/runtime/icons/currency/usd.vue +269 -0
- package/dist/runtime/icons/currency/usd.vue.d.ts +2 -0
- package/dist/runtime/icons/currency/yuan.vue +37 -0
- package/dist/runtime/icons/currency/yuan.vue.d.ts +2 -0
- package/dist/runtime/icons/document/hdocument.vue +17 -0
- package/dist/runtime/icons/document/hdocument.vue.d.ts +2 -0
- package/dist/runtime/icons/document/id.vue +19 -0
- package/dist/runtime/icons/document/id.vue.d.ts +2 -0
- package/dist/runtime/icons/document/profile.vue +19 -0
- package/dist/runtime/icons/document/profile.vue.d.ts +2 -0
- package/dist/runtime/icons/download.vue +26 -0
- package/dist/runtime/icons/download.vue.d.ts +2 -0
- package/dist/runtime/icons/edit.vue +24 -0
- package/dist/runtime/icons/edit.vue.d.ts +2 -0
- package/dist/runtime/icons/file/excel.vue +88 -0
- package/dist/runtime/icons/file/excel.vue.d.ts +2 -0
- package/dist/runtime/icons/file/file.vue +19 -0
- package/dist/runtime/icons/file/file.vue.d.ts +2 -0
- package/dist/runtime/icons/file/files.vue +17 -0
- package/dist/runtime/icons/file/files.vue.d.ts +2 -0
- package/dist/runtime/icons/globe.vue +19 -0
- package/dist/runtime/icons/globe.vue.d.ts +2 -0
- package/dist/runtime/icons/handshake.vue +19 -0
- package/dist/runtime/icons/handshake.vue.d.ts +2 -0
- package/dist/runtime/icons/history.vue +19 -0
- package/dist/runtime/icons/history.vue.d.ts +2 -0
- package/dist/runtime/icons/info/info-circle.vue +29 -0
- package/dist/runtime/icons/info/info-circle.vue.d.ts +2 -0
- package/dist/runtime/icons/invoice.vue +35 -0
- package/dist/runtime/icons/invoice.vue.d.ts +2 -0
- package/dist/runtime/icons/link-chain.vue +31 -0
- package/dist/runtime/icons/link-chain.vue.d.ts +2 -0
- package/dist/runtime/icons/loader-circle.vue +41 -0
- package/dist/runtime/icons/loader-circle.vue.d.ts +2 -0
- package/dist/runtime/icons/lock.vue +19 -0
- package/dist/runtime/icons/lock.vue.d.ts +2 -0
- package/dist/runtime/icons/logo/adata.vue +48 -0
- package/dist/runtime/icons/logo/adata.vue.d.ts +2 -0
- package/dist/runtime/icons/logo/logo.vue +27 -0
- package/dist/runtime/icons/logo/logo.vue.d.ts +2 -0
- package/dist/runtime/icons/medal.vue +17 -0
- package/dist/runtime/icons/medal.vue.d.ts +2 -0
- package/dist/runtime/icons/menu/menu-filled.vue +61 -0
- package/dist/runtime/icons/menu/menu-filled.vue.d.ts +2 -0
- package/dist/runtime/icons/menu/menu.vue +41 -0
- package/dist/runtime/icons/menu/menu.vue.d.ts +2 -0
- package/dist/runtime/icons/message.vue +24 -0
- package/dist/runtime/icons/message.vue.d.ts +2 -0
- package/dist/runtime/icons/modals/door.vue +170 -0
- package/dist/runtime/icons/modals/door.vue.d.ts +2 -0
- package/dist/runtime/icons/moon.vue +10 -0
- package/dist/runtime/icons/moon.vue.d.ts +2 -0
- package/dist/runtime/icons/more.vue +36 -0
- package/dist/runtime/icons/more.vue.d.ts +2 -0
- package/dist/runtime/icons/navigation/expand-window.vue +19 -0
- package/dist/runtime/icons/navigation/expand-window.vue.d.ts +2 -0
- package/dist/runtime/icons/navigation/location.vue +25 -0
- package/dist/runtime/icons/navigation/location.vue.d.ts +2 -0
- package/dist/runtime/icons/navigation/logout.vue +19 -0
- package/dist/runtime/icons/navigation/logout.vue.d.ts +2 -0
- package/dist/runtime/icons/notifications.vue +25 -0
- package/dist/runtime/icons/notifications.vue.d.ts +2 -0
- package/dist/runtime/icons/other-service/arrow-square-down.vue +15 -0
- package/dist/runtime/icons/other-service/arrow-square-down.vue.d.ts +2 -0
- package/dist/runtime/icons/other-service/arrow-top-right-on-square.vue +6 -0
- package/dist/runtime/icons/other-service/arrow-top-right-on-square.vue.d.ts +2 -0
- package/dist/runtime/icons/other-service/block.vue +16 -0
- package/dist/runtime/icons/other-service/block.vue.d.ts +2 -0
- package/dist/runtime/icons/other-service/currency-dollar.vue +16 -0
- package/dist/runtime/icons/other-service/currency-dollar.vue.d.ts +2 -0
- package/dist/runtime/icons/other-service/globe.vue +16 -0
- package/dist/runtime/icons/other-service/globe.vue.d.ts +2 -0
- package/dist/runtime/icons/other-service/link.vue +7 -0
- package/dist/runtime/icons/other-service/link.vue.d.ts +2 -0
- package/dist/runtime/icons/other-service/magnifying-glass.vue +9 -0
- package/dist/runtime/icons/other-service/magnifying-glass.vue.d.ts +2 -0
- package/dist/runtime/icons/other-service/standing-scales.vue +15 -0
- package/dist/runtime/icons/other-service/standing-scales.vue.d.ts +2 -0
- package/dist/runtime/icons/other-service/users-three.vue +7 -0
- package/dist/runtime/icons/other-service/users-three.vue.d.ts +2 -0
- package/dist/runtime/icons/plus-circle.vue +24 -0
- package/dist/runtime/icons/plus-circle.vue.d.ts +2 -0
- package/dist/runtime/icons/plus.vue +24 -0
- package/dist/runtime/icons/plus.vue.d.ts +2 -0
- package/dist/runtime/icons/radio/radio-check.vue +24 -0
- package/dist/runtime/icons/radio/radio-check.vue.d.ts +2 -0
- package/dist/runtime/icons/radio/radio-empty.vue +20 -0
- package/dist/runtime/icons/radio/radio-empty.vue.d.ts +2 -0
- package/dist/runtime/icons/receipt/hcheck.vue +27 -0
- package/dist/runtime/icons/receipt/hcheck.vue.d.ts +2 -0
- package/dist/runtime/icons/receipt/receipt.vue +27 -0
- package/dist/runtime/icons/receipt/receipt.vue.d.ts +2 -0
- package/dist/runtime/icons/scale.vue +19 -0
- package/dist/runtime/icons/scale.vue.d.ts +2 -0
- package/dist/runtime/icons/search.vue +27 -0
- package/dist/runtime/icons/search.vue.d.ts +2 -0
- package/dist/runtime/icons/socials/facebook.vue +15 -0
- package/dist/runtime/icons/socials/facebook.vue.d.ts +2 -0
- package/dist/runtime/icons/socials/instagram.vue +19 -0
- package/dist/runtime/icons/socials/instagram.vue.d.ts +2 -0
- package/dist/runtime/icons/socials/linkedin.vue +24 -0
- package/dist/runtime/icons/socials/linkedin.vue.d.ts +2 -0
- package/dist/runtime/icons/socials/telegram.vue +15 -0
- package/dist/runtime/icons/socials/telegram.vue.d.ts +2 -0
- package/dist/runtime/icons/socials/tik-tok.vue +15 -0
- package/dist/runtime/icons/socials/tik-tok.vue.d.ts +2 -0
- package/dist/runtime/icons/socials/whatsapp.vue +21 -0
- package/dist/runtime/icons/socials/whatsapp.vue.d.ts +2 -0
- package/dist/runtime/icons/socials/youtube.vue +16 -0
- package/dist/runtime/icons/socials/youtube.vue.d.ts +2 -0
- package/dist/runtime/icons/sun.vue +14 -0
- package/dist/runtime/icons/sun.vue.d.ts +2 -0
- package/dist/runtime/icons/sviazi.vue +19 -0
- package/dist/runtime/icons/sviazi.vue.d.ts +2 -0
- package/dist/runtime/icons/tenge.vue +22 -0
- package/dist/runtime/icons/tenge.vue.d.ts +2 -0
- package/dist/runtime/icons/trash.vue +24 -0
- package/dist/runtime/icons/trash.vue.d.ts +2 -0
- package/dist/runtime/icons/upload.vue +26 -0
- package/dist/runtime/icons/upload.vue.d.ts +2 -0
- package/dist/runtime/icons/user.vue +30 -0
- package/dist/runtime/icons/user.vue.d.ts +2 -0
- package/dist/runtime/icons/users/users-three.vue +17 -0
- package/dist/runtime/icons/users/users-three.vue.d.ts +2 -0
- package/dist/runtime/icons/users/users.vue +31 -0
- package/dist/runtime/icons/users/users.vue.d.ts +2 -0
- package/dist/runtime/icons/warning-triangle.vue +29 -0
- package/dist/runtime/icons/warning-triangle.vue.d.ts +2 -0
- package/dist/runtime/icons/work-bag.vue +20 -0
- package/dist/runtime/icons/work-bag.vue.d.ts +2 -0
- package/dist/runtime/icons/x-mark.vue +18 -0
- package/dist/runtime/icons/x-mark.vue.d.ts +2 -0
- package/dist/runtime/lang/en.d.ts +4 -0
- package/dist/runtime/lang/en.js +545 -0
- package/dist/runtime/lang/kk.d.ts +4 -0
- package/dist/runtime/lang/kk.js +545 -0
- package/dist/runtime/lang/ru.d.ts +575 -0
- package/dist/runtime/lang/ru.js +607 -0
- package/dist/runtime/shared/constants/pages.d.ts +71 -0
- package/dist/runtime/shared/constants/pages.js +71 -0
- package/package.json +66 -58
- package/dist/runtime/components/header/TheHeader.vue +0 -15
- package/dist/runtime/components/header/TheHeader.vue.d.ts +0 -2
- package/dist/runtime/plugin.d.ts +0 -2
- package/dist/runtime/plugin.js +0 -4
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { ref, useI18n, computed } from "#imports";
|
|
3
|
+
import { useMediaQuery } from "@vueuse/core";
|
|
4
|
+
defineProps({
|
|
5
|
+
label: { type: String, required: true },
|
|
6
|
+
link: { type: String, required: true },
|
|
7
|
+
content: { type: Array, required: true }
|
|
8
|
+
});
|
|
9
|
+
const isDesktop = useMediaQuery("(max-width: 1024px)");
|
|
10
|
+
const { t } = useI18n();
|
|
11
|
+
const open = ref(false);
|
|
12
|
+
function toFinalValues(el) {
|
|
13
|
+
el.style.height = el.scrollHeight + "px";
|
|
14
|
+
el.style.opacity = "1";
|
|
15
|
+
}
|
|
16
|
+
function onAfterEnter(el) {
|
|
17
|
+
el.style.height = "";
|
|
18
|
+
}
|
|
19
|
+
const filterCheck = computed(() => {
|
|
20
|
+
if (open.value) {
|
|
21
|
+
return open.value;
|
|
22
|
+
} else {
|
|
23
|
+
return open.value = !isDesktop.value;
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
</script>
|
|
27
|
+
|
|
28
|
+
<template>
|
|
29
|
+
<div class="flex flex-col ">
|
|
30
|
+
<div
|
|
31
|
+
class="flex gap-2 justify-between "
|
|
32
|
+
>
|
|
33
|
+
<nuxt-link-locale
|
|
34
|
+
class="text-sm"
|
|
35
|
+
:to="link"
|
|
36
|
+
>
|
|
37
|
+
{{ label }}
|
|
38
|
+
</nuxt-link-locale>
|
|
39
|
+
|
|
40
|
+
<div
|
|
41
|
+
class="transition-all lg:hidden cursor-pointer"
|
|
42
|
+
>
|
|
43
|
+
<i-arrow-chevron-down
|
|
44
|
+
v-if="content.length"
|
|
45
|
+
filled
|
|
46
|
+
:font-controlled="false"
|
|
47
|
+
class="w-6 h-6 transition-all"
|
|
48
|
+
:class="{ 'rotate-180': open }"
|
|
49
|
+
@click="open = !open"
|
|
50
|
+
/>
|
|
51
|
+
</div>
|
|
52
|
+
</div>
|
|
53
|
+
<transition
|
|
54
|
+
name="accordion"
|
|
55
|
+
@enter="toFinalValues"
|
|
56
|
+
@after-enter="onAfterEnter"
|
|
57
|
+
@before-leave="toFinalValues"
|
|
58
|
+
>
|
|
59
|
+
<div
|
|
60
|
+
v-if="filterCheck"
|
|
61
|
+
class="mt-2 flex flex-col gap-2"
|
|
62
|
+
>
|
|
63
|
+
<nuxt-link-locale
|
|
64
|
+
v-for="(item, idx) in content"
|
|
65
|
+
:key="idx"
|
|
66
|
+
class="text-xs"
|
|
67
|
+
:to="item.link.replace(/\/$/, '')"
|
|
68
|
+
>
|
|
69
|
+
{{ t(item.title) }}
|
|
70
|
+
</nuxt-link-locale>
|
|
71
|
+
</div>
|
|
72
|
+
</transition>
|
|
73
|
+
</div>
|
|
74
|
+
</template>
|
|
75
|
+
|
|
76
|
+
<style scoped>
|
|
77
|
+
.accordion-enter-active,.accordion-leave-active{overflow:hidden;transition:height .3s ease,opacity .3s ease,margin .3s ease}.accordion-enter-from,.accordion-leave-to{height:0!important;margin:0!important;opacity:0!important}
|
|
78
|
+
</style>
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
interface Item {
|
|
2
|
+
title: string;
|
|
3
|
+
link: string;
|
|
4
|
+
}
|
|
5
|
+
interface Props {
|
|
6
|
+
label: string;
|
|
7
|
+
link: string;
|
|
8
|
+
content: Item[];
|
|
9
|
+
}
|
|
10
|
+
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { useContacts } from "../composables/projectState";
|
|
3
|
+
import TopHeader from "./header/TopHeader.vue";
|
|
4
|
+
import HeaderLink from "./header/HeaderLink.vue";
|
|
5
|
+
import ProfileMenu from "./header/ProfileMenu.vue";
|
|
6
|
+
import ColorMode from "./ColorMode.vue";
|
|
7
|
+
import { useI18n, ref, onBeforeMount, useAppConfig, useRuntimeConfig } from "#imports";
|
|
8
|
+
import ILogout from "#icons/navigation/logout.vue";
|
|
9
|
+
import IAdata from "#icons/logo/adata.vue";
|
|
10
|
+
import LangSwitcher from "./header/LangSwitcher.vue";
|
|
11
|
+
const { localize, isColorModeActive } = useRuntimeConfig().public.adataUI;
|
|
12
|
+
const props = defineProps({
|
|
13
|
+
replenish: { type: String, required: false },
|
|
14
|
+
hasNotification: { type: Boolean, required: false },
|
|
15
|
+
email: { type: null, required: false },
|
|
16
|
+
rate: { type: String, required: false, default: "\u0411\u0430\u0437\u043E\u0432\u044B\u0439" },
|
|
17
|
+
daysRemaining: { type: Number, required: false, default: 0 },
|
|
18
|
+
limitRemaining: { type: Number, required: false, default: 0 },
|
|
19
|
+
balance: { type: Number, required: false, default: 0 },
|
|
20
|
+
isAuthenticated: { type: Boolean, required: false, default: true },
|
|
21
|
+
showLogIn: { type: Boolean, required: false, default: true },
|
|
22
|
+
mobileHeaderType: { type: String, required: false, default: "default" },
|
|
23
|
+
module: { type: String, required: false, default: "pk" },
|
|
24
|
+
oldVersion: { type: String, required: false },
|
|
25
|
+
redirectAfterLogin: { type: String, required: false }
|
|
26
|
+
});
|
|
27
|
+
const emit = defineEmits(["logout", "search", "login"]);
|
|
28
|
+
const { t } = useI18n();
|
|
29
|
+
const appConfig = useAppConfig();
|
|
30
|
+
const mode = appConfig.adataUI.mode;
|
|
31
|
+
const langIsOn = false;
|
|
32
|
+
const contacts = ref(useContacts());
|
|
33
|
+
const goAuth = () => {
|
|
34
|
+
if (window) {
|
|
35
|
+
emit("login");
|
|
36
|
+
let fullPath = props.redirectAfterLogin ?? encodeURIComponent(window.location.toString());
|
|
37
|
+
if (fullPath.includes("basic-info")) {
|
|
38
|
+
fullPath = fullPath.replace("%2Fcounterparty%2Fmain", "").replace("%2Fbasic-info", "");
|
|
39
|
+
}
|
|
40
|
+
location.href = `https://id.${mode}.kz/?url=${fullPath}`;
|
|
41
|
+
}
|
|
42
|
+
};
|
|
43
|
+
const goToAnotherModule = () => {
|
|
44
|
+
location.href = `https://${mode}.kz`;
|
|
45
|
+
};
|
|
46
|
+
const fetchContacts = async () => {
|
|
47
|
+
try {
|
|
48
|
+
const response = await fetch(
|
|
49
|
+
`https://pk-api.adata.kz/api/v1/data/counterparty/contacts/sales-department`
|
|
50
|
+
);
|
|
51
|
+
const { data } = await response.json();
|
|
52
|
+
contacts.value = data;
|
|
53
|
+
} catch (e) {
|
|
54
|
+
console.error(e.message);
|
|
55
|
+
}
|
|
56
|
+
};
|
|
57
|
+
onBeforeMount(() => {
|
|
58
|
+
fetchContacts();
|
|
59
|
+
});
|
|
60
|
+
</script>
|
|
61
|
+
|
|
62
|
+
<template>
|
|
63
|
+
<div>
|
|
64
|
+
<top-header
|
|
65
|
+
:days-remaining="daysRemaining"
|
|
66
|
+
:is-authenticated="isAuthenticated"
|
|
67
|
+
:module-name="module"
|
|
68
|
+
:limit-remaining="limitRemaining"
|
|
69
|
+
/>
|
|
70
|
+
<header
|
|
71
|
+
class="relative h-16 border-b border-deepblue-900/10 bg-white dark:border-gray-200/10 dark:bg-gray-900"
|
|
72
|
+
>
|
|
73
|
+
<div class="a-container mobile-padding flex h-full items-center justify-between gap-2">
|
|
74
|
+
<div class="flex items-center gap-4 justify-between lg:justify-start w-full">
|
|
75
|
+
<div class="lg:hidden">
|
|
76
|
+
<slot name="mobile-left"></slot>
|
|
77
|
+
</div>
|
|
78
|
+
<nuxt-link
|
|
79
|
+
aria-label="Adata-logo"
|
|
80
|
+
:to="`https://${mode}.kz`"
|
|
81
|
+
class="text-deepblue ml-6 lg:ml-0 cursor-pointer dark:text-[#E3E5E8]"
|
|
82
|
+
@click="goToAnotherModule"
|
|
83
|
+
>
|
|
84
|
+
<i-adata
|
|
85
|
+
:font-controlled="false"
|
|
86
|
+
filled
|
|
87
|
+
/>
|
|
88
|
+
</nuxt-link>
|
|
89
|
+
<header-link class="hidden lg:block" />
|
|
90
|
+
<div class="lg:hidden">
|
|
91
|
+
<slot name="mobile-right"></slot>
|
|
92
|
+
</div>
|
|
93
|
+
</div>
|
|
94
|
+
<lang-switcher v-if="localize" class="lg:hidden"/>
|
|
95
|
+
<div class="text-deepblue hidden items-center gap-4 dark:text-[#E3E5E8] lg:flex">
|
|
96
|
+
<!-- Mobile hidden -->
|
|
97
|
+
<div class="hidden items-center gap-4 lg:flex">
|
|
98
|
+
<div
|
|
99
|
+
v-if="oldVersion"
|
|
100
|
+
:url="oldVersion"
|
|
101
|
+
/>
|
|
102
|
+
<div />
|
|
103
|
+
<div v-if="langIsOn || module === 'fea'" />
|
|
104
|
+
</div>
|
|
105
|
+
<div class="flex items-center gap-4">
|
|
106
|
+
<color-mode v-if="localize" />
|
|
107
|
+
<lang-switcher v-if="isColorModeActive" />
|
|
108
|
+
</div>
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
<slot name="notifications" />
|
|
112
|
+
|
|
113
|
+
<profile-menu
|
|
114
|
+
:email="email"
|
|
115
|
+
:is-authenticated="isAuthenticated"
|
|
116
|
+
:balance="balance"
|
|
117
|
+
:days-remaining="daysRemaining"
|
|
118
|
+
:limit-remaining="limitRemaining"
|
|
119
|
+
:rate="rate"
|
|
120
|
+
:replenish="replenish"
|
|
121
|
+
:show-login="showLogIn"
|
|
122
|
+
@logout="$emit('logout')"
|
|
123
|
+
/>
|
|
124
|
+
|
|
125
|
+
<div
|
|
126
|
+
v-show="!isAuthenticated && showLogIn"
|
|
127
|
+
@click="goAuth"
|
|
128
|
+
class="hidden w-max cursor-pointer items-center gap-2 rounded-2xl bg-blue-700 px-4 py-[6px] font-semibold dark:bg-blue-500 lg:flex"
|
|
129
|
+
>
|
|
130
|
+
<i-logout class="text-white dark:text-gray-900 lg:h-4 lg:w-4" />
|
|
131
|
+
<span class="hidden text-sm font-semibold text-white dark:text-gray-900 lg:inline-block min-w-[44px]">
|
|
132
|
+
{{ t("header.login") }}
|
|
133
|
+
</span>
|
|
134
|
+
</div>
|
|
135
|
+
</div>
|
|
136
|
+
</div>
|
|
137
|
+
</header>
|
|
138
|
+
</div>
|
|
139
|
+
</template>
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import type { ProjectKeys } from './header/types.js';
|
|
2
|
+
interface Props {
|
|
3
|
+
replenish?: string;
|
|
4
|
+
hasNotification?: boolean;
|
|
5
|
+
email?: string | undefined;
|
|
6
|
+
rate?: string;
|
|
7
|
+
daysRemaining?: number;
|
|
8
|
+
limitRemaining?: number;
|
|
9
|
+
balance?: number;
|
|
10
|
+
isAuthenticated?: boolean;
|
|
11
|
+
showLogIn?: boolean;
|
|
12
|
+
mobileHeaderType?: 'search' | 'default';
|
|
13
|
+
module?: ProjectKeys;
|
|
14
|
+
oldVersion?: string;
|
|
15
|
+
redirectAfterLogin?: string;
|
|
16
|
+
}
|
|
17
|
+
declare var __VLS_4: {}, __VLS_20: {}, __VLS_31: {};
|
|
18
|
+
type __VLS_Slots = {} & {
|
|
19
|
+
'mobile-left'?: (props: typeof __VLS_4) => any;
|
|
20
|
+
} & {
|
|
21
|
+
'mobile-right'?: (props: typeof __VLS_20) => any;
|
|
22
|
+
} & {
|
|
23
|
+
notifications?: (props: typeof __VLS_31) => any;
|
|
24
|
+
};
|
|
25
|
+
declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {
|
|
26
|
+
daysRemaining: number;
|
|
27
|
+
limitRemaining: number;
|
|
28
|
+
isAuthenticated: boolean;
|
|
29
|
+
mobileHeaderType: "search" | "default";
|
|
30
|
+
module: ProjectKeys;
|
|
31
|
+
rate: string;
|
|
32
|
+
balance: number;
|
|
33
|
+
showLogIn: boolean;
|
|
34
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
35
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
36
|
+
export default _default;
|
|
37
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
38
|
+
new (): {
|
|
39
|
+
$slots: S;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
@@ -0,0 +1,267 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { PAGES } from "../shared/constants/pages";
|
|
3
|
+
import { useI18n, useAppConfig } from "#imports";
|
|
4
|
+
import ISocialsLinkedin from "#icons/socials/linkedin.vue";
|
|
5
|
+
import ISocialsYoutube from "#icons/socials/youtube.vue";
|
|
6
|
+
import ISocialsInstagram from "#icons/socials/instagram.vue";
|
|
7
|
+
import ISocialsTelegram from "#icons/socials/telegram.vue";
|
|
8
|
+
import ISocialsFacebook from "#icons/socials/facebook.vue";
|
|
9
|
+
import ISocialsTiktok from "#icons/socials/tik-tok.vue";
|
|
10
|
+
import INavigationLocation from "#icons/navigation/location.vue";
|
|
11
|
+
import INavigationExpandWindow from "#icons/navigation/expand-window.vue";
|
|
12
|
+
import ICommunicationPhone from "#icons/communication/phone.vue";
|
|
13
|
+
import ICommunicationMail from "#icons/communication/mail.vue";
|
|
14
|
+
import IAdata from "#icons/logo/adata.vue";
|
|
15
|
+
const year = (/* @__PURE__ */ new Date()).getFullYear();
|
|
16
|
+
const { t } = useI18n();
|
|
17
|
+
const appConfig = useAppConfig();
|
|
18
|
+
const mode = appConfig.adataUI.mode;
|
|
19
|
+
const socialMedia = [
|
|
20
|
+
// {
|
|
21
|
+
// icon: ISocialsLinkedin,
|
|
22
|
+
// link: 'https://www.linkedin.com/company/adata-kz/?viewAsMember=true',
|
|
23
|
+
// name: 'Linkedin',
|
|
24
|
+
// },
|
|
25
|
+
{
|
|
26
|
+
icon: ISocialsYoutube,
|
|
27
|
+
link: "https://www.youtube.com/channel/UCPkbtgwgTZbMJXjmTi3R8Uw/featured",
|
|
28
|
+
name: "YouTube"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
icon: ISocialsInstagram,
|
|
32
|
+
link: "https://www.instagram.com/adata.kz/?igshid=253i4qxg3els",
|
|
33
|
+
name: "Instagram"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
icon: ISocialsTelegram,
|
|
37
|
+
link: "https://t.me/adatakz_official",
|
|
38
|
+
name: "Telegram"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
icon: ISocialsFacebook,
|
|
42
|
+
link: "https://www.facebook.com/adata.kz",
|
|
43
|
+
name: "Facebook"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
icon: ISocialsTiktok,
|
|
47
|
+
link: "https://www.tiktok.com/@adata.kz?lang=ru-RU",
|
|
48
|
+
name: "Tiktok"
|
|
49
|
+
}
|
|
50
|
+
];
|
|
51
|
+
const mainLinks = {
|
|
52
|
+
services: {
|
|
53
|
+
title: "footer.newVersion.services.title",
|
|
54
|
+
items: [
|
|
55
|
+
[
|
|
56
|
+
{
|
|
57
|
+
title: "footer.newVersion.services.counterparties",
|
|
58
|
+
link: `https://pk.${mode}.kz`
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
title: "footer.newVersion.services.fines",
|
|
62
|
+
link: `https://avto.${mode}.kz/`
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
title: "footer.newVersion.services.work",
|
|
66
|
+
link: `https://work.${mode}.kz/`
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
title: "footer.newVersion.services.analytics",
|
|
70
|
+
link: `https://analytics-new.${mode}.kz/`
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
title: "footer.newVersion.services.procurement",
|
|
74
|
+
link: `https://tender.${mode}.kz/`
|
|
75
|
+
}
|
|
76
|
+
],
|
|
77
|
+
[
|
|
78
|
+
{
|
|
79
|
+
title: "footer.newVersion.services.compliance",
|
|
80
|
+
link: `https://ac.${mode}.kz/compliance`,
|
|
81
|
+
isNew: true
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
title: "footer.newVersion.services.edo",
|
|
85
|
+
link: `https://edo.${mode}.kz/`,
|
|
86
|
+
isNew: true
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
title: "footer.newVersion.services.ved",
|
|
90
|
+
link: `https://tnved.${mode}.kz/`,
|
|
91
|
+
isNew: true
|
|
92
|
+
}
|
|
93
|
+
]
|
|
94
|
+
]
|
|
95
|
+
},
|
|
96
|
+
useful: {
|
|
97
|
+
title: "footer.newVersion.useful.title",
|
|
98
|
+
link: `https://${mode}.kz` + PAGES.usefulMain,
|
|
99
|
+
items: [[
|
|
100
|
+
{
|
|
101
|
+
title: "footer.newVersion.useful.apiDescription",
|
|
102
|
+
link: `https://${mode}.kz` + PAGES.apiDescription
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
title: "footer.newVersion.useful.userAgreement",
|
|
106
|
+
link: `https://${mode}.kz` + PAGES.userAgreement
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
title: "footer.newVersion.useful.privacyPolicy",
|
|
110
|
+
link: `https://${mode}.kz` + PAGES.privacy
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
title: "footer.newVersion.useful.vacancies",
|
|
114
|
+
link: `https://${mode}.kz` + PAGES.vacancy
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
title: "footer.newVersion.useful.companyDirectory",
|
|
118
|
+
link: `https://pk.${mode}.kz` + PAGES.pk.counterparty
|
|
119
|
+
}
|
|
120
|
+
]]
|
|
121
|
+
}
|
|
122
|
+
};
|
|
123
|
+
const contactLinks = {
|
|
124
|
+
title: "footer.newVersion.contacts.title",
|
|
125
|
+
link: `https://${mode}.kz` + PAGES.contacts,
|
|
126
|
+
items: [
|
|
127
|
+
{
|
|
128
|
+
title: "footer.newVersion.contacts.address",
|
|
129
|
+
link: "https://go.2gis.com/30j2f",
|
|
130
|
+
startIcon: INavigationLocation,
|
|
131
|
+
endIcon: null
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
title: "+7 (747) 120 34 67",
|
|
135
|
+
link: "tel:+77471203467",
|
|
136
|
+
startIcon: ICommunicationPhone,
|
|
137
|
+
endIcon: null
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
title: "info@adata.kz",
|
|
141
|
+
link: "mailto:info@adata.kz",
|
|
142
|
+
startIcon: ICommunicationMail,
|
|
143
|
+
endIcon: null
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
title: "footer.newVersion.contacts.goToChat",
|
|
147
|
+
link: "https://api.whatsapp.com/send?phone=77712289041",
|
|
148
|
+
startIcon: null,
|
|
149
|
+
endIcon: INavigationExpandWindow,
|
|
150
|
+
class: "!font-bold"
|
|
151
|
+
}
|
|
152
|
+
]
|
|
153
|
+
};
|
|
154
|
+
</script>
|
|
155
|
+
|
|
156
|
+
<template>
|
|
157
|
+
<div
|
|
158
|
+
id="footer"
|
|
159
|
+
class="bg-deepblue-900 dark:bg-gray-900 py-4 lg:py-5 rounded-t-3xl"
|
|
160
|
+
>
|
|
161
|
+
<div class="a-container mobile-padding py-5 text-white flex flex-col lg:flex-row justify-between gap-8">
|
|
162
|
+
<div class="flex flex-col gap-8 justify-between">
|
|
163
|
+
<div class="flex flex-col gap-4">
|
|
164
|
+
<i-adata
|
|
165
|
+
filled
|
|
166
|
+
:font-controlled="false"
|
|
167
|
+
class="h-[26px] w-[92px]"
|
|
168
|
+
/>
|
|
169
|
+
<span class="text-sm">{{ t("footer.slogan") }}</span>
|
|
170
|
+
|
|
171
|
+
<div class="hidden lg:flex gap-8">
|
|
172
|
+
<nuxt-link
|
|
173
|
+
v-for="(social, idx) in socialMedia"
|
|
174
|
+
:key="idx"
|
|
175
|
+
target="_blank"
|
|
176
|
+
:to="social.link"
|
|
177
|
+
:aria-label="social.name"
|
|
178
|
+
>
|
|
179
|
+
<component
|
|
180
|
+
:is="social.icon"
|
|
181
|
+
filled
|
|
182
|
+
:font-controlled="false"
|
|
183
|
+
class="social-icon h-[28px] w-[28px]"
|
|
184
|
+
/>
|
|
185
|
+
</nuxt-link>
|
|
186
|
+
</div>
|
|
187
|
+
</div>
|
|
188
|
+
|
|
189
|
+
<span class="hidden lg:block text-[10px]">{{ year }} © {{ t("footer.LLP") }} "Alldata"</span>
|
|
190
|
+
</div>
|
|
191
|
+
|
|
192
|
+
<div class="flex gap-6 lg:gap-[75px] flex-col lg:flex-row">
|
|
193
|
+
<div class="flex flex-col gap-[18px] lg:gap-[75px] lg:flex-row">
|
|
194
|
+
<div v-for="(item, idx) in mainLinks" :key="idx">
|
|
195
|
+
<adt-new-footer-accordion
|
|
196
|
+
:content="item.items"
|
|
197
|
+
:label="t(item.title)"
|
|
198
|
+
:link="item.link?.replace(/\/$/, '')"
|
|
199
|
+
/>
|
|
200
|
+
</div>
|
|
201
|
+
</div>
|
|
202
|
+
|
|
203
|
+
<!-- contactLinks -->
|
|
204
|
+
<div class="flex flex-col gap-2 items-start">
|
|
205
|
+
<nuxt-link-locale
|
|
206
|
+
class="text-sm font-semibold pb-3 pr-4 border-b border-b-[0.5px] border-white cursor-default"
|
|
207
|
+
:class="{ 'cursor-pointer': contactLinks.link }"
|
|
208
|
+
:to="contactLinks.link?.replace(/\/$/, '')"
|
|
209
|
+
>
|
|
210
|
+
{{ t(contactLinks.title) }}
|
|
211
|
+
</nuxt-link-locale>
|
|
212
|
+
|
|
213
|
+
<div class="flex flex-col gap-3 lg:gap-2">
|
|
214
|
+
<div
|
|
215
|
+
v-for="(link, linkIdx) in contactLinks.items"
|
|
216
|
+
:key="linkIdx"
|
|
217
|
+
class="flex gap-2 items-center"
|
|
218
|
+
>
|
|
219
|
+
<nuxt-link-locale
|
|
220
|
+
class="text-xs/5 font-medium flex gap-2 items-center cursor-pointer"
|
|
221
|
+
:class="link.class"
|
|
222
|
+
:to="link.link?.replace(/\/$/, '')"
|
|
223
|
+
>
|
|
224
|
+
<component
|
|
225
|
+
v-if="link.startIcon"
|
|
226
|
+
:is="link.startIcon"
|
|
227
|
+
class="size-4"
|
|
228
|
+
/>
|
|
229
|
+
|
|
230
|
+
{{ t(link.title) }}
|
|
231
|
+
|
|
232
|
+
<component
|
|
233
|
+
v-if="link.endIcon"
|
|
234
|
+
:is="link.endIcon"
|
|
235
|
+
class="size-4"
|
|
236
|
+
/>
|
|
237
|
+
</nuxt-link-locale>
|
|
238
|
+
|
|
239
|
+
<div v-if="link.isNew" class="text-[9px]/1 font-bold px-1 py-1.5 rounded-sm bg-white/20">
|
|
240
|
+
NEW
|
|
241
|
+
</div>
|
|
242
|
+
</div>
|
|
243
|
+
</div>
|
|
244
|
+
</div>
|
|
245
|
+
</div>
|
|
246
|
+
|
|
247
|
+
<div class="lg:hidden flex gap-8 flex-wrap">
|
|
248
|
+
<nuxt-link
|
|
249
|
+
v-for="(social, idx) in socialMedia"
|
|
250
|
+
:key="idx"
|
|
251
|
+
target="_blank"
|
|
252
|
+
:to="social.link"
|
|
253
|
+
:aria-label="social.name"
|
|
254
|
+
>
|
|
255
|
+
<component
|
|
256
|
+
:is="social.icon"
|
|
257
|
+
filled
|
|
258
|
+
:font-controlled="false"
|
|
259
|
+
class="social-icon h-[28px] w-[28px]"
|
|
260
|
+
/>
|
|
261
|
+
</nuxt-link>
|
|
262
|
+
</div>
|
|
263
|
+
|
|
264
|
+
<span class="lg:hidden text-[10px]">{{ year }} © {{ t("footer.LLP") }} "Alldata"</span>
|
|
265
|
+
</div>
|
|
266
|
+
</div>
|
|
267
|
+
</template>
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { ref, useI18n, computed } from "#imports";
|
|
3
|
+
import { useMediaQuery } from "@vueuse/core";
|
|
4
|
+
const props = defineProps({
|
|
5
|
+
label: { type: String, required: true },
|
|
6
|
+
link: { type: String, required: true },
|
|
7
|
+
content: { type: Array, required: true }
|
|
8
|
+
});
|
|
9
|
+
const isDesktop = useMediaQuery("(max-width: 1024px)");
|
|
10
|
+
const { t } = useI18n();
|
|
11
|
+
const open = ref(false);
|
|
12
|
+
function toFinalValues(el) {
|
|
13
|
+
el.style.height = el.scrollHeight + "px";
|
|
14
|
+
el.style.opacity = "1";
|
|
15
|
+
}
|
|
16
|
+
function onAfterEnter(el) {
|
|
17
|
+
el.style.height = "";
|
|
18
|
+
}
|
|
19
|
+
const filterCheck = computed(() => {
|
|
20
|
+
if (open.value) {
|
|
21
|
+
return open.value;
|
|
22
|
+
} else {
|
|
23
|
+
return open.value = !isDesktop.value;
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
</script>
|
|
27
|
+
|
|
28
|
+
<template>
|
|
29
|
+
<div class="flex flex-col gap-2 items-start">
|
|
30
|
+
<div
|
|
31
|
+
class="flex gap-2 justify-between w-full"
|
|
32
|
+
>
|
|
33
|
+
<nuxt-link-locale
|
|
34
|
+
class="text-sm font-semibold lg:pb-3 lg:pr-4 lg:border-b lg:border-b-[0.5px] lg:border-white cursor-default"
|
|
35
|
+
:class="{ 'cursor-pointer': link }"
|
|
36
|
+
:to="link?.replace(/\/$/, '')"
|
|
37
|
+
>
|
|
38
|
+
{{ t(label) }}
|
|
39
|
+
</nuxt-link-locale>
|
|
40
|
+
|
|
41
|
+
<div class="transition-all lg:hidden cursor-pointer">
|
|
42
|
+
<i-arrow-chevron-down
|
|
43
|
+
v-if="content.length"
|
|
44
|
+
filled
|
|
45
|
+
:font-controlled="false"
|
|
46
|
+
class="w-6 h-6 transition-all"
|
|
47
|
+
:class="{ 'rotate-180': open }"
|
|
48
|
+
@click="open = !open"
|
|
49
|
+
/>
|
|
50
|
+
</div>
|
|
51
|
+
</div>
|
|
52
|
+
|
|
53
|
+
<transition
|
|
54
|
+
name="accordion"
|
|
55
|
+
@enter="toFinalValues"
|
|
56
|
+
@after-enter="onAfterEnter"
|
|
57
|
+
@before-leave="toFinalValues"
|
|
58
|
+
>
|
|
59
|
+
<div v-if="filterCheck" class="flex gap-3 lg:gap-6 flex-col lg:flex-row ">
|
|
60
|
+
<div v-for="(subItem, subIdx) in content" :key="subIdx" class="flex flex-col gap-3 lg:gap-2">
|
|
61
|
+
<div
|
|
62
|
+
v-for="(link, idx) in subItem"
|
|
63
|
+
:key="idx"
|
|
64
|
+
class="flex gap-2 items-center"
|
|
65
|
+
>
|
|
66
|
+
<nuxt-link-locale
|
|
67
|
+
class="text-xs/5 lg:font-medium flex gap-2 items-center cursor-pointer"
|
|
68
|
+
:to="link.link?.replace(/\/$/, '')"
|
|
69
|
+
>
|
|
70
|
+
{{ t(link.title) }}
|
|
71
|
+
</nuxt-link-locale>
|
|
72
|
+
|
|
73
|
+
<div v-if="link.isNew" class="text-[9px]/1 font-bold px-1 py-1.5 rounded-sm bg-white/20">
|
|
74
|
+
NEW
|
|
75
|
+
</div>
|
|
76
|
+
</div>
|
|
77
|
+
</div>
|
|
78
|
+
</div>
|
|
79
|
+
</transition>
|
|
80
|
+
</div>
|
|
81
|
+
</template>
|
|
82
|
+
|
|
83
|
+
<style scoped>
|
|
84
|
+
.accordion-enter-active,.accordion-leave-active{overflow:hidden;transition:height .3s ease,opacity .3s ease,margin .3s ease}.accordion-enter-from,.accordion-leave-to{height:0!important;margin:0!important;opacity:0!important}
|
|
85
|
+
</style>
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
interface Item {
|
|
2
|
+
title: string;
|
|
3
|
+
link: string;
|
|
4
|
+
}
|
|
5
|
+
interface Props {
|
|
6
|
+
label: string;
|
|
7
|
+
link: string;
|
|
8
|
+
content: Item[];
|
|
9
|
+
}
|
|
10
|
+
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
export default _default;
|