adata-ui 3.0.2 → 3.1.1
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
package/dist/module.d.mts
CHANGED
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -1,26 +1,59 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { defu } from 'defu';
|
|
2
|
+
import { defineNuxtModule, createResolver, addVitePlugin, addComponentsDir, installModule, addPlugin, hasNuxtModule } from '@nuxt/kit';
|
|
2
3
|
|
|
3
4
|
const module = defineNuxtModule({
|
|
4
5
|
meta: {
|
|
5
6
|
name: "adata-ui",
|
|
6
|
-
configKey: "adataUI"
|
|
7
|
+
configKey: "adataUI",
|
|
8
|
+
compatibility: {
|
|
9
|
+
nuxt: ">=3.16.0"
|
|
10
|
+
},
|
|
11
|
+
failOnWarn: false
|
|
7
12
|
},
|
|
8
13
|
// Default configuration options of the Nuxt module
|
|
9
|
-
defaults: {
|
|
14
|
+
defaults: {
|
|
15
|
+
colorMode: true,
|
|
16
|
+
localize: false
|
|
17
|
+
},
|
|
10
18
|
async setup(_options, _nuxt) {
|
|
11
19
|
const resolver = createResolver(import.meta.url);
|
|
20
|
+
_nuxt.options.runtimeConfig.public.adataUI = defu(
|
|
21
|
+
_nuxt.options.runtimeConfig.public.adataUI ?? {},
|
|
22
|
+
{
|
|
23
|
+
localize: _options.localize
|
|
24
|
+
}
|
|
25
|
+
);
|
|
12
26
|
if (_nuxt.options.builder === "@nuxt/vite-builder") {
|
|
13
27
|
const plugin = await import('@tailwindcss/vite').then((r) => r.default);
|
|
14
28
|
addVitePlugin(plugin());
|
|
15
29
|
} else {
|
|
16
30
|
_nuxt.options.postcss.plugins["@tailwindcss/postcss"] = {};
|
|
17
31
|
}
|
|
18
|
-
|
|
32
|
+
async function registerModule(name, key, options) {
|
|
33
|
+
if (!hasNuxtModule(name)) {
|
|
34
|
+
await installModule(name, options);
|
|
35
|
+
} else {
|
|
36
|
+
_nuxt.options[key] = defu(_nuxt.options[key], options);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
if (_options.colorMode) {
|
|
40
|
+
await registerModule("@nuxtjs/color-mode", "colorMode", { classSuffix: "", disableTransition: true });
|
|
41
|
+
}
|
|
19
42
|
addComponentsDir({
|
|
20
43
|
path: resolver.resolve("./runtime/components"),
|
|
21
|
-
|
|
22
|
-
|
|
44
|
+
prefix: "Adt",
|
|
45
|
+
global: true
|
|
46
|
+
});
|
|
47
|
+
_nuxt.options.alias["#icons"] = resolver.resolve("./runtime/icons");
|
|
48
|
+
addComponentsDir({
|
|
49
|
+
path: resolver.resolve("./runtime/icons"),
|
|
50
|
+
prefix: "I"
|
|
51
|
+
});
|
|
52
|
+
await installModule("@nuxtjs/i18n", {
|
|
53
|
+
defaultLocale: "ru",
|
|
54
|
+
strategy: "prefix_except_default"
|
|
23
55
|
});
|
|
56
|
+
addPlugin(resolver.resolve("./runtime/i18n"));
|
|
24
57
|
}
|
|
25
58
|
});
|
|
26
59
|
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { twMerge } from "tailwind-merge";
|
|
3
|
+
defineOptions({ name: "AAlert" });
|
|
4
|
+
defineProps({
|
|
5
|
+
size: { type: String, required: false, default: "sm" },
|
|
6
|
+
color: { type: String, required: false, default: "blue" },
|
|
7
|
+
iconBgClasses: { type: String, required: false, default: "" },
|
|
8
|
+
textBgClasses: { type: String, required: false, default: "" },
|
|
9
|
+
iconType: { type: String, required: false, default: "circle" },
|
|
10
|
+
iconSize: { type: String, required: false, default: "16px" }
|
|
11
|
+
});
|
|
12
|
+
const sizeOptions = {
|
|
13
|
+
lg: "text-base p-2",
|
|
14
|
+
sm: "text-sm px-2 py-[3.5px]",
|
|
15
|
+
xs: "text-xs px-2 py-[3.5px]"
|
|
16
|
+
};
|
|
17
|
+
const colorOptions = {
|
|
18
|
+
icon: {
|
|
19
|
+
blue: "bg-blue-700 text-white dark:bg-blue-500 dark:text-gray-900",
|
|
20
|
+
green: "bg-green-500 text-white dark:text-gray-900",
|
|
21
|
+
orange: "bg-orange-500 text-white dark:text-gray-900",
|
|
22
|
+
deepblue: "bg-deepblue-900 text-white dark:text-gray-900",
|
|
23
|
+
red: "bg-red-500 text-white dark:bg-red-400 dark:text-gray-900"
|
|
24
|
+
},
|
|
25
|
+
description: {
|
|
26
|
+
blue: "bg-blue-100 dark:bg-gray-200/10 text-blue-700 dark:text-blue-500",
|
|
27
|
+
green: "bg-green-100 text-green-500",
|
|
28
|
+
orange: "bg-orange-100 text-orange-500 dark:bg-[#FFF5E6]",
|
|
29
|
+
deepblue: "bg-deepblue-100 text-deepblue-900",
|
|
30
|
+
red: "bg-red-100 text-red-500 dark:bg-[#3A3133] dark:text-red-400"
|
|
31
|
+
}
|
|
32
|
+
};
|
|
33
|
+
</script>
|
|
34
|
+
|
|
35
|
+
<template>
|
|
36
|
+
<div
|
|
37
|
+
class="inline-flex w-full rounded-md"
|
|
38
|
+
:class="twMerge(colorOptions.description[color], textBgClasses)"
|
|
39
|
+
>
|
|
40
|
+
<div
|
|
41
|
+
class="flex items-center justify-center rounded-l-md"
|
|
42
|
+
:class="twMerge([colorOptions.icon[color], sizeOptions[size]], iconBgClasses)"
|
|
43
|
+
>
|
|
44
|
+
<slot name="icon">
|
|
45
|
+
<i-info-circle
|
|
46
|
+
v-if="iconType == 'circle'"
|
|
47
|
+
:class="`w-[${iconSize}] h-[${iconSize}]`"
|
|
48
|
+
/>
|
|
49
|
+
<i-warning-triangle
|
|
50
|
+
v-if="iconType == 'triangle'"
|
|
51
|
+
:class="`w-[${iconSize}] h-[${iconSize}]`"
|
|
52
|
+
/>
|
|
53
|
+
</slot>
|
|
54
|
+
</div>
|
|
55
|
+
<div
|
|
56
|
+
:class="sizeOptions[size]"
|
|
57
|
+
class="rounded-r-md flex items-center"
|
|
58
|
+
>
|
|
59
|
+
<slot name="default" />
|
|
60
|
+
</div>
|
|
61
|
+
</div>
|
|
62
|
+
</template>
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
size?: 'lg' | 'sm' | 'xs';
|
|
3
|
+
color?: 'blue' | 'green' | 'red' | 'deepblue' | 'orange';
|
|
4
|
+
iconBgClasses?: string;
|
|
5
|
+
textBgClasses?: string;
|
|
6
|
+
iconType?: 'triangle' | 'circle';
|
|
7
|
+
iconSize?: string;
|
|
8
|
+
}
|
|
9
|
+
declare var __VLS_1: {}, __VLS_11: {};
|
|
10
|
+
type __VLS_Slots = {} & {
|
|
11
|
+
icon?: (props: typeof __VLS_1) => any;
|
|
12
|
+
} & {
|
|
13
|
+
default?: (props: typeof __VLS_11) => any;
|
|
14
|
+
};
|
|
15
|
+
declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
16
|
+
size: "lg" | "sm" | "xs";
|
|
17
|
+
color: "blue" | "green" | "red" | "deepblue" | "orange";
|
|
18
|
+
iconBgClasses: string;
|
|
19
|
+
textBgClasses: string;
|
|
20
|
+
iconType: "triangle" | "circle";
|
|
21
|
+
iconSize: string;
|
|
22
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
23
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
24
|
+
export default _default;
|
|
25
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
26
|
+
new (): {
|
|
27
|
+
$slots: S;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { twMerge } from "tailwind-merge";
|
|
3
|
+
defineProps({
|
|
4
|
+
size: { type: String, required: false, default: "sm" },
|
|
5
|
+
view: { type: String, required: false, default: "outline" }
|
|
6
|
+
});
|
|
7
|
+
const chipView = {
|
|
8
|
+
standard: "text-deepblue border-gray focus-visible:outline-gray",
|
|
9
|
+
outline: "text-blue border-blue focus-visible:outline-blue"
|
|
10
|
+
};
|
|
11
|
+
const sizeOptions = {
|
|
12
|
+
sm: "h-4",
|
|
13
|
+
md: "h-5",
|
|
14
|
+
lg: "h-7"
|
|
15
|
+
};
|
|
16
|
+
</script>
|
|
17
|
+
|
|
18
|
+
<template>
|
|
19
|
+
<button
|
|
20
|
+
:class="twMerge(['flex items-center gap-2 rounded-3xl border border-solid px-2.5 text-xs hover:bg-deepblue-100 dark:hover:bg-[#E3E5E80D] focus-visible:shadow-[0_0_0_4px#1B64B3] active:bg-blue active:text-white disabled:border-deepblue-200 disabled:text-deepblue-200', chipView[view], sizeOptions[size]], $attrs.class)"
|
|
21
|
+
>
|
|
22
|
+
<slot />
|
|
23
|
+
</button>
|
|
24
|
+
</template>
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
type Props = {
|
|
2
|
+
size?: 'sm' | 'md' | 'lg';
|
|
3
|
+
view?: 'standard' | 'outline';
|
|
4
|
+
};
|
|
5
|
+
declare var __VLS_1: {};
|
|
6
|
+
type __VLS_Slots = {} & {
|
|
7
|
+
default?: (props: typeof __VLS_1) => any;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
10
|
+
size: "sm" | "md" | "lg";
|
|
11
|
+
view: "standard" | "outline";
|
|
12
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
14
|
+
export default _default;
|
|
15
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
16
|
+
new (): {
|
|
17
|
+
$slots: S;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import AToggle from "./Toggle.vue";
|
|
3
|
+
import Sun from "#icons/color-mode/sun.vue";
|
|
4
|
+
import Moon from "#icons/color-mode/moon.vue";
|
|
5
|
+
import { useColorMode, computed, onMounted } from "#imports";
|
|
6
|
+
import { useCookie } from "#app";
|
|
7
|
+
const colorMode = useColorMode();
|
|
8
|
+
const setColorMode = useCookie("colorMode");
|
|
9
|
+
if (setColorMode.value) {
|
|
10
|
+
colorMode.preference = setColorMode.value;
|
|
11
|
+
}
|
|
12
|
+
const mode = computed({
|
|
13
|
+
get() {
|
|
14
|
+
return colorMode.value === "dark";
|
|
15
|
+
},
|
|
16
|
+
set() {
|
|
17
|
+
const value = colorMode.value === "dark" ? "light" : "dark";
|
|
18
|
+
const hostname = location.hostname.split(".").reverse();
|
|
19
|
+
const maxAge = 60 * 60 * 24 * 365;
|
|
20
|
+
colorMode.preference = value;
|
|
21
|
+
document.cookie = `colorMode=${value}; max-age=${maxAge}; domain=.${hostname[1]}.${hostname[0]}; path=/`;
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
onMounted(() => {
|
|
25
|
+
window.addEventListener("storage", (event) => {
|
|
26
|
+
if (event.key === "nuxt-color-mode") {
|
|
27
|
+
colorMode.preference = event.newValue;
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
});
|
|
31
|
+
</script>
|
|
32
|
+
|
|
33
|
+
<template>
|
|
34
|
+
<client-only>
|
|
35
|
+
<a-toggle
|
|
36
|
+
v-model="mode"
|
|
37
|
+
size="2xl"
|
|
38
|
+
:on-icon="Moon"
|
|
39
|
+
:off-icon="Sun"
|
|
40
|
+
off-icon-class="w-4 h-4"
|
|
41
|
+
on-icon-class="w-4 h-4"
|
|
42
|
+
active-class="data-[state=checked]:bg-gray-800"
|
|
43
|
+
active-container-class="data-[state=checked]:bg-black"
|
|
44
|
+
/>
|
|
45
|
+
</client-only>
|
|
46
|
+
</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,58 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { twMerge } from "tailwind-merge";
|
|
3
|
+
import { computed } from "#imports";
|
|
4
|
+
defineOptions({ name: "ADigitBadge" });
|
|
5
|
+
const props = defineProps({
|
|
6
|
+
type: { type: String, required: false, default: "primary" },
|
|
7
|
+
view: { type: String, required: false, default: "default" },
|
|
8
|
+
size: { type: String, required: false, default: "lg" },
|
|
9
|
+
value: { type: [String, Number], required: true },
|
|
10
|
+
disabled: { type: Boolean, required: false, default: false },
|
|
11
|
+
customClasses: { type: String, required: false, default: "" },
|
|
12
|
+
prefix: { type: String, required: false, default: "" }
|
|
13
|
+
});
|
|
14
|
+
const formattedValue = computed(() => {
|
|
15
|
+
return Number(props.value).toLocaleString("ru-RU");
|
|
16
|
+
});
|
|
17
|
+
const classes = computed(() => [
|
|
18
|
+
props.disabled ? "text-gray-500 bg-deepblue-900/5" : typeSwitchValues[props.view][props.type],
|
|
19
|
+
"inline-flex items-center justify-center font-medium rounded-full select-none inline-flex outline-none",
|
|
20
|
+
sizeSwitchValues[props.size],
|
|
21
|
+
props.value && props.value.toString().length > 2 ? "w-auto" : ""
|
|
22
|
+
]);
|
|
23
|
+
const typeSwitchValues = {
|
|
24
|
+
default: {
|
|
25
|
+
primary: "bg-blue-700 text-white dark:bg-blue-500 dark:text-gray-900",
|
|
26
|
+
success: "bg-green-500 text-white dark:bg-green-400 dark:text-gray-900",
|
|
27
|
+
danger: "bg-red-500 text-white dark:bg-red-400 dark:text-gray-900",
|
|
28
|
+
warning: "bg-yellow-400 text-white dark:text-gray-900",
|
|
29
|
+
gray: "bg-gray-50 text-gray-500 dark:text-gray-900",
|
|
30
|
+
orange: "bg-orange-600 text-white dark:bg-orange-500 dark:text-gray-900"
|
|
31
|
+
},
|
|
32
|
+
inverted: {
|
|
33
|
+
primary: "bg-white text-blue-700 dark:text-blue-500 dark:bg-gray-900",
|
|
34
|
+
success: "bg-white text-green-500 dark:text-green-400 dark:bg-gray-900",
|
|
35
|
+
danger: "bg-white text-red-500 dark:text-red-400 dark:bg-gray-900",
|
|
36
|
+
warning: "bg-white text-yellow-400 dark:bg-gray-900",
|
|
37
|
+
gray: "bg-white text-gray-500 dark:text-gray-200 dark:bg-gray-200/10",
|
|
38
|
+
orange: "bg-white text-deepblue-900 dark:text-orange-500 dark:bg-gray-900"
|
|
39
|
+
},
|
|
40
|
+
transparent: {
|
|
41
|
+
success: "bg-green-500/20 text-green-500",
|
|
42
|
+
danger: "bg-red-500/20 text-red-500 dark:text-red-400"
|
|
43
|
+
}
|
|
44
|
+
};
|
|
45
|
+
const sizeSwitchValues = {
|
|
46
|
+
sm: "w-4 h-4 px-1 text-[9.5px]",
|
|
47
|
+
md: "w-5 h-5 px-1 text-[10px]",
|
|
48
|
+
lg: "px-2 w-6 h-6 text-xs font-semibold"
|
|
49
|
+
};
|
|
50
|
+
</script>
|
|
51
|
+
|
|
52
|
+
<template>
|
|
53
|
+
<div
|
|
54
|
+
:class="twMerge(...classes, customClasses)"
|
|
55
|
+
>
|
|
56
|
+
{{ prefix }}{{ formattedValue }}
|
|
57
|
+
</div>
|
|
58
|
+
</template>
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
type?: 'primary' | 'success' | 'danger' | 'gray' | 'orange' | 'warning';
|
|
3
|
+
view?: 'default' | 'inverted';
|
|
4
|
+
size?: 'sm' | 'md' | 'lg';
|
|
5
|
+
value: string | number;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
customClasses?: string;
|
|
8
|
+
prefix?: string;
|
|
9
|
+
}
|
|
10
|
+
export type StateType = {
|
|
11
|
+
[key in 'primary' | 'success' | 'danger' | 'gray' | 'orange' | 'warning']?: string;
|
|
12
|
+
};
|
|
13
|
+
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
14
|
+
size: "sm" | "md" | "lg";
|
|
15
|
+
type: "primary" | "success" | "danger" | "gray" | "orange" | "warning";
|
|
16
|
+
view: "default" | "inverted";
|
|
17
|
+
disabled: boolean;
|
|
18
|
+
customClasses: string;
|
|
19
|
+
prefix: string;
|
|
20
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
21
|
+
export default _default;
|
|
@@ -0,0 +1,283 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { PAGES } from "../shared/constants/pages";
|
|
3
|
+
import ISocialsLinkedin from "#icons/socials/linkedin.vue";
|
|
4
|
+
import ISocialsYoutube from "#icons/socials/youtube.vue";
|
|
5
|
+
import ISocialsInstagram from "#icons/socials/instagram.vue";
|
|
6
|
+
import ISocialsTelegram from "#icons/socials/telegram.vue";
|
|
7
|
+
import ISocialsFacebook from "#icons/socials/facebook.vue";
|
|
8
|
+
import ISocialsTiktok from "#icons/socials/tik-tok.vue";
|
|
9
|
+
import IAdata from "#icons/logo/adata.vue";
|
|
10
|
+
import { useI18n, useAppConfig } from "#imports";
|
|
11
|
+
const year = (/* @__PURE__ */ new Date()).getFullYear();
|
|
12
|
+
const { t } = useI18n();
|
|
13
|
+
const appConfig = useAppConfig();
|
|
14
|
+
const mode = appConfig.adataUI.mode;
|
|
15
|
+
const socialMedia = [
|
|
16
|
+
{
|
|
17
|
+
icon: ISocialsLinkedin,
|
|
18
|
+
link: "https://www.linkedin.com/company/adata-kz/?viewAsMember=true",
|
|
19
|
+
name: "Linkedin"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
icon: ISocialsYoutube,
|
|
23
|
+
link: "https://www.youtube.com/channel/UCPkbtgwgTZbMJXjmTi3R8Uw/featured",
|
|
24
|
+
name: "YouTube"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
icon: ISocialsInstagram,
|
|
28
|
+
link: "https://www.instagram.com/adata.kz/?igshid=253i4qxg3els",
|
|
29
|
+
name: "Instagram"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
icon: ISocialsTelegram,
|
|
33
|
+
link: "https://t.me/adatakz_official",
|
|
34
|
+
name: "Telegram"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
icon: ISocialsFacebook,
|
|
38
|
+
link: "https://www.facebook.com/adata.kz",
|
|
39
|
+
name: "Facebook"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
icon: ISocialsTiktok,
|
|
43
|
+
link: "https://www.tiktok.com/@adata.kz?lang=ru-RU",
|
|
44
|
+
name: "Tiktok"
|
|
45
|
+
}
|
|
46
|
+
];
|
|
47
|
+
const mainLinks = {
|
|
48
|
+
counterparties: {
|
|
49
|
+
title: "footer.counterparties.title",
|
|
50
|
+
link: "https://pk.adata.kz",
|
|
51
|
+
items: [
|
|
52
|
+
{
|
|
53
|
+
title: "footer.counterparties.checkCounterparties",
|
|
54
|
+
link: `https://pk.${mode}.kz` + PAGES.pk.main
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
title: "footer.counterparties.compareCounterparties",
|
|
58
|
+
link: `https://pk.${mode}.kz` + PAGES.pk.compare
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
title: "footer.counterparties.indirectConnections",
|
|
62
|
+
link: `https://pk.${mode}.kz` + PAGES.pk.connections
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
title: "footer.counterparties.massCheck",
|
|
66
|
+
link: `https://pk.${mode}.kz` + PAGES.pk.employees
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
title: "footer.counterparties.foreignCounterparties",
|
|
70
|
+
link: `https://pk.${mode}.kz` + PAGES.pk.foreign
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
title: "footer.counterparties.sanctions",
|
|
74
|
+
link: `https://pk.${mode}.kz` + PAGES.pk.sanctions
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
title: "footer.counterparties.offshores",
|
|
78
|
+
link: `https://pk.${mode}.kz` + PAGES.pk.offshore
|
|
79
|
+
}
|
|
80
|
+
]
|
|
81
|
+
},
|
|
82
|
+
work: {
|
|
83
|
+
title: "footer.work.title",
|
|
84
|
+
link: `https://work.${mode}.kz` + PAGES.work.vacancy,
|
|
85
|
+
items: [
|
|
86
|
+
{
|
|
87
|
+
title: "footer.work.createFindVacancies",
|
|
88
|
+
link: `https://work.${mode}.kz` + PAGES.work.vacancy
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
title: "footer.work.createFindResume",
|
|
92
|
+
link: `https://work.${mode}.kz` + PAGES.work.summary
|
|
93
|
+
}
|
|
94
|
+
]
|
|
95
|
+
},
|
|
96
|
+
tenders: {
|
|
97
|
+
title: "footer.tenders.title",
|
|
98
|
+
link: `https://tender.${mode}.kz` + PAGES.tender.main,
|
|
99
|
+
items: [
|
|
100
|
+
{
|
|
101
|
+
title: "footer.tenders.searchTenders",
|
|
102
|
+
link: `https://tender.${mode}.kz` + PAGES.tender.main
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
title: "footer.tenders.purchasePlans",
|
|
106
|
+
link: `https://tender.${mode}.kz` + PAGES.tender.plans
|
|
107
|
+
}
|
|
108
|
+
]
|
|
109
|
+
},
|
|
110
|
+
fines: {
|
|
111
|
+
title: "footer.fines.title",
|
|
112
|
+
link: `https://avto.${mode}.kz` + PAGES.fines.main,
|
|
113
|
+
items: [
|
|
114
|
+
{
|
|
115
|
+
title: "footer.fines.checkFines",
|
|
116
|
+
link: `https://avto.${mode}.kz` + PAGES.fines.main
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
title: "footer.fines.checkAuto",
|
|
120
|
+
link: `https://avto.${mode}.kz` + PAGES.fines.avto
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
title: "footer.fines.massCheckAuto",
|
|
124
|
+
link: `https://avto.${mode}.kz` + PAGES.fines.bulk
|
|
125
|
+
}
|
|
126
|
+
]
|
|
127
|
+
},
|
|
128
|
+
analytics: {
|
|
129
|
+
title: "footer.analytics.title",
|
|
130
|
+
link: `https://analytics-new.${mode}.kz` + PAGES.analytics.main,
|
|
131
|
+
items: [
|
|
132
|
+
{
|
|
133
|
+
title: "footer.analytics.purchaseAnalysis",
|
|
134
|
+
link: `https://analytics.${mode}.kz` + PAGES.analytics.analysis
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
title: "footer.analytics.businessActivityIndex",
|
|
138
|
+
link: `https://analytics-new.${mode}.kz` + PAGES.analytics.index
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
title: "footer.analytics.taxpayerRanking",
|
|
142
|
+
link: `https://analytics-new.${mode}.kz` + PAGES.analytics.rating
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
title: "footer.analytics.businessEntities",
|
|
146
|
+
link: `https://analytics-new.${mode}.kz` + PAGES.analytics.business
|
|
147
|
+
}
|
|
148
|
+
]
|
|
149
|
+
},
|
|
150
|
+
fea: {
|
|
151
|
+
title: "footer.fea.title",
|
|
152
|
+
link: `https://tnved.${mode}.kz` + PAGES.fea.main,
|
|
153
|
+
items: [
|
|
154
|
+
{
|
|
155
|
+
title: "footer.fea.i",
|
|
156
|
+
link: `https://tnved.${mode}.kz` + PAGES.fea.t
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
title: "footer.fea.o",
|
|
160
|
+
link: `https://tnved.${mode}.kz` + PAGES.fea.o
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
title: "footer.fea.cp",
|
|
164
|
+
link: `https://tnved.${mode}.kz` + PAGES.fea.cp
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
title: "footer.fea.calc",
|
|
168
|
+
link: `https://tnved.${mode}.kz` + PAGES.fea.ca
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
title: "footer.fea.mr",
|
|
172
|
+
link: `https://tnved.${mode}.kz` + PAGES.fea.tr
|
|
173
|
+
}
|
|
174
|
+
]
|
|
175
|
+
}
|
|
176
|
+
};
|
|
177
|
+
const infoLinks = [
|
|
178
|
+
{
|
|
179
|
+
title: "footer.info.tariff",
|
|
180
|
+
link: `https://${mode}.kz` + PAGES.tariffs
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
title: "footer.info.helpful",
|
|
184
|
+
link: `https://${mode}.kz` + PAGES.usefulMain
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
title: "footer.info.api",
|
|
188
|
+
link: `https://${mode}.kz` + PAGES.apiDescription
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
title: "footer.info.userAgreement",
|
|
192
|
+
link: `https://${mode}.kz` + PAGES.userAgreement
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
title: "footer.info.privacyPolicy",
|
|
196
|
+
link: `https://${mode}.kz` + PAGES.privacy
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
title: "footer.info.vacancy",
|
|
200
|
+
link: `https://${mode}.kz` + PAGES.vacancy
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
title: "footer.info.counterparty",
|
|
204
|
+
link: `https://pk.${mode}.kz` + PAGES.pk.counterparty
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
title: "footer.info.contacts",
|
|
208
|
+
link: `https://${mode}.kz` + PAGES.contacts
|
|
209
|
+
}
|
|
210
|
+
];
|
|
211
|
+
</script>
|
|
212
|
+
|
|
213
|
+
<template>
|
|
214
|
+
<div
|
|
215
|
+
id="footer"
|
|
216
|
+
class="bg-deepblue-900 dark:bg-gray-900 lg:pt-10"
|
|
217
|
+
>
|
|
218
|
+
<div class="a-container mobile-padding py-5 text-white">
|
|
219
|
+
<i-adata
|
|
220
|
+
filled
|
|
221
|
+
:font-controlled="false"
|
|
222
|
+
class="mb-8 h-[26px] w-[92px] lg:hidden"
|
|
223
|
+
/>
|
|
224
|
+
<div class="grid gap-5 lg:grid-cols-5 lg:gap-10 xl:grid-cols-6">
|
|
225
|
+
<div
|
|
226
|
+
v-for="(link, key) in mainLinks"
|
|
227
|
+
:key="key"
|
|
228
|
+
>
|
|
229
|
+
<adt-footer-accordion
|
|
230
|
+
:content="link.items"
|
|
231
|
+
:label="t(link.title)"
|
|
232
|
+
:link="link.link.replace(/\/$/, '')"
|
|
233
|
+
/>
|
|
234
|
+
</div>
|
|
235
|
+
</div>
|
|
236
|
+
<div class="flex grow justify-end gap-8 py-5">
|
|
237
|
+
<nuxt-link
|
|
238
|
+
v-for="(social, idx) in socialMedia"
|
|
239
|
+
:key="idx"
|
|
240
|
+
target="_blank"
|
|
241
|
+
:to="social.link"
|
|
242
|
+
:aria-label="social.name"
|
|
243
|
+
>
|
|
244
|
+
<component
|
|
245
|
+
:is="social.icon"
|
|
246
|
+
filled
|
|
247
|
+
:font-controlled="false"
|
|
248
|
+
class="social-icon h-[28px] w-[28px]"
|
|
249
|
+
/>
|
|
250
|
+
</nuxt-link>
|
|
251
|
+
</div>
|
|
252
|
+
</div>
|
|
253
|
+
<div class="relative">
|
|
254
|
+
<div class="a-container mobile-padding py-5">
|
|
255
|
+
<div
|
|
256
|
+
class="flex flex-col gap-10 text-xs text-white before:absolute before:left-0 before:top-0 before:h-[0.5px] before:w-full before:bg-white lg:flex-row lg:items-center lg:gap-5"
|
|
257
|
+
>
|
|
258
|
+
<div class="flex flex-col gap-4 lg:flex-row lg:gap-6">
|
|
259
|
+
<nuxt-link
|
|
260
|
+
v-for="(item, idx) in infoLinks"
|
|
261
|
+
:key="idx"
|
|
262
|
+
target="_blank"
|
|
263
|
+
class="text-[10px]"
|
|
264
|
+
:to="item.link"
|
|
265
|
+
>
|
|
266
|
+
{{ t(item.title) }}
|
|
267
|
+
</nuxt-link>
|
|
268
|
+
</div>
|
|
269
|
+
<div class="flex justify-center lg:grow lg:items-center lg:justify-end lg:gap-4">
|
|
270
|
+
<div class="flex flex-col gap-1">
|
|
271
|
+
<span>{{ year }} © {{ t("footer.LLP") }} "Alldata"</span>
|
|
272
|
+
</div>
|
|
273
|
+
<i-adata
|
|
274
|
+
filled
|
|
275
|
+
:font-controlled="false"
|
|
276
|
+
class="hidden h-[26px] w-[92px] lg:block"
|
|
277
|
+
/>
|
|
278
|
+
</div>
|
|
279
|
+
</div>
|
|
280
|
+
</div>
|
|
281
|
+
</div>
|
|
282
|
+
</div>
|
|
283
|
+
</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;
|