@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
@@ -116,6 +116,11 @@ export const pt = {
116
116
  title: 'Fechar chat',
117
117
  },
118
118
  },
119
+ headerLogo: {
120
+ attributes: {
121
+ alt: 'Logotipo do chat',
122
+ },
123
+ },
119
124
  newChatButton: {
120
125
  attributes: {
121
126
  'aria-label': 'Novo chat',
@@ -253,6 +258,9 @@ export const pt = {
253
258
  attachmentImageSimilarTitle: {
254
259
  value: 'Buscar produtos similares a esta imagem:',
255
260
  },
261
+ attachmentImageName: {
262
+ value: 'Imagem',
263
+ },
256
264
  topicDriftScopeMessage: {
257
265
  value: 'Estou aqui para ajudar com suas compras',
258
266
  },
@@ -303,6 +311,9 @@ export const pt = {
303
311
  dropOverlayText: {
304
312
  value: 'Solte a imagem para enviar',
305
313
  },
314
+ poweredByText: {
315
+ value: 'Desenvolvido por Athos Commerce.',
316
+ },
306
317
  disclaimerText: {
307
318
  value: 'Assistente com inteligência artificial. Pode cometer erros. Evite compartilhar dados pessoais.',
308
319
  },
@@ -333,37 +344,37 @@ export const pt = {
333
344
  chatAttachmentContext: {
334
345
  closeButton: {
335
346
  attributes: {
336
- 'aria-label': 'Fechar',
347
+ 'aria-label': (data) => `Fechar ${data?.title ?? ''}`,
337
348
  },
338
349
  },
339
350
  openItemButton: {
340
351
  attributes: {
341
- 'aria-label': 'Abrir item',
352
+ 'aria-label': (data) => `Abrir ${data?.item?.name ?? ''}`,
342
353
  },
343
354
  },
344
355
  loadingIndicator: {
345
356
  attributes: {
346
- 'aria-label': 'Carregando item',
357
+ 'aria-label': (data) => `Carregando ${data?.item?.name ?? ''}`,
347
358
  },
348
359
  },
349
360
  removeButton: {
350
361
  attributes: {
351
- 'aria-label': 'Remover item',
362
+ 'aria-label': (data) => `Remover ${data?.item?.name ?? ''}`,
352
363
  },
353
364
  },
354
365
  uploadFailedText: {
355
- value: 'Falha ao enviar o arquivo',
366
+ value: (data) => `Falha ao enviar o arquivo - ${data?.item?.name ?? ''}`,
356
367
  },
357
368
  },
358
369
  chatInspirationResultMessage: {
359
370
  searchQueryButton: {
360
371
  attributes: {
361
- 'aria-label': 'Buscar este termo',
372
+ 'aria-label': (data) => `Buscar "${data?.searchTerm ?? ''}"`,
362
373
  },
363
374
  },
364
375
  openProductButton: {
365
376
  attributes: {
366
- 'aria-label': 'Abrir produto',
377
+ 'aria-label': (data) => `Abrir ${data?.productName || 'produto'}`,
367
378
  },
368
379
  },
369
380
  },
@@ -434,20 +445,20 @@ export const pt = {
434
445
  },
435
446
  productAttachmentButton: {
436
447
  attributes: {
437
- 'aria-label': 'Ver detalhes do produto',
438
- title: 'Ver detalhes do produto',
448
+ 'aria-label': (data) => `Ver detalhes de ${data?.attachment?.name ?? ''}`,
449
+ title: (data) => `Ver detalhes de ${data?.attachment?.name ?? ''}`,
439
450
  },
440
451
  },
441
452
  facetAttachment: {
442
453
  attributes: {
443
- 'aria-label': 'Filtro aplicado',
444
- title: 'Filtro aplicado',
454
+ 'aria-label': (data) => (data?.filterOptions?.length ? `Filtro: ${data.filterOptions[0].facetKey} = ${data.filterOptions[0].label}` : ''),
455
+ title: (data) => (data?.filterOptions?.length ? `Filtro: ${data.filterOptions[0].facetKey} = ${data.filterOptions[0].label}` : ''),
445
456
  },
446
457
  },
447
458
  facetOverflow: {
448
459
  attributes: {
449
- 'aria-label': 'Filtros adicionais',
450
- title: 'Filtros adicionais',
460
+ 'aria-label': (data) => `${data?.hiddenFacetCount ?? 0} filtros adicionais`,
461
+ title: (data) => `${data?.hiddenFacetCount ?? 0} filtros a mais`,
451
462
  },
452
463
  },
453
464
  },
@@ -465,14 +476,24 @@ export const pt = {
465
476
  },
466
477
  viewProductButton: {
467
478
  attributes: {
468
- 'aria-label': 'Ver detalhes do produto',
479
+ 'aria-label': (data) => `Ver detalhes de ${data?.productName ?? ''}`,
469
480
  },
470
481
  },
471
482
  },
472
- chatProductQueryMessage: {
483
+ chatQuickview: {
473
484
  loadingText: {
474
485
  value: 'Carregando detalhes do produto...',
475
486
  },
487
+ quickview: {
488
+ attributes: {
489
+ 'aria-label': 'Visualização rápida',
490
+ },
491
+ },
492
+ closeButton: {
493
+ attributes: {
494
+ 'aria-label': 'Fechar visualização rápida',
495
+ },
496
+ },
476
497
  backToComparisonButton: {
477
498
  value: 'Voltar para a comparação',
478
499
  attributes: {
@@ -488,31 +509,15 @@ export const pt = {
488
509
  addToCartButton: {
489
510
  value: 'Adicionar ao carrinho',
490
511
  },
512
+ moreInfoButton: {
513
+ value: 'Mais informações',
514
+ },
491
515
  similarButton: {
492
516
  value: 'Similares',
493
517
  },
494
518
  discussButton: {
495
519
  value: 'Conversar',
496
520
  },
497
- inStockText: {
498
- value: 'Em estoque',
499
- },
500
- outOfStockText: {
501
- value: 'Esgotado',
502
- },
503
- unavailableText: {
504
- value: 'indisponível',
505
- },
506
- variantsGroup: {
507
- attributes: {
508
- 'aria-label': 'Seleção de variantes',
509
- },
510
- },
511
- productInformationTable: {
512
- attributes: {
513
- 'aria-label': 'Informações do produto',
514
- },
515
- },
516
521
  },
517
522
  chatResult: {
518
523
  similarButton: {
@@ -951,6 +956,12 @@ export const pt = {
951
956
  moreInfoButton: {
952
957
  value: 'Mais informações',
953
958
  },
959
+ similarButton: {
960
+ value: 'Similares',
961
+ },
962
+ discussButton: {
963
+ value: 'Conversar',
964
+ },
954
965
  loadingText: {
955
966
  value: 'Carregando…',
956
967
  },
@@ -1 +1 @@
1
- {"version":3,"file":"ru.d.ts","sourceRoot":"","sources":["../../../../../../../src/Templates/Stores/library/languages/ru.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAE/D,eAAO,MAAM,EAAE,EAAE,cAq+BhB,CAAC"}
1
+ {"version":3,"file":"ru.d.ts","sourceRoot":"","sources":["../../../../../../../src/Templates/Stores/library/languages/ru.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAE/D,eAAO,MAAM,EAAE,EAAE,cAg/BhB,CAAC"}
@@ -116,6 +116,11 @@ export const ru = {
116
116
  title: 'Закрыть чат',
117
117
  },
118
118
  },
119
+ headerLogo: {
120
+ attributes: {
121
+ alt: 'Логотип чата',
122
+ },
123
+ },
119
124
  newChatButton: {
120
125
  attributes: {
121
126
  'aria-label': 'Новый чат',
@@ -253,6 +258,9 @@ export const ru = {
253
258
  attachmentImageSimilarTitle: {
254
259
  value: 'Найти товары, похожие на это изображение:',
255
260
  },
261
+ attachmentImageName: {
262
+ value: 'Изображение',
263
+ },
256
264
  topicDriftScopeMessage: {
257
265
  value: 'Я здесь, чтобы помочь вам с покупками',
258
266
  },
@@ -303,6 +311,9 @@ export const ru = {
303
311
  dropOverlayText: {
304
312
  value: 'Отпустите изображение, чтобы загрузить',
305
313
  },
314
+ poweredByText: {
315
+ value: 'Работает на Athos Commerce.',
316
+ },
306
317
  disclaimerText: {
307
318
  value: 'Помощник на основе ИИ. Может допускать ошибки. Не делитесь личными данными.',
308
319
  },
@@ -333,37 +344,37 @@ export const ru = {
333
344
  chatAttachmentContext: {
334
345
  closeButton: {
335
346
  attributes: {
336
- 'aria-label': 'Закрыть',
347
+ 'aria-label': (data) => `Закрыть ${data?.title ?? ''}`,
337
348
  },
338
349
  },
339
350
  openItemButton: {
340
351
  attributes: {
341
- 'aria-label': 'Открыть элемент',
352
+ 'aria-label': (data) => `Открыть ${data?.item?.name ?? ''}`,
342
353
  },
343
354
  },
344
355
  loadingIndicator: {
345
356
  attributes: {
346
- 'aria-label': 'Загрузка элемента',
357
+ 'aria-label': (data) => `Загрузка ${data?.item?.name ?? ''}`,
347
358
  },
348
359
  },
349
360
  removeButton: {
350
361
  attributes: {
351
- 'aria-label': 'Удалить элемент',
362
+ 'aria-label': (data) => `Удалить ${data?.item?.name ?? ''}`,
352
363
  },
353
364
  },
354
365
  uploadFailedText: {
355
- value: 'Не удалось загрузить файл',
366
+ value: (data) => `Не удалось загрузить файл - ${data?.item?.name ?? ''}`,
356
367
  },
357
368
  },
358
369
  chatInspirationResultMessage: {
359
370
  searchQueryButton: {
360
371
  attributes: {
361
- 'aria-label': 'Искать этот запрос',
372
+ 'aria-label': (data) => `Искать «${data?.searchTerm ?? ''}»`,
362
373
  },
363
374
  },
364
375
  openProductButton: {
365
376
  attributes: {
366
- 'aria-label': 'Открыть товар',
377
+ 'aria-label': (data) => `Открыть ${data?.productName || 'товар'}`,
367
378
  },
368
379
  },
369
380
  },
@@ -434,20 +445,20 @@ export const ru = {
434
445
  },
435
446
  productAttachmentButton: {
436
447
  attributes: {
437
- 'aria-label': 'Посмотреть детали товара',
438
- title: 'Посмотреть детали товара',
448
+ 'aria-label': (data) => `Посмотреть детали ${data?.attachment?.name ?? ''}`,
449
+ title: (data) => `Посмотреть детали ${data?.attachment?.name ?? ''}`,
439
450
  },
440
451
  },
441
452
  facetAttachment: {
442
453
  attributes: {
443
- 'aria-label': 'Применённый фильтр',
444
- title: 'Применённый фильтр',
454
+ 'aria-label': (data) => (data?.filterOptions?.length ? `Фильтр: ${data.filterOptions[0].facetKey} = ${data.filterOptions[0].label}` : ''),
455
+ title: (data) => (data?.filterOptions?.length ? `Фильтр: ${data.filterOptions[0].facetKey} = ${data.filterOptions[0].label}` : ''),
445
456
  },
446
457
  },
447
458
  facetOverflow: {
448
459
  attributes: {
449
- 'aria-label': 'Дополнительные фильтры',
450
- title: 'Дополнительные фильтры',
460
+ 'aria-label': (data) => `Дополнительных фильтров: ${data?.hiddenFacetCount ?? 0}`,
461
+ title: (data) => `Ещё фильтров: ${data?.hiddenFacetCount ?? 0}`,
451
462
  },
452
463
  },
453
464
  },
@@ -465,14 +476,24 @@ export const ru = {
465
476
  },
466
477
  viewProductButton: {
467
478
  attributes: {
468
- 'aria-label': 'Посмотреть детали товара',
479
+ 'aria-label': (data) => `Посмотреть детали ${data?.productName ?? ''}`,
469
480
  },
470
481
  },
471
482
  },
472
- chatProductQueryMessage: {
483
+ chatQuickview: {
473
484
  loadingText: {
474
485
  value: 'Загрузка деталей товара...',
475
486
  },
487
+ quickview: {
488
+ attributes: {
489
+ 'aria-label': 'Быстрый просмотр',
490
+ },
491
+ },
492
+ closeButton: {
493
+ attributes: {
494
+ 'aria-label': 'Закрыть быстрый просмотр',
495
+ },
496
+ },
476
497
  backToComparisonButton: {
477
498
  value: 'Вернуться к сравнению',
478
499
  attributes: {
@@ -488,31 +509,15 @@ export const ru = {
488
509
  addToCartButton: {
489
510
  value: 'Добавить в корзину',
490
511
  },
512
+ moreInfoButton: {
513
+ value: 'Подробнее',
514
+ },
491
515
  similarButton: {
492
516
  value: 'Похожие',
493
517
  },
494
518
  discussButton: {
495
519
  value: 'Обсудить',
496
520
  },
497
- inStockText: {
498
- value: 'В наличии',
499
- },
500
- outOfStockText: {
501
- value: 'Нет в наличии',
502
- },
503
- unavailableText: {
504
- value: 'недоступно',
505
- },
506
- variantsGroup: {
507
- attributes: {
508
- 'aria-label': 'Выбор вариантов',
509
- },
510
- },
511
- productInformationTable: {
512
- attributes: {
513
- 'aria-label': 'Информация о товаре',
514
- },
515
- },
516
521
  },
517
522
  chatResult: {
518
523
  similarButton: {
@@ -951,6 +956,12 @@ export const ru = {
951
956
  moreInfoButton: {
952
957
  value: 'Подробнее',
953
958
  },
959
+ similarButton: {
960
+ value: 'Похожие',
961
+ },
962
+ discussButton: {
963
+ value: 'Обсудить',
964
+ },
954
965
  loadingText: {
955
966
  value: 'Загрузка…',
956
967
  },
@@ -1 +1 @@
1
- {"version":3,"file":"tr.d.ts","sourceRoot":"","sources":["../../../../../../../src/Templates/Stores/library/languages/tr.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAE/D,eAAO,MAAM,EAAE,EAAE,cAm+BhB,CAAC"}
1
+ {"version":3,"file":"tr.d.ts","sourceRoot":"","sources":["../../../../../../../src/Templates/Stores/library/languages/tr.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAE/D,eAAO,MAAM,EAAE,EAAE,cA8+BhB,CAAC"}
@@ -116,6 +116,11 @@ export const tr = {
116
116
  title: 'Sohbeti kapat',
117
117
  },
118
118
  },
119
+ headerLogo: {
120
+ attributes: {
121
+ alt: 'Sohbet logosu',
122
+ },
123
+ },
119
124
  newChatButton: {
120
125
  attributes: {
121
126
  'aria-label': 'Yeni sohbet',
@@ -253,6 +258,9 @@ export const tr = {
253
258
  attachmentImageSimilarTitle: {
254
259
  value: 'Bu görsele benzer ürünleri ara:',
255
260
  },
261
+ attachmentImageName: {
262
+ value: 'Görsel',
263
+ },
256
264
  topicDriftScopeMessage: {
257
265
  value: 'Alışverişinizde size yardımcı olmak için buradayım',
258
266
  },
@@ -303,6 +311,9 @@ export const tr = {
303
311
  dropOverlayText: {
304
312
  value: 'Yüklemek için görseli bırakın',
305
313
  },
314
+ poweredByText: {
315
+ value: 'Athos Commerce tarafından desteklenmektedir.',
316
+ },
306
317
  disclaimerText: {
307
318
  value: 'Yapay zekâ destekli asistan. Bazen hata yapabilir. Kişisel verilerinizi paylaşmaktan kaçının.',
308
319
  },
@@ -333,37 +344,37 @@ export const tr = {
333
344
  chatAttachmentContext: {
334
345
  closeButton: {
335
346
  attributes: {
336
- 'aria-label': 'Kapat',
347
+ 'aria-label': (data) => `${data?.title ?? ''} kapat`,
337
348
  },
338
349
  },
339
350
  openItemButton: {
340
351
  attributes: {
341
- 'aria-label': 'Öğeyi aç',
352
+ 'aria-label': (data) => `${data?.item?.name ?? ''} öğesini aç`,
342
353
  },
343
354
  },
344
355
  loadingIndicator: {
345
356
  attributes: {
346
- 'aria-label': 'Öğe yükleniyor',
357
+ 'aria-label': (data) => `${data?.item?.name ?? ''} yükleniyor`,
347
358
  },
348
359
  },
349
360
  removeButton: {
350
361
  attributes: {
351
- 'aria-label': 'Öğeyi kaldır',
362
+ 'aria-label': (data) => `${data?.item?.name ?? ''} öğesini kaldır`,
352
363
  },
353
364
  },
354
365
  uploadFailedText: {
355
- value: 'Dosya yüklenemedi',
366
+ value: (data) => `Dosya yüklenemedi - ${data?.item?.name ?? ''}`,
356
367
  },
357
368
  },
358
369
  chatInspirationResultMessage: {
359
370
  searchQueryButton: {
360
371
  attributes: {
361
- 'aria-label': 'Bu terimi ara',
372
+ 'aria-label': (data) => `"${data?.searchTerm ?? ''}" ara`,
362
373
  },
363
374
  },
364
375
  openProductButton: {
365
376
  attributes: {
366
- 'aria-label': 'Ürünü aç',
377
+ 'aria-label': (data) => `${data?.productName || 'Ürün'} öğesini aç`,
367
378
  },
368
379
  },
369
380
  },
@@ -434,20 +445,20 @@ export const tr = {
434
445
  },
435
446
  productAttachmentButton: {
436
447
  attributes: {
437
- 'aria-label': 'Ürün ayrıntılarını görüntüle',
438
- title: 'Ürün ayrıntılarını görüntüle',
448
+ 'aria-label': (data) => `${data?.attachment?.name ?? ''} ayrıntılarını görüntüle`,
449
+ title: (data) => `${data?.attachment?.name ?? ''} ayrıntılarını görüntüle`,
439
450
  },
440
451
  },
441
452
  facetAttachment: {
442
453
  attributes: {
443
- 'aria-label': 'Uygulanan filtre',
444
- title: 'Uygulanan filtre',
454
+ 'aria-label': (data) => (data?.filterOptions?.length ? `Filtre: ${data.filterOptions[0].facetKey} = ${data.filterOptions[0].label}` : ''),
455
+ title: (data) => (data?.filterOptions?.length ? `Filtre: ${data.filterOptions[0].facetKey} = ${data.filterOptions[0].label}` : ''),
445
456
  },
446
457
  },
447
458
  facetOverflow: {
448
459
  attributes: {
449
- 'aria-label': 'Ek filtreler',
450
- title: 'Ek filtreler',
460
+ 'aria-label': (data) => `${data?.hiddenFacetCount ?? 0} ek filtre`,
461
+ title: (data) => `${data?.hiddenFacetCount ?? 0} filtre daha`,
451
462
  },
452
463
  },
453
464
  },
@@ -465,14 +476,24 @@ export const tr = {
465
476
  },
466
477
  viewProductButton: {
467
478
  attributes: {
468
- 'aria-label': 'Ürün ayrıntılarını görüntüle',
479
+ 'aria-label': (data) => `${data?.productName ?? ''} ayrıntılarını görüntüle`,
469
480
  },
470
481
  },
471
482
  },
472
- chatProductQueryMessage: {
483
+ chatQuickview: {
473
484
  loadingText: {
474
485
  value: 'Ürün ayrıntıları yükleniyor...',
475
486
  },
487
+ quickview: {
488
+ attributes: {
489
+ 'aria-label': 'Hızlı bakış',
490
+ },
491
+ },
492
+ closeButton: {
493
+ attributes: {
494
+ 'aria-label': 'Hızlı bakışı kapat',
495
+ },
496
+ },
476
497
  backToComparisonButton: {
477
498
  value: 'Karşılaştırmaya geri dön',
478
499
  attributes: {
@@ -488,31 +509,15 @@ export const tr = {
488
509
  addToCartButton: {
489
510
  value: 'Sepete ekle',
490
511
  },
512
+ moreInfoButton: {
513
+ value: 'Daha fazla bilgi',
514
+ },
491
515
  similarButton: {
492
516
  value: 'Benzerler',
493
517
  },
494
518
  discussButton: {
495
519
  value: 'Sohbet et',
496
520
  },
497
- inStockText: {
498
- value: 'Stokta',
499
- },
500
- outOfStockText: {
501
- value: 'Stokta yok',
502
- },
503
- unavailableText: {
504
- value: 'kullanılamıyor',
505
- },
506
- variantsGroup: {
507
- attributes: {
508
- 'aria-label': 'Varyant seçimi',
509
- },
510
- },
511
- productInformationTable: {
512
- attributes: {
513
- 'aria-label': 'Ürün bilgileri',
514
- },
515
- },
516
521
  },
517
522
  chatResult: {
518
523
  similarButton: {
@@ -951,6 +956,12 @@ export const tr = {
951
956
  moreInfoButton: {
952
957
  value: 'Daha fazla bilgi',
953
958
  },
959
+ similarButton: {
960
+ value: 'Benzerler',
961
+ },
962
+ discussButton: {
963
+ value: 'Sohbet et',
964
+ },
954
965
  loadingText: {
955
966
  value: 'Yükleniyor…',
956
967
  },
@@ -1 +1 @@
1
- {"version":3,"file":"vi.d.ts","sourceRoot":"","sources":["../../../../../../../src/Templates/Stores/library/languages/vi.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAE/D,eAAO,MAAM,EAAE,EAAE,cAm+BhB,CAAC"}
1
+ {"version":3,"file":"vi.d.ts","sourceRoot":"","sources":["../../../../../../../src/Templates/Stores/library/languages/vi.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAE/D,eAAO,MAAM,EAAE,EAAE,cA8+BhB,CAAC"}