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
package/layouts/default.vue
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
|
|
3
|
-
</script>
|
|
4
|
-
|
|
5
|
-
<template>
|
|
6
|
-
<div>
|
|
7
|
-
<slot></slot>
|
|
8
|
-
</div>
|
|
9
|
-
</template>
|
|
10
|
-
|
|
11
|
-
<style scoped>
|
|
12
|
-
|
|
13
|
-
</style>
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
|
|
3
|
+
</script>
|
|
4
|
+
|
|
5
|
+
<template>
|
|
6
|
+
<div>
|
|
7
|
+
<slot></slot>
|
|
8
|
+
</div>
|
|
9
|
+
</template>
|
|
10
|
+
|
|
11
|
+
<style scoped>
|
|
12
|
+
|
|
13
|
+
</style>
|
package/nuxt.config.ts
CHANGED
|
@@ -1,23 +1,43 @@
|
|
|
1
1
|
// https://nuxt.com/docs/api/configuration/nuxt-config
|
|
2
2
|
import { createResolver } from '@nuxt/kit'
|
|
3
|
-
const { resolve } = createResolver(import.meta.url)
|
|
4
|
-
import tailwindcss from "@tailwindcss/vite";
|
|
5
3
|
|
|
4
|
+
const { resolve } = createResolver(import.meta.url)
|
|
6
5
|
export default defineNuxtConfig({
|
|
7
6
|
|
|
7
|
+
app: {
|
|
8
|
+
head: {
|
|
9
|
+
script: [
|
|
10
|
+
{
|
|
11
|
+
src: 'https://widget.tiptoppay.kz/bundles/widget.js',
|
|
12
|
+
defer: true,
|
|
13
|
+
async: true,
|
|
14
|
+
onerror: `console.error("Failed to load script: https://widget.tiptoppay.kz/bundles/widget.js");`,
|
|
15
|
+
},
|
|
16
|
+
],
|
|
17
|
+
},
|
|
18
|
+
},
|
|
19
|
+
|
|
8
20
|
devtools: { enabled: true },
|
|
9
21
|
|
|
10
22
|
modules: [
|
|
11
23
|
'@nuxt/image',
|
|
24
|
+
'@nuxtjs/tailwindcss',
|
|
12
25
|
'@nuxtjs/color-mode',
|
|
13
26
|
'@samk-dev/nuxt-vcalendar',
|
|
14
27
|
'@nuxtjs/i18n',
|
|
15
|
-
'@nuxtjs/google-fonts'
|
|
28
|
+
'@nuxtjs/google-fonts',
|
|
29
|
+
'@nuxt/eslint',
|
|
16
30
|
],
|
|
17
31
|
|
|
32
|
+
eslint: {
|
|
33
|
+
config: {
|
|
34
|
+
standalone: false,
|
|
35
|
+
},
|
|
36
|
+
},
|
|
37
|
+
|
|
18
38
|
colorMode: {
|
|
19
39
|
preference: 'light',
|
|
20
|
-
classSuffix: ''
|
|
40
|
+
classSuffix: '',
|
|
21
41
|
},
|
|
22
42
|
|
|
23
43
|
googleFonts: {
|
|
@@ -35,26 +55,34 @@ export default defineNuxtConfig({
|
|
|
35
55
|
|
|
36
56
|
alias: {
|
|
37
57
|
'#adata-ui': resolve('./'),
|
|
38
|
-
'lodash/isEqual.js': 'lodash/isEqual.js'
|
|
58
|
+
'lodash/isEqual.js': 'lodash/isEqual.js',
|
|
39
59
|
},
|
|
40
60
|
|
|
41
61
|
components: [
|
|
42
62
|
{ path: '#adata-ui/components', prefix: 'A', pathPrefix: false, extensions: ['.vue'] },
|
|
43
63
|
{ path: '#adata-ui/icons', prefix: 'AIcon', pathPrefix: false, extensions: ['.vue'] },
|
|
44
|
-
{ path: '#adata-ui/illustrations', prefix: 'AIll', pathPrefix: false, extensions: ['.vue'] }
|
|
64
|
+
{ path: '#adata-ui/illustrations', prefix: 'AIll', pathPrefix: false, extensions: ['.vue'] },
|
|
45
65
|
],
|
|
46
66
|
|
|
47
67
|
runtimeConfig: {
|
|
48
68
|
public: {
|
|
49
|
-
baseDomain: 'adata.kz'
|
|
50
|
-
}
|
|
69
|
+
baseDomain: 'adata.kz',
|
|
70
|
+
},
|
|
51
71
|
},
|
|
52
72
|
|
|
53
|
-
css: ['./assets/styles/index.css'],
|
|
54
|
-
|
|
55
73
|
vite: {
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
74
|
+
optimizeDeps: {
|
|
75
|
+
include: ['qrcode']
|
|
76
|
+
},
|
|
77
|
+
css: {
|
|
78
|
+
preprocessorOptions: {
|
|
79
|
+
scss: {
|
|
80
|
+
api: 'modern-compiler',
|
|
81
|
+
},
|
|
82
|
+
},
|
|
83
|
+
},
|
|
84
|
+
},
|
|
85
|
+
|
|
86
|
+
css: ['#adata-ui/assets/styles/index.scss'],
|
|
87
|
+
|
|
60
88
|
})
|
package/package.json
CHANGED
|
@@ -1,53 +1,69 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "adata-ui",
|
|
3
|
-
"type": "module",
|
|
4
|
-
"version": "2.1.
|
|
5
|
-
"main": "./nuxt.config.ts",
|
|
6
|
-
"scripts": {
|
|
7
|
-
"dev": "nuxi dev .playground",
|
|
8
|
-
"build": "nuxt build .playground",
|
|
9
|
-
"generate": "nuxt generate .playground",
|
|
10
|
-
"preview": "nuxt preview .playground",
|
|
11
|
-
"lint": "eslint .",
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
"
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
"eslint": "^
|
|
20
|
-
"nuxt": "^
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
"@
|
|
38
|
-
"@
|
|
39
|
-
"@
|
|
40
|
-
"@
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"tailwindcss": "^
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
|
|
53
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "adata-ui",
|
|
3
|
+
"type": "module",
|
|
4
|
+
"version": "2.1.2",
|
|
5
|
+
"main": "./nuxt.config.ts",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"dev": "nuxi dev .playground",
|
|
8
|
+
"build": "nuxt build .playground",
|
|
9
|
+
"generate": "nuxt generate .playground",
|
|
10
|
+
"preview": "nuxt preview .playground",
|
|
11
|
+
"lint": "eslint .",
|
|
12
|
+
"lint:fix": "eslint . --fix",
|
|
13
|
+
"type-check": "vue-tsc --noEmit",
|
|
14
|
+
"postinstall": "nuxt prepare .playground",
|
|
15
|
+
"test": "vitest --ui",
|
|
16
|
+
"coverage": "vitest run --coverage"
|
|
17
|
+
},
|
|
18
|
+
"devDependencies": {
|
|
19
|
+
"@antfu/eslint-config": "^5.3.0",
|
|
20
|
+
"@nuxt/eslint": "^1.9.0",
|
|
21
|
+
"@nuxt/test-utils": "^3.19.2",
|
|
22
|
+
"@types/body-scroll-lock": "^3.1.2",
|
|
23
|
+
"@types/lodash-es": "^4.17.12",
|
|
24
|
+
"@types/qrcode": "^1.5.5",
|
|
25
|
+
"@vitest/coverage-v8": "^1.6.1",
|
|
26
|
+
"@vitest/ui": "^1.6.1",
|
|
27
|
+
"@vue/test-utils": "^2.4.6",
|
|
28
|
+
"eslint": "^9.35.0",
|
|
29
|
+
"eslint-plugin-tailwindcss": "^3.18.2",
|
|
30
|
+
"nuxt": "^3.18.1",
|
|
31
|
+
"sass-embedded": "^1.91.0",
|
|
32
|
+
"typescript": "^5.9.2",
|
|
33
|
+
"vitest": "^3.2.4",
|
|
34
|
+
"vue-tsc": "^2.2.12"
|
|
35
|
+
},
|
|
36
|
+
"dependencies": {
|
|
37
|
+
"@floating-ui/vue": "^1.1.9",
|
|
38
|
+
"@headlessui/tailwindcss": "^0.2.2",
|
|
39
|
+
"@headlessui/vue": "^1.7.23",
|
|
40
|
+
"@nuxt/image": "1.8.1",
|
|
41
|
+
"@nuxt/kit": "^3.18.1",
|
|
42
|
+
"@nuxtjs/color-mode": "^3.5.2",
|
|
43
|
+
"@nuxtjs/google-fonts": "^3.2.0",
|
|
44
|
+
"@nuxtjs/i18n": "9.3.3",
|
|
45
|
+
"@nuxtjs/tailwindcss": "^6.14.0",
|
|
46
|
+
"@popperjs/core": "^2.11.8",
|
|
47
|
+
"@samk-dev/nuxt-vcalendar": "^1.0.4",
|
|
48
|
+
"@tailwindcss/aspect-ratio": "^0.4.2",
|
|
49
|
+
"@tailwindcss/container-queries": "^0.1.1",
|
|
50
|
+
"@tailwindcss/forms": "^0.5.10",
|
|
51
|
+
"@tailwindcss/typography": "^0.5.16",
|
|
52
|
+
"@vueuse/core": "^10.11.1",
|
|
53
|
+
"@vueuse/integrations": "^10.11.1",
|
|
54
|
+
"@vueuse/math": "^10.11.1",
|
|
55
|
+
"body-scroll-lock": "3.1.5",
|
|
56
|
+
"lodash-es": "^4.17.21",
|
|
57
|
+
"lodash.isequal": "^4.5.0",
|
|
58
|
+
"maska": "^2.1.11",
|
|
59
|
+
"ofetch": "^1.4.1",
|
|
60
|
+
"qrcode": "^1.5.4",
|
|
61
|
+
"sass": "^1.91.0",
|
|
62
|
+
"scss": "^0.2.4",
|
|
63
|
+
"tailwind-merge": "^2.6.0",
|
|
64
|
+
"tailwindcss": "^3.4.17",
|
|
65
|
+
"vue3-toastify": "^0.2.8",
|
|
66
|
+
"zod": "^4.1.5"
|
|
67
|
+
},
|
|
68
|
+
"packageManager": "pnpm@9.15.1+sha1.abc117858086cb10ecb54828d180b035cb6c8fdd"
|
|
69
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg width="54" height="55" viewBox="0 0 54 55" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<rect y="0.5" width="54" height="54" rx="12" fill="#F14635"/>
|
|
3
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M26.275 9.52006C21.0502 9.72174 16.1615 12.2087 12.888 16.3302C10.7106 19.0716 9.38617 22.3888 9.07129 25.8894C8.89456 27.8542 9.04785 29.8915 9.5153 31.7904C10.4579 35.6195 12.6137 39.0053 15.6992 41.5028C16.0364 41.7757 16.4963 42.1209 16.5228 42.1209C16.5488 42.1209 16.647 41.8779 16.7109 41.655C16.7841 41.3999 16.9851 40.4601 17.0497 40.0714C17.1082 39.719 17.1809 39.1349 17.2207 38.6972C17.2677 38.1802 17.26 36.402 17.2081 35.8065C17.0905 34.4563 16.9755 33.7598 16.6879 32.6553C16.3561 31.3811 16.2805 30.8511 16.3095 30.0015C16.3318 29.3465 16.4113 28.8881 16.6299 28.1534C17.0912 26.6029 17.1624 26.196 17.2272 24.7415C17.3306 22.4204 17.5073 21.6085 18.0701 20.8692C18.1294 20.7913 18.3733 20.5289 18.6122 20.2862C19.359 19.5273 19.5305 19.2576 19.5729 18.7752C19.5852 18.6352 19.5748 18.5416 19.5142 18.2494C19.3667 17.5382 19.3626 17.5074 19.3642 17.1121C19.3656 16.7831 19.3738 16.7024 19.4264 16.5014C19.4986 16.225 19.648 15.8971 19.8164 15.6448C19.9563 15.4352 20.3532 15.0104 20.6166 14.7883C21.4551 14.0814 22.3977 13.7665 23.058 13.9726C23.3321 14.0582 23.4849 14.1944 23.6102 14.4647C23.6691 14.5916 23.6731 14.6217 23.6722 14.9205C23.6712 15.2251 23.6671 15.2523 23.5858 15.4924C23.4284 15.9574 23.3205 16.1455 22.6321 17.1555C22.245 17.7235 22.0483 18.1805 22.0268 18.562C22.0117 18.8291 22.0403 18.9561 22.1625 19.1653C22.2941 19.3906 22.5624 19.6678 22.9935 20.0237C23.6951 20.6031 23.925 20.8831 24.2889 21.6021C24.6427 22.301 24.8984 22.9563 25.4055 24.4639C25.5164 24.7934 25.6399 25.1293 25.6801 25.2103C26.1136 26.0847 27.0001 26.4744 28.6658 26.5227C29.4331 26.545 29.9548 26.4738 30.6266 26.2551C31.7062 25.9037 32.5923 25.2789 32.8791 24.6669C33.0287 24.3475 32.9912 23.8682 32.7702 23.2778C32.5304 22.6371 32.5162 22.3463 32.698 21.7965C32.9167 21.1353 33.4365 20.3343 33.9342 19.8913C34.5041 19.3841 35.0798 19.138 35.6963 19.138C35.9331 19.138 36.2006 19.1951 36.3678 19.2813C36.5173 19.3584 36.7007 19.5465 36.7762 19.7003C36.8323 19.8145 36.8449 19.8738 36.8529 20.062C36.871 20.4908 36.8247 20.5994 35.9484 22.1826C35.7726 22.5002 35.4838 23.0963 35.4146 23.2844C35.3597 23.4335 35.349 23.5004 35.3476 23.7007C35.346 23.9216 35.3506 23.9465 35.4091 24.0359C35.4992 24.1736 35.6268 24.2189 35.8794 24.2027C36.4527 24.1659 37.2974 23.6809 38.3798 22.7671C39.0555 22.1965 39.3759 21.8029 39.8586 20.9505C40.1704 20.4 40.3553 20.1921 40.6766 20.0308C40.8675 19.935 40.8815 19.9317 41.0985 19.9324C41.2943 19.9329 41.3396 19.9412 41.4544 19.9977C41.6212 20.0797 41.8078 20.2777 41.8961 20.4664C42.1159 20.9363 42.0106 21.6168 41.6157 22.2777C41.3063 22.7955 40.5765 23.6785 39.5988 24.7178C38.1566 26.2511 37.339 27.3428 37.0877 28.0708C37.0363 28.2196 37.0106 28.376 37.0115 28.5334L37.0131 28.7932C37.0255 30.8347 37.5884 33.2165 38.609 35.5459C39.2567 37.0243 40.2414 38.7222 40.6488 39.0633L40.6803 39.0896C40.7115 39.1158 40.758 39.1114 40.7838 39.08C41.0339 38.7755 41.4248 38.2725 41.6019 38.0272C43.2819 35.7009 44.3709 33.0403 44.8037 30.2048C45.039 28.663 45.0641 26.8564 44.8717 25.3102C44.3679 21.2625 42.5591 17.5783 39.6769 14.7294C38.2303 13.2996 36.7155 12.2191 34.9292 11.3431C32.6344 10.2177 30.2698 9.6245 27.6579 9.51889C27.0216 9.49316 26.9707 9.49321 26.275 9.52006ZM26.5914 28.8515C25.3559 29.0128 24.7595 29.9786 24.5421 32.1695C24.4525 33.0724 24.4466 33.3452 24.4515 36.3159C24.4581 40.2938 24.4994 41.4947 24.6716 42.7133C24.8137 43.7196 25.0467 44.4242 25.3652 44.8114C25.5512 45.0375 25.9324 45.28 26.3218 45.4199C26.5439 45.4997 26.868 45.5159 27.6344 45.4853C28.8966 45.4351 30.0481 45.2806 31.1685 45.0112C31.4903 44.9338 31.9988 44.6204 32.2531 44.3428C32.5014 44.0716 32.5763 43.8038 32.6061 43.0805C32.6547 41.9009 32.3584 39.0788 31.8065 35.463C31.7498 35.0916 31.6553 34.4625 31.5965 34.065C31.5377 33.6676 31.4626 33.1611 31.4296 32.9396C31.2248 31.5646 30.907 30.7655 30.3189 30.1465C30.0034 29.8145 29.7145 29.6068 29.2627 29.3873C28.4913 29.0125 27.2559 28.7647 26.5914 28.8515ZM20.3444 35.6382C19.9346 35.8186 19.6403 37.3224 19.592 39.4819C19.5485 41.429 19.7787 43.2549 20.1702 44.068C20.2045 44.139 20.2648 44.1942 20.3386 44.222L20.6944 44.3559C20.9534 44.4534 21.1856 44.5368 21.2105 44.5413C21.324 44.5618 21.5153 44.1416 21.5862 43.716C21.6965 43.0539 21.7008 41.8421 21.5978 40.415C21.4036 37.7221 20.9798 35.8281 20.5288 35.6376C20.4365 35.5987 20.4341 35.5987 20.3444 35.6382ZM35.1978 36.0478C34.9053 36.1934 34.7377 36.8544 34.7091 37.9745C34.6665 39.6462 35.007 41.7245 35.4814 42.6896C35.6344 43.0006 35.6896 43.045 35.9245 43.045C36.03 43.045 36.1335 43.0154 36.2231 42.9596L36.4894 42.7938C36.9082 42.5332 37.3997 42.1966 37.8121 41.8882C38.0337 41.7225 38.056 41.6984 38.1102 41.5655C38.2244 41.2858 38.248 41.1587 38.2333 40.9016C38.1781 39.9366 37.14 37.6398 36.2992 36.6226C35.8785 36.1135 35.4816 35.9064 35.1978 36.0478Z" fill="white"/>
|
|
4
|
+
</svg>
|
package/shared/constans/pages.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export const PAGES = {
|
|
2
2
|
tariffs: '/tariffs',
|
|
3
|
+
api: '/api-description',
|
|
3
4
|
userAgreement: '/user-agreements',
|
|
4
5
|
privacy: '/privacy-policy',
|
|
5
6
|
vacancy: '/vacancy',
|
|
@@ -8,6 +9,7 @@ export const PAGES = {
|
|
|
8
9
|
usefulMain: '/useful/terms-of-usage',
|
|
9
10
|
favourites: '/favourites',
|
|
10
11
|
totalServices: '/total-services',
|
|
12
|
+
allServices: '/all-services',
|
|
11
13
|
profile: {
|
|
12
14
|
index: '/profile',
|
|
13
15
|
security: '/profile/change-password',
|
|
@@ -37,12 +39,19 @@ export const PAGES = {
|
|
|
37
39
|
vacancy: '/vacancy'
|
|
38
40
|
},
|
|
39
41
|
tender: {
|
|
42
|
+
customers: '/main/analytics/customers',
|
|
43
|
+
analytics: '/main/eoz/analytics',
|
|
44
|
+
tru: '/main/analytics/tru-dynamic-procurement',
|
|
45
|
+
price: '/main/price-analysis',
|
|
46
|
+
constructor: '/main/reporting/constructor',
|
|
47
|
+
monitoring: '/',
|
|
48
|
+
akimat: '/main/eoz',
|
|
40
49
|
main: '/',
|
|
41
50
|
contracts: '/main/contracts',
|
|
42
51
|
plans: '/main/plans'
|
|
43
52
|
},
|
|
44
53
|
fines: {
|
|
45
|
-
main: '
|
|
54
|
+
main: '/?check_fines=true',
|
|
46
55
|
avto: '/check-car',
|
|
47
56
|
bulk: '/mass-check'
|
|
48
57
|
},
|
|
@@ -65,7 +74,13 @@ export const PAGES = {
|
|
|
65
74
|
containers: '/track-container',
|
|
66
75
|
},
|
|
67
76
|
compliance: {
|
|
68
|
-
l: '/'
|
|
77
|
+
l: '/',
|
|
78
|
+
assistant: '/assistant',
|
|
79
|
+
inspection: '/inspection',
|
|
80
|
+
hotline: '/hotline',
|
|
81
|
+
sanctions: '/sanctions',
|
|
82
|
+
suppliers: '/dossier/suppliers',
|
|
83
|
+
sb: '/sb'
|
|
69
84
|
},
|
|
70
85
|
edo: {
|
|
71
86
|
l: '/'
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
/** @type {import('tailwindcss').Config} */
|
|
2
|
+
import type { Config } from 'tailwindcss'
|
|
3
|
+
import defaultColors from 'tailwindcss/colors'
|
|
4
|
+
|
|
5
|
+
export default <Partial<Config>>{
|
|
6
|
+
darkMode: 'class',
|
|
7
|
+
content: ['./components/**/*.vue', './ui.config/**/*.ts', './icons/**/*.vue'],
|
|
8
|
+
safelist: [
|
|
9
|
+
{
|
|
10
|
+
pattern: /bg-(blue|green|yellow|red|orange|purple)-(|400|500|600|700|900)\/(10|20)/,
|
|
11
|
+
variants: ['hover']
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
theme: {
|
|
15
|
+
fontFamily: {
|
|
16
|
+
'sans': ['"Open Sans"', 'sans-serif'],
|
|
17
|
+
},
|
|
18
|
+
colors: {
|
|
19
|
+
black: defaultColors.black,
|
|
20
|
+
white: defaultColors.white,
|
|
21
|
+
transparent: defaultColors.transparent,
|
|
22
|
+
'blue': {
|
|
23
|
+
// DEFAULT: '#0070eb',
|
|
24
|
+
'50': '#eff7ff',
|
|
25
|
+
'100': '#e0efff',
|
|
26
|
+
'200': '#bddfff',
|
|
27
|
+
'300': '#90d7ff',
|
|
28
|
+
'400': '#43afed',
|
|
29
|
+
'500': '#1b98e2',
|
|
30
|
+
'600': '#068dff',
|
|
31
|
+
'700': '#0070eb',
|
|
32
|
+
'800': '#085dc5',
|
|
33
|
+
'900': '#0d509b',
|
|
34
|
+
'950': '#0e315d',
|
|
35
|
+
},
|
|
36
|
+
'yellow': {
|
|
37
|
+
// DEFAULT: '#fbc920',
|
|
38
|
+
'50': '#fefbe8',
|
|
39
|
+
'100': '#fef7c3',
|
|
40
|
+
'200': '#feed8a',
|
|
41
|
+
'300': '#fedb46',
|
|
42
|
+
'400': '#fbc920',
|
|
43
|
+
'500': '#ebad07',
|
|
44
|
+
'600': '#cb8503',
|
|
45
|
+
'700': '#a25e06',
|
|
46
|
+
'800': '#854a0e',
|
|
47
|
+
'900': '#713c12',
|
|
48
|
+
'950': '#421e06',
|
|
49
|
+
},
|
|
50
|
+
'deepblue': {
|
|
51
|
+
// pickled-bluewood
|
|
52
|
+
// DEFAULT: '#2c3e50',
|
|
53
|
+
'50': '#f5f7fa',
|
|
54
|
+
'100': '#eaeff4',
|
|
55
|
+
'200': '#cfdce8',
|
|
56
|
+
'300': '#a6bfd3',
|
|
57
|
+
'400': '#759cbb',
|
|
58
|
+
'500': '#5480a3',
|
|
59
|
+
'600': '#416788',
|
|
60
|
+
'700': '#35526f',
|
|
61
|
+
'800': '#2f475d',
|
|
62
|
+
'900': '#2c3e50',
|
|
63
|
+
'950': '#1d2834',
|
|
64
|
+
},
|
|
65
|
+
'gray': {
|
|
66
|
+
// gray-chateau
|
|
67
|
+
// DEFAULT: '#9da3ac',
|
|
68
|
+
'50': '#f4f5f6',
|
|
69
|
+
'100': '#ebecee',
|
|
70
|
+
'200': '#e3e5e8',
|
|
71
|
+
'300': '#c9cccf',
|
|
72
|
+
'400': '#b7bcc2',
|
|
73
|
+
'500': '#9da3ac',
|
|
74
|
+
'600': '#71757a',
|
|
75
|
+
'700': '#5a5d60',
|
|
76
|
+
'800': '#393d40',
|
|
77
|
+
'900': '#26282b',
|
|
78
|
+
'950': '#161617',
|
|
79
|
+
},
|
|
80
|
+
'green': {
|
|
81
|
+
// DEFAULT: '#4caf50',
|
|
82
|
+
'50': '#f3faf3',
|
|
83
|
+
'100': '#e3f5e3',
|
|
84
|
+
'200': '#c8eac9',
|
|
85
|
+
'300': '#9dd89f',
|
|
86
|
+
'400': '#6bbd6e',
|
|
87
|
+
'500': '#4caf50',
|
|
88
|
+
'600': '#358438',
|
|
89
|
+
'700': '#2d6830',
|
|
90
|
+
'800': '#275429',
|
|
91
|
+
'900': '#224525',
|
|
92
|
+
'950': '#0e2510',
|
|
93
|
+
},
|
|
94
|
+
'orange': {
|
|
95
|
+
// DEFAULT: '#e37b00',
|
|
96
|
+
'50': '#fffbea',
|
|
97
|
+
'100': '#fff4c5',
|
|
98
|
+
'200': '#ffe987',
|
|
99
|
+
'300': '#ffd748',
|
|
100
|
+
'400': '#ffc31e',
|
|
101
|
+
'500': '#ff9900',
|
|
102
|
+
'600': '#e37b00',
|
|
103
|
+
'700': '#b95304',
|
|
104
|
+
'800': '#96400a',
|
|
105
|
+
'900': '#7b350c',
|
|
106
|
+
'950': '#471901',
|
|
107
|
+
},
|
|
108
|
+
'red': {
|
|
109
|
+
// cinnabar
|
|
110
|
+
// DEFAULT: '#e74135',
|
|
111
|
+
'50': '#fef3f2',
|
|
112
|
+
'100': '#fde5e3',
|
|
113
|
+
'200': '#fccfcc',
|
|
114
|
+
'300': '#f9ada8',
|
|
115
|
+
'400': '#f47e75',
|
|
116
|
+
'500': '#e74135',
|
|
117
|
+
'600': '#d6372c',
|
|
118
|
+
'700': '#b42b21',
|
|
119
|
+
'800': '#95271f',
|
|
120
|
+
'900': '#7c2620',
|
|
121
|
+
'950': '#43100c',
|
|
122
|
+
},
|
|
123
|
+
'purple': {
|
|
124
|
+
//purple-heart
|
|
125
|
+
DEFAULT: '#7c25b6',
|
|
126
|
+
'50': '#fbf5ff',
|
|
127
|
+
'100': '#f4e8ff',
|
|
128
|
+
'200': '#ebd5ff',
|
|
129
|
+
'300': '#dcb5fd',
|
|
130
|
+
'400': '#c685fb',
|
|
131
|
+
'500': '#b056f6',
|
|
132
|
+
'600': '#9c34e9',
|
|
133
|
+
'700': '#8723cd',
|
|
134
|
+
'800': '#7c25b6',
|
|
135
|
+
'900': '#5d1d86',
|
|
136
|
+
'950': '#400863',
|
|
137
|
+
},
|
|
138
|
+
'turquoise': {
|
|
139
|
+
// light-blue
|
|
140
|
+
// DEFAULT: '#1ee1be',
|
|
141
|
+
'50': '#effefa',
|
|
142
|
+
'100': '#c8fff0',
|
|
143
|
+
'200': '#92fde3',
|
|
144
|
+
'300': '#53f5d3',
|
|
145
|
+
'400': '#1ee1be',
|
|
146
|
+
'500': '#07c5a6',
|
|
147
|
+
'600': '#029f89',
|
|
148
|
+
'700': '#077e6f',
|
|
149
|
+
'800': '#0b6459',
|
|
150
|
+
'900': '#0e534a',
|
|
151
|
+
'950': '#01322e',
|
|
152
|
+
},
|
|
153
|
+
|
|
154
|
+
},
|
|
155
|
+
extend: {
|
|
156
|
+
backgroundImage: {
|
|
157
|
+
'gr-blue': 'linear-gradient(236.46deg, #479FFF -2.39%, #0070EB 79.1%)',
|
|
158
|
+
'gr-yellow': 'linear-gradient(236.46deg, #FFE364 -2.39%, #FBC920 79.1%);\n'
|
|
159
|
+
}
|
|
160
|
+
},
|
|
161
|
+
},
|
|
162
|
+
}
|
|
163
|
+
|
package/vitest.config.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { defineVitestConfig } from '@nuxt/test-utils/config'
|
|
2
|
+
|
|
3
|
+
export default defineVitestConfig({
|
|
4
|
+
test: {
|
|
5
|
+
globals: true,
|
|
6
|
+
environment: 'nuxt',
|
|
7
|
+
coverage: {
|
|
8
|
+
enabled: true,
|
|
9
|
+
provider: 'v8',
|
|
10
|
+
reportsDirectory: './tests/coverage',
|
|
11
|
+
reporter: ['html']
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
})
|
package/.eslintrc.cjs
DELETED
package/.playground/app.vue
DELETED
package/.prettierignore
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
# Nuxt dev/build outputs
|
|
2
|
-
.output
|
|
3
|
-
.data
|
|
4
|
-
.nuxt
|
|
5
|
-
.nitro
|
|
6
|
-
.cache
|
|
7
|
-
dist
|
|
8
|
-
|
|
9
|
-
# Node dependencies
|
|
10
|
-
node_modules
|
|
11
|
-
|
|
12
|
-
# Logs
|
|
13
|
-
logs
|
|
14
|
-
*.log
|
|
15
|
-
|
|
16
|
-
# Misc
|
|
17
|
-
.DS_Store
|
|
18
|
-
.fleet
|
|
19
|
-
.idea
|
|
20
|
-
|
|
21
|
-
# Local env files
|
|
22
|
-
.env
|
|
23
|
-
.env.*
|
|
24
|
-
!.env.example
|