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

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.ja = {
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.ja = {
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.ja = {
306
314
  dropOverlayText: {
307
315
  value: '画像をドロップしてアップロード',
308
316
  },
317
+ poweredByText: {
318
+ value: 'Athos Commerce 提供。',
319
+ },
309
320
  disclaimerText: {
310
321
  value: 'AIアシスタントです。誤った回答をすることがあります。個人情報の共有はお控えください。',
311
322
  },
@@ -336,37 +347,37 @@ exports.ja = {
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.ja = {
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.ja = {
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.ja = {
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.ja = {
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.ko = {
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.ko = {
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.ko = {
306
314
  dropOverlayText: {
307
315
  value: '이미지를 여기에 놓아 업로드',
308
316
  },
317
+ poweredByText: {
318
+ value: 'Athos Commerce 제공.',
319
+ },
309
320
  disclaimerText: {
310
321
  value: 'AI 기반 어시스턴트입니다. 때로는 실수를 할 수 있습니다. 개인 정보는 공유하지 마세요.',
311
322
  },
@@ -336,37 +347,37 @@ exports.ko = {
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.ko = {
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.ko = {
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.ko = {
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.ko = {
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.nl = {
119
119
  title: 'Chat sluiten',
120
120
  },
121
121
  },
122
+ headerLogo: {
123
+ attributes: {
124
+ alt: 'Chatlogo',
125
+ },
126
+ },
122
127
  newChatButton: {
123
128
  attributes: {
124
129
  'aria-label': 'Nieuwe chat',
@@ -256,6 +261,9 @@ exports.nl = {
256
261
  attachmentImageSimilarTitle: {
257
262
  value: 'Producten zoeken die op deze afbeelding lijken:',
258
263
  },
264
+ attachmentImageName: {
265
+ value: 'Afbeelding',
266
+ },
259
267
  topicDriftScopeMessage: {
260
268
  value: 'Ik ben er om u te helpen met winkelen',
261
269
  },
@@ -306,6 +314,9 @@ exports.nl = {
306
314
  dropOverlayText: {
307
315
  value: 'Sleep de afbeelding hierheen om te uploaden',
308
316
  },
317
+ poweredByText: {
318
+ value: 'Mogelijk gemaakt door Athos Commerce.',
319
+ },
309
320
  disclaimerText: {
310
321
  value: 'AI-assistent. Maakt soms fouten. Deel geen persoonlijke gegevens.',
311
322
  },
@@ -336,37 +347,37 @@ exports.nl = {
336
347
  chatAttachmentContext: {
337
348
  closeButton: {
338
349
  attributes: {
339
- 'aria-label': 'Sluiten',
350
+ 'aria-label': (data) => `${data?.title ?? ''} sluiten`,
340
351
  },
341
352
  },
342
353
  openItemButton: {
343
354
  attributes: {
344
- 'aria-label': 'Item openen',
355
+ 'aria-label': (data) => `${data?.item?.name ?? ''} openen`,
345
356
  },
346
357
  },
347
358
  loadingIndicator: {
348
359
  attributes: {
349
- 'aria-label': 'Item wordt geladen',
360
+ 'aria-label': (data) => `${data?.item?.name ?? ''} wordt geladen`,
350
361
  },
351
362
  },
352
363
  removeButton: {
353
364
  attributes: {
354
- 'aria-label': 'Item verwijderen',
365
+ 'aria-label': (data) => `${data?.item?.name ?? ''} verwijderen`,
355
366
  },
356
367
  },
357
368
  uploadFailedText: {
358
- value: 'Uploaden mislukt',
369
+ value: (data) => `Uploaden mislukt - ${data?.item?.name ?? ''}`,
359
370
  },
360
371
  },
361
372
  chatInspirationResultMessage: {
362
373
  searchQueryButton: {
363
374
  attributes: {
364
- 'aria-label': 'Zoeken op deze term',
375
+ 'aria-label': (data) => `Zoeken op "${data?.searchTerm ?? ''}"`,
365
376
  },
366
377
  },
367
378
  openProductButton: {
368
379
  attributes: {
369
- 'aria-label': 'Product openen',
380
+ 'aria-label': (data) => `${data?.productName || 'product'} openen`,
370
381
  },
371
382
  },
372
383
  },
@@ -437,20 +448,20 @@ exports.nl = {
437
448
  },
438
449
  productAttachmentButton: {
439
450
  attributes: {
440
- 'aria-label': 'Productdetails bekijken',
441
- title: 'Productdetails bekijken',
451
+ 'aria-label': (data) => `Details van ${data?.attachment?.name ?? ''} bekijken`,
452
+ title: (data) => `Details van ${data?.attachment?.name ?? ''} bekijken`,
442
453
  },
443
454
  },
444
455
  facetAttachment: {
445
456
  attributes: {
446
- 'aria-label': 'Toegepast filter',
447
- title: 'Toegepast filter',
457
+ 'aria-label': (data) => (data?.filterOptions?.length ? `Filter: ${data.filterOptions[0].facetKey} = ${data.filterOptions[0].label}` : ''),
458
+ title: (data) => (data?.filterOptions?.length ? `Filter: ${data.filterOptions[0].facetKey} = ${data.filterOptions[0].label}` : ''),
448
459
  },
449
460
  },
450
461
  facetOverflow: {
451
462
  attributes: {
452
- 'aria-label': 'Extra filters',
453
- title: 'Extra filters',
463
+ 'aria-label': (data) => `${data?.hiddenFacetCount ?? 0} extra filters`,
464
+ title: (data) => `${data?.hiddenFacetCount ?? 0} filters meer`,
454
465
  },
455
466
  },
456
467
  },
@@ -468,14 +479,24 @@ exports.nl = {
468
479
  },
469
480
  viewProductButton: {
470
481
  attributes: {
471
- 'aria-label': 'Productdetails bekijken',
482
+ 'aria-label': (data) => `Details van ${data?.productName ?? ''} bekijken`,
472
483
  },
473
484
  },
474
485
  },
475
- chatProductQueryMessage: {
486
+ chatQuickview: {
476
487
  loadingText: {
477
488
  value: 'Productdetails worden geladen...',
478
489
  },
490
+ quickview: {
491
+ attributes: {
492
+ 'aria-label': 'Snelle weergave',
493
+ },
494
+ },
495
+ closeButton: {
496
+ attributes: {
497
+ 'aria-label': 'Snelle weergave sluiten',
498
+ },
499
+ },
479
500
  backToComparisonButton: {
480
501
  value: 'Terug naar de vergelijking',
481
502
  attributes: {
@@ -491,31 +512,15 @@ exports.nl = {
491
512
  addToCartButton: {
492
513
  value: 'Aan winkelwagen toevoegen',
493
514
  },
515
+ moreInfoButton: {
516
+ value: 'Meer informatie',
517
+ },
494
518
  similarButton: {
495
519
  value: 'Vergelijkbaar',
496
520
  },
497
521
  discussButton: {
498
522
  value: 'Bespreken',
499
523
  },
500
- inStockText: {
501
- value: 'Op voorraad',
502
- },
503
- outOfStockText: {
504
- value: 'Uitverkocht',
505
- },
506
- unavailableText: {
507
- value: 'niet beschikbaar',
508
- },
509
- variantsGroup: {
510
- attributes: {
511
- 'aria-label': 'Variantkeuze',
512
- },
513
- },
514
- productInformationTable: {
515
- attributes: {
516
- 'aria-label': 'Productinformatie',
517
- },
518
- },
519
524
  },
520
525
  chatResult: {
521
526
  similarButton: {
@@ -954,6 +959,12 @@ exports.nl = {
954
959
  moreInfoButton: {
955
960
  value: 'Meer informatie',
956
961
  },
962
+ similarButton: {
963
+ value: 'Vergelijkbaar',
964
+ },
965
+ discussButton: {
966
+ value: 'Bespreken',
967
+ },
957
968
  loadingText: {
958
969
  value: 'Laden…',
959
970
  },