adata-ui 2.1.41-beta.21 → 2.1.41-beta.23
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/.playground/app.vue +51 -0
- package/.playground/nuxt.config.ts +3 -0
- package/components/elements/calendar-v2/ACalendarV2.vue +1150 -0
- package/components/elements/calendar-v2/ADatePickerV2.vue +508 -0
- package/components/elements/calendar-v2/README.md +127 -0
- package/components/elements/calendar-v2/date-utils.ts +217 -0
- package/components/elements/calendar-v2/presets.ts +58 -0
- package/components/elements/calendar-v2/types.ts +84 -0
- package/components/elements/select/ASelectV2.vue +32 -8
- package/components/elements/select/ui/select-trigger.vue +53 -10
- package/composables/useHeaderNavigationLinks.ts +14 -28
- package/icons/download-2.vue +16 -0
- package/icons/download-rounded.vue +5 -4
- package/icons/play.vue +14 -0
- package/lang/en.ts +34 -19
- package/lang/kk.ts +34 -19
- package/lang/ru.ts +34 -19
- package/package.json +1 -1
- package/shared/constans/pages.ts +4 -6
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
|
|
3
|
+
</script>
|
|
4
|
+
|
|
5
|
+
<template>
|
|
6
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor"
|
|
7
|
+
stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-download preview-icon">
|
|
8
|
+
<path d="M12 15V3"/>
|
|
9
|
+
<path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"/>
|
|
10
|
+
<path d="m7 10 5 5 5-5"/>
|
|
11
|
+
</svg>
|
|
12
|
+
</template>
|
|
13
|
+
|
|
14
|
+
<style scoped>
|
|
15
|
+
|
|
16
|
+
</style>
|
|
@@ -3,10 +3,11 @@
|
|
|
3
3
|
</script>
|
|
4
4
|
|
|
5
5
|
<template>
|
|
6
|
-
<svg width="
|
|
7
|
-
|
|
8
|
-
<path d="
|
|
9
|
-
<path d="
|
|
6
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor"
|
|
7
|
+
stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-download preview-icon">
|
|
8
|
+
<path d="M12 15V3"/>
|
|
9
|
+
<path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"/>
|
|
10
|
+
<path d="m7 10 5 5 5-5"/>
|
|
10
11
|
</svg>
|
|
11
12
|
</template>
|
|
12
13
|
|
package/icons/play.vue
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<script lang="ts" setup="">
|
|
2
|
+
|
|
3
|
+
</script>
|
|
4
|
+
|
|
5
|
+
<template>
|
|
6
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor"
|
|
7
|
+
stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-play preview-icon">
|
|
8
|
+
<path d="M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z"/>
|
|
9
|
+
</svg>
|
|
10
|
+
</template>
|
|
11
|
+
|
|
12
|
+
<style scoped>
|
|
13
|
+
|
|
14
|
+
</style>
|
package/lang/en.ts
CHANGED
|
@@ -212,13 +212,13 @@ const EnLocale: RuLocale = {
|
|
|
212
212
|
fea: {
|
|
213
213
|
label: 'Foreign Economic Activity',
|
|
214
214
|
items: {
|
|
215
|
-
|
|
216
|
-
t: '
|
|
217
|
-
st: '
|
|
215
|
+
product: {
|
|
216
|
+
t: 'Product analysis',
|
|
217
|
+
st: '',
|
|
218
218
|
},
|
|
219
|
-
|
|
220
|
-
t: '
|
|
221
|
-
st: '
|
|
219
|
+
importer: {
|
|
220
|
+
t: 'Importer analysis',
|
|
221
|
+
st: '',
|
|
222
222
|
},
|
|
223
223
|
cp: {
|
|
224
224
|
t: 'Customs-related sphere',
|
|
@@ -228,16 +228,8 @@ const EnLocale: RuLocale = {
|
|
|
228
228
|
t: 'Calculator',
|
|
229
229
|
st: 'Calculation of Customs Payments. Customs Duties. Customs Fees',
|
|
230
230
|
},
|
|
231
|
-
|
|
232
|
-
t: '
|
|
233
|
-
st: 'Customs Tariffs and Quotas. Measures for Protecting the Domestic Market. Regulatory Requirements',
|
|
234
|
-
},
|
|
235
|
-
importerMap: {
|
|
236
|
-
t: 'Map of importers',
|
|
237
|
-
st: '',
|
|
238
|
-
},
|
|
239
|
-
containers: {
|
|
240
|
-
t: 'Containers',
|
|
231
|
+
container: {
|
|
232
|
+
t: 'Container tracking',
|
|
241
233
|
st: '',
|
|
242
234
|
},
|
|
243
235
|
},
|
|
@@ -563,6 +555,29 @@ const EnLocale: RuLocale = {
|
|
|
563
555
|
subTitle: 'The server took too long to respond. Check your connection and try again.',
|
|
564
556
|
},
|
|
565
557
|
},
|
|
558
|
+
calendar: {
|
|
559
|
+
clear: 'Clear',
|
|
560
|
+
done: 'Done',
|
|
561
|
+
open: 'Open calendar',
|
|
562
|
+
time: 'Time',
|
|
563
|
+
from: 'From',
|
|
564
|
+
to: 'To',
|
|
565
|
+
hours: 'Hours',
|
|
566
|
+
minutes: 'Minutes',
|
|
567
|
+
prevMonth: 'Previous month',
|
|
568
|
+
nextMonth: 'Next month',
|
|
569
|
+
prevYear: 'Previous year',
|
|
570
|
+
nextYear: 'Next year',
|
|
571
|
+
presets: {
|
|
572
|
+
today: 'Today',
|
|
573
|
+
yesterday: 'Yesterday',
|
|
574
|
+
last7: 'Last 7 days',
|
|
575
|
+
last30: 'Last 30 days',
|
|
576
|
+
thisMonth: 'This month',
|
|
577
|
+
prevMonth: 'Last month',
|
|
578
|
+
thisYear: 'This year',
|
|
579
|
+
},
|
|
580
|
+
},
|
|
566
581
|
actions: {
|
|
567
582
|
goToMainPage: 'Go to Main Page',
|
|
568
583
|
showMore: 'Show more',
|
|
@@ -609,7 +624,7 @@ const EnLocale: RuLocale = {
|
|
|
609
624
|
password: 'Password',
|
|
610
625
|
},
|
|
611
626
|
placeholders: {
|
|
612
|
-
email: '
|
|
627
|
+
email: 'Enter email',
|
|
613
628
|
password: 'Enter password',
|
|
614
629
|
},
|
|
615
630
|
},
|
|
@@ -622,7 +637,7 @@ const EnLocale: RuLocale = {
|
|
|
622
637
|
password_confirmation: 'Confirm password',
|
|
623
638
|
},
|
|
624
639
|
placeholders: {
|
|
625
|
-
email: '
|
|
640
|
+
email: 'Enter email',
|
|
626
641
|
password: 'Create a password',
|
|
627
642
|
password_confirmation: 'Repeat password',
|
|
628
643
|
},
|
|
@@ -652,7 +667,7 @@ const EnLocale: RuLocale = {
|
|
|
652
667
|
title: 'Password recovery',
|
|
653
668
|
content: 'Enter your email address',
|
|
654
669
|
label: 'Email',
|
|
655
|
-
placeholder: '
|
|
670
|
+
placeholder: 'Enter email',
|
|
656
671
|
},
|
|
657
672
|
resetPasswordOtp: {
|
|
658
673
|
title: 'Confirm action',
|
package/lang/kk.ts
CHANGED
|
@@ -212,13 +212,13 @@ const KkLocale: RuLocale = {
|
|
|
212
212
|
fea: {
|
|
213
213
|
label: 'СЭҚ',
|
|
214
214
|
items: {
|
|
215
|
-
|
|
216
|
-
t: '
|
|
217
|
-
st: '
|
|
215
|
+
product: {
|
|
216
|
+
t: 'Тауарды талдау',
|
|
217
|
+
st: '',
|
|
218
218
|
},
|
|
219
|
-
|
|
220
|
-
t: '
|
|
221
|
-
st: '
|
|
219
|
+
importer: {
|
|
220
|
+
t: 'Импорттаушыны талдау',
|
|
221
|
+
st: '',
|
|
222
222
|
},
|
|
223
223
|
cp: {
|
|
224
224
|
t: 'Кеденге қатысты сала',
|
|
@@ -228,16 +228,8 @@ const KkLocale: RuLocale = {
|
|
|
228
228
|
t: 'Калькулятор',
|
|
229
229
|
st: 'Кедендік төлемдерді есептеу. Кедендік баждар. Кедендік алымдар',
|
|
230
230
|
},
|
|
231
|
-
|
|
232
|
-
t: '
|
|
233
|
-
st: 'Кедендік тарифтер мен квоталар. Ішкі нарықты қорғау шаралары. Нормативтік талаптар',
|
|
234
|
-
},
|
|
235
|
-
importerMap: {
|
|
236
|
-
t: 'Импорттаушының картасы',
|
|
237
|
-
st: '',
|
|
238
|
-
},
|
|
239
|
-
containers: {
|
|
240
|
-
t: 'Контейнерлер',
|
|
231
|
+
container: {
|
|
232
|
+
t: 'Контейнерді қадағалау',
|
|
241
233
|
st: '',
|
|
242
234
|
},
|
|
243
235
|
},
|
|
@@ -564,6 +556,29 @@ const KkLocale: RuLocale = {
|
|
|
564
556
|
subTitle: 'Сервер тым ұзақ жауап бермеді. Байланысты тексеріп, қайта көріңіз.',
|
|
565
557
|
},
|
|
566
558
|
},
|
|
559
|
+
calendar: {
|
|
560
|
+
clear: 'Тазалау',
|
|
561
|
+
done: 'Дайын',
|
|
562
|
+
open: 'Күнтізбені ашу',
|
|
563
|
+
time: 'Уақыт',
|
|
564
|
+
from: 'Бастап',
|
|
565
|
+
to: 'Дейін',
|
|
566
|
+
hours: 'Сағат',
|
|
567
|
+
minutes: 'Минут',
|
|
568
|
+
prevMonth: 'Алдыңғы ай',
|
|
569
|
+
nextMonth: 'Келесі ай',
|
|
570
|
+
prevYear: 'Алдыңғы жыл',
|
|
571
|
+
nextYear: 'Келесі жыл',
|
|
572
|
+
presets: {
|
|
573
|
+
today: 'Бүгін',
|
|
574
|
+
yesterday: 'Кеше',
|
|
575
|
+
last7: 'Соңғы 7 күн',
|
|
576
|
+
last30: 'Соңғы 30 күн',
|
|
577
|
+
thisMonth: 'Осы ай',
|
|
578
|
+
prevMonth: 'Өткен ай',
|
|
579
|
+
thisYear: 'Осы жыл',
|
|
580
|
+
},
|
|
581
|
+
},
|
|
567
582
|
actions: {
|
|
568
583
|
goToMainPage: 'Негізгі бетке өту',
|
|
569
584
|
showMore: 'Көбірек көрсету',
|
|
@@ -610,7 +625,7 @@ const KkLocale: RuLocale = {
|
|
|
610
625
|
password: 'Құпия сөз',
|
|
611
626
|
},
|
|
612
627
|
placeholders: {
|
|
613
|
-
email: '
|
|
628
|
+
email: 'Email енгізіңіз',
|
|
614
629
|
password: 'Құпия сөз енгізіңіз',
|
|
615
630
|
},
|
|
616
631
|
},
|
|
@@ -623,7 +638,7 @@ const KkLocale: RuLocale = {
|
|
|
623
638
|
password_confirmation: 'Құпия сөзді растаңыз',
|
|
624
639
|
},
|
|
625
640
|
placeholders: {
|
|
626
|
-
email: '
|
|
641
|
+
email: 'Email енгізіңіз',
|
|
627
642
|
password: 'Құпия сөз ойлап табыңыз',
|
|
628
643
|
password_confirmation: 'Құпия сөзді қайталаңыз',
|
|
629
644
|
},
|
|
@@ -653,7 +668,7 @@ const KkLocale: RuLocale = {
|
|
|
653
668
|
title: 'Құпия сөзді қалпына келтіру',
|
|
654
669
|
content: 'Электрондық поштаңызды енгізіңіз',
|
|
655
670
|
label: 'Email',
|
|
656
|
-
placeholder: '
|
|
671
|
+
placeholder: 'Email енгізіңіз',
|
|
657
672
|
},
|
|
658
673
|
resetPasswordOtp: {
|
|
659
674
|
title: 'Әрекетті растау',
|
package/lang/ru.ts
CHANGED
|
@@ -213,13 +213,13 @@ const RuLocale = {
|
|
|
213
213
|
fea: {
|
|
214
214
|
label: 'ВЭД',
|
|
215
215
|
items: {
|
|
216
|
-
|
|
217
|
-
t: '
|
|
218
|
-
st: '
|
|
216
|
+
product: {
|
|
217
|
+
t: 'Анализ товара',
|
|
218
|
+
st: '',
|
|
219
219
|
},
|
|
220
|
-
|
|
221
|
-
t: '
|
|
222
|
-
st: '
|
|
220
|
+
importer: {
|
|
221
|
+
t: 'Анализ импортера',
|
|
222
|
+
st: '',
|
|
223
223
|
},
|
|
224
224
|
cp: {
|
|
225
225
|
t: 'Околотаможенная сфера',
|
|
@@ -229,16 +229,8 @@ const RuLocale = {
|
|
|
229
229
|
t: 'Калькулятор',
|
|
230
230
|
st: 'Расчет таможенных платежей. Таможенные пошлины. Таможенные сборы',
|
|
231
231
|
},
|
|
232
|
-
|
|
233
|
-
t: '
|
|
234
|
-
st: 'Таможенные тарифы и квоты. Меры защиты внутреннего рынка. Нормативные требования',
|
|
235
|
-
},
|
|
236
|
-
importerMap: {
|
|
237
|
-
t: 'Карта импортёра',
|
|
238
|
-
st: '',
|
|
239
|
-
},
|
|
240
|
-
containers: {
|
|
241
|
-
t: 'Контейнеры',
|
|
232
|
+
container: {
|
|
233
|
+
t: 'Отслеживание контейнера',
|
|
242
234
|
st: '',
|
|
243
235
|
},
|
|
244
236
|
},
|
|
@@ -564,6 +556,29 @@ const RuLocale = {
|
|
|
564
556
|
subTitle: 'Сервер слишком долго не отвечал. Проверьте соединение и попробуйте снова.',
|
|
565
557
|
},
|
|
566
558
|
},
|
|
559
|
+
calendar: {
|
|
560
|
+
clear: 'Очистить',
|
|
561
|
+
done: 'Готово',
|
|
562
|
+
open: 'Открыть календарь',
|
|
563
|
+
time: 'Время',
|
|
564
|
+
from: 'С',
|
|
565
|
+
to: 'По',
|
|
566
|
+
hours: 'Часы',
|
|
567
|
+
minutes: 'Минуты',
|
|
568
|
+
prevMonth: 'Предыдущий месяц',
|
|
569
|
+
nextMonth: 'Следующий месяц',
|
|
570
|
+
prevYear: 'Предыдущий год',
|
|
571
|
+
nextYear: 'Следующий год',
|
|
572
|
+
presets: {
|
|
573
|
+
today: 'Сегодня',
|
|
574
|
+
yesterday: 'Вчера',
|
|
575
|
+
last7: 'Последние 7 дней',
|
|
576
|
+
last30: 'Последние 30 дней',
|
|
577
|
+
thisMonth: 'Этот месяц',
|
|
578
|
+
prevMonth: 'Прошлый месяц',
|
|
579
|
+
thisYear: 'Этот год',
|
|
580
|
+
},
|
|
581
|
+
},
|
|
567
582
|
actions: {
|
|
568
583
|
goToMainPage: 'Перейти на главную',
|
|
569
584
|
showMore: 'Показать еще',
|
|
@@ -610,7 +625,7 @@ const RuLocale = {
|
|
|
610
625
|
password: 'Пароль',
|
|
611
626
|
},
|
|
612
627
|
placeholders: {
|
|
613
|
-
email: '
|
|
628
|
+
email: 'Введите email',
|
|
614
629
|
password: 'Введите пароль',
|
|
615
630
|
},
|
|
616
631
|
},
|
|
@@ -623,7 +638,7 @@ const RuLocale = {
|
|
|
623
638
|
password_confirmation: 'Подтвердите пароль',
|
|
624
639
|
},
|
|
625
640
|
placeholders: {
|
|
626
|
-
email: '
|
|
641
|
+
email: 'Введите email',
|
|
627
642
|
password: 'Придумайте пароль',
|
|
628
643
|
password_confirmation: 'Повторите пароль',
|
|
629
644
|
},
|
|
@@ -653,7 +668,7 @@ const RuLocale = {
|
|
|
653
668
|
title: 'Восстановление пароля',
|
|
654
669
|
content: 'Укажите Вашу электронную почту',
|
|
655
670
|
label: 'Email',
|
|
656
|
-
placeholder: '
|
|
671
|
+
placeholder: 'Введите email',
|
|
657
672
|
},
|
|
658
673
|
resetPasswordOtp: {
|
|
659
674
|
title: 'Подтвердите действие',
|
package/package.json
CHANGED
package/shared/constans/pages.ts
CHANGED
|
@@ -67,13 +67,11 @@ export const PAGES = {
|
|
|
67
67
|
},
|
|
68
68
|
fea: {
|
|
69
69
|
main: '/',
|
|
70
|
-
t: '/fea',
|
|
71
|
-
cp: '/custom',
|
|
72
|
-
o: '/tree',
|
|
73
70
|
ca: '/calculator',
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
71
|
+
productSearch: '/product/search',
|
|
72
|
+
importer: '/importer',
|
|
73
|
+
customs: '/customs',
|
|
74
|
+
container: '/container',
|
|
77
75
|
},
|
|
78
76
|
compliance: {
|
|
79
77
|
l: '/compliance',
|