adata-ui 2.1.5 → 2.1.7

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.
@@ -4,6 +4,7 @@ import { useUIValidation } from '#adata-ui/composables/useUIValidation'
4
4
 
5
5
  const props = defineProps<{
6
6
  isError?: boolean,
7
+ errorText?: string
7
8
  }>()
8
9
 
9
10
  const emit = defineEmits<{
@@ -60,7 +61,7 @@ defineExpose({
60
61
  color="red"
61
62
  class="mt-1"
62
63
  >
63
- {{ getError('note') || (isError ? t('forms.leaveNote.limit') : '') }}
64
+ {{ getError('note') || (isError ? (!!errorText ? errorText : t('forms.leaveNote.limit')) : '') }}
64
65
  </a-alert>
65
66
  </template>
66
67
  </a-textarea>
@@ -280,9 +280,9 @@ const sideLinks = <any>{
280
280
  link: urls.compliancemain + PAGES.compliance.assistant
281
281
  },
282
282
  {
283
- label: 'header.products.compliance.items.inspection.t',
283
+ label: 'header.products.compliance.items.assignments.t',
284
284
  icon: Tasks,
285
- link: urls.compliancemain + PAGES.compliance.inspection
285
+ link: urls.compliancemain + PAGES.compliance.assignments
286
286
  },
287
287
  {
288
288
  label: 'header.products.compliance.items.hotline.t',
@@ -283,10 +283,10 @@ export const useHeaderNavigationLinks = () => {
283
283
  to: urls.compliancemain + PAGES.compliance.assistant
284
284
  },
285
285
  {
286
- title: t('header.products.compliance.items.inspection.t'),
287
- subtitle: t('header.products.compliance.items.inspection.st'),
286
+ title: t('header.products.compliance.items.assignments.t'),
287
+ subtitle: t('header.products.compliance.items.assignments.st'),
288
288
  icon: Tasks,
289
- to: urls.compliancemain + PAGES.compliance.inspection
289
+ to: urls.compliancemain + PAGES.compliance.assignments
290
290
  },
291
291
  {
292
292
  title: t('header.products.compliance.items.hotline.t'),
package/lang/en.ts CHANGED
@@ -243,7 +243,7 @@ const EnLocale: RuLocale = {
243
243
  t: 'AI assistant',
244
244
  st: '',
245
245
  },
246
- inspection: {
246
+ assignments: {
247
247
  t: 'Tasks',
248
248
  st: '',
249
249
  },
package/lang/kk.ts CHANGED
@@ -243,7 +243,7 @@ const KkLocale: RuLocale = {
243
243
  t: 'Жасанды интеллект көмекшісі',
244
244
  st: '',
245
245
  },
246
- inspection: {
246
+ assignments: {
247
247
  t: 'Тапсырмалар',
248
248
  st: '',
249
249
  },
package/lang/ru.ts CHANGED
@@ -244,7 +244,7 @@ const RuLocale = {
244
244
  t: 'AI ассистент',
245
245
  st: '',
246
246
  },
247
- inspection: {
247
+ assignments: {
248
248
  t: 'Задачи',
249
249
  st: '',
250
250
  },
@@ -618,7 +618,7 @@ const RuLocale = {
618
618
  auth: {
619
619
  title: 'Нет доступа',
620
620
  content: 'Данный функционал доступен только авторизованным пользователям',
621
- firstTime: 'Впервые на нашем сервисе?',
621
+ firstTime: 'Впервые в нашем сервисе?',
622
622
  },
623
623
  limit: {
624
624
  title: 'Лимит исчерпан',
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "adata-ui",
3
3
  "type": "module",
4
- "version": "2.1.5",
4
+ "version": "2.1.7",
5
5
  "main": "./nuxt.config.ts",
6
6
  "scripts": {
7
7
  "dev": "nuxi dev .playground",
@@ -77,6 +77,7 @@ export const PAGES = {
77
77
  l: '/',
78
78
  assistant: '/assistant',
79
79
  inspection: '/inspection',
80
+ assignments: '/assignments',
80
81
  hotline: '/hotline',
81
82
  sanctions: '/sanctions',
82
83
  suppliers: '/dossier/suppliers',