adata-ui 2.0.16 → 2.0.17
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.
|
@@ -118,7 +118,7 @@ function isCurrentModule(currentModule: string) {
|
|
|
118
118
|
<div class="flex gap-[10px] divide-x divide-gray-500/50">
|
|
119
119
|
<div class="flex flex-col gap-5 w-[290px]">
|
|
120
120
|
<nav-list
|
|
121
|
-
v-for="module in filteredItems.slice(0,
|
|
121
|
+
v-for="module in filteredItems.slice(0,2)"
|
|
122
122
|
:id="module.key"
|
|
123
123
|
:key="module.key"
|
|
124
124
|
:current-module="pageUrl.hostname.startsWith(isCurrentModule(module.key))"
|
|
@@ -126,11 +126,12 @@ function isCurrentModule(currentModule: string) {
|
|
|
126
126
|
:nav-list="module.items"
|
|
127
127
|
:to="module.to"
|
|
128
128
|
:icon="module.icon"
|
|
129
|
+
:badge="module.is_new"
|
|
129
130
|
/>
|
|
130
131
|
</div>
|
|
131
132
|
<div class="flex flex-col gap-5 w-[290px] pl-[10px]">
|
|
132
133
|
<nav-list
|
|
133
|
-
v-for="module in filteredItems.slice(
|
|
134
|
+
v-for="module in filteredItems.slice(2,5)"
|
|
134
135
|
:id="module.key"
|
|
135
136
|
:key="module.key"
|
|
136
137
|
:current-module="pageUrl.hostname.startsWith(isCurrentModule(module.key))"
|
|
@@ -138,11 +139,12 @@ function isCurrentModule(currentModule: string) {
|
|
|
138
139
|
:nav-list="module.items"
|
|
139
140
|
:to="module.to"
|
|
140
141
|
:icon="module.icon"
|
|
142
|
+
:badge="module.is_new"
|
|
141
143
|
/>
|
|
142
144
|
</div>
|
|
143
145
|
<div class="flex flex-col gap-5 w-[330px] pl-[10px]">
|
|
144
146
|
<nav-list
|
|
145
|
-
v-for="module in filteredItems.slice(
|
|
147
|
+
v-for="module in filteredItems.slice(5,8)"
|
|
146
148
|
:id="module.key"
|
|
147
149
|
:key="module.key"
|
|
148
150
|
:current-module="pageUrl.hostname.startsWith(isCurrentModule(module.key))"
|
|
@@ -150,7 +152,7 @@ function isCurrentModule(currentModule: string) {
|
|
|
150
152
|
:nav-list="module.items"
|
|
151
153
|
:to="module.to"
|
|
152
154
|
:icon="module.icon"
|
|
153
|
-
badge
|
|
155
|
+
:badge="module.is_new"
|
|
154
156
|
/>
|
|
155
157
|
</div>
|
|
156
158
|
</div>
|
|
@@ -53,6 +53,7 @@ export const useHeaderNavigationLinks = () => {
|
|
|
53
53
|
return [
|
|
54
54
|
{
|
|
55
55
|
key: 'edo',
|
|
56
|
+
is_new: true,
|
|
56
57
|
name: t('header.products.edo.label'),
|
|
57
58
|
icon: AIconFiles,
|
|
58
59
|
items: [
|
|
@@ -64,19 +65,6 @@ export const useHeaderNavigationLinks = () => {
|
|
|
64
65
|
}
|
|
65
66
|
]
|
|
66
67
|
},
|
|
67
|
-
{
|
|
68
|
-
key: 'compliance',
|
|
69
|
-
name: t('header.products.compliance.label'),
|
|
70
|
-
icon: AIconId,
|
|
71
|
-
items: [
|
|
72
|
-
{
|
|
73
|
-
title: t('header.products.compliance.items.l.t'),
|
|
74
|
-
subtitle: t('header.products.compliance.items.l.st'),
|
|
75
|
-
icon: IconProfile,
|
|
76
|
-
to: buildLocalizedUrl(locale, `${myLayer.complianceUrl}/compliance`, '')
|
|
77
|
-
}
|
|
78
|
-
]
|
|
79
|
-
},
|
|
80
68
|
{
|
|
81
69
|
key: 'pk',
|
|
82
70
|
name: t('header.products.counterparties.label'),
|
|
@@ -130,24 +118,20 @@ export const useHeaderNavigationLinks = () => {
|
|
|
130
118
|
]
|
|
131
119
|
},
|
|
132
120
|
{
|
|
133
|
-
key: '
|
|
134
|
-
|
|
135
|
-
|
|
121
|
+
key: 'compliance',
|
|
122
|
+
is_new: true,
|
|
123
|
+
name: t('header.products.compliance.label'),
|
|
124
|
+
icon: AIconId,
|
|
136
125
|
items: [
|
|
137
126
|
{
|
|
138
|
-
title: t('header.products.
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
to: myLayer.
|
|
142
|
-
},
|
|
143
|
-
{
|
|
144
|
-
title: t('header.products.jobs.items.resume.title'),
|
|
145
|
-
subtitle: t('header.products.jobs.items.resume.subtitle'),
|
|
146
|
-
icon: IconDocument,
|
|
147
|
-
to: myLayer.workUrl + PAGES.work.summary
|
|
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`, '')
|
|
148
131
|
}
|
|
149
132
|
]
|
|
150
133
|
},
|
|
134
|
+
|
|
151
135
|
{
|
|
152
136
|
key: 'tenders',
|
|
153
137
|
name: t('header.products.tenders.label'),
|
|
@@ -174,31 +158,6 @@ export const useHeaderNavigationLinks = () => {
|
|
|
174
158
|
}
|
|
175
159
|
]
|
|
176
160
|
},
|
|
177
|
-
{
|
|
178
|
-
key: 'fines',
|
|
179
|
-
name: t('header.products.fines.label'),
|
|
180
|
-
icon: AIconCar,
|
|
181
|
-
items: [
|
|
182
|
-
{
|
|
183
|
-
title: t('header.products.fines.items.fines.title'),
|
|
184
|
-
subtitle: t('header.products.fines.items.fines.subtitle'),
|
|
185
|
-
icon: IconCheckCircle,
|
|
186
|
-
to: buildLocalizedUrl(locale, myLayer.avtoUrl, PAGES.fines.main)
|
|
187
|
-
},
|
|
188
|
-
{
|
|
189
|
-
title: t('header.products.fines.items.auto.title'),
|
|
190
|
-
subtitle: t('header.products.fines.items.auto.subtitle'),
|
|
191
|
-
icon: IconCar,
|
|
192
|
-
to: buildLocalizedUrl(locale, myLayer.avtoUrl, PAGES.fines.avto)
|
|
193
|
-
},
|
|
194
|
-
{
|
|
195
|
-
title: t('header.products.fines.items.wholesaleAuto.title'),
|
|
196
|
-
subtitle: t('header.products.fines.items.wholesaleAuto.subtitle'),
|
|
197
|
-
icon: IconTruck,
|
|
198
|
-
to: buildLocalizedUrl(locale, myLayer.avtoUrl, PAGES.fines.bulk)
|
|
199
|
-
}
|
|
200
|
-
]
|
|
201
|
-
},
|
|
202
161
|
{
|
|
203
162
|
key: 'analytics',
|
|
204
163
|
name: t('header.products.analytics.label'),
|
|
@@ -231,8 +190,34 @@ export const useHeaderNavigationLinks = () => {
|
|
|
231
190
|
}
|
|
232
191
|
]
|
|
233
192
|
},
|
|
193
|
+
{
|
|
194
|
+
key: 'fines',
|
|
195
|
+
name: t('header.products.fines.label'),
|
|
196
|
+
icon: AIconCar,
|
|
197
|
+
items: [
|
|
198
|
+
{
|
|
199
|
+
title: t('header.products.fines.items.fines.title'),
|
|
200
|
+
subtitle: t('header.products.fines.items.fines.subtitle'),
|
|
201
|
+
icon: IconCheckCircle,
|
|
202
|
+
to: buildLocalizedUrl(locale, myLayer.avtoUrl, PAGES.fines.main)
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
title: t('header.products.fines.items.auto.title'),
|
|
206
|
+
subtitle: t('header.products.fines.items.auto.subtitle'),
|
|
207
|
+
icon: IconCar,
|
|
208
|
+
to: buildLocalizedUrl(locale, myLayer.avtoUrl, PAGES.fines.avto)
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
title: t('header.products.fines.items.wholesaleAuto.title'),
|
|
212
|
+
subtitle: t('header.products.fines.items.wholesaleAuto.subtitle'),
|
|
213
|
+
icon: IconTruck,
|
|
214
|
+
to: buildLocalizedUrl(locale, myLayer.avtoUrl, PAGES.fines.bulk)
|
|
215
|
+
}
|
|
216
|
+
]
|
|
217
|
+
},
|
|
234
218
|
{
|
|
235
219
|
key: 'fea',
|
|
220
|
+
is_new: true,
|
|
236
221
|
name: t('header.products.fea.label'),
|
|
237
222
|
icon: AIconGlobe,
|
|
238
223
|
items: [
|
|
@@ -281,7 +266,25 @@ export const useHeaderNavigationLinks = () => {
|
|
|
281
266
|
},
|
|
282
267
|
]
|
|
283
268
|
},
|
|
284
|
-
|
|
269
|
+
{
|
|
270
|
+
key: 'work',
|
|
271
|
+
name: t('header.products.jobs.label'),
|
|
272
|
+
icon: AIconWorkBag,
|
|
273
|
+
items: [
|
|
274
|
+
{
|
|
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
|
|
285
|
+
}
|
|
286
|
+
]
|
|
287
|
+
},
|
|
285
288
|
]
|
|
286
289
|
})
|
|
287
290
|
}
|