adata-ui 2.0.26 → 2.0.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.
@@ -41,13 +41,12 @@ import {
41
41
  AIconArrowSquareDown, AIconExpandWindow
42
42
  } from '#components'
43
43
  import MapPinRect from '#adata-ui/icons/map/map-pin-rect.vue'
44
- import MagnifyingGlass from '#adata-ui/icons/magnify/magnifying-glass.vue'
45
44
  import MapPaper from '#adata-ui/icons/map-paper.vue'
46
45
 
47
46
  export const useHeaderNavigationLinks = () => {
48
47
  const { t, locale } = useI18n()
49
48
  const { myLayer } = useAppConfig()
50
- const localePath = useLocalePath()
49
+ const mode = myLayer.mode
51
50
 
52
51
  return computed(() => {
53
52
  return [
@@ -61,7 +60,7 @@ export const useHeaderNavigationLinks = () => {
61
60
  title: t('header.products.edo.items.l.t'),
62
61
  subtitle: t('header.products.edo.items.l.t'),
63
62
  icon: AIconFiles,
64
- to: buildLocalizedUrl(locale, myLayer?.edoUrl ?? `https://edo.adata.kz` , '')
63
+ to: buildLocalizedUrl(locale, `https://edo.${mode}.kz` , '')
65
64
  }
66
65
  ]
67
66
  },
@@ -69,55 +68,54 @@ export const useHeaderNavigationLinks = () => {
69
68
  key: 'pk',
70
69
  name: t('header.products.counterparties.label'),
71
70
  icon: AIconUsersThree,
72
- to: myLayer.pkUrl,
71
+ to: `https://pk.${mode}.kz`,
73
72
  items: [
74
73
  {
75
74
  title: t('header.products.counterparties.items.counterparty.title'),
76
75
  subtitle: t('header.products.counterparties.items.counterparty.subtitle'),
77
76
  icon: IconSearch,
78
- to: buildLocalizedUrl(locale, myLayer.pkUrl, PAGES.pk.main),
77
+ to: buildLocalizedUrl(locale, `https://pk.${mode}.kz`, PAGES.pk.main),
79
78
  },
80
79
  {
81
80
  title: t('header.products.counterparties.items.unloading.title'),
82
81
  subtitle: t('header.products.counterparties.items.unloading.subtitle'),
83
82
  icon: IconArrowCircle,
84
- to: buildLocalizedUrl(locale, myLayer.pkUrl, PAGES.pk.unload),
83
+ to: buildLocalizedUrl(locale, `https://pk.${mode}.kz`, PAGES.pk.unload),
85
84
  },
86
85
  {
87
86
  title: t('header.products.counterparties.items.wholesale.title'),
88
87
  subtitle: t('header.products.counterparties.items.wholesale.subtitle'),
89
88
  icon: IconUsers,
90
- to: buildLocalizedUrl(locale, myLayer.pkUrl, PAGES.pk.employees),
89
+ to: buildLocalizedUrl(locale, `https://pk.${mode}.kz`, PAGES.pk.employees),
91
90
  },
92
91
  {
93
92
  title: t('header.products.counterparties.items.foreign.title'),
94
93
  subtitle: t('header.products.counterparties.items.foreign.subtitle'),
95
94
  icon: IconGlobe,
96
- to: buildLocalizedUrl(locale, myLayer.pkUrl, PAGES.pk.foreign),
95
+ to: buildLocalizedUrl(locale, `https://pk.${mode}.kz`, PAGES.pk.foreign),
97
96
  },
98
97
  {
99
98
  title: t('header.products.counterparties.items.compare.title'),
100
99
  icon: IconScales,
101
- to: buildLocalizedUrl(locale, myLayer.pkUrl, PAGES.pk.compare),
100
+ to: buildLocalizedUrl(locale, `https://pk.${mode}.kz`, PAGES.pk.compare),
102
101
  },
103
102
  {
104
103
  title: t('header.products.counterparties.items.networks.title'),
105
104
  icon: IconLink,
106
- to: buildLocalizedUrl(locale, myLayer.pkUrl, PAGES.pk.connections)
105
+ to: buildLocalizedUrl(locale, `https://pk.${mode}.kz`, PAGES.pk.connections)
107
106
  },
108
107
  {
109
108
  title: t('header.products.counterparties.items.sanction.title'),
110
109
  icon: IconBlock,
111
- to: buildLocalizedUrl(locale, myLayer.pkUrl, PAGES.pk.sanctions)
110
+ to: buildLocalizedUrl(locale, `https://pk.${mode}.kz`, PAGES.pk.sanctions)
112
111
  },
113
112
  {
114
113
  title: t('header.products.counterparties.items.offshore.title'),
115
114
  icon: IconDollar,
116
- to: buildLocalizedUrl(locale, myLayer.pkUrl, PAGES.pk.offshore)
115
+ to: buildLocalizedUrl(locale, `https://pk.${mode}.kz`, PAGES.pk.offshore)
117
116
  }
118
117
  ]
119
118
  },
120
-
121
119
  {
122
120
  key: 'work',
123
121
  name: t('header.products.jobs.label'),
@@ -127,13 +125,13 @@ export const useHeaderNavigationLinks = () => {
127
125
  title: t('header.products.jobs.items.vacancies.title'),
128
126
  icon: IconWork,
129
127
  subtitle: t('header.products.jobs.items.vacancies.subtitle'),
130
- to: myLayer.workUrl + PAGES.work.vacancy
128
+ to: `https://work.${mode}.kz` + PAGES.work.vacancy
131
129
  },
132
130
  {
133
131
  title: t('header.products.jobs.items.resume.title'),
134
132
  subtitle: t('header.products.jobs.items.resume.subtitle'),
135
133
  icon: IconDocument,
136
- to: myLayer.workUrl + PAGES.work.summary
134
+ to: `https://work.${mode}.kz` + PAGES.work.summary
137
135
  }
138
136
  ]
139
137
  },
@@ -141,25 +139,25 @@ export const useHeaderNavigationLinks = () => {
141
139
  key: 'tenders',
142
140
  name: t('header.products.tenders.label'),
143
141
  icon: AIconReceipt,
144
- to: myLayer.tenderUrl,
142
+ to: `https://tender.${mode}.kz`,
145
143
  items: [
146
144
  {
147
145
  title: t('header.products.tenders.items.tenders.title'),
148
146
  subtitle: t('header.products.tenders.items.tenders.subtitle'),
149
147
  icon: IconSearch,
150
- to: myLayer.tenderUrl + PAGES.tender.main
148
+ to: `https://tender.${mode}.kz` + PAGES.tender.main
151
149
  },
152
150
  {
153
151
  title: t('header.products.tenders.items.procurement.title'),
154
152
  subtitle: t('header.products.tenders.items.procurement.subtitle'),
155
153
  icon: IconCheck,
156
- to: myLayer.tenderUrl + PAGES.tender.plans
154
+ to: `https://tender.${mode}.kz` + PAGES.tender.plans
157
155
  },
158
156
  {
159
157
  title: t('header.products.tenders.items.contracts.title'),
160
158
  subtitle: t('header.products.tenders.items.contracts.subtitle'),
161
159
  icon: IconFile,
162
- to: myLayer.tenderUrl + PAGES.tender.contracts
160
+ to: `https://tender.${mode}.kz` + PAGES.tender.contracts
163
161
  }
164
162
  ]
165
163
  },
@@ -172,26 +170,26 @@ export const useHeaderNavigationLinks = () => {
172
170
  title: t('header.products.analytics.items.procurement.title'),
173
171
  subtitle: t('header.products.analytics.items.procurement.subtitle'),
174
172
  icon: IconClipboardText,
175
- to: buildLocalizedUrl(locale, myLayer.analyticsNewUrl, PAGES.analytics.main)
173
+ to: buildLocalizedUrl(locale, `https://analytics-new.${mode}.kz`, PAGES.analytics.main)
176
174
  },
177
175
  {
178
176
  title: t('header.products.analytics.items.activity.title'),
179
177
  subtitle: t('header.products.analytics.items.activity.subtitle'),
180
178
  icon: IconArrowGraph,
181
- to: buildLocalizedUrl(locale, myLayer.analyticsNewUrl, PAGES.analytics.index)
179
+ to: buildLocalizedUrl(locale, `https://analytics-new.${mode}.kz`, PAGES.analytics.index)
182
180
 
183
181
  },
184
182
  {
185
183
  title: t('header.products.analytics.items.rate.title'),
186
184
  subtitle: t('header.products.analytics.items.rate.subtitle'),
187
185
  icon: IconMedal,
188
- to: buildLocalizedUrl(locale, myLayer.analyticsNewUrl, PAGES.analytics.rating)
186
+ to: buildLocalizedUrl(locale, `https://analytics-new.${mode}.kz`, PAGES.analytics.rating)
189
187
  },
190
188
  {
191
189
  title: t('header.products.analytics.items.subjects.title'),
192
190
  subtitle: t('header.products.analytics.items.subjects.subtitle'),
193
191
  icon: IconCompany,
194
- to: buildLocalizedUrl(locale, myLayer.analyticsNewUrl, PAGES.analytics.business)
192
+ to: buildLocalizedUrl(locale, `https://analytics-new.${mode}.kz`, PAGES.analytics.business)
195
193
  }
196
194
  ]
