adata-ui 2.0.25 → 2.0.27
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/components/modals/ContentNavigationModal.vue +38 -32
- package/icons/chart-pie.vue +16 -0
- package/icons/work-case.vue +9 -0
- package/package.json +69 -70
- package/histoire.config.ts +0 -10
|
@@ -26,6 +26,7 @@ import {useCurrentModule} from "#adata-ui/composables/projectState";
|
|
|
26
26
|
import IconCalc from '#adata-ui/icons/calculator.vue'
|
|
27
27
|
import { buildLocalizedUrl } from '#adata-ui/utils/localizedNavigation'
|
|
28
28
|
import { AIconFiles } from '#components'
|
|
29
|
+
import MapPinRect from '#adata-ui/icons/map/map-pin-rect.vue'
|
|
29
30
|
type Emits = {
|
|
30
31
|
(e: 'pushMain'): void
|
|
31
32
|
}
|
|
@@ -37,6 +38,10 @@ const emits = defineEmits<Emits>()
|
|
|
37
38
|
|
|
38
39
|
|
|
39
40
|
const tabOptions = [
|
|
41
|
+
{
|
|
42
|
+
name: 'header.products.edo.label',
|
|
43
|
+
key: 'edo',
|
|
44
|
+
},
|
|
40
45
|
{
|
|
41
46
|
name: 'header.products.counterparties.label',
|
|
42
47
|
key: 'pk',
|
|
@@ -49,14 +54,14 @@ const tabOptions = [
|
|
|
49
54
|
name: 'header.products.tenders.label',
|
|
50
55
|
key: 'tenders',
|
|
51
56
|
},
|
|
52
|
-
{
|
|
53
|
-
name: 'header.products.fines.label',
|
|
54
|
-
key: 'fines',
|
|
55
|
-
},
|
|
56
57
|
{
|
|
57
58
|
name: 'header.products.analytics.label',
|
|
58
59
|
key: 'analytics',
|
|
59
60
|
},
|
|
61
|
+
{
|
|
62
|
+
name: 'header.products.fines.label',
|
|
63
|
+
key: 'fines',
|
|
64
|
+
},
|
|
60
65
|
{
|
|
61
66
|
name: 'header.products.fea.label',
|
|
62
67
|
key: 'fea',
|
|
@@ -65,12 +70,15 @@ const tabOptions = [
|
|
|
65
70
|
name: 'header.products.compliance.label',
|
|
66
71
|
key: 'compliance',
|
|
67
72
|
},
|
|
68
|
-
{
|
|
69
|
-
name: 'header.products.edo.label',
|
|
70
|
-
key: 'edo',
|
|
71
|
-
}
|
|
72
73
|
]
|
|
73
74
|
const sideLinks = <any>{
|
|
75
|
+
edo: [
|
|
76
|
+
{
|
|
77
|
+
label: 'header.products.edo.label',
|
|
78
|
+
icon: AIconFiles,
|
|
79
|
+
link: 'https://edo.adata.kz' + PAGES.edo.l
|
|
80
|
+
}
|
|
81
|
+
],
|
|
74
82
|
pk: [
|
|
75
83
|
{
|
|
76
84
|
icon: IconSearch,
|
|
@@ -147,23 +155,6 @@ const sideLinks = <any>{
|
|
|
147
155
|
link: myLayer.tenderUrl + PAGES.tender.plans
|
|
148
156
|
}
|
|
149
157
|
],
|
|
150
|
-
fines: [
|
|
151
|
-
{
|
|
152
|
-
icon: IconCheckCircle,
|
|
153
|
-
label: 'header.products.fines.items.fines.title',
|
|
154
|
-
link: myLayer.avtoUrl + PAGES.fines.main
|
|
155
|
-
},
|
|
156
|
-
{
|
|
157
|
-
icon: IconCar,
|
|
158
|
-
label: 'header.products.fines.items.auto.title',
|
|
159
|
-
link: myLayer.avtoUrl + PAGES.fines.avto
|
|
160
|
-
},
|
|
161
|
-
{
|
|
162
|
-
icon: IconTruck,
|
|
163
|
-
label: 'header.products.fines.items.wholesaleAuto.title',
|
|
164
|
-
link: myLayer.avtoUrl + PAGES.fines.bulk
|
|
165
|
-
}
|
|
166
|
-
],
|
|
167
158
|
analytics: [
|
|
168
159
|
// {
|
|
169
160
|
// icon: IconSearch,
|
|
@@ -191,6 +182,23 @@ const sideLinks = <any>{
|
|
|
191
182
|
link: myLayer.analyticsNewUrl + PAGES.analytics.rating
|
|
192
183
|
}
|
|
193
184
|
],
|
|
185
|
+
fines: [
|
|
186
|
+
{
|
|
187
|
+
icon: IconCheckCircle,
|
|
188
|
+
label: 'header.products.fines.items.fines.title',
|
|
189
|
+
link: myLayer.avtoUrl + PAGES.fines.main
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
icon: IconCar,
|
|
193
|
+
label: 'header.products.fines.items.auto.title',
|
|
194
|
+
link: myLayer.avtoUrl + PAGES.fines.avto
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
icon: IconTruck,
|
|
198
|
+
label: 'header.products.fines.items.wholesaleAuto.title',
|
|
199
|
+
link: myLayer.avtoUrl + PAGES.fines.bulk
|
|
200
|
+
}
|
|
201
|
+
],
|
|
194
202
|
fea: [
|
|
195
203
|
{
|
|
196
204
|
label: 'header.products.fea.items.i.t',
|
|
@@ -216,6 +224,11 @@ const sideLinks = <any>{
|
|
|
216
224
|
label: 'header.products.fea.items.tr.t',
|
|
217
225
|
icon: IconGlobe,
|
|
218
226
|
link: `${myLayer.tnvedUrl}${PAGES.fea.tr}`
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
label: 'header.products.fea.items.importerMap.t',
|
|
230
|
+
icon: MapPinRect,
|
|
231
|
+
link: `${myLayer.tnvedUrl}${PAGES.fea.importerMap}`
|
|
219
232
|
}
|
|
220
233
|
],
|
|
221
234
|
compliance: [
|
|
@@ -225,13 +238,6 @@ const sideLinks = <any>{
|
|
|
225
238
|
link: myLayer.complianceUrl + PAGES.compliance.l
|
|
226
239
|
}
|
|
227
240
|
],
|
|
228
|
-
edo: [
|
|
229
|
-
{
|
|
230
|
-
label: 'header.products.edo.label',
|
|
231
|
-
icon: AIconFiles,
|
|
232
|
-
link: 'https://edo.adata.kz' + PAGES.edo.l
|
|
233
|
-
}
|
|
234
|
-
]
|
|
235
241
|
}
|
|
236
242
|
const currentLinks = ref(sideLinks[tab.value])
|
|
237
243
|
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<svg width="25" height="24" viewBox="0 0 25 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
+
<mask id="path-1-inside-1_16139_4935" fill="white">
|
|
4
|
+
<path d="M11.5689 2.7041C9.95675 2.7041 8.36808 3.09007 6.93567 3.82973C5.50326 4.56938 4.26876 5.64124 3.33539 6.95565C2.40202 8.27007 1.79691 9.78886 1.57065 11.385C1.3444 12.9812 1.50358 14.6083 2.03488 16.1303C2.56618 17.6524 3.45416 19.0251 4.62458 20.1337C5.79499 21.2423 7.21382 22.0546 8.76241 22.5026C10.311 22.9506 11.9444 23.0214 13.5259 22.709C15.1074 22.3965 16.5912 21.71 17.8531 20.7067L11.5689 12.8023V2.7041Z"/>
|
|
5
|
+
</mask>
|
|
6
|
+
<path d="M11.5689 2.7041C9.95675 2.7041 8.36808 3.09007 6.93567 3.82973C5.50326 4.56938 4.26876 5.64124 3.33539 6.95565C2.40202 8.27007 1.79691 9.78886 1.57065 11.385C1.3444 12.9812 1.50358 14.6083 2.03488 16.1303C2.56618 17.6524 3.45416 19.0251 4.62458 20.1337C5.79499 21.2423 7.21382 22.0546 8.76241 22.5026C10.311 22.9506 11.9444 23.0214 13.5259 22.709C15.1074 22.3965 16.5912 21.71 17.8531 20.7067L11.5689 12.8023V2.7041Z" stroke="currentColor" stroke-width="2.44898" mask="url(#path-1-inside-1_16139_4935)"/>
|
|
7
|
+
<mask id="path-2-inside-2_16139_4935" fill="white">
|
|
8
|
+
<path d="M12.3329 0.979492C14.8031 0.979492 17.2017 1.80939 19.1436 3.336C21.0856 4.8626 22.4584 6.99738 23.0417 9.39772L12.3329 11.9999V0.979492Z"/>
|
|
9
|
+
</mask>
|
|
10
|
+
<path d="M12.3329 0.979492C14.8031 0.979492 17.2017 1.80939 19.1436 3.336C21.0856 4.8626 22.4584 6.99738 23.0417 9.39772L12.3329 11.9999V0.979492Z" stroke="currentColor" stroke-width="2.44898" mask="url(#path-2-inside-2_16139_4935)"/>
|
|
11
|
+
<mask id="path-3-inside-3_16139_4935" fill="white">
|
|
12
|
+
<path d="M21.6275 10.667C22.0329 12.3775 21.9429 14.168 21.3681 15.8292C20.7932 17.4904 19.7572 18.9536 18.3813 20.0476L12.6204 12.8021L21.6275 10.667Z"/>
|
|
13
|
+
</mask>
|
|
14
|
+
<path d="M21.6275 10.667C22.0329 12.3775 21.9429 14.168 21.3681 15.8292C20.7932 17.4904 19.7572 18.9536 18.3813 20.0476L12.6204 12.8021L21.6275 10.667Z" stroke="currentColor" stroke-width="2.44898" mask="url(#path-3-inside-3_16139_4935)"/>
|
|
15
|
+
</svg>
|
|
16
|
+
</template>
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
+
<path d="M23.0203 6.41943H0.979492V21.4619H23.0203V6.41943Z" stroke="currentColor" stroke-width="1.22449" stroke-miterlimit="10" stroke-linejoin="round"/>
|
|
4
|
+
<path d="M23.0203 6.41943H0.979492V10.1586C0.979492 11.5352 2.29533 12.6513 3.91827 12.6513H20.0815C21.7045 12.6513 23.0203 11.5352 23.0203 10.1586V6.41943Z" stroke="currentColor" stroke-width="1.22449" stroke-miterlimit="10" stroke-linejoin="round"/>
|
|
5
|
+
<path d="M6.92188 6.32556V3.80058C6.92188 3.10305 7.48998 2.53809 8.19138 2.53809H15.8084C16.5098 2.53809 17.0779 3.10305 17.0779 3.80058V6.32556" stroke="currentColor" stroke-width="1.22449" stroke-miterlimit="10" stroke-linejoin="round"/>
|
|
6
|
+
<path d="M12 15.1628C11.2986 15.1628 10.7305 14.5978 10.7305 13.9003V11.3753C10.7305 10.6778 11.2986 10.1128 12 10.1128C12.7014 10.1128 13.2695 10.6778 13.2695 11.3753V13.9003C13.2695 14.5978 12.7014 15.1628 12 15.1628Z" stroke="currentColor" stroke-width="1.22449" stroke-miterlimit="10" stroke-linejoin="round"/>
|
|
7
|
+
<path d="M13.2695 12.6377H10.7305" stroke="currentColor" stroke-width="1.22449" stroke-miterlimit="10" stroke-linejoin="round"/>
|
|
8
|
+
</svg>
|
|
9
|
+
</template>
|
package/package.json
CHANGED
|
@@ -1,70 +1,69 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "adata-ui",
|
|
3
|
-
"type": "module",
|
|
4
|
-
"version": "2.0.
|
|
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.2.1",
|
|
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
|
-
"@vitest/coverage-v8": "^1.6.1",
|
|
25
|
-
"@vitest/ui": "^1.6.1",
|
|
26
|
-
"@vue/test-utils": "^2.4.6",
|
|
27
|
-
"eslint": "^9.
|
|
28
|
-
"eslint-plugin-tailwindcss": "^3.18.2",
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
"@
|
|
38
|
-
"@headlessui/
|
|
39
|
-
"@
|
|
40
|
-
"@nuxt/
|
|
41
|
-
"@
|
|
42
|
-
"@nuxtjs/
|
|
43
|
-
"@nuxtjs/
|
|
44
|
-
"@nuxtjs/
|
|
45
|
-
"@
|
|
46
|
-
"@
|
|
47
|
-
"@
|
|
48
|
-
"@
|
|
49
|
-
"@tailwindcss/
|
|
50
|
-
"@tailwindcss/
|
|
51
|
-
"@tailwindcss/
|
|
52
|
-
"@
|
|
53
|
-
"@vueuse/
|
|
54
|
-
"@vueuse/
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"lodash
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "adata-ui",
|
|
3
|
+
"type": "module",
|
|
4
|
+
"version": "2.0.27",
|
|
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.2.1",
|
|
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
|
+
"@vitest/coverage-v8": "^1.6.1",
|
|
25
|
+
"@vitest/ui": "^1.6.1",
|
|
26
|
+
"@vue/test-utils": "^2.4.6",
|
|
27
|
+
"eslint": "^9.34.0",
|
|
28
|
+
"eslint-plugin-tailwindcss": "^3.18.2",
|
|
29
|
+
"nuxt": "^3.18.1",
|
|
30
|
+
"sass-embedded": "^1.91.0",
|
|
31
|
+
"typescript": "^5.9.2",
|
|
32
|
+
"vitest": "^3.2.4",
|
|
33
|
+
"vue-tsc": "^2.2.12"
|
|
34
|
+
},
|
|
35
|
+
"dependencies": {
|
|
36
|
+
"@floating-ui/vue": "^1.1.9",
|
|
37
|
+
"@headlessui/tailwindcss": "^0.2.2",
|
|
38
|
+
"@headlessui/vue": "^1.7.23",
|
|
39
|
+
"@nuxt/image": "1.8.1",
|
|
40
|
+
"@nuxt/kit": "^3.18.1",
|
|
41
|
+
"@nuxtjs/color-mode": "^3.5.2",
|
|
42
|
+
"@nuxtjs/google-fonts": "^3.2.0",
|
|
43
|
+
"@nuxtjs/i18n": "9.3.3",
|
|
44
|
+
"@nuxtjs/tailwindcss": "^6.14.0",
|
|
45
|
+
"@pinia/nuxt": "^0.11.2",
|
|
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
|
+
"pinia": "^3.0.3",
|
|
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
|
+
}
|