adata-ui 2.1.27 → 2.1.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.
@@ -5,10 +5,12 @@ type Placement = 'left' | 'right'
5
5
 
6
6
  interface Props {
7
7
  placement: Placement
8
+ fullWidth?: boolean
8
9
  }
9
10
 
10
11
  const props = withDefaults(defineProps<Props>(), {
11
- placement: "right"
12
+ placement: "right",
13
+ fullWidth: false,
12
14
  })
13
15
 
14
16
  const expanded = ref(false)
@@ -88,6 +90,7 @@ onMounted(() => {
88
90
  ref="card"
89
91
  v-if="expanded"
90
92
  class="absolute z-20 mt-5 lg:mt-4 shadow-md rounded-[0.5rem] top-[44px] lg:top-[initial]"
93
+ :class="{ 'w-full': fullWidth }"
91
94
  >
92
95
  <slot
93
96
  name="content"
@@ -51,7 +51,7 @@ const socialMedia = [
51
51
 
52
52
  const mainLinks = computed(() => ({
53
53
  services: {
54
- title: t('footer.services'),
54
+ title: t('footer.productsAndSolutions'),
55
55
  link: buildLocalizedUrl(locale.value, urls.landing, PAGES.allServices),
56
56
  items: [
57
57
  [
@@ -74,6 +74,7 @@ const mainLinks = computed(() => ({
74
74
  {
75
75
  title: t('footer.zakupki.title'),
76
76
  link: urls.zakupki + PAGES.tender.main,
77
+ isNew: true
77
78
  }
78
79
  ],
79
80
  [
@@ -120,6 +121,10 @@ const mainLinks = computed(() => ({
120
121
  title: t('footer.info.counterparty'),
121
122
  link: buildLocalizedUrl(locale.value, urls.pk, PAGES.pk.counterparty),
122
123
  },
124
+ {
125
+ title: t('footer.info.onlineServices'),
126
+ link: buildLocalizedUrl(locale.value, urls.pk, PAGES.services + '/taxpayer'),
127
+ },
123
128
  ]
124
129
  ]
125
130
  }
@@ -24,21 +24,21 @@ const navs: any = [
24
24
  label: 'header.navs.tariffs',
25
25
  to: landing + PAGES.tariffs
26
26
  },
27
- {
28
- label: 'header.navs.api',
29
- to: landing + PAGES.api
30
- },
27
+ // {
28
+ // label: 'header.navs.api',
29
+ // to: landing + PAGES.api
30
+ // },
31
31
  ]
32
32
 
33
- const pageUrl = useRequestURL()
34
- if (pageUrl.hostname.startsWith('pk')) {
35
- navs.push(
36
- {
37
- label: 'header.navs.services',
38
- to: pk + PAGES.services + '/kgd'
39
- }
40
- )
41
- }
33
+ // const pageUrl = useRequestURL()
34
+ // if (pageUrl.hostname.startsWith('pk')) {
35
+ // navs.push(
36
+ // {
37
+ // label: 'header.navs.services',
38
+ // to: pk + PAGES.services + '/kgd'
39
+ // }
40
+ // )
41
+ // }
42
42
 
43
43
  const menu = ref<HTMLElement | null>(null)
44
44
  const isBodyAlreadyLocked = ref<boolean>(false)
@@ -75,12 +75,13 @@ const toggleMenu = (index: number) => {
75
75
  if (pageUrl.hostname.includes('edo')) code = '?code=edo'
76
76
 
77
77
  navigateToLocalizedPage({ locale, projectUrl: landing, path: PAGES.tariffs + code, target: '_blank' })
78
- } else if (index === 3) {
79
- navigateToLocalizedPage({ locale, projectUrl: landing, path: PAGES.api, target: '_blank' })
80
- }
81
- else if (index === 4) {
82
- navigateToLocalizedPage({ locale, projectUrl: pk, path: PAGES.services + '/kgd', target: '_blank' })
83
78
  }
79
+ // else if (index === 3) {
80
+ // navigateToLocalizedPage({ locale, projectUrl: landing, path: PAGES.api, target: '_blank' })
81
+ // }
82
+ // else if (index === 4) {
83
+ // navigateToLocalizedPage({ locale, projectUrl: pk, path: PAGES.services + '/kgd', target: '_blank' })
84
+ // }
84
85
  else {
85
86
  currentMenu.value = currentMenuToShow(index)
86
87
  const prev = currentIndex.value
package/lang/en.ts CHANGED
@@ -352,6 +352,7 @@ const EnLocale: RuLocale = {
352
352
  },
353
353
  },
354
354
  footer: {
355
+ productsAndSolutions: 'Products and Solutions',
355
356
  services: 'Services',
356
357
  useful: 'Useful',
357
358
  contacts: {
@@ -369,6 +370,7 @@ const EnLocale: RuLocale = {
369
370
  vacancy: 'Vacancies',
370
371
  counterparty: 'Enterprise Catalog',
371
372
  contacts: 'Contacts',
373
+ onlineServices: 'Online services',
372
374
  },
373
375
  counterparties: {
374
376
  title: 'Counterparties',
package/lang/kk.ts CHANGED
@@ -353,6 +353,7 @@ const KkLocale: RuLocale = {
353
353
  },
354
354
  },
355
355
  footer: {
356
+ productsAndSolutions: 'Өнімдер мен шешімдер',
356
357
  services: 'Қызметтер',
357
358
  useful: 'Пайдалы',
358
359
  contacts: {
@@ -370,6 +371,7 @@ const KkLocale: RuLocale = {
370
371
  vacancy: 'Бос орындар',
371
372
  counterparty: 'Кәсіпорындар каталогы',
372
373
  contacts: 'Байланыс',
374
+ onlineServices: 'Онлайн қызметтер',
373
375
  },
374
376
  counterparties: {
375
377
  title: 'Контрагенттер',
package/lang/ru.ts CHANGED
@@ -352,6 +352,7 @@ const RuLocale = {
352
352
  },
353
353
  },
354
354
  footer: {
355
+ productsAndSolutions: 'Продукты и решения',
355
356
  services: 'Сервисы',
356
357
  useful: 'Полезное',
357
358
  contacts: {
@@ -369,6 +370,7 @@ const RuLocale = {
369
370
  vacancy: 'Вакансии',
370
371
  counterparty: 'Каталог предприятий',
371
372
  contacts: 'Контакты',
373
+ onlineServices: 'Онлайн сервисы',
372
374
  },
373
375
  counterparties: {
374
376
  title: 'Контрагенты',
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "adata-ui",
3
3
  "type": "module",
4
- "version": "2.1.27",
4
+ "version": "2.1.28",
5
5
  "main": "./nuxt.config.ts",
6
6
  "scripts": {
7
7
  "dev": "nuxi dev .playground",