197
195
  },
@@ -204,19 +202,19 @@ export const useHeaderNavigationLinks = () => {
204
202
  title: t('header.products.fines.items.fines.title'),
205
203
  subtitle: t('header.products.fines.items.fines.subtitle'),
206
204
  icon: IconCheckCircle,
207
- to: buildLocalizedUrl(locale, myLayer.avtoUrl, PAGES.fines.main)
205
+ to: buildLocalizedUrl(locale, `https://avto.${mode}.kz`, PAGES.fines.main)
208
206
  },
209
207
  {
210
208
  title: t('header.products.fines.items.auto.title'),
211
209
  subtitle: t('header.products.fines.items.auto.subtitle'),
212
210
  icon: IconCar,
213
- to: buildLocalizedUrl(locale, myLayer.avtoUrl, PAGES.fines.avto)
211
+ to: buildLocalizedUrl(locale, `https://avto.${mode}.kz`, PAGES.fines.avto)
214
212
  },
215
213
  {
216
214
  title: t('header.products.fines.items.wholesaleAuto.title'),
217
215
  subtitle: t('header.products.fines.items.wholesaleAuto.subtitle'),
218
216
  icon: IconTruck,
219
- to: buildLocalizedUrl(locale, myLayer.avtoUrl, PAGES.fines.bulk)
217
+ to: buildLocalizedUrl(locale, `https://avto.${mode}.kz`, PAGES.fines.bulk)
220
218
  }
