adata-ui 2.0.72 → 2.0.74

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,9 +5,9 @@ import * as z from 'zod'
5
5
  import { useUrls } from '#adata-ui/composables/useUrls'
6
6
 
7
7
  const { $toast } = useNuxtApp()
8
- const { myLayer, commonAuth } = useAppConfig()
8
+ const { commonAuth } = useAppConfig()
9
9
  const { t, locale } = useI18n()
10
- const { pk, mode } = useUrls()
10
+ const { pk, landing } = useUrls()
11
11
 
12
12
  const regex = /^\/counterparty\/main\/company\/\d+\/basic-info$/;
13
13
 
@@ -174,7 +174,7 @@ function onRegister() {
174
174
  function toTariffs() {
175
175
  return navigateToLocalizedPage({
176
176
  locale,
177
- projectUrl: myLayer.landingUrl,
177
+ projectUrl: landing,
178
178
  path: '/tariffs',
179
179
  target: '_self',
180
180
  })
@@ -158,7 +158,7 @@ onBeforeMount(() => {
158
158
  <nav class="hidden items-center gap-4 lg:flex">
159
159
  <nuxt-link-locale
160
160
  aria-label="Adata-logo"
161
- :to="buildLocalizedUrl(locale, myLayer.landingUrl)"
161
+ :to="buildLocalizedUrl(locale, urls.landing)"
162
162
  class="text-deepblue cursor-pointer dark:text-[#E3E5E8]"
163
163
  @click="goToAnotherModule"
164
164
  >
@@ -24,7 +24,6 @@ defineEmits(['logout'])
24
24
 
25
25
  const { t } = useI18n()
26
26
 
27
- const { myLayer }: any = useAppConfig()
28
27
  const { locale } = useI18n()
29
28
 
30
29
  // const { topUpSidePanel } = usePayment()
@@ -11,7 +11,7 @@ export function useUrls() {
11
11
  zakupki: `https://zakupki.${mode}.kz`,
12
12
  avto: `https://avto.${mode}.kz`,
13
13
  analytics: `https://analytics.${mode}.kz`,
14
- analyticsNew: `https://analytics-new${mode}.kz`,
14
+ analyticsNew: `https://analytics-new.${mode}.kz`,
15
15
  tnved: `https://tnved.${mode}.kz`,
16
16
  edo: `https://edo.${mode}.kz`,
17
17
  compliance: `https://ac.${mode}.kz/compliance`,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "adata-ui",
3
3
  "type": "module",
4
- "version": "2.0.72",
4
+ "version": "2.0.74",
5
5
  "main": "./nuxt.config.ts",
6
6
  "scripts": {
7
7
  "dev": "nuxi dev .playground",