@athoscommerce/snap-preact 1.13.3-beta.168 → 1.13.3-beta.191

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.
Files changed (126) hide show
  1. package/dist/cjs/components/src/components/Molecules/ChatInspirationResultMessage/ChatInspirationResultMessage.js +3 -1
  2. package/dist/cjs/components/src/components/Molecules/ChatMessageText/ChatMessageText.js +2 -1
  3. package/dist/cjs/components/src/components/Molecules/ChatMessageUser/ChatMessageUser.js +4 -0
  4. package/dist/cjs/components/src/components/Molecules/ChatProductComparisonMessage/ChatProductComparisonMessage.js +1 -0
  5. package/dist/cjs/components/src/components/Molecules/ChatQuickview/ChatQuickview.js +514 -0
  6. package/dist/cjs/components/src/components/Molecules/{ChatProductQueryMessage → ChatQuickview}/index.js +1 -1
  7. package/dist/cjs/components/src/components/Molecules/ChatResultsDisplay/ChatResultsDisplay.js +2 -2
  8. package/dist/cjs/components/src/components/Molecules/Slideshow/Slideshow.js +47 -20
  9. package/dist/cjs/components/src/components/Organisms/Chat/Chat.js +12 -5
  10. package/dist/cjs/components/src/components/Organisms/Chat/Chat.lang.js +5 -0
  11. package/dist/cjs/components/src/components/Organisms/Chat/components/ChatAttachments.js +5 -4
  12. package/dist/cjs/components/src/components/Organisms/Chat/components/ChatComposer.js +3 -3
  13. package/dist/cjs/components/src/components/Organisms/Chat/components/ChatSideChat.js +3 -3
  14. package/dist/cjs/components/src/components/Organisms/Chat/components/chatAccentTheme.js +22 -20
  15. package/dist/cjs/components/src/components/Organisms/QuickviewLayout/QuickviewLayout.js +44 -11
  16. package/dist/cjs/components/src/index.js +1 -1
  17. package/dist/cjs/components/src/providers/themeComponents.js +1 -1
  18. package/dist/cjs/src/Snap.js +13 -1
  19. package/dist/cjs/src/Templates/Stores/LibraryStore.js +2 -2
  20. package/dist/cjs/src/Templates/Stores/library/languages/ar.js +45 -34
  21. package/dist/cjs/src/Templates/Stores/library/languages/de.js +45 -34
  22. package/dist/cjs/src/Templates/Stores/library/languages/es.js +45 -34
  23. package/dist/cjs/src/Templates/Stores/library/languages/fr.js +45 -34
  24. package/dist/cjs/src/Templates/Stores/library/languages/hi.js +45 -34
  25. package/dist/cjs/src/Templates/Stores/library/languages/it.js +45 -34
  26. package/dist/cjs/src/Templates/Stores/library/languages/ja.js +45 -34
  27. package/dist/cjs/src/Templates/Stores/library/languages/ko.js +45 -34
  28. package/dist/cjs/src/Templates/Stores/library/languages/nl.js +45 -34
  29. package/dist/cjs/src/Templates/Stores/library/languages/pt.js +45 -34
  30. package/dist/cjs/src/Templates/Stores/library/languages/ru.js +45 -34
  31. package/dist/cjs/src/Templates/Stores/library/languages/tr.js +45 -34
  32. package/dist/cjs/src/Templates/Stores/library/languages/vi.js +45 -34
  33. package/dist/cjs/src/Templates/Stores/library/languages/zh.js +45 -34
  34. package/dist/cjs/src/create/createChatController.js +1 -0
  35. package/dist/esm/components/src/components/Atoms/Button/Button.d.ts +1 -1
  36. package/dist/esm/components/src/components/Atoms/Button/Button.d.ts.map +1 -1
  37. package/dist/esm/components/src/components/Molecules/ChatAttachmentContext/ChatAttachmentContext.d.ts +12 -5
  38. package/dist/esm/components/src/components/Molecules/ChatAttachmentContext/ChatAttachmentContext.d.ts.map +1 -1
  39. package/dist/esm/components/src/components/Molecules/ChatInspirationResultMessage/ChatInspirationResultMessage.d.ts +13 -2
  40. package/dist/esm/components/src/components/Molecules/ChatInspirationResultMessage/ChatInspirationResultMessage.d.ts.map +1 -1
  41. package/dist/esm/components/src/components/Molecules/ChatInspirationResultMessage/ChatInspirationResultMessage.js +3 -1
  42. package/dist/esm/components/src/components/Molecules/ChatMessageText/ChatMessageText.d.ts.map +1 -1
  43. package/dist/esm/components/src/components/Molecules/ChatMessageText/ChatMessageText.js +2 -1
  44. package/dist/esm/components/src/components/Molecules/ChatMessageUser/ChatMessageUser.d.ts +17 -3
  45. package/dist/esm/components/src/components/Molecules/ChatMessageUser/ChatMessageUser.d.ts.map +1 -1
  46. package/dist/esm/components/src/components/Molecules/ChatMessageUser/ChatMessageUser.js +4 -0
  47. package/dist/esm/components/src/components/Molecules/ChatProductComparisonMessage/ChatProductComparisonMessage.d.ts +7 -1
  48. package/dist/esm/components/src/components/Molecules/ChatProductComparisonMessage/ChatProductComparisonMessage.d.ts.map +1 -1
  49. package/dist/esm/components/src/components/Molecules/ChatProductComparisonMessage/ChatProductComparisonMessage.js +1 -0
  50. package/dist/esm/components/src/components/Molecules/ChatQuickview/ChatQuickview.d.ts +30 -0
  51. package/dist/esm/components/src/components/Molecules/ChatQuickview/ChatQuickview.d.ts.map +1 -0
  52. package/dist/esm/components/src/components/Molecules/ChatQuickview/ChatQuickview.js +508 -0
  53. package/dist/esm/components/src/components/Molecules/ChatQuickview/index.d.ts +2 -0
  54. package/dist/esm/components/src/components/Molecules/ChatQuickview/index.d.ts.map +1 -0
  55. package/dist/esm/components/src/components/Molecules/ChatQuickview/index.js +1 -0
  56. package/dist/esm/components/src/components/Molecules/ChatResultsDisplay/ChatResultsDisplay.js +2 -2
  57. package/dist/esm/components/src/components/Molecules/Slideshow/Slideshow.d.ts.map +1 -1
  58. package/dist/esm/components/src/components/Molecules/Slideshow/Slideshow.js +47 -20
  59. package/dist/esm/components/src/components/Organisms/Chat/Chat.d.ts.map +1 -1
  60. package/dist/esm/components/src/components/Organisms/Chat/Chat.js +12 -5
  61. package/dist/esm/components/src/components/Organisms/Chat/Chat.lang.d.ts +3 -0
  62. package/dist/esm/components/src/components/Organisms/Chat/Chat.lang.d.ts.map +1 -1
  63. package/dist/esm/components/src/components/Organisms/Chat/Chat.lang.js +5 -0
  64. package/dist/esm/components/src/components/Organisms/Chat/components/ChatAttachments.d.ts.map +1 -1
  65. package/dist/esm/components/src/components/Organisms/Chat/components/ChatAttachments.js +5 -4
  66. package/dist/esm/components/src/components/Organisms/Chat/components/ChatComposer.d.ts.map +1 -1
  67. package/dist/esm/components/src/components/Organisms/Chat/components/ChatComposer.js +3 -3
  68. package/dist/esm/components/src/components/Organisms/Chat/components/ChatSideChat.d.ts.map +1 -1
  69. package/dist/esm/components/src/components/Organisms/Chat/components/ChatSideChat.js +3 -3
  70. package/dist/esm/components/src/components/Organisms/Chat/components/chatAccentTheme.d.ts +1 -1
  71. package/dist/esm/components/src/components/Organisms/Chat/components/chatAccentTheme.d.ts.map +1 -1
  72. package/dist/esm/components/src/components/Organisms/Chat/components/chatAccentTheme.js +22 -20
  73. package/dist/esm/components/src/components/Organisms/QuickviewLayout/QuickviewLayout.d.ts +5 -1
  74. package/dist/esm/components/src/components/Organisms/QuickviewLayout/QuickviewLayout.d.ts.map +1 -1
  75. package/dist/esm/components/src/components/Organisms/QuickviewLayout/QuickviewLayout.js +44 -11
  76. package/dist/esm/components/src/index.d.ts +1 -1
  77. package/dist/esm/components/src/index.d.ts.map +1 -1
  78. package/dist/esm/components/src/index.js +1 -1
  79. package/dist/esm/components/src/providers/langComponents.d.ts +2 -2
  80. package/dist/esm/components/src/providers/langComponents.d.ts.map +1 -1
  81. package/dist/esm/components/src/providers/themeComponents.d.ts +7 -7
  82. package/dist/esm/components/src/providers/themeComponents.d.ts.map +1 -1
  83. package/dist/esm/components/src/providers/themeComponents.js +1 -1
  84. package/dist/esm/src/Snap.d.ts +1 -0
  85. package/dist/esm/src/Snap.d.ts.map +1 -1
  86. package/dist/esm/src/Snap.js +13 -1
  87. package/dist/esm/src/Templates/Stores/LibraryStore.d.ts +2 -2
  88. package/dist/esm/src/Templates/Stores/LibraryStore.d.ts.map +1 -1
  89. package/dist/esm/src/Templates/Stores/LibraryStore.js +2 -2
  90. package/dist/esm/src/Templates/Stores/library/languages/ar.d.ts.map +1 -1
  91. package/dist/esm/src/Templates/Stores/library/languages/ar.js +45 -34
  92. package/dist/esm/src/Templates/Stores/library/languages/de.d.ts.map +1 -1
  93. package/dist/esm/src/Templates/Stores/library/languages/de.js +45 -34
  94. package/dist/esm/src/Templates/Stores/library/languages/es.d.ts.map +1 -1
  95. package/dist/esm/src/Templates/Stores/library/languages/es.js +45 -34
  96. package/dist/esm/src/Templates/Stores/library/languages/fr.d.ts.map +1 -1
  97. package/dist/esm/src/Templates/Stores/library/languages/fr.js +45 -34
  98. package/dist/esm/src/Templates/Stores/library/languages/hi.d.ts.map +1 -1
  99. package/dist/esm/src/Templates/Stores/library/languages/hi.js +45 -34
  100. package/dist/esm/src/Templates/Stores/library/languages/it.d.ts.map +1 -1
  101. package/dist/esm/src/Templates/Stores/library/languages/it.js +45 -34
  102. package/dist/esm/src/Templates/Stores/library/languages/ja.d.ts.map +1 -1
  103. package/dist/esm/src/Templates/Stores/library/languages/ja.js +45 -34
  104. package/dist/esm/src/Templates/Stores/library/languages/ko.d.ts.map +1 -1
  105. package/dist/esm/src/Templates/Stores/library/languages/ko.js +45 -34
  106. package/dist/esm/src/Templates/Stores/library/languages/nl.d.ts.map +1 -1
  107. package/dist/esm/src/Templates/Stores/library/languages/nl.js +45 -34
  108. package/dist/esm/src/Templates/Stores/library/languages/pt.d.ts.map +1 -1
  109. package/dist/esm/src/Templates/Stores/library/languages/pt.js +45 -34
  110. package/dist/esm/src/Templates/Stores/library/languages/ru.d.ts.map +1 -1
  111. package/dist/esm/src/Templates/Stores/library/languages/ru.js +45 -34
  112. package/dist/esm/src/Templates/Stores/library/languages/tr.d.ts.map +1 -1
  113. package/dist/esm/src/Templates/Stores/library/languages/tr.js +45 -34
  114. package/dist/esm/src/Templates/Stores/library/languages/vi.d.ts.map +1 -1
  115. package/dist/esm/src/Templates/Stores/library/languages/vi.js +45 -34
  116. package/dist/esm/src/Templates/Stores/library/languages/zh.d.ts.map +1 -1
  117. package/dist/esm/src/Templates/Stores/library/languages/zh.js +45 -34
  118. package/dist/esm/src/create/createChatController.js +1 -0
  119. package/package.json +12 -12
  120. package/dist/cjs/components/src/components/Molecules/ChatProductQueryMessage/ChatProductQueryMessage.js +0 -577
  121. package/dist/esm/components/src/components/Molecules/ChatProductQueryMessage/ChatProductQueryMessage.d.ts +0 -38
  122. package/dist/esm/components/src/components/Molecules/ChatProductQueryMessage/ChatProductQueryMessage.d.ts.map +0 -1
  123. package/dist/esm/components/src/components/Molecules/ChatProductQueryMessage/ChatProductQueryMessage.js +0 -571
  124. package/dist/esm/components/src/components/Molecules/ChatProductQueryMessage/index.d.ts +0 -2
  125. package/dist/esm/components/src/components/Molecules/ChatProductQueryMessage/index.d.ts.map +0 -1
  126. package/dist/esm/components/src/components/Molecules/ChatProductQueryMessage/index.js +0 -1