221
219
  ]
222
220
  },
@@ -230,7 +228,7 @@ export const useHeaderNavigationLinks = () => {
230
228
  title: t('header.products.fea.items.o.t'),
231
229
  subtitle: t('header.products.fea.items.o.st'),
232
230
  icon: Connections,
233
- to: buildLocalizedUrl(locale, myLayer.tnvedUrl, PAGES.fea.main)
231
+ to: buildLocalizedUrl(locale, `https://tnved.${mode}.kz`, PAGES.fea.main)
234
232
  },
235
233
  // {
236
234
  // title: t('header.products.fea.items.i.t'),
@@ -242,32 +240,32 @@ export const useHeaderNavigationLinks = () => {
242
240
  title: t('header.products.fea.items.cp.t'),
243
241
  subtitle: t('header.products.fea.items.cp.st'),
244
242
  icon: IconTruck,
245
- to: buildLocalizedUrl(locale, myLayer.tnvedUrl, PAGES.fea.cp)
243
+ to: buildLocalizedUrl(locale, `https://tnved.${mode}.kz`, PAGES.fea.cp)
246
244
 
247
245
  },
248
246
  {
249
247
  title: t('header.products.fea.items.ca.t'),
250
248
  subtitle: t('header.products.fea.items.ca.st'),
251
249
  icon: IconCalc,
252
- to: buildLocalizedUrl(locale, myLayer.tnvedUrl, PAGES.fea.ca)
250
+ to: buildLocalizedUrl(locale, `https://tnved.${mode}.kz`, PAGES.fea.ca)
253
251
  },
