adata-ui 3.1.55 → 3.1.57
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/README.md +84 -84
- package/dist/module.json +1 -1
- package/dist/runtime/components/Alert.vue +26 -26
- package/dist/runtime/components/MobileServices.vue +154 -0
- package/dist/runtime/components/MobileServices.vue.d.ts +2 -0
- package/dist/runtime/components/Modal.vue.d.ts +1 -1
- package/dist/runtime/components/SidePanel.vue.d.ts +2 -2
- package/dist/runtime/components/Tag.vue +4 -4
- package/dist/runtime/components/header/ListItem.vue +1 -1
- package/dist/runtime/components/tree-select/components/tree-select-nodes.vue +1 -1
- package/dist/runtime/composables/projectState.d.ts +2 -2
- package/dist/runtime/composables/useIdModals.d.ts +11 -21
- package/dist/runtime/composables/useNavigationLInks.d.ts +5 -0
- package/dist/runtime/composables/useNavigationLInks.js +64 -0
- package/dist/runtime/composables/usePayment.d.ts +5 -5
- package/dist/runtime/i18n/i18n.config.d.ts +3 -0
- package/dist/runtime/i18n.d.ts +1 -1
- package/dist/runtime/icons/arrow/arrow-right.vue +24 -24
- package/dist/runtime/icons/calendar.vue +24 -24
- package/dist/runtime/icons/download.vue +26 -26
- package/dist/runtime/icons/edit.vue +24 -24
- package/dist/runtime/icons/file/excel.vue +88 -88
- package/dist/runtime/icons/id.vue +9 -9
- package/dist/runtime/icons/map-pin-rect.vue +15 -15
- package/dist/runtime/icons/more.vue +36 -36
- package/dist/runtime/icons/plus-circle.vue +24 -24
- package/dist/runtime/icons/tenge.vue +22 -22
- package/dist/runtime/icons/trash.vue +24 -24
- package/dist/runtime/icons/upload.vue +26 -26
- package/dist/runtime/icons/user.vue +30 -30
- package/dist/runtime/icons/warning-triangle.vue +29 -29
- package/dist/runtime/lang/en.js +2 -1
- package/dist/runtime/lang/kk.js +2 -1
- package/dist/runtime/lang/ru.d.ts +1 -0
- package/dist/runtime/lang/ru.js +4 -3
- package/dist/runtime/plugins/toast.d.ts +1 -503
- package/dist/runtime/server/tsconfig.json +3 -3
- package/dist/runtime/shared/constants/pages.d.ts +1 -0
- package/dist/runtime/shared/constants/pages.js +1 -0
- package/dist/runtime/utils/localizedNavigation.d.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,84 +1,84 @@
|
|
|
1
|
-
<!--
|
|
2
|
-
Get your module up and running quickly.
|
|
3
|
-
|
|
4
|
-
Find and replace all on all files (CMD+SHIFT+F):
|
|
5
|
-
- Name: My Module
|
|
6
|
-
- Package name: my-module
|
|
7
|
-
- Description: My new Nuxt module
|
|
8
|
-
-->
|
|
9
|
-
|
|
10
|
-
# My Module
|
|
11
|
-
|
|
12
|
-
[![npm version][npm-version-src]][npm-version-href]
|
|
13
|
-
[![npm downloads][npm-downloads-src]][npm-downloads-href]
|
|
14
|
-
[![License][license-src]][license-href]
|
|
15
|
-
[![Nuxt][nuxt-src]][nuxt-href]
|
|
16
|
-
|
|
17
|
-
My new Nuxt module for doing amazing things.
|
|
18
|
-
|
|
19
|
-
- [✨ Release Notes](/CHANGELOG.md)
|
|
20
|
-
<!-- - [🏀 Online playground](https://stackblitz.com/github/your-org/my-module?file=playground%2Fapp.vue) -->
|
|
21
|
-
<!-- - [📖 Documentation](https://example.com) -->
|
|
22
|
-
|
|
23
|
-
## Features
|
|
24
|
-
|
|
25
|
-
<!-- Highlight some of the features your module provide here -->
|
|
26
|
-
- ⛰ Foo
|
|
27
|
-
- 🚠 Bar
|
|
28
|
-
- 🌲 Baz
|
|
29
|
-
|
|
30
|
-
## Quick Setup
|
|
31
|
-
|
|
32
|
-
Install the module to your Nuxt application with one command:
|
|
33
|
-
|
|
34
|
-
```bash
|
|
35
|
-
npx nuxi module add my-module
|
|
36
|
-
```
|
|
37
|
-
|
|
38
|
-
That's it! You can now use My Module in your Nuxt app ✨
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
## Contribution
|
|
42
|
-
|
|
43
|
-
<details>
|
|
44
|
-
<summary>Local development</summary>
|
|
45
|
-
|
|
46
|
-
```bash
|
|
47
|
-
# Install dependencies
|
|
48
|
-
npm install
|
|
49
|
-
|
|
50
|
-
# Generate type stubs
|
|
51
|
-
npm run dev:prepare
|
|
52
|
-
|
|
53
|
-
# Develop with the playground
|
|
54
|
-
npm run dev
|
|
55
|
-
|
|
56
|
-
# Build the playground
|
|
57
|
-
npm run dev:build
|
|
58
|
-
|
|
59
|
-
# Run ESLint
|
|
60
|
-
npm run lint
|
|
61
|
-
|
|
62
|
-
# Run Vitest
|
|
63
|
-
npm run test
|
|
64
|
-
npm run test:watch
|
|
65
|
-
|
|
66
|
-
# Release new version
|
|
67
|
-
npm run release
|
|
68
|
-
```
|
|
69
|
-
|
|
70
|
-
</details>
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
<!-- Badges -->
|
|
74
|
-
[npm-version-src]: https://img.shields.io/npm/v/my-module/latest.svg?style=flat&colorA=020420&colorB=00DC82
|
|
75
|
-
[npm-version-href]: https://npmjs.com/package/my-module
|
|
76
|
-
|
|
77
|
-
[npm-downloads-src]: https://img.shields.io/npm/dm/my-module.svg?style=flat&colorA=020420&colorB=00DC82
|
|
78
|
-
[npm-downloads-href]: https://npm.chart.dev/my-module
|
|
79
|
-
|
|
80
|
-
[license-src]: https://img.shields.io/npm/l/my-module.svg?style=flat&colorA=020420&colorB=00DC82
|
|
81
|
-
[license-href]: https://npmjs.com/package/my-module
|
|
82
|
-
|
|
83
|
-
[nuxt-src]: https://img.shields.io/badge/Nuxt-020420?logo=nuxt.js
|
|
84
|
-
[nuxt-href]: https://nuxt.com
|
|
1
|
+
<!--
|
|
2
|
+
Get your module up and running quickly.
|
|
3
|
+
|
|
4
|
+
Find and replace all on all files (CMD+SHIFT+F):
|
|
5
|
+
- Name: My Module
|
|
6
|
+
- Package name: my-module
|
|
7
|
+
- Description: My new Nuxt module
|
|
8
|
+
-->
|
|
9
|
+
|
|
10
|
+
# My Module
|
|
11
|
+
|
|
12
|
+
[![npm version][npm-version-src]][npm-version-href]
|
|
13
|
+
[![npm downloads][npm-downloads-src]][npm-downloads-href]
|
|
14
|
+
[![License][license-src]][license-href]
|
|
15
|
+
[![Nuxt][nuxt-src]][nuxt-href]
|
|
16
|
+
|
|
17
|
+
My new Nuxt module for doing amazing things.
|
|
18
|
+
|
|
19
|
+
- [✨ Release Notes](/CHANGELOG.md)
|
|
20
|
+
<!-- - [🏀 Online playground](https://stackblitz.com/github/your-org/my-module?file=playground%2Fapp.vue) -->
|
|
21
|
+
<!-- - [📖 Documentation](https://example.com) -->
|
|
22
|
+
|
|
23
|
+
## Features
|
|
24
|
+
|
|
25
|
+
<!-- Highlight some of the features your module provide here -->
|
|
26
|
+
- ⛰ Foo
|
|
27
|
+
- 🚠 Bar
|
|
28
|
+
- 🌲 Baz
|
|
29
|
+
|
|
30
|
+
## Quick Setup
|
|
31
|
+
|
|
32
|
+
Install the module to your Nuxt application with one command:
|
|
33
|
+
|
|
34
|
+
```bash
|
|
35
|
+
npx nuxi module add my-module
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
That's it! You can now use My Module in your Nuxt app ✨
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
## Contribution
|
|
42
|
+
|
|
43
|
+
<details>
|
|
44
|
+
<summary>Local development</summary>
|
|
45
|
+
|
|
46
|
+
```bash
|
|
47
|
+
# Install dependencies
|
|
48
|
+
npm install
|
|
49
|
+
|
|
50
|
+
# Generate type stubs
|
|
51
|
+
npm run dev:prepare
|
|
52
|
+
|
|
53
|
+
# Develop with the playground
|
|
54
|
+
npm run dev
|
|
55
|
+
|
|
56
|
+
# Build the playground
|
|
57
|
+
npm run dev:build
|
|
58
|
+
|
|
59
|
+
# Run ESLint
|
|
60
|
+
npm run lint
|
|
61
|
+
|
|
62
|
+
# Run Vitest
|
|
63
|
+
npm run test
|
|
64
|
+
npm run test:watch
|
|
65
|
+
|
|
66
|
+
# Release new version
|
|
67
|
+
npm run release
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
</details>
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
<!-- Badges -->
|
|
74
|
+
[npm-version-src]: https://img.shields.io/npm/v/my-module/latest.svg?style=flat&colorA=020420&colorB=00DC82
|
|
75
|
+
[npm-version-href]: https://npmjs.com/package/my-module
|
|
76
|
+
|
|
77
|
+
[npm-downloads-src]: https://img.shields.io/npm/dm/my-module.svg?style=flat&colorA=020420&colorB=00DC82
|
|
78
|
+
[npm-downloads-href]: https://npm.chart.dev/my-module
|
|
79
|
+
|
|
80
|
+
[license-src]: https://img.shields.io/npm/l/my-module.svg?style=flat&colorA=020420&colorB=00DC82
|
|
81
|
+
[license-href]: https://npmjs.com/package/my-module
|
|
82
|
+
|
|
83
|
+
[nuxt-src]: https://img.shields.io/badge/Nuxt-020420?logo=nuxt.js
|
|
84
|
+
[nuxt-href]: https://nuxt.com
|
package/dist/module.json
CHANGED
|
@@ -33,30 +33,30 @@ const colorOptions = {
|
|
|
33
33
|
</script>
|
|
34
34
|
|
|
35
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>
|
|
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
62
|
</template>
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { PAGES } from "#adata-ui/shared/constants/pages";
|
|
3
|
+
import { useServicesLinks } from "#adata-ui/composables/useNavigationLInks";
|
|
4
|
+
import { useI18n, useLocalePath, useRoute } from "#imports";
|
|
5
|
+
import { useUrls } from "#adata-ui/utils/useUrls";
|
|
6
|
+
import { buildLocalizedUrl } from "#adata-ui/utils/localizedNavigation";
|
|
7
|
+
const services = useServicesLinks();
|
|
8
|
+
const route = useRoute();
|
|
9
|
+
const localePath = useLocalePath();
|
|
10
|
+
const { landing } = useUrls();
|
|
11
|
+
const { locale } = useI18n();
|
|
12
|
+
const blockStyles = [
|
|
13
|
+
"first-border-gradient",
|
|
14
|
+
"second-border-gradient",
|
|
15
|
+
"third-border-gradient",
|
|
16
|
+
"fourth-border-gradient",
|
|
17
|
+
"fifth-border-gradient",
|
|
18
|
+
"sixth-border-gradient",
|
|
19
|
+
"seventh-border-gradient",
|
|
20
|
+
"eighth-border-gradient",
|
|
21
|
+
"ninth-border-gradient"
|
|
22
|
+
];
|
|
23
|
+
const linkByIndex = [
|
|
24
|
+
PAGES.pk.main,
|
|
25
|
+
PAGES.pk.employees,
|
|
26
|
+
PAGES.pk.connections,
|
|
27
|
+
PAGES.pk.offshore,
|
|
28
|
+
PAGES.pk.foreign,
|
|
29
|
+
PAGES.pk.unload,
|
|
30
|
+
PAGES.pk.compare,
|
|
31
|
+
PAGES.pk.sanctions,
|
|
32
|
+
buildLocalizedUrl(locale, landing, "/all-services")
|
|
33
|
+
];
|
|
34
|
+
</script>
|
|
35
|
+
|
|
36
|
+
<template>
|
|
37
|
+
<div class="grid grid-cols-3">
|
|
38
|
+
<nuxt-link-locale
|
|
39
|
+
v-for="(service, index) in services"
|
|
40
|
+
:key="index"
|
|
41
|
+
:to="service.to"
|
|
42
|
+
:class="['flex flex-col items-center gap-2 p-2', blockStyles[index]]"
|
|
43
|
+
>
|
|
44
|
+
<div
|
|
45
|
+
class="size-10 p-2 rounded-lg"
|
|
46
|
+
:class="[
|
|
47
|
+
'bg-deepblue-900/5 dark:bg-gray-200/5',
|
|
48
|
+
{ '!bg-blue-700 text-white dark:!bg-blue-500 ': route.path.replace(/\/+$/, '') === localePath(linkByIndex[index]).replace(/\/+$/, '') }
|
|
49
|
+
]"
|
|
50
|
+
>
|
|
51
|
+
<component
|
|
52
|
+
:is="service.icon"
|
|
53
|
+
class="size-6 shrink-0"
|
|
54
|
+
/>
|
|
55
|
+
</div>
|
|
56
|
+
<p class="text-xs text-center">
|
|
57
|
+
{{ service.title }}
|
|
58
|
+
</p>
|
|
59
|
+
</nuxt-link-locale>
|
|
60
|
+
</div>
|
|
61
|
+
</template>
|
|
62
|
+
|
|
63
|
+
<style scoped>
|
|
64
|
+
.first-border-gradient {
|
|
65
|
+
border-width: 0 1px 1px 0;
|
|
66
|
+
border-style: solid;
|
|
67
|
+
border-image-source: linear-gradient(180deg, #FFFFFF 0%, #F4F5F6 100%);
|
|
68
|
+
border-image-slice: 1;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.second-border-gradient {
|
|
72
|
+
border-width: 0 1px 1px 1px;
|
|
73
|
+
border-style: solid;
|
|
74
|
+
border-image-source: linear-gradient(180deg, #FFFFFF 0%, #F4F5F6 100%);
|
|
75
|
+
border-image-slice: 1;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.third-border-gradient {
|
|
79
|
+
border-width: 0 0 1px 1px;
|
|
80
|
+
border-style: solid;
|
|
81
|
+
border-image-source: linear-gradient(218.84deg, #FFFFFF 41.56%, #F4F5F6 98.73%);
|
|
82
|
+
border-image-slice: 1;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.fourth-border-gradient {
|
|
86
|
+
border-width: 1px 1px 1px 0;
|
|
87
|
+
border-style: solid;
|
|
88
|
+
border-image-source: linear-gradient(125.34deg, #FFFFFF 7.49%, #F4F5F6 86.67%);
|
|
89
|
+
border-image-slice: 1;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.fifth-border-gradient {
|
|
93
|
+
border-width: 1px;
|
|
94
|
+
border-style: solid;
|
|
95
|
+
border-color: var(--Bg-tertiary-bg, #F4F5F6);
|
|
96
|
+
border-image-slice: 1;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.sixth-border-gradient {
|
|
100
|
+
border-width: 1px 0 1px 1px;
|
|
101
|
+
border-style: solid;
|
|
102
|
+
border-image-source: linear-gradient(261.06deg, #FFFFFF -6.98%, #F4F5F6 99.74%);
|
|
103
|
+
border-image-slice: 1;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.seventh-border-gradient {
|
|
107
|
+
border-width: 1px 1px 0 0;
|
|
108
|
+
border-style: solid;
|
|
109
|
+
border-image-source: linear-gradient(58.51deg, #FFFFFF 35.88%, #F4F5F6 85.8%);
|
|
110
|
+
border-image-slice: 1;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.eighth-border-gradient {
|
|
114
|
+
border-width: 1px 1px 0 1px;
|
|
115
|
+
border-style: solid;
|
|
116
|
+
border-image-source: linear-gradient(0deg, #FFFFFF 0%, #F4F5F6 100%);
|
|
117
|
+
border-image-slice: 1;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.ninth-border-gradient {
|
|
121
|
+
border-width: 1px 0 0 1px;
|
|
122
|
+
border-style: solid;
|
|
123
|
+
border-image-source: linear-gradient(41.08deg, #FFFFFF 6.74%, #F4F5F6 63.33%, #FEFEFE 91.03%);
|
|
124
|
+
border-image-slice: 1;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.dark .first-border-gradient {
|
|
128
|
+
border-image-source: linear-gradient(180deg, #26282b 0%, #393d40 100%);
|
|
129
|
+
}
|
|
130
|
+
.dark .second-border-gradient {
|
|
131
|
+
border-image-source: linear-gradient(180deg, #26282b 0%, #393d40 100%);
|
|
132
|
+
}
|
|
133
|
+
.dark .third-border-gradient {
|
|
134
|
+
border-image-source: linear-gradient(218.84deg, #26282b 41.56%, #393d40 98.73%);
|
|
135
|
+
}
|
|
136
|
+
.dark .fourth-border-gradient {
|
|
137
|
+
border-image-source: linear-gradient(125.34deg, #26282b 7.49%, #393d40 86.67%);
|
|
138
|
+
}
|
|
139
|
+
.dark .fifth-border-gradient {
|
|
140
|
+
border-color: #393d40;
|
|
141
|
+
}
|
|
142
|
+
.dark .sixth-border-gradient {
|
|
143
|
+
border-image-source: linear-gradient(261.06deg, #26282b -6.98%, #393d40 99.74%);
|
|
144
|
+
}
|
|
145
|
+
.dark .seventh-border-gradient {
|
|
146
|
+
border-image-source: linear-gradient(58.51deg, #26282b 35.88%, #393d40 85.8%);
|
|
147
|
+
}
|
|
148
|
+
.dark .eighth-border-gradient {
|
|
149
|
+
border-image-source: linear-gradient(0deg, #26282b 0%, #393d40 100%);
|
|
150
|
+
}
|
|
151
|
+
.dark .ninth-border-gradient {
|
|
152
|
+
border-image-source: linear-gradient(41.08deg, #26282b 6.74%, #393d40 63.33%, #26282b 91.03%);
|
|
153
|
+
}
|
|
154
|
+
</style>
|
|
@@ -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;
|
|
@@ -23,8 +23,8 @@ type __VLS_Slots = {} & {
|
|
|
23
23
|
};
|
|
24
24
|
declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{}>, {
|
|
25
25
|
name: string;
|
|
26
|
-
title: string;
|
|
27
26
|
transition: boolean;
|
|
27
|
+
title: string;
|
|
28
28
|
overlay: boolean;
|
|
29
29
|
preventClose: boolean;
|
|
30
30
|
fullscreen: boolean;
|
|
@@ -39,12 +39,12 @@ type __VLS_Slots = {} & {
|
|
|
39
39
|
declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
40
40
|
"update:modelValue": (value: any) => any;
|
|
41
41
|
} & {
|
|
42
|
-
opened: () => any;
|
|
43
42
|
closed: () => any;
|
|
43
|
+
opened: () => any;
|
|
44
44
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
45
45
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
46
|
-
onOpened?: (() => any) | undefined;
|
|
47
46
|
onClosed?: (() => any) | undefined;
|
|
47
|
+
onOpened?: (() => any) | undefined;
|
|
48
48
|
}>, {
|
|
49
49
|
side: Side;
|
|
50
50
|
width: string;
|
|
@@ -39,8 +39,8 @@ const typeSwitchValues = {
|
|
|
39
39
|
</script>
|
|
40
40
|
|
|
41
41
|
<template>
|
|
42
|
-
<div :class="[[classes], customClasses]">
|
|
43
|
-
<slot name="point" />
|
|
44
|
-
<slot />
|
|
45
|
-
</div>
|
|
42
|
+
<div :class="[[classes], customClasses]">
|
|
43
|
+
<slot name="point" />
|
|
44
|
+
<slot />
|
|
45
|
+
</div>
|
|
46
46
|
</template>
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
import IChevronDown from "#icons/arrow/chevron-down.vue";
|
|
83
83
|
import CheckboxActive from "#icons/checkbox/checkbox-active.vue";
|
|
84
84
|
const props = defineProps({
|
|
85
|
-
node: { type:
|
|
85
|
+
node: { type: null, required: true },
|
|
86
86
|
toggleExpand: { type: Function, required: true },
|
|
87
87
|
toggleCheckbox: { type: Function, required: true },
|
|
88
88
|
type: { type: String, required: true }
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const useCurrentModule: () =>
|
|
2
|
-
export declare const useContacts: () =>
|
|
1
|
+
export declare const useCurrentModule: () => any;
|
|
2
|
+
export declare const useContacts: () => any;
|
|
@@ -1,23 +1,13 @@
|
|
|
1
1
|
export declare function useIdModals(): {
|
|
2
|
-
accessModal:
|
|
3
|
-
loginModal:
|
|
4
|
-
twoFactorModal:
|
|
5
|
-
registrationModal:
|
|
6
|
-
confirmAccountOtpModal:
|
|
7
|
-
recoveryModal:
|
|
8
|
-
resetPasswordOtpModal:
|
|
9
|
-
newPasswordModal:
|
|
10
|
-
passwordSuccessfulModal:
|
|
11
|
-
confirmSuccessfulModal:
|
|
12
|
-
intermediateState:
|
|
13
|
-
email: string;
|
|
14
|
-
password: string;
|
|
15
|
-
otp: string;
|
|
16
|
-
token: string;
|
|
17
|
-
}, {
|
|
18
|
-
email: string;
|
|
19
|
-
password: string;
|
|
20
|
-
otp: string;
|
|
21
|
-
token: string;
|
|
22
|
-
}>;
|
|
2
|
+
accessModal: any;
|
|
3
|
+
loginModal: any;
|
|
4
|
+
twoFactorModal: any;
|
|
5
|
+
registrationModal: any;
|
|
6
|
+
confirmAccountOtpModal: any;
|
|
7
|
+
recoveryModal: any;
|
|
8
|
+
resetPasswordOtpModal: any;
|
|
9
|
+
newPasswordModal: any;
|
|
10
|
+
passwordSuccessfulModal: any;
|
|
11
|
+
confirmSuccessfulModal: any;
|
|
12
|
+
intermediateState: any;
|
|
23
13
|
};
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import IconSearch from "#adata-ui/icons/search.vue";
|
|
2
|
+
import IconGlobe from "#adata-ui/icons/globe.vue";
|
|
3
|
+
import IconScales from "#adata-ui/icons/scale.vue";
|
|
4
|
+
import IconLink from "#adata-ui/icons/link-chain.vue";
|
|
5
|
+
import IconBlock from "#adata-ui/icons/block.vue";
|
|
6
|
+
import IconDollar from "#adata-ui/icons/currency/dollar.vue";
|
|
7
|
+
import IconUsersThree from "#adata-ui/icons/users/users-three.vue";
|
|
8
|
+
import IconArrowSquareDown from "#adata-ui/icons/other-service/arrow-square-down.vue";
|
|
9
|
+
import IconExpandWindow from "#adata-ui/icons/navigation/expand-window.vue";
|
|
10
|
+
import { buildLocalizedUrl } from "#adata-ui/utils/localizedNavigation";
|
|
11
|
+
import { PAGES } from "#adata-ui/shared/constants/pages";
|
|
12
|
+
import { useUrls } from "#adata-ui/utils/useUrls";
|
|
13
|
+
import { useI18n } from "#imports";
|
|
14
|
+
export const useServicesLinks = () => {
|
|
15
|
+
const { t, locale } = useI18n();
|
|
16
|
+
const urls = useUrls();
|
|
17
|
+
return [
|
|
18
|
+
{
|
|
19
|
+
title: t("header.products.counterparties.items.counterparty.title"),
|
|
20
|
+
icon: IconSearch,
|
|
21
|
+
to: buildLocalizedUrl(locale.value, urls.pk, PAGES.pk.main)
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
title: t("header.products.counterparties.items.wholesale.title"),
|
|
25
|
+
icon: IconUsersThree,
|
|
26
|
+
to: buildLocalizedUrl(locale.value, urls.pk, PAGES.pk.employees)
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
title: t("header.products.counterparties.items.networks.title"),
|
|
30
|
+
icon: IconLink,
|
|
31
|
+
to: buildLocalizedUrl(locale.value, urls.pk, PAGES.pk.connections)
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
title: t("header.products.counterparties.items.offshore.title"),
|
|
35
|
+
icon: IconDollar,
|
|
36
|
+
to: buildLocalizedUrl(locale.value, urls.pk, PAGES.pk.offshore)
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
title: t("header.products.counterparties.items.foreign.title"),
|
|
40
|
+
icon: IconGlobe,
|
|
41
|
+
to: buildLocalizedUrl(locale.value, urls.pk, PAGES.pk.foreign)
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
title: t("header.products.counterparties.items.unloading.title"),
|
|
45
|
+
icon: IconArrowSquareDown,
|
|
46
|
+
to: buildLocalizedUrl(locale.value, urls.pk, PAGES.pk.unload)
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
title: t("header.products.counterparties.items.compare.title"),
|
|
50
|
+
icon: IconScales,
|
|
51
|
+
to: buildLocalizedUrl(locale.value, urls.pk, PAGES.pk.compare)
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
title: t("header.products.counterparties.items.sanction.title"),
|
|
55
|
+
icon: IconBlock,
|
|
56
|
+
to: buildLocalizedUrl(locale.value, urls.pk, PAGES.pk.sanctions)
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
title: t("all_services"),
|
|
60
|
+
icon: IconExpandWindow,
|
|
61
|
+
to: buildLocalizedUrl(locale.value, urls.landing, PAGES.allServices)
|
|
62
|
+
}
|
|
63
|
+
];
|
|
64
|
+
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export declare function usePayment(): {
|
|
2
|
-
rateId:
|
|
3
|
-
topUpSidePanel:
|
|
4
|
-
methodSidePanel:
|
|
5
|
-
kaspiQRSidePanel:
|
|
6
|
-
kaspiRedirectSidePanel:
|
|
2
|
+
rateId: any;
|
|
3
|
+
topUpSidePanel: any;
|
|
4
|
+
methodSidePanel: any;
|
|
5
|
+
kaspiQRSidePanel: any;
|
|
6
|
+
kaspiRedirectSidePanel: any;
|
|
7
7
|
payByCard: (sum: number, rate?: any) => Promise<void>;
|
|
8
8
|
};
|
|
@@ -772,6 +772,7 @@ declare const _default: {
|
|
|
772
772
|
changeMethod: string;
|
|
773
773
|
};
|
|
774
774
|
};
|
|
775
|
+
all_services: string;
|
|
775
776
|
};
|
|
776
777
|
en: {
|
|
777
778
|
lang: {
|
|
@@ -1541,6 +1542,7 @@ declare const _default: {
|
|
|
1541
1542
|
changeMethod: string;
|
|
1542
1543
|
};
|
|
1543
1544
|
};
|
|
1545
|
+
all_services: string;
|
|
1544
1546
|
};
|
|
1545
1547
|
kk: {
|
|
1546
1548
|
lang: {
|
|
@@ -2310,6 +2312,7 @@ declare const _default: {
|
|
|
2310
2312
|
changeMethod: string;
|
|
2311
2313
|
};
|
|
2312
2314
|
};
|
|
2315
|
+
all_services: string;
|
|
2313
2316
|
};
|
|
2314
2317
|
};
|
|
2315
2318
|
};
|
package/dist/runtime/i18n.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: any;
|
|
2
2
|
export default _default;
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
|
|
3
|
-
</script>
|
|
4
|
-
|
|
5
|
-
<template>
|
|
6
|
-
<svg
|
|
7
|
-
width="25"
|
|
8
|
-
height="24"
|
|
9
|
-
viewBox="0 0 25 24"
|
|
10
|
-
fill="none"
|
|
11
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
12
|
-
>
|
|
13
|
-
<path
|
|
14
|
-
fill-rule="evenodd"
|
|
15
|
-
clip-rule="evenodd"
|
|
16
|
-
d="M8.70938 5.23017C8.99647 4.93159 9.47125 4.92228 9.76983 5.20938L16.2698 11.4594C16.4169 11.6008 16.5 11.796 16.5 12C16.5 12.204 16.4169 12.3992 16.2698 12.5406L9.76983 18.7906C9.47125 19.0777 8.99647 19.0684 8.70938 18.7698C8.42228 18.4713 8.43159 17.9965 8.73017 17.7094L14.6679 12L8.73017 6.29063C8.43159 6.00353 8.42228 5.52875 8.70938 5.23017Z"
|
|
17
|
-
fill="currentColor"
|
|
18
|
-
/>
|
|
19
|
-
</svg>
|
|
20
|
-
</template>
|
|
21
|
-
|
|
22
|
-
<style scoped>
|
|
23
|
-
|
|
24
|
-
</style>
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
|
|
3
|
+
</script>
|
|
4
|
+
|
|
5
|
+
<template>
|
|
6
|
+
<svg
|
|
7
|
+
width="25"
|
|
8
|
+
height="24"
|
|
9
|
+
viewBox="0 0 25 24"
|
|
10
|
+
fill="none"
|
|
11
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
12
|
+
>
|
|
13
|
+
<path
|
|
14
|
+
fill-rule="evenodd"
|
|
15
|
+
clip-rule="evenodd"
|
|
16
|
+
d="M8.70938 5.23017C8.99647 4.93159 9.47125 4.92228 9.76983 5.20938L16.2698 11.4594C16.4169 11.6008 16.5 11.796 16.5 12C16.5 12.204 16.4169 12.3992 16.2698 12.5406L9.76983 18.7906C9.47125 19.0777 8.99647 19.0684 8.70938 18.7698C8.42228 18.4713 8.43159 17.9965 8.73017 17.7094L14.6679 12L8.73017 6.29063C8.43159 6.00353 8.42228 5.52875 8.70938 5.23017Z"
|
|
17
|
+
fill="currentColor"
|
|
18
|
+
/>
|
|
19
|
+
</svg>
|
|
20
|
+
</template>
|
|
21
|
+
|
|
22
|
+
<style scoped>
|
|
23
|
+
|
|
24
|
+
</style>
|