@@ -119,6 +119,11 @@ exports.pt = {
119
119
  title: 'Fechar chat',
120
120
  },
121
121
  },
122
+ headerLogo: {
123
+ attributes: {
124
+ alt: 'Logotipo do chat',
125
+ },
126
+ },
122
127
  newChatButton: {
123
128
  attributes: {
124
129
  'aria-label': 'Novo chat',
@@ -256,6 +261,9 @@ exports.pt = {
256
261
  attachmentImageSimilarTitle: {
257
262
  value: 'Buscar produtos similares a esta imagem:',
258
263
  },
264
+ attachmentImageName: {
265
+ value: 'Imagem',
266
+ },
259
267
  topicDriftScopeMessage: {
260
268
  value: 'Estou aqui para ajudar com suas compras',
261
269
  },
@@ -306,6 +314,9 @@ exports.pt = {
306
314
  dropOverlayText: {
307
315
  value: 'Solte a imagem para enviar',
308
316
  },
317
+ poweredByText: {
318
+ value: 'Desenvolvido por Athos Commerce.',
319
+ },
309
320
  disclaimerText: {
310
321
  value: 'Assistente com inteligência artificial. Pode cometer erros. Evite compartilhar dados pessoais.',
311
322
  },
@@ -336,37 +347,37 @@ exports.pt = {
336
347
  chatAttachmentContext: {
337
348
  closeButton: {
338
349
  attributes: {
339
- 'aria-label': 'Fechar',
350
+ 'aria-label': (data) => `Fechar ${data?.title ?? ''}`,
340
351
  },
341
352
  },
342
353
  openItemButton: {
343
354
  attributes: {
344
- 'aria-label': 'Abrir item',
355
+ 'aria-label': (data) => `Abrir ${data?.item?.name ?? ''}`,
345
356
  },
346
357
  },
347
358
  loadingIndicator: {
348
359
  attributes: {
349
- 'aria-label': 'Carregando item',
360
+ 'aria-label': (data) => `Carregando ${data?.item?.name ?? ''}`,
350
361
  },
351
362
  },
352
363
  removeButton: {
353
364
  attributes: {
354
- 'aria-label': 'Remover item',
365
+ 'aria-label': (data) => `Remover ${data?.item?.name ?? ''}`,
355
366
  },
356
367
  },
357
368
  uploadFailedText: {
358
- value: 'Falha ao enviar o arquivo',
369
+ value: (data) => `Falha ao enviar o arquivo - ${data?.item?.name ?? ''}`,
359
370
  },
360
371
  },
361
372
  chatInspirationResultMessage: {
362
373
  searchQueryButton: {
363
374
  attributes: {
364
- 'aria-label': 'Buscar este termo',
375
+ 'aria-label': (data) => `Buscar "${data?.searchTerm ?? ''}"`,
365
376
  },
366
377
  },
367
378
  openProductButton: {
368
379
  attributes: {
369
- 'aria-label': 'Abrir produto',
380
+ 'aria-label': (data) => `Abrir ${data?.productName || 'produto'}`,
370
381
  },
371
382
  },
372
383
  },
@@ -437,20 +448,20 @@ exports.pt = {
437
448
  },
438
449
  productAttachmentButton: {
439
450
  attributes: {
440
- 'aria-label': 'Ver detalhes do produto',
441
- title: 'Ver detalhes do produto',
451
+ 'aria-label': (data) => `Ver detalhes de ${data?.attachment?.name ?? ''}`,
452
+ title: (data) => `Ver detalhes de ${data?.attachment?.name ?? ''}`,
442
453
  },
443
454
  },
444
455
  facetAttachment: {
445
456
  attributes: {
446
- 'aria-label': 'Filtro aplicado',
447
- title: 'Filtro aplicado',
457
+ 'aria-label': (data) => (data?.filterOptions?.length ? `Filtro: ${data.filterOptions[0].facetKey} = ${data.filterOptions[0].label}` : ''),
458
+ title: (data) => (data?.filterOptions?.length ? `Filtro: ${data.filterOptions[0].facetKey} = ${data.filterOptions[0].label}` : ''),
448
459
  },
449
460
  },
450
461
  facetOverflow: {
451
462
  attributes: {
452
- 'aria-label': 'Filtros adicionais',
453
- title: 'Filtros adicionais',
463
+ 'aria-label': (data) => `${data?.hiddenFacetCount ?? 0} filtros adicionais`,
464
+ title: (data) => `${data?.hiddenFacetCount ?? 0} filtros a mais`,
454
465
  },
455
466
  },
456
467
  },
@@ -468,14 +479,24 @@ exports.pt = {
468
479
  },
469
480
  viewProductButton: {
470
481
  attributes: {
471
- 'aria-label': 'Ver detalhes do produto',
482
+ 'aria-label': (data) => `Ver detalhes de ${data?.productName ?? ''}`,
472
483
  },
473
484
  },
474
485
  },
475
- chatProductQueryMessage: {
486
+ chatQuickview: {
476
487
  loadingText: {
477
488
  value: 'Carregando detalhes do produto...',
478
489
  },
490
+ quickview: {
491
+ attributes: {
492
+ 'aria-label': 'Visualização rápida',
493
+ },
494
+ },
495
+ closeButton: {
496
+ attributes: {
497
+ 'aria-label': 'Fechar visualização rápida',
498
+ },
499
+ },
479
500
  backToComparisonButton: {
480
501
  value: 'Voltar para a comparação',
481
502
  attributes: {
@@ -491,31 +512,15 @@ exports.pt = {
491
512
  addToCartButton: {
492
513
  value: 'Adicionar ao carrinho',
493
514
  },
515
+ moreInfoButton: {
516
+ value: 'Mais informações',
517
+ },
494
518
  similarButton: {
495
519
  value: 'Similares',
496
520
  },
497
521
  discussButton: {
498
522
  value: 'Conversar',
499
523
  },
500
- inStockText: {
501
- value: 'Em estoque',
502
- },
503
- outOfStockText: {
504
- value: 'Esgotado',
505
- },
506
- unavailableText: {
507
- value: 'indisponível',
508
- },
509
- variantsGroup: {
510
- attributes: {
511
- 'aria-label': 'Seleção de variantes',
512
- },
513
- },
514
- productInformationTable: {
515
- attributes: {
516
- 'aria-label': 'Informações do produto',
517
- },
518
- },
519
524
  },
520
525
  chatResult: {
521
526
  similarButton: {
@@ -954,6 +959,12 @@ exports.pt = {
954
959
  moreInfoButton: {
955
960
  value: 'Mais informações',
956
961
  },
962
+ similarButton: {
963
+ value: 'Similares',
964
+ },
965
+ discussButton: {
966
+ value: 'Conversar',
967
+ },
957
968
  loadingText: {
958
969
  value: 'Carregando…',
959
970
  },
@@ -119,6 +119,11 @@ exports.ru = {
119
119
  title: 'Закрыть чат',
120
120
  },
121
121
  },
122
+ headerLogo: {
123
+ attributes: {
124
+ alt: 'Логотип чата',
125
+ },
126
+ },
122
127
  newChatButton: {
123
128
  attributes: {
124
129
  'aria-label': 'Новый чат',
@@ -256,6 +261,9 @@ exports.ru = {
256
261
  attachmentImageSimilarTitle: {
257
262
  value: 'Найти товары, похожие на это изображение:',
258
263
  },
264
+ attachmentImageName: {
265
+ value: 'Изображение',
266
+ },
259
267
  topicDriftScopeMessage: {
260
268
  value: 'Я здесь, чтобы помочь вам с покупками',
261
269
  },
@@ -306,6 +314,9 @@ exports.ru = {
306
314
  dropOverlayText: {
307
315
  value: 'Отпустите изображение, чтобы загрузить',
308
316
  },
317
+ poweredByText: {
318
+ value: 'Работает на Athos Commerce.',
319
+ },
309
320
  disclaimerText: {
310
321
  value: 'Помощник на основе ИИ. Может допускать ошибки. Не делитесь личными данными.',
311
322
  },
@@ -336,37 +347,37 @@ exports.ru = {
336
347
  chatAttachmentContext: {
337
348
  closeButton: {
338
349
  attributes: {
339
- 'aria-label': 'Закрыть',
350
+ 'aria-label': (data) => `Закрыть ${data?.title ?? ''}`,
340
351
  },
341
352
  },
342
353
  openItemButton: {
343
354
  attributes: {
344
- 'aria-label': 'Открыть элемент',
355
+ 'aria-label': (data) => `Открыть ${data?.item?.name ?? ''}`,
345
356
  },
346
357
  },
347
358
  loadingIndicator: {
348
359
  attributes: {
349
- 'aria-label': 'Загрузка элемента',
360
+ 'aria-label': (data) => `Загрузка ${data?.item?.name ?? ''}`,
350
361
  },
351
362
  },
352
363
  removeButton: {
353
364
  attributes: {
354
- 'aria-label': 'Удалить элемент',
365
+ 'aria-label': (data) => `Удалить ${data?.item?.name ?? ''}`,
355
366
  },
356
367
  },
357
368
  uploadFailedText: {
358
- value: 'Не удалось загрузить файл',
369
+ value: (data) => `Не удалось загрузить файл - ${data?.item?.name ?? ''}`,
359
370
  },
360
371
  },
361
372
  chatInspirationResultMessage: {
362
373
  searchQueryButton: {
363
374
  attributes: {
364
- 'aria-label': 'Искать этот запрос',
375
+ 'aria-label': (data) => `Искать «${data?.searchTerm ?? ''}»`,
365
376
  },
366
377
  },
367
378
  openProductButton: {
368
379
  attributes: {
369
- 'aria-label': 'Открыть товар',
380
+ 'aria-label': (data) => `Открыть ${data?.productName || 'товар'}`,
370
381
  },
371
382
  },
372
383
  },
@@ -437,20 +448,20 @@ exports.ru = {
437
448
  },
438
449
  productAttachmentButton: {
439
450
  attributes: {
440
- 'aria-label': 'Посмотреть детали товара',
441
- title: 'Посмотреть детали товара',
451
+ 'aria-label': (data) => `Посмотреть детали ${data?.attachment?.name ?? ''}`,
452
+ title: (data) => `Посмотреть детали ${data?.attachment?.name ?? ''}`,
442
453
  },
443
454
  },
444
455
  facetAttachment: {
445
456
  attributes: {
446
- 'aria-label': 'Применённый фильтр',
447
- title: 'Применённый фильтр',
457
+ 'aria-label': (data) => (data?.filterOptions?.length ? `Фильтр: ${data.filterOptions[0].facetKey} = ${data.filterOptions[0].label}` : ''),
458
+ title: (data) => (data?.filterOptions?.length ? `Фильтр: ${data.filterOptions[0].facetKey} = ${data.filterOptions[0].label}` : ''),
448
459
  },
449
460
  },
450
461
  facetOverflow: {
451
462
  attributes: {
452
- 'aria-label': 'Дополнительные фильтры',
453
- title: 'Дополнительные фильтры',
463
+ 'aria-label': (data) => `Дополнительных фильтров: ${data?.hiddenFacetCount ?? 0}`,
464
+ title: (data) => `Ещё фильтров: ${data?.hiddenFacetCount ?? 0}`,
454
465
  },
455
466
  },
456
467
  },
@@ -468,14 +479,24 @@ exports.ru = {
468
479
  },
469
480
  viewProductButton: {
470
481
  attributes: {
471
- 'aria-label': 'Посмотреть детали товара',
482
+ 'aria-label': (data) => `Посмотреть детали ${data?.productName ?? ''}`,
472
483
  },
473
484
  },
474
485
  },
475
- chatProductQueryMessage: {
486
+ chatQuickview: {
476
487
  loadingText: {
477
488
  value: 'Загрузка деталей товара...',
478
489
  },
490
+ quickview: {
491
+ attributes: {
492
+ 'aria-label': 'Быстрый просмотр',
493
+ },
494
+ },
495
+ closeButton: {
496
+ attributes: {
497
+ 'aria-label': 'Закрыть быстрый просмотр',
498
+ },
499
+ },
479
500
  backToComparisonButton: {
480
501
  value: 'Вернуться к сравнению',
481
502
  attributes: {
@@ -491,31 +512,15 @@ exports.ru = {
491
512
  addToCartButton: {
492
513
  value: 'Добавить в корзину',
493
514
  },
515
+ moreInfoButton: {
516
+ value: 'Подробнее',
517
+ },
494
518
  similarButton: {
495
519
  value: 'Похожие',
496
520
  },
497
521
  discussButton: {
498
522
  value: 'Обсудить',
499
523
  },
500
- inStockText: {
501
- value: 'В наличии',
502
- },
503
- outOfStockText: {
504
- value: 'Нет в наличии',
505
- },
506
- unavailableText: {
507
- value: 'недоступно',
508
- },
509
- variantsGroup: {
510
- attributes: {
511
- 'aria-label': 'Выбор вариантов',
512
- },
513
- },
514
- productInformationTable: {
515
- attributes: {
516
- 'aria-label': 'Информация о товаре',
517
- },
518
- },
519
524
  },
520
525
  chatResult: {
521
526
  similarButton: {
@@ -954,6 +959,12 @@ exports.ru = {
954
959
  moreInfoButton: {
955
960
  value: 'Подробнее',
956
961
  },
962
+ similarButton: {
963
+ value: 'Похожие',
964
+ },
965
+ discussButton: {
966
+ value: 'Обсудить',
967
+ },
957
968
  loadingText: {
958
969
  value: 'Загрузка…',
959
970
  },
@@ -119,6 +119,11 @@ exports.tr = {
119
119
  title: 'Sohbeti kapat',
120
120
  },
121
121
  },
122
+ headerLogo: {
123
+ attributes: {
124
+ alt: 'Sohbet logosu',
125
+ },
126
+ },
122
127
  newChatButton: {
123
128
  attributes: {
124
129
  'aria-label': 'Yeni sohbet',
@@ -256,6 +261,9 @@ exports.tr = {
256
261
  attachmentImageSimilarTitle: {
257
262
  value: 'Bu görsele benzer ürünleri ara:',
258
263
  },
264
+ attachmentImageName: {
265
+ value: 'Görsel',
266
+ },
259
267
  topicDriftScopeMessage: {
260
268
  value: 'Alışverişinizde size yardımcı olmak için buradayım',
261
269
  },
@@ -306,6 +314,9 @@ exports.tr = {
306
314
  dropOverlayText: {
307
315
  value: 'Yüklemek için görseli bırakın',
308
316
  },
317
+ poweredByText: {
318
+ value: 'Athos Commerce tarafından desteklenmektedir.',
319
+ },
309
320
  disclaimerText: {
310
321
  value: 'Yapay zekâ destekli asistan. Bazen hata yapabilir. Kişisel verilerinizi paylaşmaktan kaçının.',
311
322
  },
@@ -336,37 +347,37 @@ exports.tr = {
336
347
  chatAttachmentContext: {
337
348
  closeButton: {
338
349
  attributes: {
339
- 'aria-label': 'Kapat',
350
+ 'aria-label': (data) => `${data?.title ?? ''} kapat`,
340
351
  },
341
352
  },
342
353
  openItemButton: {
343
354
  attributes: {
344
- 'aria-label': 'Öğeyi aç',
355
+ 'aria-label': (data) => `${data?.item?.name ?? ''} öğesini aç`,
345
356
  },
346
357
  },
347
358
  loadingIndicator: {
348
359
  attributes: {
349
- 'aria-label': 'Öğe yükleniyor',
360
+ 'aria-label': (data) => `${data?.item?.name ?? ''} yükleniyor`,
350
361
  },
351
362
  },
352
363
  removeButton: {
353
364
  attributes: {
354
- 'aria-label': 'Öğeyi kaldır',
365
+ 'aria-label': (data) => `${data?.item?.name ?? ''} öğesini kaldır`,
355
366
  },
356
367
  },
357
368
  uploadFailedText: {
358
- value: 'Dosya yüklenemedi',
369
+ value: (data) => `Dosya yüklenemedi - ${data?.item?.name ?? ''}`,
359
370
  },
360
371
  },
361
372
  chatInspirationResultMessage: {
362
373
  searchQueryButton: {
363
374
  attributes: {
364
- 'aria-label': 'Bu terimi ara',
375
+ 'aria-label': (data) => `"${data?.searchTerm ?? ''}" ara`,
365
376
  },
366
377
  },
367
378
  openProductButton: {
368
379
  attributes: {
369
- 'aria-label': 'Ürünü aç',
380
+ 'aria-label': (data) => `${data?.productName || 'Ürün'} öğesini aç`,
370
381
  },
371
382
  },
372
383
  },
@@ -437,20 +448,20 @@ exports.tr = {
437
448
  },
438
449
  productAttachmentButton: {
439
450
  attributes: {
440
- 'aria-label': 'Ürün ayrıntılarını görüntüle',
441
- title: 'Ürün ayrıntılarını görüntüle',
451
+ 'aria-label': (data) => `${data?.attachment?.name ?? ''} ayrıntılarını görüntüle`,
452
+ title: (data) => `${data?.attachment?.name ?? ''} ayrıntılarını görüntüle`,
442
453
  },
443
454
  },
444
455
  facetAttachment: {
445
456
  attributes: {
446
- 'aria-label': 'Uygulanan filtre',
447
- title: 'Uygulanan filtre',
457
+ 'aria-label': (data) => (data?.filterOptions?.length ? `Filtre: ${data.filterOptions[0].facetKey} = ${data.filterOptions[0].label}` : ''),
458
+ title: (data) => (data?.filterOptions?.length ? `Filtre: ${data.filterOptions[0].facetKey} = ${data.filterOptions[0].label}` : ''),
448
459
  },
449
460
  },
450
461
  facetOverflow: {
451
462
  attributes: {
452
- 'aria-label': 'Ek filtreler',
453
- title: 'Ek filtreler',
463
+ 'aria-label': (data) => `${data?.hiddenFacetCount ?? 0} ek filtre`,
464
+ title: (data) => `${data?.hiddenFacetCount ?? 0} filtre daha`,
454
465
  },
455
466
  },
456
467
  },
@@ -468,14 +479,24 @@ exports.tr = {
468
479
  },
469
480
  viewProductButton: {
470
481
  attributes: {
471
- 'aria-label': 'Ürün ayrıntılarını görüntüle',
482
+ 'aria-label': (data) => `${data?.productName ?? ''} ayrıntılarını görüntüle`,
472
483
  },
473
484
  },
474
485
  },
475
- chatProductQueryMessage: {
486
+ chatQuickview: {
476
487
  loadingText: {
477
488
  value: 'Ürün ayrıntıları yükleniyor...',
478
489
  },
490
+ quickview: {
491
+ attributes: {
492
+ 'aria-label': 'Hızlı bakış',
493
+ },
494
+ },
495
+ closeButton: {
496
+ attributes: {
497
+ 'aria-label': 'Hızlı bakışı kapat',
498
+ },
499
+ },
479
500
  backToComparisonButton: {
480
501
  value: 'Karşılaştırmaya geri dön',
481
502
  attributes: {
@@ -491,31 +512,15 @@ exports.tr = {
491
512
  addToCartButton: {
492
513
  value: 'Sepete ekle',
493
514
  },
515
+ moreInfoButton: {
516
+ value: 'Daha fazla bilgi',
517
+ },
494
518
  similarButton: {
495
519
  value: 'Benzerler',
496
520
  },
497
521
  discussButton: {
498
522
  value: 'Sohbet et',
499
523
  },
500
- inStockText: {
501
- value: 'Stokta',
502
- },
503
- outOfStockText: {
504
- value: 'Stokta yok',
505
- },
506
- unavailableText: {
507
- value: 'kullanılamıyor',
508
- },
509
- variantsGroup: {
510
- attributes: {
511
- 'aria-label': 'Varyant seçimi',
512
- },
513
- },
514
- productInformationTable: {
515
- attributes: {
516
- 'aria-label': 'Ürün bilgileri',
517
- },
518
- },
519
524
  },
520
525
  chatResult: {
521
526
  similarButton: {
@@ -954,6 +959,12 @@ exports.tr = {
954
959
  moreInfoButton: {
955
960
  value: 'Daha fazla bilgi',
956
961
  },
962
+ similarButton: {
963
+ value: 'Benzerler',
964
+ },
965
+ discussButton: {
966
+ value: 'Sohbet et',
967
+ },
957
968
  loadingText: {
958
969
  value: 'Yükleniyor…',
959
970
  },