254
252
  {
255
253
  title: t('header.products.fea.items.tr.t'),
256
254
  subtitle: t('header.products.fea.items.tr.st'),
257
255
  icon: IconGlobe,
258
- to: buildLocalizedUrl(locale, myLayer.tnvedUrl, PAGES.fea.tr)
256
+ to: buildLocalizedUrl(locale, `https://tnved.${mode}.kz`, PAGES.fea.tr)
259
257
  },
260
258
  {
261
259
  title: t('header.products.fea.items.containers.t'),
262
260
  subtitle: t('header.products.fea.items.containers.st'),
263
261
  icon: MapPaper,
264
- to: buildLocalizedUrl(locale, myLayer.tnvedUrl, PAGES.fea.containers)
262
+ to: buildLocalizedUrl(locale, `https://tnved.${mode}.kz`, PAGES.fea.containers)
265
263
  },
266
264
  {
267
265
  title: t('header.products.fea.items.importerMap.t'),
268
266
  subtitle: t('header.products.fea.items.importerMap.st'),
269
267
  icon: MapPinRect,
270
- to: buildLocalizedUrl(locale, myLayer.tnvedUrl, PAGES.fea.importerMap)
268
+ to: buildLocalizedUrl(locale, `https://tnved.${mode}.kz`, PAGES.fea.importerMap)
271
269
  },
272
270
  ]
273
271
  },
