adata-ui 2.0.21 → 2.0.22

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.
@@ -28,8 +28,8 @@ export interface ILoginForm {
28
28
  }
29
29
 
30
30
  const loginSchema = z.object({
31
- username: z.string().nonempty(t('errors.required')).email(t('register.form.errors.email')),
32
- password: z.string().nonempty(t('errors.required'))
31
+ username: z.string().nonempty(t('register.form.errors.required')).email(t('register.form.errors.email')),
32
+ password: z.string().nonempty(t('register.form.errors.required'))
33
33
  })
34
34
 
35
35
  const validation = computed(() => {
@@ -117,21 +117,26 @@ export const useHeaderNavigationLinks = () => {
117
117
  }
118
118
  ]
119
119
  },
120
+
120
121
  {
121
- key: 'compliance',
122
- is_new: true,
123
- name: t('header.products.compliance.label'),
124
- icon: AIconId,
122
+ key: 'work',
123
+ name: t('header.products.jobs.label'),
124
+ icon: AIconWorkBag,
125
125
  items: [
126
126
  {
127
- title: t('header.products.compliance.items.l.t'),
128
- subtitle: t('header.products.compliance.items.l.st'),
129
- icon: IconProfile,
130
- to: buildLocalizedUrl(locale, `${myLayer.complianceUrl}/compliance`, '')
127
+ title: t('header.products.jobs.items.vacancies.title'),
128
+ icon: IconWork,
129
+ subtitle: t('header.products.jobs.items.vacancies.subtitle'),
130
+ to: myLayer.workUrl + PAGES.work.vacancy
131
+ },
132
+ {
133
+ title: t('header.products.jobs.items.resume.title'),
134
+ subtitle: t('header.products.jobs.items.resume.subtitle'),
135
+ icon: IconDocument,
136
+ to: myLayer.workUrl + PAGES.work.summary
131
137
  }
132
138
  ]
133
139
  },
134
-
135
140
  {
136
141
  key: 'tenders',
137
142
  name: t('header.products.tenders.label'),
@@ -267,21 +272,16 @@ export const useHeaderNavigationLinks = () => {
267
272
  ]
268
273
  },
269
274
  {
270
- key: 'work',
271
- name: t('header.products.jobs.label'),
272
- icon: AIconWorkBag,
275
+ key: 'compliance',
276
+ is_new: true,
277
+ name: t('header.products.compliance.label'),
278
+ icon: AIconId,
273
279
  items: [
274
280
  {
275
- title: t('header.products.jobs.items.vacancies.title'),
276
- icon: IconWork,
277
- subtitle: t('header.products.jobs.items.vacancies.subtitle'),
278
- to: myLayer.workUrl + PAGES.work.vacancy
279
- },
280
- {
281
- title: t('header.products.jobs.items.resume.title'),
282
- subtitle: t('header.products.jobs.items.resume.subtitle'),
283
- icon: IconDocument,
284
- to: myLayer.workUrl + PAGES.work.summary
281
+ title: t('header.products.compliance.items.l.t'),
282
+ subtitle: t('header.products.compliance.items.l.st'),
283
+ icon: IconProfile,
284
+ to: buildLocalizedUrl(locale, `${myLayer.complianceUrl}/compliance`, '')
285
285
  }
286
286
  ]
287
287
  },
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "adata-ui",
3
3
  "type": "module",
4
- "version": "2.0.21",
4
+ "version": "2.0.22",
5
5
  "main": "./nuxt.config.ts",
6
6
  "scripts": {
7
7
  "dev": "nuxi dev .playground",