adata-ui 4.0.26 → 4.0.28
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.json +1 -1
- package/dist/runtime/components/DigitBadge.vue +1 -0
- package/dist/runtime/components/OtherServiceFeatures.vue +4 -3
- package/dist/runtime/components/modals/NoAccessContent.vue +54 -0
- package/dist/runtime/components/modals/NoAccessContent.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/package.json +1 -1
package/dist/module.json
CHANGED
|
@@ -12,6 +12,7 @@ import AIconArrowTopRightOnSquare from "../icons/other-service/arrow-top-right-o
|
|
|
12
12
|
import { PAGES } from "../shared/constants/pages";
|
|
13
13
|
import { useAppConfig } from "#imports";
|
|
14
14
|
import { useLocalePath, useI18n } from "#i18n";
|
|
15
|
+
import { navigateTo } from "#app";
|
|
15
16
|
const { tm, rt, t } = useI18n();
|
|
16
17
|
const route = useRoute();
|
|
17
18
|
const localePath = useLocalePath();
|
|
@@ -21,13 +22,13 @@ const afterClasses = 'after:content-[""] after:w-full after:h-[0.5px] after:bott
|
|
|
21
22
|
const iconById = [AIconMagnifyingGlass, AIconUsersThree, AIconLink, AIconGlobe, AIconArrowSquareDown, AIconCurrencyDollar, AIconBlock, AIconStandingScales, AIconArrowTopRightOnSquare];
|
|
22
23
|
const linkByIndex = [
|
|
23
24
|
`https://pk.${mode}.kz` + PAGES.pk.main,
|
|
24
|
-
`https://pk.${mode}.kz` + PAGES.pk.
|
|
25
|
+
`https://pk.${mode}.kz` + PAGES.pk.employees,
|
|
25
26
|
`https://pk.${mode}.kz` + PAGES.pk.connections,
|
|
26
27
|
`https://pk.${mode}.kz` + PAGES.pk.foreign,
|
|
27
|
-
`https://pk.${mode}.kz` + PAGES.pk.
|
|
28
|
+
`https://pk.${mode}.kz` + PAGES.pk.unload,
|
|
28
29
|
`https://pk.${mode}.kz` + PAGES.pk.offshore,
|
|
29
30
|
`https://pk.${mode}.kz` + PAGES.pk.sanctions,
|
|
30
|
-
`https://pk.${mode}.kz` + PAGES.pk.
|
|
31
|
+
`https://pk.${mode}.kz` + PAGES.pk.compare,
|
|
31
32
|
`https://${mode}.kz/all-services`
|
|
32
33
|
];
|
|
33
34
|
async function handleClick(link) {
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import AButton from "../button/Button.vue";
|
|
3
|
+
import { useAppConfig, useI18n } from "#imports";
|
|
4
|
+
import { navigateTo } from "#app";
|
|
5
|
+
import { useLocalePath } from "#i18n";
|
|
6
|
+
const emit = defineEmits(["close"]);
|
|
7
|
+
const { t } = useI18n();
|
|
8
|
+
const appConfig = useAppConfig();
|
|
9
|
+
const mode = appConfig.adataUI.mode;
|
|
10
|
+
const localePath = useLocalePath();
|
|
11
|
+
function logIn() {
|
|
12
|
+
return navigateTo(localePath(`https://id.${mode}.kz`));
|
|
13
|
+
}
|
|
14
|
+
function register() {
|
|
15
|
+
return navigateTo(localePath(`https://id.${mode}.kz/register`));
|
|
16
|
+
}
|
|
17
|
+
</script>
|
|
18
|
+
|
|
19
|
+
<template>
|
|
20
|
+
<div class="flex flex-col justify-center items-center gap-5">
|
|
21
|
+
<h1 class="font-bold text-2xl text-center">
|
|
22
|
+
{{ t("modals.auth.title") }}
|
|
23
|
+
</h1>
|
|
24
|
+
<i-modals-door class="size-30" />
|
|
25
|
+
<p class="text-sm text-center">
|
|
26
|
+
{{ t("modals.auth.content") }}
|
|
27
|
+
</p>
|
|
28
|
+
<a-button
|
|
29
|
+
variant="success"
|
|
30
|
+
class="w-full"
|
|
31
|
+
@click="logIn"
|
|
32
|
+
>
|
|
33
|
+
{{ t("modals.buttons.logIn") }}
|
|
34
|
+
</a-button>
|
|
35
|
+
<p class="text-sm text-center">
|
|
36
|
+
{{ t("modals.auth.firstTime") }}
|
|
37
|
+
</p>
|
|
38
|
+
<div class="flex gap-2 items-center w-full">
|
|
39
|
+
<a-button
|
|
40
|
+
view="outline"
|
|
41
|
+
class="w-full"
|
|
42
|
+
@click="emit('close')"
|
|
43
|
+
>
|
|
44
|
+
{{ t("modals.buttons.close") }}
|
|
45
|
+
</a-button>
|
|
46
|
+
<a-button
|
|
47
|
+
class="w-full"
|
|
48
|
+
@click="register"
|
|
49
|
+
>
|
|
50
|
+
{{ t("modals.buttons.register") }}
|
|
51
|
+
</a-button>
|
|
52
|
+
</div>
|
|
53
|
+
</div>
|
|
54
|
+
</template>
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { useColorMode, computed } from "#imports";
|
|
3
|
+
const colorMode = useColorMode();
|
|
4
|
+
const isDark = computed(() => colorMode.value === "dark");
|
|
5
|
+
</script>
|
|
6
|
+
|
|
7
|
+
<template>
|
|
8
|
+
<svg
|
|
9
|
+
v-if="!isDark"
|
|
10
|
+
width="120"
|
|
11
|
+
height="120"
|
|
12
|
+
viewBox="0 0 120 120"
|
|
13
|
+
fill="none"
|
|
14
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
15
|
+
>
|
|
16
|
+
<circle
|
|
17
|
+
cx="50"
|
|
18
|
+
cy="50"
|
|
19
|
+
r="50"
|
|
20
|
+
transform="matrix(-1 0 0 1 110 10)"
|
|
21
|
+
fill="#BDC7CE"
|
|
22
|
+
fill-opacity="0.15"
|
|
23
|
+
/>
|
|
24
|
+
<g clip-path="url(#clip0_12333_18200)">
|
|
25
|
+
<path
|
|
26
|
+
d="M56.7411 109.514L92.5039 101.607V20.426L56.7411 10.4863V109.514Z"
|
|
27
|
+
fill="white"
|
|
28
|
+
stroke="#9DA3AC"
|
|
29
|
+
stroke-linecap="round"
|
|
30
|
+
stroke-linejoin="round"
|
|
31
|
+
/>
|
|
32
|
+
<path
|
|
33
|
+
opacity="0.2"
|
|
34
|
+
d="M86.267 96.0144V18.6948L92.5039 20.426V101.607L56.7411 109.514V102.54L86.267 96.0144Z"
|
|
35
|
+
fill="#BDC7CE"
|
|
36
|
+
/>
|
|
37
|
+
<path
|
|
38
|
+
d="M64.1992 60.5737H74.1306"
|
|
39
|
+
stroke="#9DA3AC"
|
|
40
|
+
stroke-linecap="round"
|
|
41
|
+
stroke-linejoin="round"
|
|
42
|
+
/>
|
|
43
|
+
<path
|
|
44
|
+
d="M50.4941 19.3174H35.1204V102.044H50.4941"
|
|
45
|
+
fill="white"
|
|
46
|
+
/>
|
|
47
|
+
<path
|
|
48
|
+
d="M50.4941 19.3174H35.1204V102.044H50.4941"
|
|
49
|
+
stroke="#9DA3AC"
|
|
50
|
+
stroke-linecap="round"
|
|
51
|
+
stroke-linejoin="round"
|
|
52
|
+
/>
|
|
53
|
+
<ellipse
|
|
54
|
+
cx="1.98627"
|
|
55
|
+
cy="1.94514"
|
|
56
|
+
rx="1.98627"
|
|
57
|
+
ry="1.94514"
|
|
58
|
+
transform="matrix(-1 0 0 1 66.1855 58.6289)"
|
|
59
|
+
fill="#9DA3AC"
|
|
60
|
+
/>
|
|
61
|
+
</g>
|
|
62
|
+
<path
|
|
63
|
+
d="M35.121 69.8328C40.7102 69.8328 45.2411 65.3957 45.2411 59.9222C45.2411 54.4488 40.7102 50.0117 35.121 50.0117C29.5319 50.0117 25.001 54.4488 25.001 59.9222C25.001 65.3957 29.5319 69.8328 35.121 69.8328Z"
|
|
64
|
+
fill="#BDC7CE"
|
|
65
|
+
/>
|
|
66
|
+
<path
|
|
67
|
+
d="M29.8877 59.7085H40.3553"
|
|
68
|
+
stroke="white"
|
|
69
|
+
stroke-linecap="round"
|
|
70
|
+
stroke-linejoin="round"
|
|
71
|
+
/>
|
|
72
|
+
<path
|
|
73
|
+
d="M35.9951 55.3706L40.355 59.7083L35.9951 64.4739"
|
|
74
|
+
stroke="white"
|
|
75
|
+
stroke-linecap="round"
|
|
76
|
+
stroke-linejoin="round"
|
|
77
|
+
/>
|
|
78
|
+
<defs>
|
|
79
|
+
<clipPath id="clip0_12333_18200">
|
|
80
|
+
<rect
|
|
81
|
+
width="68"
|
|
82
|
+
height="100"
|
|
83
|
+
fill="white"
|
|
84
|
+
transform="matrix(-1 0 0 1 93 10)"
|
|
85
|
+
/>
|
|
86
|
+
</clipPath>
|
|
87
|
+
</defs>
|
|
88
|
+
</svg>
|
|
89
|
+
<svg
|
|
90
|
+
v-else
|
|
91
|
+
width="120"
|
|
92
|
+
height="120"
|
|
93
|
+
viewBox="0 0 120 120"
|
|
94
|
+
fill="none"
|
|
95
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
96
|
+
>
|
|
97
|
+
<circle
|
|
98
|
+
cx="50"
|
|
99
|
+
cy="50"
|
|
100
|
+
r="50"
|
|
101
|
+
transform="matrix(-1 0 0 1 110 10)"
|
|
102
|
+
fill="#BDC7CE"
|
|
103
|
+
fill-opacity="0.15"
|
|
104
|
+
/>
|
|
105
|
+
<g clip-path="url(#clip0_12333_9271)">
|
|
106
|
+
<path
|
|
107
|
+
d="M56.7411 109.514L92.5039 101.607V20.426L56.7411 10.4863V109.514Z"
|
|
108
|
+
fill="#26282B"
|
|
109
|
+
stroke="#9DA3AC"
|
|
110
|
+
stroke-linecap="round"
|
|
111
|
+
stroke-linejoin="round"
|
|
112
|
+
/>
|
|
113
|
+
<path
|
|
114
|
+
opacity="0.2"
|
|
115
|
+
d="M86.267 96.0144V18.6948L92.5039 20.426V101.607L56.7411 109.514V102.54L86.267 96.0144Z"
|
|
116
|
+
fill="#BDC7CE"
|
|
117
|
+
/>
|
|
118
|
+
<path
|
|
119
|
+
d="M64.1992 60.5737H74.1306"
|
|
120
|
+
stroke="#9DA3AC"
|
|
121
|
+
stroke-linecap="round"
|
|
122
|
+
stroke-linejoin="round"
|
|
123
|
+
/>
|
|
124
|
+
<path
|
|
125
|
+
d="M50.4941 19.3174H35.1204V102.044H50.4941"
|
|
126
|
+
fill="#26282B"
|
|
127
|
+
/>
|
|
128
|
+
<path
|
|
129
|
+
d="M50.4941 19.3174H35.1204V102.044H50.4941"
|
|
130
|
+
stroke="#9DA3AC"
|
|
131
|
+
stroke-linecap="round"
|
|
132
|
+
stroke-linejoin="round"
|
|
133
|
+
/>
|
|
134
|
+
<ellipse
|
|
135
|
+
cx="1.98627"
|
|
136
|
+
cy="1.94514"
|
|
137
|
+
rx="1.98627"
|
|
138
|
+
ry="1.94514"
|
|
139
|
+
transform="matrix(-1 0 0 1 66.1855 58.6289)"
|
|
140
|
+
fill="#9DA3AC"
|
|
141
|
+
/>
|
|
142
|
+
</g>
|
|
143
|
+
<path
|
|
144
|
+
d="M35.1205 69.8328C40.7097 69.8328 45.2406 65.3957 45.2406 59.9222C45.2406 54.4488 40.7097 50.0117 35.1205 50.0117C29.5314 50.0117 25.0005 54.4488 25.0005 59.9222C25.0005 65.3957 29.5314 69.8328 35.1205 69.8328Z"
|
|
145
|
+
fill="#BDC7CE"
|
|
146
|
+
/>
|
|
147
|
+
<path
|
|
148
|
+
d="M29.8872 59.7085H40.3549"
|
|
149
|
+
stroke="#26282B"
|
|
150
|
+
stroke-linecap="round"
|
|
151
|
+
stroke-linejoin="round"
|
|
152
|
+
/>
|
|
153
|
+
<path
|
|
154
|
+
d="M35.9946 55.3706L40.3545 59.7083L35.9946 64.4739"
|
|
155
|
+
stroke="#26282B"
|
|
156
|
+
stroke-linecap="round"
|
|
157
|
+
stroke-linejoin="round"
|
|
158
|
+
/>
|
|
159
|
+
<defs>
|
|
160
|
+
<clipPath id="clip0_12333_9271">
|
|
161
|
+
<rect
|
|
162
|
+
width="68"
|
|
163
|
+
height="100"
|
|
164
|
+
fill="white"
|
|
165
|
+
transform="matrix(-1 0 0 1 93 10)"
|
|
166
|
+
/>
|
|
167
|
+
</clipPath>
|
|
168
|
+
</defs>
|
|
169
|
+
</svg>
|
|
170
|
+
</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;
|