@@ -281,199 +279,10 @@ export const useHeaderNavigationLinks = () => {
281
279
  title: t('header.products.compliance.items.l.t'),
282
280
  subtitle: t('header.products.compliance.items.l.st'),
283
281
  icon: IconProfile,
284
- to: buildLocalizedUrl(locale, `${myLayer.complianceUrl}/compliance`, '')
285
- }
286
- ]
287
- },
288
- ]
289
- })
290
- }
291
-
292
- export const useFooterNavigationLinks = () => {
293
- const { locale } = useI18n()
294
- const { myLayer } = useAppConfig()
295
-
296
- return computed(()=>{
297
- return {
298
- counterparties: {
299
- title: 'footer.counterparties.title',
300
- link: buildLocalizedUrl(locale.value, myLayer.pkUrl, ''),
301
- items: [
302
- {
303
- title: 'footer.counterparties.checkCounterparties',
304
- link: buildLocalizedUrl(locale.value, myLayer.pkUrl, PAGES.pk.main),
305
- },
306
- {
307
- title: 'footer.counterparties.compareCounterparties',
308
- link: buildLocalizedUrl(locale.value, myLayer.pkUrl, PAGES.pk.compare),
309
- },
310
- {
311
- title: 'footer.counterparties.indirectConnections',
312
- link: buildLocalizedUrl(locale.value, myLayer.pkUrl, PAGES.pk.connections),
313
- },
314
- {
315
- title: 'footer.counterparties.massCheck',
316
- link: buildLocalizedUrl(locale.value, myLayer.pkUrl, PAGES.pk.employees),
317
- },
318
- {
319
- title: 'footer.counterparties.foreignCounterparties',
320
- link: buildLocalizedUrl(locale.value, myLayer.pkUrl, PAGES.pk.foreign),
321
- },
322
- {
323
- title: 'footer.counterparties.sanctions',
324
- link: buildLocalizedUrl(locale.value, myLayer.pkUrl, PAGES.pk.sanctions),
325
- },
326
- {
327
- title: 'footer.counterparties.offshores',
328
- link: buildLocalizedUrl(locale.value, myLayer.pkUrl, PAGES.pk.offshore),
329
- }
330
- ]
331
- },
332
- work: {
333
- title: 'footer.work.title',
334
- link: myLayer.workUrl + PAGES.work.vacancy,
335
- items: [
336
- {
337
- title: 'footer.work.createFindVacancies',
338
- link: myLayer.workUrl + PAGES.work.vacancy
339
- },
340
- {
341
- title: 'footer.work.createFindResume',
342
- link: myLayer.workUrl + PAGES.work.summary
343
- }
344
- ]
345
- },
346
- tenders: {
347
- title: 'footer.tenders.title',
348
- link: myLayer.tenderUrl + PAGES.tender.main,
349
- items: [
350
- {
351
- title: 'footer.tenders.searchTenders',
352
- link: myLayer.tenderUrl + PAGES.tender.main
353
- },
354
- {
355
- title: 'footer.tenders.purchasePlans',
356
- link: myLayer.tenderUrl + PAGES.tender.plans
357
- }
358
- ]
359
- },
360
- fines: {
361
- title: 'footer.fines.title',
362
- link: buildLocalizedUrl(locale.value, myLayer.avtoUrl, PAGES.fines.main),
363
- items: [
364
- {
365
- title: 'footer.fines.checkFines',
366
- link: buildLocalizedUrl(locale.value, myLayer.avtoUrl, PAGES.fines.main),
367
- },
368
- {
369
- title: 'footer.fines.checkAuto',
370
- link: buildLocalizedUrl(locale.value, myLayer.avtoUrl, PAGES.fines.avto),
371
- },
372
- {
373
- title: 'footer.fines.massCheckAuto',
374
- link: buildLocalizedUrl(locale.value, myLayer.avtoUrl, PAGES.fines.bulk),
375
- }
376
- ]
377
- },
378
- analytics: {
379
- title: 'footer.analytics.title',
380
- link: buildLocalizedUrl(locale, 'https://analytics-new.adata.kz', PAGES.analytics.main),
381
- items: [
382
- {
383
- title: 'footer.analytics.purchaseAnalysis',
384
- link: myLayer.analyticsUrl + PAGES.analytics.analysis
385
- },
386
- {
387
- title: 'footer.analytics.businessActivityIndex',
388
- link: buildLocalizedUrl(locale, 'https://analytics-new.adata.kz', PAGES.analytics.index)
389
-
390
- },
391
- {
392
- title: 'footer.analytics.taxpayerRanking',
393
- link: buildLocalizedUrl(locale, 'https://analytics-new.adata.kz', PAGES.analytics.rating)
394
- },
395
- {
396
- title: 'footer.analytics.businessEntities',
397
- link: buildLocalizedUrl(locale, 'https://analytics-new.adata.kz', PAGES.analytics.business)
282
+ to: buildLocalizedUrl(locale, `https://ac.${mode}.kz/compliance`, '')
398
283
  }
399
284
  ]
400
285
  },
401
- fea: {
402
- title: 'footer.fea.title',
403
- link: buildLocalizedUrl(locale.value, myLayer.tnvedUrl, PAGES.fea.main),
404
- items: [
405
- {
406
- title: 'footer.fea.i',
407
- link: buildLocalizedUrl(locale.value, myLayer.tnvedUrl, PAGES.fea.t),
408
- },
409
- {
410
- title: 'footer.fea.o',
411
- link: buildLocalizedUrl(locale.value, myLayer.tnvedUrl, PAGES.fea.o),
412
- },
413
- {
414
- title: 'footer.fea.cp',
415
- link: buildLocalizedUrl(locale.value, myLayer.tnvedUrl, PAGES.fea.cp),
416
- },
417
- {
418
- title: 'footer.fea.calc',
419
- link: buildLocalizedUrl(locale.value, myLayer.tnvedUrl, PAGES.fea.ca),
420
- },
421
- {
422
- title: 'footer.fea.mr',
423
- link: buildLocalizedUrl(locale.value, myLayer.tnvedUrl, PAGES.fea.tr),
424
- },
425
- {
426
- title: 'footer.fea.containers',
427
- link: buildLocalizedUrl(locale.value, myLayer.tnvedUrl, PAGES.fea.containers),
428
- },
429
- {
430
- title: 'footer.fea.importerMap',
431
- link: buildLocalizedUrl(locale.value, myLayer.tnvedUrl, PAGES.fea.importerMap),
432
- },
433
- ]
434
- }
435
- }
436
- })
437
- }
438
-
439
- export const useFooterInfoLinks = () => {
440
- const { locale } = useI18n()
441
- const { myLayer } = useAppConfig()
442
-
443
- return computed(() => {
444
- return [
445
- {
446
- title: 'footer.info.tariff',
447
- link: buildLocalizedUrl(locale.value, myLayer.landingUrl, PAGES.tariffs)
448
- },
449
- {
450
- title: 'footer.info.helpful',
451
- link: buildLocalizedUrl(locale.value, myLayer.landingUrl, PAGES.usefulMain)
452
- },
453
- {
454
- title: 'footer.info.api',
455
- link: buildLocalizedUrl(locale.value, myLayer.landingUrl, PAGES.apiDescription)
456
- },
457
- {
458
- title: 'footer.info.userAgreement',
459
- link: buildLocalizedUrl(locale.value, myLayer.landingUrl, PAGES.userAgreement)
460
- },
461
- {
462
- title: 'footer.info.privacyPolicy',
463
- link: buildLocalizedUrl(locale.value, myLayer.landingUrl, PAGES.privacy)
464
- },
465
- {
466
- title: 'footer.info.vacancy',
467
- link: buildLocalizedUrl(locale.value, myLayer.landingUrl, PAGES.vacancy)
468
- },
469
- {
470
- title: 'footer.info.counterparty',
471
- link: buildLocalizedUrl(locale.value, myLayer.pkUrl, PAGES.pk.counterparty)
472
- },
473
- {
474
- title: 'footer.info.contacts',
475
- link: buildLocalizedUrl(locale.value, myLayer.landingUrl, PAGES.contacts)
476
- }
477
286
  ]
478
287
  })
479
288
  }
@@ -481,47 +290,48 @@ export const useFooterInfoLinks = () => {
481
290
  export const useHeaderMenuLinks = () => {
482
291
  const { t, locale } = useI18n()
483
292
  const { myLayer } = useAppConfig()
293
+ const mode = myLayer.mode
484
294
 
485
295
  return [
486
296
  {
487
297
  title: t('header.profile.menu.personalInfo'),
488
298
  icon: IconProfile,
489
- to: buildLocalizedUrl(locale.value, myLayer.landingUrl, PAGES.profile.index)
299
+ to: buildLocalizedUrl(locale.value, `https://${mode}.kz`, PAGES.profile.index)
490
300
  },
491
301
  {
492
302
  title: t('header.profile.menu.security'),
493
303
  icon: IconLock,
494
- to: buildLocalizedUrl(locale.value, myLayer.landingUrl, PAGES.profile.security)
304
+ to: buildLocalizedUrl(locale.value, `https://${mode}.kz`, PAGES.profile.security)
495
305
  },
496
306
  {
497
307
  title: t('header.profile.menu.paymentHistory'),
498
308
  icon: IconReceipt,
499
- to: buildLocalizedUrl(locale.value, myLayer.landingUrl, PAGES.profile.paymentHistory)
309
+ to: buildLocalizedUrl(locale.value, `https://${mode}.kz`, PAGES.profile.paymentHistory)
500
310
  },
501
311
  {
502
312
  title: t('header.profile.menu.favourites'),
503
313
  icon: IconFavorite,
504
- to: buildLocalizedUrl(locale.value, myLayer.landingUrl, PAGES.profile.favourites)
314
+ to: buildLocalizedUrl(locale.value, `https://${mode}.kz`, PAGES.profile.favourites)
505
315
  },
506
316
  {
507
317
  title: t('header.profile.menu.myReports'),
508
318
  icon: IconReport,
509
- to: buildLocalizedUrl(locale.value, myLayer.landingUrl, PAGES.profile.reports)
319
+ to: buildLocalizedUrl(locale.value, `https://${mode}.kz`, PAGES.profile.reports)
510
320
  },
511
321
  {
512
322
  title: t('header.profile.menu.browsingHistory'),
513
323
  icon: IconHistory,
514
- to: buildLocalizedUrl(locale.value, myLayer.landingUrl, PAGES.profile.browsingHistory)
324
+ to: buildLocalizedUrl(locale.value, `https://${mode}.kz`, PAGES.profile.browsingHistory)
515
325
  },
516
326
  {
517
327
  title: t('header.profile.menu.myGroups'),
518
328
  icon: IconUsers,
519
- to: buildLocalizedUrl(locale.value, myLayer.landingUrl, PAGES.profile.myGroups)
329
+ to: buildLocalizedUrl(locale.value, `https://${mode}.kz`, PAGES.profile.myGroups)
520
330
  },
521
331
  {
522
332
  title: t('header.profile.menu.notes'),
523
333
  icon: IconMessage,
524
- to: buildLocalizedUrl(locale.value, myLayer.landingUrl, PAGES.profile.notes)
334
+ to: buildLocalizedUrl(locale.value, `https://${mode}.kz`, PAGES.profile.notes)
525
335
  }
526
336
  ]
527
337
  }
@@ -529,52 +339,53 @@ export const useHeaderMenuLinks = () => {
529
339
  export const usePkServicesLinks = () => {
530
340
  const { t, locale } = useI18n()
531
341
  const { myLayer } = useAppConfig()
342
+ const mode = myLayer.mode
532
343
 
533
344
  return [
534
345
  {
535
346
  title: t('header.products.counterparties.items.counterparty.title'),
536
347
  icon: IconSearch,
537
- to: buildLocalizedUrl(locale.value, myLayer.pkUrl, PAGES.pk.main)
348
+ to: buildLocalizedUrl(locale.value, `https://pk.${mode}.kz`, PAGES.pk.main)
538
349
  },
539
350
  {
540
351
  title: t('header.products.counterparties.items.wholesale.title'),
541
352
  icon: AIconUsersThree,
542
- to: buildLocalizedUrl(locale.value, myLayer.pkUrl, PAGES.pk.employees)
353
+ to: buildLocalizedUrl(locale.value, `https://pk.${mode}.kz`, PAGES.pk.employees)
543
354
  },
544
355
  {
545
356
  title: t('header.products.counterparties.items.networks.title'),
546
357
  icon: IconLink,
547
- to: buildLocalizedUrl(locale.value, myLayer.pkUrl, PAGES.pk.connections)
358
+ to: buildLocalizedUrl(locale.value, `https://pk.${mode}.kz`, PAGES.pk.connections)
548
359
  },
549
360
  {
550
361
  title: t('header.products.counterparties.items.offshore.title'),
551
362
  icon: IconDollar,
552
- to: buildLocalizedUrl(locale.value, myLayer.pkUrl, PAGES.pk.offshore)
363
+ to: buildLocalizedUrl(locale.value, `https://pk.${mode}.kz`, PAGES.pk.offshore)
553
364
  },
554
365
  {
555
366
  title: t('header.products.counterparties.items.foreign.title'),
556
367
  icon: IconGlobe,
557
- to: buildLocalizedUrl(locale.value, myLayer.pkUrl, PAGES.pk.foreign)
368
+ to: buildLocalizedUrl(locale.value, `https://pk.${mode}.kz`, PAGES.pk.foreign)
558
369
  },
559
370
  {
560
371
  title: t('header.products.counterparties.items.unloading.title'),
561
372
  icon: AIconArrowSquareDown,
562
- to: buildLocalizedUrl(locale.value, myLayer.pkUrl, PAGES.pk.unload)
373
+ to: buildLocalizedUrl(locale.value, `https://pk.${mode}.kz`, PAGES.pk.unload)
563
374
  },
564
375
  {
565
376
  title: t('header.products.counterparties.items.compare.title'),
566
377
  icon: IconScales,
567
- to: buildLocalizedUrl(locale.value, myLayer.pkUrl, PAGES.pk.compare)
378
+ to: buildLocalizedUrl(locale.value, `https://pk.${mode}.kz`, PAGES.pk.compare)
568
379
  },
569
380
  {
570
381
  title: t('header.products.counterparties.items.sanction.title'),
571
382
  icon: IconBlock,
572
- to: buildLocalizedUrl(locale.value, myLayer.pkUrl, PAGES.pk.sanctions)
383
+ to: buildLocalizedUrl(locale.value, `https://pk.${mode}.kz`, PAGES.pk.sanctions)
573
384
  },
574
385
  {
575
386
  title: t('all_services'),
576
387
  icon: AIconExpandWindow,
577
- to: buildLocalizedUrl(locale.value, myLayer.landingUrl, PAGES.tariffs)
388
+ to: buildLocalizedUrl(locale.value, `https://${mode}.kz`, PAGES.tariffs)
578
389
  },
579
390
  ]
580
391
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "adata-ui",
3
3
  "type": "module",
4
- "version": "2.0.26",
4
+ "version": "2.0.28",
5
5
  "main": "./nuxt.config.ts",
6
6
  "scripts": {
7
7
  "dev": "nuxi dev .playground",
@@ -24,13 +24,12 @@
24
24
  "@vitest/coverage-v8": "^1.6.1",
25
25
  "@vitest/ui": "^1.6.1",
26
26
  "@vue/test-utils": "^2.4.6",
27
- "eslint": "^9.33.0",
27
+ "eslint": "^9.34.0",
28
28
  "eslint-plugin-tailwindcss": "^3.18.2",
29
- "histoire": "^0.17.17",
30
29
  "nuxt": "^3.18.1",
31
- "sass-embedded": "^1.90.0",
30
+ "sass-embedded": "^1.91.0",
32
31
  "typescript": "^5.9.2",
33
- "vitest": "^1.6.1",
32
+ "vitest": "^3.2.4",
34
33
  "vue-tsc": "^2.2.12"
35
34
  },
36
35
  "dependencies": {
@@ -59,12 +58,12 @@
59
58
  "maska": "^2.1.11",
60
59
  "ofetch": "^1.4.1",
61
60
  "pinia": "^3.0.3",
62
- "sass": "^1.90.0",
61
+ "sass": "^1.91.0",
63
62
  "scss": "^0.2.4",
64
63
  "tailwind-merge": "^2.6.0",
65
64
  "tailwindcss": "^3.4.17",
66
65
  "vue3-toastify": "^0.2.8",
67
- "zod": "^4.0.15"
66
+ "zod": "^4.1.5"
68
67
  },
69
68
  "packageManager": "pnpm@9.15.1+sha1.abc117858086cb10ecb54828d180b035cb6c8fdd"
70
69
  }
@@ -8,6 +8,7 @@ export const PAGES = {
8
8
  usefulMain: '/useful/terms-of-usage',
9
9
  favourites: '/favourites',
10
10
  totalServices: '/total-services',
11
+ allServices: '/all-services',
11
12
  profile: {
12
13
  index: '/profile',
13
14
  security: '/profile/change-password',