@atlaskit/smart-card 26.52.4 → 26.52.6

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 (169) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/dist/cjs/constants.js +1 -1
  3. package/dist/cjs/i18n/cs.js +4 -0
  4. package/dist/cjs/i18n/da.js +4 -0
  5. package/dist/cjs/i18n/de.js +4 -0
  6. package/dist/cjs/i18n/en.js +5 -0
  7. package/dist/cjs/i18n/en_GB.js +5 -0
  8. package/dist/cjs/i18n/en_ZZ.js +1 -0
  9. package/dist/cjs/i18n/es.js +5 -1
  10. package/dist/cjs/i18n/fi.js +4 -0
  11. package/dist/cjs/i18n/fr.js +4 -0
  12. package/dist/cjs/i18n/hu.js +4 -0
  13. package/dist/cjs/i18n/it.js +4 -0
  14. package/dist/cjs/i18n/ja.js +4 -0
  15. package/dist/cjs/i18n/ko.js +4 -0
  16. package/dist/cjs/i18n/nb.js +4 -0
  17. package/dist/cjs/i18n/nl.js +4 -0
  18. package/dist/cjs/i18n/pl.js +4 -0
  19. package/dist/cjs/i18n/pt_BR.js +4 -0
  20. package/dist/cjs/i18n/ru.js +4 -0
  21. package/dist/cjs/i18n/sv.js +4 -0
  22. package/dist/cjs/i18n/th.js +4 -0
  23. package/dist/cjs/i18n/tr.js +4 -0
  24. package/dist/cjs/i18n/uk.js +4 -0
  25. package/dist/cjs/i18n/vi.js +4 -0
  26. package/dist/cjs/i18n/zh.js +4 -0
  27. package/dist/cjs/i18n/zh_TW.js +4 -0
  28. package/dist/cjs/messages.js +2 -2
  29. package/dist/cjs/state/hooks/use-ai-summary/ai-summary-service/index.js +6 -10
  30. package/dist/cjs/state/hooks/use-ai-summary/ai-summary-service/readStream.js +125 -0
  31. package/dist/cjs/state/hooks/use-ai-summary/ai-summary-service/utils.js +0 -119
  32. package/dist/cjs/utils/analytics/analytics.js +1 -1
  33. package/dist/cjs/view/FlexibleCard/components/actions/action/action-icon/index.js +0 -4
  34. package/dist/cjs/view/FlexibleCard/components/actions/index.js +11 -12
  35. package/dist/cjs/view/FlexibleCard/components/actions/utils.js +3 -22
  36. package/dist/cjs/view/LinkUrl/index.js +1 -1
  37. package/dist/es2019/constants.js +1 -1
  38. package/dist/es2019/i18n/cs.js +4 -0
  39. package/dist/es2019/i18n/da.js +4 -0
  40. package/dist/es2019/i18n/de.js +4 -0
  41. package/dist/es2019/i18n/en.js +5 -0
  42. package/dist/es2019/i18n/en_GB.js +5 -0
  43. package/dist/es2019/i18n/en_ZZ.js +1 -0
  44. package/dist/es2019/i18n/es.js +5 -1
  45. package/dist/es2019/i18n/fi.js +4 -0
  46. package/dist/es2019/i18n/fr.js +4 -0
  47. package/dist/es2019/i18n/hu.js +4 -0
  48. package/dist/es2019/i18n/it.js +4 -0
  49. package/dist/es2019/i18n/ja.js +4 -0
  50. package/dist/es2019/i18n/ko.js +4 -0
  51. package/dist/es2019/i18n/nb.js +4 -0
  52. package/dist/es2019/i18n/nl.js +4 -0
  53. package/dist/es2019/i18n/pl.js +4 -0
  54. package/dist/es2019/i18n/pt_BR.js +4 -0
  55. package/dist/es2019/i18n/ru.js +4 -0
  56. package/dist/es2019/i18n/sv.js +4 -0
  57. package/dist/es2019/i18n/th.js +4 -0
  58. package/dist/es2019/i18n/tr.js +4 -0
  59. package/dist/es2019/i18n/uk.js +4 -0
  60. package/dist/es2019/i18n/vi.js +4 -0
  61. package/dist/es2019/i18n/zh.js +4 -0
  62. package/dist/es2019/i18n/zh_TW.js +4 -0
  63. package/dist/es2019/messages.js +2 -2
  64. package/dist/es2019/state/hooks/use-ai-summary/ai-summary-service/index.js +6 -11
  65. package/dist/es2019/state/hooks/use-ai-summary/ai-summary-service/readStream.js +48 -0
  66. package/dist/es2019/state/hooks/use-ai-summary/ai-summary-service/utils.js +0 -47
  67. package/dist/es2019/utils/analytics/analytics.js +1 -1
  68. package/dist/es2019/view/FlexibleCard/components/actions/action/action-icon/index.js +0 -4
  69. package/dist/es2019/view/FlexibleCard/components/actions/index.js +6 -12
  70. package/dist/es2019/view/FlexibleCard/components/actions/utils.js +0 -21
  71. package/dist/es2019/view/LinkUrl/index.js +1 -1
  72. package/dist/esm/constants.js +1 -1
  73. package/dist/esm/i18n/cs.js +4 -0
  74. package/dist/esm/i18n/da.js +4 -0
  75. package/dist/esm/i18n/de.js +4 -0
  76. package/dist/esm/i18n/en.js +5 -0
  77. package/dist/esm/i18n/en_GB.js +5 -0
  78. package/dist/esm/i18n/en_ZZ.js +1 -0
  79. package/dist/esm/i18n/es.js +5 -1
  80. package/dist/esm/i18n/fi.js +4 -0
  81. package/dist/esm/i18n/fr.js +4 -0
  82. package/dist/esm/i18n/hu.js +4 -0
  83. package/dist/esm/i18n/it.js +4 -0
  84. package/dist/esm/i18n/ja.js +4 -0
  85. package/dist/esm/i18n/ko.js +4 -0
  86. package/dist/esm/i18n/nb.js +4 -0
  87. package/dist/esm/i18n/nl.js +4 -0
  88. package/dist/esm/i18n/pl.js +4 -0
  89. package/dist/esm/i18n/pt_BR.js +4 -0
  90. package/dist/esm/i18n/ru.js +4 -0
  91. package/dist/esm/i18n/sv.js +4 -0
  92. package/dist/esm/i18n/th.js +4 -0
  93. package/dist/esm/i18n/tr.js +4 -0
  94. package/dist/esm/i18n/uk.js +4 -0
  95. package/dist/esm/i18n/vi.js +4 -0
  96. package/dist/esm/i18n/zh.js +4 -0
  97. package/dist/esm/i18n/zh_TW.js +4 -0
  98. package/dist/esm/messages.js +2 -2
  99. package/dist/esm/state/hooks/use-ai-summary/ai-summary-service/index.js +6 -10
  100. package/dist/esm/state/hooks/use-ai-summary/ai-summary-service/readStream.js +118 -0
  101. package/dist/esm/state/hooks/use-ai-summary/ai-summary-service/utils.js +0 -117
  102. package/dist/esm/utils/analytics/analytics.js +1 -1
  103. package/dist/esm/view/FlexibleCard/components/actions/action/action-icon/index.js +0 -4
  104. package/dist/esm/view/FlexibleCard/components/actions/index.js +6 -12
  105. package/dist/esm/view/FlexibleCard/components/actions/utils.js +2 -21
  106. package/dist/esm/view/LinkUrl/index.js +1 -1
  107. package/dist/types/constants.d.ts +1 -1
  108. package/dist/types/i18n/cs.d.ts +4 -0
  109. package/dist/types/i18n/da.d.ts +4 -0
  110. package/dist/types/i18n/de.d.ts +4 -0
  111. package/dist/types/i18n/en.d.ts +5 -0
  112. package/dist/types/i18n/en_GB.d.ts +5 -0
  113. package/dist/types/i18n/en_ZZ.d.ts +1 -0
  114. package/dist/types/i18n/es.d.ts +4 -0
  115. package/dist/types/i18n/fi.d.ts +4 -0
  116. package/dist/types/i18n/fr.d.ts +4 -0
  117. package/dist/types/i18n/hu.d.ts +4 -0
  118. package/dist/types/i18n/it.d.ts +4 -0
  119. package/dist/types/i18n/ja.d.ts +4 -0
  120. package/dist/types/i18n/ko.d.ts +4 -0
  121. package/dist/types/i18n/nb.d.ts +4 -0
  122. package/dist/types/i18n/nl.d.ts +4 -0
  123. package/dist/types/i18n/pl.d.ts +4 -0
  124. package/dist/types/i18n/pt_BR.d.ts +4 -0
  125. package/dist/types/i18n/ru.d.ts +4 -0
  126. package/dist/types/i18n/sv.d.ts +4 -0
  127. package/dist/types/i18n/th.d.ts +4 -0
  128. package/dist/types/i18n/tr.d.ts +4 -0
  129. package/dist/types/i18n/uk.d.ts +4 -0
  130. package/dist/types/i18n/vi.d.ts +4 -0
  131. package/dist/types/i18n/zh.d.ts +4 -0
  132. package/dist/types/i18n/zh_TW.d.ts +4 -0
  133. package/dist/types/state/hooks/use-ai-summary/ai-summary-service/readStream.d.ts +1 -0
  134. package/dist/types/state/hooks/use-ai-summary/ai-summary-service/types.d.ts +6 -1
  135. package/dist/types/state/hooks/use-ai-summary/ai-summary-service/utils.d.ts +0 -1
  136. package/dist/types/view/FlexibleCard/components/actions/index.d.ts +4 -10
  137. package/dist/types/view/FlexibleCard/components/actions/utils.d.ts +0 -1
  138. package/dist/types-ts4.5/constants.d.ts +1 -1
  139. package/dist/types-ts4.5/i18n/cs.d.ts +4 -0
  140. package/dist/types-ts4.5/i18n/da.d.ts +4 -0
  141. package/dist/types-ts4.5/i18n/de.d.ts +4 -0
  142. package/dist/types-ts4.5/i18n/en.d.ts +5 -0
  143. package/dist/types-ts4.5/i18n/en_GB.d.ts +5 -0
  144. package/dist/types-ts4.5/i18n/en_ZZ.d.ts +1 -0
  145. package/dist/types-ts4.5/i18n/es.d.ts +4 -0
  146. package/dist/types-ts4.5/i18n/fi.d.ts +4 -0
  147. package/dist/types-ts4.5/i18n/fr.d.ts +4 -0
  148. package/dist/types-ts4.5/i18n/hu.d.ts +4 -0
  149. package/dist/types-ts4.5/i18n/it.d.ts +4 -0
  150. package/dist/types-ts4.5/i18n/ja.d.ts +4 -0
  151. package/dist/types-ts4.5/i18n/ko.d.ts +4 -0
  152. package/dist/types-ts4.5/i18n/nb.d.ts +4 -0
  153. package/dist/types-ts4.5/i18n/nl.d.ts +4 -0
  154. package/dist/types-ts4.5/i18n/pl.d.ts +4 -0
  155. package/dist/types-ts4.5/i18n/pt_BR.d.ts +4 -0
  156. package/dist/types-ts4.5/i18n/ru.d.ts +4 -0
  157. package/dist/types-ts4.5/i18n/sv.d.ts +4 -0
  158. package/dist/types-ts4.5/i18n/th.d.ts +4 -0
  159. package/dist/types-ts4.5/i18n/tr.d.ts +4 -0
  160. package/dist/types-ts4.5/i18n/uk.d.ts +4 -0
  161. package/dist/types-ts4.5/i18n/vi.d.ts +4 -0
  162. package/dist/types-ts4.5/i18n/zh.d.ts +4 -0
  163. package/dist/types-ts4.5/i18n/zh_TW.d.ts +4 -0
  164. package/dist/types-ts4.5/state/hooks/use-ai-summary/ai-summary-service/readStream.d.ts +1 -0
  165. package/dist/types-ts4.5/state/hooks/use-ai-summary/ai-summary-service/types.d.ts +6 -1
  166. package/dist/types-ts4.5/state/hooks/use-ai-summary/ai-summary-service/utils.d.ts +0 -1
  167. package/dist/types-ts4.5/view/FlexibleCard/components/actions/index.d.ts +4 -10
  168. package/dist/types-ts4.5/view/FlexibleCard/components/actions/utils.d.ts +0 -1
  169. package/package.json +2 -2
@@ -12,9 +12,13 @@ export default {
12
12
  'fabric.linking.add_account': 'アカウントを追加',
13
13
  'fabric.linking.ai_summarize': '要約',
14
14
  'fabric.linking.ai_summarized': 'Atlassian Intelligence による要約',
15
+ 'fabric.linking.ai_summarized_abbreviation': 'AI による要約',
15
16
  'fabric.linking.ai_summarized_info': '情報の質は異なる場合があります。<a>詳細をご確認ください</a>',
16
17
  'fabric.linking.ai_summarizing': 'Atlassian Intelligence が作動中...',
18
+ 'fabric.linking.ai_summary_error_acceptable_use_violation': 'この要約の結果は、<a>アトラシアンの利用規定</a>に反するため、表示できません。',
19
+ 'fabric.linking.ai_summary_error_generic': '現在 Atlassian Intelligence は回答を提供できません。詳細は<a>サポート ドキュメント</a>でご確認ください。',
17
20
  'fabric.linking.assigned_to': '割り当て先: {context}',
21
+ 'fabric.linking.beta': 'ベータ版',
18
22
  'fabric.linking.cancel': 'キャンセル',
19
23
  'fabric.linking.cannot_connect': '接続できません、もう一度お試しください。',
20
24
  'fabric.linking.cannot_find_link': 'リンクが見つかりません。',
@@ -12,9 +12,13 @@ export default {
12
12
  'fabric.linking.add_account': '계정 추가',
13
13
  'fabric.linking.ai_summarize': '요약',
14
14
  'fabric.linking.ai_summarized': 'Atlassian Intelligence가 요약했습니다',
15
+ 'fabric.linking.ai_summarized_abbreviation': 'AI로 요약',
15
16
  'fabric.linking.ai_summarized_info': '정보 품질은 다를 수 있습니다. <a>자세히 알아보기</a>',
16
17
  'fabric.linking.ai_summarizing': 'Atlassian Intelligence가 작동하는 중입니다...',
18
+ 'fabric.linking.ai_summary_error_acceptable_use_violation': '<a>Atlassian의 사용 제한 정책</a> 위반에 해당하므로 이 요약의 결과를 표시할 수 없습니다.',
19
+ 'fabric.linking.ai_summary_error_generic': 'Atlassian Intelligence가 지금 응답을 제공할 수 없습니다. <a>지원 설명서</a>에서 자세히 읽어보세요.',
17
20
  'fabric.linking.assigned_to': '{context} 님에게 할당',
21
+ 'fabric.linking.beta': '베타',
18
22
  'fabric.linking.cancel': '취소',
19
23
  'fabric.linking.cannot_connect': '연결할 수 없습니다. 다시 시도하세요',
20
24
  'fabric.linking.cannot_find_link': '링크를 찾을 수 없음',
@@ -12,9 +12,13 @@ export default {
12
12
  'fabric.linking.add_account': 'Legg til en konto',
13
13
  'fabric.linking.ai_summarize': 'Oppsummer',
14
14
  'fabric.linking.ai_summarized': 'Oppsummert av Atlassian Intelligence',
15
+ 'fabric.linking.ai_summarized_abbreviation': 'Oppsummert av AI',
15
16
  'fabric.linking.ai_summarized_info': 'Kvaliteten på informasjonen kan variere. <a>Finn ut mer</a>',
16
17
  'fabric.linking.ai_summarizing': 'Atlassian Intelligence arbeider …',
18
+ 'fabric.linking.ai_summary_error_acceptable_use_violation': 'Vi kan ikke vise resultatene av dette sammendraget fordi det strider mot <a>Atlassians retningslinjer for akseptabel bruk</a>.',
19
+ 'fabric.linking.ai_summary_error_generic': 'Atlassian Intelligence kan ikke gi et svar akkurat nå. Les mer <a>i støttedokumentasjonen vår</a>.',
17
20
  'fabric.linking.assigned_to': 'Tilordnet til {context}',
21
+ 'fabric.linking.beta': 'Beta',
18
22
  'fabric.linking.cancel': 'Avbryt',
19
23
  'fabric.linking.cannot_connect': 'Kan ikke koble til, prøv på nytt',
20
24
  'fabric.linking.cannot_find_link': 'Finner ikke koblingen',
@@ -12,9 +12,13 @@ export default {
12
12
  'fabric.linking.add_account': 'Account toevoegen',
13
13
  'fabric.linking.ai_summarize': 'Samenvatten',
14
14
  'fabric.linking.ai_summarized': 'Samengevat door Atlassian Intelligence',
15
+ 'fabric.linking.ai_summarized_abbreviation': 'Samengevat door AI',
15
16
  'fabric.linking.ai_summarized_info': 'De kwaliteit van de informatie kan verschillen. <a>Meer informatie</a>',
16
17
  'fabric.linking.ai_summarizing': 'Atlassian Intelligence is bezig ...',
18
+ 'fabric.linking.ai_summary_error_acceptable_use_violation': 'We kunnen de resultaten van dit overzicht niet weergeven, omdat deze in strijd is met het <a>Acceptabel Gebruiksbeleid van Atlassian</a>.',
19
+ 'fabric.linking.ai_summary_error_generic': 'Atlassian Intelligence kan momenteel geen antwoord geven. Lees meer <a>in onze supportdocumentatie</a>.',
17
20
  'fabric.linking.assigned_to': 'Toegewezen aan {context}',
21
+ 'fabric.linking.beta': 'Bèta',
18
22
  'fabric.linking.cancel': 'Annuleren',
19
23
  'fabric.linking.cannot_connect': 'Geen verbinding, probeer het opnieuw',
20
24
  'fabric.linking.cannot_find_link': 'Kan link niet vinden',
@@ -12,9 +12,13 @@ export default {
12
12
  'fabric.linking.add_account': 'Dodaj konto',
13
13
  'fabric.linking.ai_summarize': 'Podsumuj',
14
14
  'fabric.linking.ai_summarized': 'Podsumowane przez Atlassian Intelligence',
15
+ 'fabric.linking.ai_summarized_abbreviation': 'Podsumowane przez AI',
15
16
  'fabric.linking.ai_summarized_info': 'Jakość informacji może się różnić. <a>Dowiedz się więcej</a>',
16
17
  'fabric.linking.ai_summarizing': 'Atlassian Intelligence wykonuje swoją pracę…',
18
+ 'fabric.linking.ai_summary_error_acceptable_use_violation': 'Nie możemy pokazać wyników tego podsumowania, ponieważ jest to sprzeczne z <a>zasadami dopuszczalnego użytkowania Atlassian</a>.',
19
+ 'fabric.linking.ai_summary_error_generic': 'Atlassian Intelligence nie może teraz podać odpowiedzi. Dowiedz się więcej z naszej <a>dokumentacji wsparcia</a>.',
17
20
  'fabric.linking.assigned_to': 'Przypisano do {context}',
21
+ 'fabric.linking.beta': 'Wersja beta',
18
22
  'fabric.linking.cancel': 'Anuluj',
19
23
  'fabric.linking.cannot_connect': 'Nie można nawiązać połączenia. Spróbuj ponownie.',
20
24
  'fabric.linking.cannot_find_link': 'Nie można znaleźć łącza',
@@ -12,9 +12,13 @@ export default {
12
12
  'fabric.linking.add_account': 'Adicionar conta',
13
13
  'fabric.linking.ai_summarize': 'Resumir',
14
14
  'fabric.linking.ai_summarized': 'Resumido pelo Atlassian Intelligence',
15
+ 'fabric.linking.ai_summarized_abbreviation': 'Resumido pelo AI',
15
16
  'fabric.linking.ai_summarized_info': 'A qualidade das informações pode variar. <a>Saiba mais</a>',
16
17
  'fabric.linking.ai_summarizing': 'O Atlassian Intelligence está trabalhando...',
18
+ 'fabric.linking.ai_summary_error_acceptable_use_violation': 'A gente não pode mostrar os resultados deste resumo, pois vão contra a <a>Política de uso aceitável da Atlassian</a>.',
19
+ 'fabric.linking.ai_summary_error_generic': 'O Atlassian Intelligence não pode oferecer uma resposta no momento. Leia mais <a>na documentação de suporte</a>.',
17
20
  'fabric.linking.assigned_to': 'Atribuído a {context}',
21
+ 'fabric.linking.beta': 'Beta',
18
22
  'fabric.linking.cancel': 'Cancelar',
19
23
  'fabric.linking.cannot_connect': 'Não é possível conectar; tente de novo',
20
24
  'fabric.linking.cannot_find_link': 'Não é possível encontrar o link',
@@ -12,9 +12,13 @@ export default {
12
12
  'fabric.linking.add_account': 'Добавить аккаунт',
13
13
  'fabric.linking.ai_summarize': 'Создать сводку',
14
14
  'fabric.linking.ai_summarized': 'Обобщено с помощью Atlassian Intelligence',
15
+ 'fabric.linking.ai_summarized_abbreviation': 'Обобщено с помощью AI',
15
16
  'fabric.linking.ai_summarized_info': 'Качество информации может быть разным. <a>Подробнее</a>',
16
17
  'fabric.linking.ai_summarizing': 'Atlassian Intelligence работает…',
18
+ 'fabric.linking.ai_summary_error_acceptable_use_violation': 'Невозможно показать результаты этой сводки, так как она противоречит <a>политике допустимого использования Atlassian</a>.',
19
+ 'fabric.linking.ai_summary_error_generic': 'Сейчас Atlassian Intelligence не может дать ответ. Подробнее см. <a>в нашей справочной документации</a>.',
17
20
  'fabric.linking.assigned_to': 'Назначено пользователю {context}',
21
+ 'fabric.linking.beta': 'Бета-версия',
18
22
  'fabric.linking.cancel': 'Отмена',
19
23
  'fabric.linking.cannot_connect': 'Не удается подключиться, повторите попытку',
20
24
  'fabric.linking.cannot_find_link': 'Не удается найти ссылку',
@@ -12,9 +12,13 @@ export default {
12
12
  'fabric.linking.add_account': 'Lägg till konto',
13
13
  'fabric.linking.ai_summarize': 'Sammanfatta',
14
14
  'fabric.linking.ai_summarized': 'Sammanfattat av Atlassian Intelligence',
15
+ 'fabric.linking.ai_summarized_abbreviation': 'Sammanfattat av AI',
15
16
  'fabric.linking.ai_summarized_info': 'Informationskvaliteten kan variera. <a>Läs mer</a>',
16
17
  'fabric.linking.ai_summarizing': 'Atlassian Intelligence arbetar ...',
18
+ 'fabric.linking.ai_summary_error_acceptable_use_violation': 'Vi kan inte visa sammanfattningsresultaten eftersom det strider mot <a>Atlassians policy för godtagbar användning</a>.',
19
+ 'fabric.linking.ai_summary_error_generic': 'Atlassian Intelligence kan inte ge något svar just nu. Läs mer <a>i vår supportdokumentation</a>.',
17
20
  'fabric.linking.assigned_to': 'Tilldelad till {context}',
21
+ 'fabric.linking.beta': 'Beta',
18
22
  'fabric.linking.cancel': 'Avbryt',
19
23
  'fabric.linking.cannot_connect': 'Det går inte att ansluta, försök igen',
20
24
  'fabric.linking.cannot_find_link': 'Kan inte hitta länk',
@@ -12,9 +12,13 @@ export default {
12
12
  'fabric.linking.add_account': 'เพิ่มบัญชี',
13
13
  'fabric.linking.ai_summarize': 'สรุป',
14
14
  'fabric.linking.ai_summarized': 'สรุปโดย Atlassian Intelligence',
15
+ 'fabric.linking.ai_summarized_abbreviation': 'สรุปด้วย AI',
15
16
  'fabric.linking.ai_summarized_info': 'คุณภาพข้อมูลอาจแตกต่างกันไป <a>เรียนรู้เพิ่มเติม</a>',
16
17
  'fabric.linking.ai_summarizing': 'Atlassian Intelligence กำลังดำเนินการ...',
18
+ 'fabric.linking.ai_summary_error_acceptable_use_violation': 'เราไม่สามารถแสดงผลลัพธ์ของข้อมูลสรุปนี้ได้ เนื่องจากขัดกับ<a>นโยบายการใช้งานที่ยอมรับได้ของ Atlassian</a>',
19
+ 'fabric.linking.ai_summary_error_generic': 'Atlassian Intelligence ไม่สามารถให้คำตอบได้ในขณะนี้ อ่านเพิ่มเติม<a>ในเอกสารประกอบด้านการสนับสนุนของเรา</a>',
17
20
  'fabric.linking.assigned_to': 'มอบหมายให้ {context} แล้ว',
21
+ 'fabric.linking.beta': 'เบต้า',
18
22
  'fabric.linking.cancel': 'ยกเลิก',
19
23
  'fabric.linking.cannot_connect': 'ไม่สามารถเชื่อมต่อได้ โปรดลองอีกครั้ง',
20
24
  'fabric.linking.cannot_find_link': 'ไม่พบลิงก์',
@@ -12,9 +12,13 @@ export default {
12
12
  'fabric.linking.add_account': 'Hesap ekle',
13
13
  'fabric.linking.ai_summarize': 'Özetle',
14
14
  'fabric.linking.ai_summarized': 'Atlassian Intelligence tarafından özetlendi',
15
+ 'fabric.linking.ai_summarized_abbreviation': 'AI tarafından özetlendi',
15
16
  'fabric.linking.ai_summarized_info': 'Bilgi kalitesi farklılık gösterebilir. <a>Daha fazla bilgi</a>',
16
17
  'fabric.linking.ai_summarizing': 'Atlassian Intelligence çalışıyor...',
18
+ 'fabric.linking.ai_summary_error_acceptable_use_violation': "<a>Atlassian Kabul Edilebilir Kullanım Politikası</a>'na uymadığından bu özetin sonuçları gösterilemiyor.",
19
+ 'fabric.linking.ai_summary_error_generic': 'Atlassian Intelligence şu anda bir yanıt sağlayamıyor. <a>Destek belgelerimizden</a> daha fazla bilgi edinin.',
17
20
  'fabric.linking.assigned_to': '{context} adlı kişiye atandı',
21
+ 'fabric.linking.beta': 'Beta',
18
22
  'fabric.linking.cancel': 'İptal',
19
23
  'fabric.linking.cannot_connect': 'Bağlanılamıyor, tekrar deneyin',
20
24
  'fabric.linking.cannot_find_link': 'Bağlantı bulunamıyor',
@@ -12,9 +12,13 @@ export default {
12
12
  'fabric.linking.add_account': 'Додати обліковий запис',
13
13
  'fabric.linking.ai_summarize': 'Підсумок',
14
14
  'fabric.linking.ai_summarized': 'Узагальнено Atlassian Intelligence',
15
+ 'fabric.linking.ai_summarized_abbreviation': 'Підсумок створено ШІ',
15
16
  'fabric.linking.ai_summarized_info': 'Якість інформації може бути різною. <a>Докладніше</a>',
16
17
  'fabric.linking.ai_summarizing': 'Atlassian Intelligence узагальнює дані…',
18
+ 'fabric.linking.ai_summary_error_acceptable_use_violation': 'Ми не можемо показати результати цього підсумку, оскільки вони суперечать <a>Політиці прийнятного використання Atlassian</a>.',
19
+ 'fabric.linking.ai_summary_error_generic': 'Atlassian Intelligence зараз не може надати відповідь. Докладні відомості дивіться <a>в нашій довідковій документації</a>.',
17
20
  'fabric.linking.assigned_to': 'Призначено для {context}',
21
+ 'fabric.linking.beta': 'Бета-версія',
18
22
  'fabric.linking.cancel': 'Скасувати',
19
23
  'fabric.linking.cannot_connect': 'Не вдається підключитися, спробуйте ще раз',
20
24
  'fabric.linking.cannot_find_link': 'Не вдається знайти посилання',
@@ -12,9 +12,13 @@ export default {
12
12
  'fabric.linking.add_account': 'Thêm tài khoản',
13
13
  'fabric.linking.ai_summarize': 'Tóm tắt',
14
14
  'fabric.linking.ai_summarized': 'Do Atlassian Intelligence tóm tắt',
15
+ 'fabric.linking.ai_summarized_abbreviation': 'Do AI tóm tắt',
15
16
  'fabric.linking.ai_summarized_info': 'Chất lượng thông tin có thể khác nhau. <a>Tìm hiểu thêm</a>',
16
17
  'fabric.linking.ai_summarizing': 'Atlassian Intelligence đang xử lý...',
18
+ 'fabric.linking.ai_summary_error_acceptable_use_violation': 'Chúng tôi không thể hiển thị kết quả của bản tóm tắt này vì nội dung này đi ngược lại <a>Chính sách sử dụng được chấp nhận của Atlassian</a>.',
19
+ 'fabric.linking.ai_summary_error_generic': 'Atlassian Intelligence hiện không thể cung cấp phản hồi. Đọc thêm <a>trong tài liệu hỗ trợ của chúng tôi</a>.',
17
20
  'fabric.linking.assigned_to': 'Đã chỉ định cho {context}',
21
+ 'fabric.linking.beta': 'Beta',
18
22
  'fabric.linking.cancel': 'Hủy',
19
23
  'fabric.linking.cannot_connect': 'Không thể kết nối, hãy thử lại',
20
24
  'fabric.linking.cannot_find_link': 'Không tìm được liên kết',
@@ -12,9 +12,13 @@ export default {
12
12
  'fabric.linking.add_account': '添加帐户',
13
13
  'fabric.linking.ai_summarize': '汇总',
14
14
  'fabric.linking.ai_summarized': '由 Atlassian Intelligence 汇总',
15
+ 'fabric.linking.ai_summarized_abbreviation': '由 Atlassian Intelligence 汇总',
15
16
  'fabric.linking.ai_summarized_info': '信息质量可能有所不同。<a>了解更多</a>',
16
17
  'fabric.linking.ai_summarizing': 'Atlassian Intelligence 正在运行...',
18
+ 'fabric.linking.ai_summary_error_acceptable_use_violation': '无法显示此摘要的结果,因为它违反了 <a>Atlassian 可接受的使用政策</a>。',
19
+ 'fabric.linking.ai_summary_error_generic': 'Atlassian Intelligence 目前无法提供回复。如需了解更多信息,请参阅<a>我们的支持文档</a>。',
17
20
  'fabric.linking.assigned_to': '已分配给 {context}',
21
+ 'fabric.linking.beta': '测试版',
18
22
  'fabric.linking.cancel': '取消',
19
23
  'fabric.linking.cannot_connect': '无法连接,请重试',
20
24
  'fabric.linking.cannot_find_link': '未找到链接',
@@ -12,9 +12,13 @@ export default {
12
12
  'fabric.linking.add_account': '新增帳戶',
13
13
  'fabric.linking.ai_summarize': '總結',
14
14
  'fabric.linking.ai_summarized': '由 Atlassian Intelligence 總結',
15
+ 'fabric.linking.ai_summarized_abbreviation': '由 AI 總結',
15
16
  'fabric.linking.ai_summarized_info': '資訊品質可能會有變化。<a>深入了解</a>',
16
17
  'fabric.linking.ai_summarizing': 'Atlassian Intelligence 運作中...',
18
+ 'fabric.linking.ai_summary_error_acceptable_use_violation': '我們無法顯示此摘要的結果,因為違反 <a>Atlassian 的可接受使用政策</a>。',
19
+ 'fabric.linking.ai_summary_error_generic': 'Atlassian Intelligence 目前無法提供回應。請參閱<a>我們的支援說明文件</a>。',
17
20
  'fabric.linking.assigned_to': '已指派給 {context}',
21
+ 'fabric.linking.beta': '測試版',
18
22
  'fabric.linking.cancel': '取消',
19
23
  'fabric.linking.cannot_connect': '無法連結,請再試一次',
20
24
  'fabric.linking.cannot_find_link': '找不到連結',
@@ -37,8 +37,8 @@ export var messages = defineMessages({
37
37
  },
38
38
  ai_summary_error_generic: {
39
39
  id: 'fabric.linking.ai_summary_error_generic',
40
- defaultMessage: "Atlassian Intelligence can't provide a response right now. Read more <a>in our support documentation</a>.",
41
- description: 'Shown when AI summary is summarising the link resource content.'
40
+ defaultMessage: 'Atlassian Intelligence (AI) isn’t responding. Try again later or <a>check the status of AI</a>.',
41
+ description: 'Shown when AI Summary encountered an unexpected error while summarizing the linked resource content.'
42
42
  },
43
43
  ai_summary_error_acceptable_use_violation: {
44
44
  id: 'fabric.linking.ai_summary_error_acceptable_use_violation',
@@ -12,7 +12,8 @@ function _asyncIterator(r) { var n, t, o, e = 2; for ("undefined" != typeof Symb
12
12
  function AsyncFromSyncIterator(r) { function AsyncFromSyncIteratorContinuation(r) { if (Object(r) !== r) return Promise.reject(new TypeError(r + " is not an object.")); var n = r.done; return Promise.resolve(r.value).then(function (r) { return { value: r, done: n }; }); } return AsyncFromSyncIterator = function AsyncFromSyncIterator(r) { this.s = r, this.n = r.next; }, AsyncFromSyncIterator.prototype = { s: null, n: null, next: function next() { return AsyncFromSyncIteratorContinuation(this.n.apply(this.s, arguments)); }, return: function _return(r) { var n = this.s.return; return void 0 === n ? Promise.resolve({ value: r, done: !0 }) : AsyncFromSyncIteratorContinuation(n.apply(this.s, arguments)); }, throw: function _throw(r) { var n = this.s.return; return void 0 === n ? Promise.reject(r) : AsyncFromSyncIteratorContinuation(n.apply(this.s, arguments)); } }, new AsyncFromSyncIterator(r); }
13
13
  import uuid from 'uuid';
14
14
  import { errorMessages } from './types';
15
- import { readStream, addPath } from './utils';
15
+ import { addPath } from './utils';
16
+ import { readStream } from './readStream';
16
17
  export var AISummaryService = /*#__PURE__*/function () {
17
18
  function AISummaryService(props) {
18
19
  var _this = this;
@@ -60,18 +61,13 @@ export var AISummaryService = /*#__PURE__*/function () {
60
61
  }
61
62
  }, _callee);
62
63
  })));
63
- var defaultConfig = {
64
- baseUrl: '/gateway/api/assist',
65
- headers: {
64
+ this.config = {
65
+ baseUrl: props.baseUrl || '/gateway/api/assist',
66
+ headers: _objectSpread({
66
67
  'Content-Type': 'application/json;charset=UTF-8',
67
68
  'x-experience-id': 'smart-link',
68
- //TODO: EDM-9337 - Remove the hardcoded Confluence product name and find a way to populate the product name here
69
69
  'x-product': props.product || 'confluence'
70
- }
71
- };
72
- this.config = {
73
- baseUrl: props.baseUrl || defaultConfig.baseUrl,
74
- headers: _objectSpread({}, props.headers || defaultConfig.headers)
70
+ }, props.headers)
75
71
  };
76
72
  this.url = props.url;
77
73
  this.ari = props.ari;
@@ -0,0 +1,118 @@
1
+ import _awaitAsyncGenerator from "@babel/runtime/helpers/awaitAsyncGenerator";
2
+ import _wrapAsyncGenerator from "@babel/runtime/helpers/wrapAsyncGenerator";
3
+ import _regeneratorRuntime from "@babel/runtime/regenerator";
4
+ function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
5
+ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
6
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
7
+ import { getBufferReader } from './utils';
8
+ export function readStream(_x) {
9
+ return _readStream.apply(this, arguments);
10
+ }
11
+ function _readStream() {
12
+ _readStream = _wrapAsyncGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(response) {
13
+ var reader, doneStreaming, chunkBuffer, chunkTypeErrorMessage, _yield$_awaitAsyncGen, value, done, processedChunks, _iterator, _step, chunk, jsonChunk, error;
14
+ return _regeneratorRuntime.wrap(function _callee$(_context) {
15
+ while (1) switch (_context.prev = _context.next) {
16
+ case 0:
17
+ reader = getBufferReader(response);
18
+ doneStreaming = false;
19
+ chunkBuffer = '';
20
+ chunkTypeErrorMessage = 'jsonChunkType error';
21
+ case 4:
22
+ _context.prev = 4;
23
+ _context.next = 7;
24
+ return _awaitAsyncGenerator(reader.read());
25
+ case 7:
26
+ _yield$_awaitAsyncGen = _context.sent;
27
+ value = _yield$_awaitAsyncGen.value;
28
+ done = _yield$_awaitAsyncGen.done;
29
+ doneStreaming = done;
30
+ if (!value) {
31
+ _context.next = 42;
32
+ break;
33
+ }
34
+ processedChunks = "".concat(chunkBuffer).concat(value).split('\n'); // assumes that all JSON chunks are separated by a new-line;
35
+ chunkBuffer = '';
36
+ _iterator = _createForOfIteratorHelper(processedChunks);
37
+ _context.prev = 15;
38
+ _iterator.s();
39
+ case 17:
40
+ if ((_step = _iterator.n()).done) {
41
+ _context.next = 34;
42
+ break;
43
+ }
44
+ chunk = _step.value;
45
+ _context.prev = 19;
46
+ jsonChunk = JSON.parse(chunk);
47
+ if (!(jsonChunk.type === 'ERROR')) {
48
+ _context.next = 23;
49
+ break;
50
+ }
51
+ throw new Error(chunkTypeErrorMessage);
52
+ case 23:
53
+ _context.next = 25;
54
+ return jsonChunk;
55
+ case 25:
56
+ _context.next = 32;
57
+ break;
58
+ case 27:
59
+ _context.prev = 27;
60
+ _context.t0 = _context["catch"](19);
61
+ if (!(_context.t0 instanceof Error && _context.t0.message === chunkTypeErrorMessage)) {
62
+ _context.next = 31;
63
+ break;
64
+ }
65
+ throw _context.t0;
66
+ case 31:
67
+ // the chunk may be incomplete, so we'll save it for the next iteration.
68
+ chunkBuffer = chunk;
69
+ case 32:
70
+ _context.next = 17;
71
+ break;
72
+ case 34:
73
+ _context.next = 39;
74
+ break;
75
+ case 36:
76
+ _context.prev = 36;
77
+ _context.t1 = _context["catch"](15);
78
+ _iterator.e(_context.t1);
79
+ case 39:
80
+ _context.prev = 39;
81
+ _iterator.f();
82
+ return _context.finish(39);
83
+ case 42:
84
+ _context.next = 52;
85
+ break;
86
+ case 44:
87
+ _context.prev = 44;
88
+ _context.t2 = _context["catch"](4);
89
+ if (!(_context.t2 instanceof DOMException && _context.t2.name === 'AbortError')) {
90
+ _context.next = 50;
91
+ break;
92
+ }
93
+ doneStreaming = true;
94
+ _context.next = 52;
95
+ break;
96
+ case 50:
97
+ reader.cancel();
98
+ throw _context.t2;
99
+ case 52:
100
+ if (!doneStreaming) {
101
+ _context.next = 4;
102
+ break;
103
+ }
104
+ case 53:
105
+ if (!chunkBuffer) {
106
+ _context.next = 56;
107
+ break;
108
+ }
109
+ error = new Error("Not all the data was processed: ".concat(chunkBuffer));
110
+ throw error;
111
+ case 56:
112
+ case "end":
113
+ return _context.stop();
114
+ }
115
+ }, _callee, null, [[4, 44], [15, 36, 39, 42], [19, 27]]);
116
+ }));
117
+ return _readStream.apply(this, arguments);
118
+ }
@@ -1,120 +1,3 @@
1
- import _awaitAsyncGenerator from "@babel/runtime/helpers/awaitAsyncGenerator";
2
- import _wrapAsyncGenerator from "@babel/runtime/helpers/wrapAsyncGenerator";
3
- import _regeneratorRuntime from "@babel/runtime/regenerator";
4
- function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
5
- function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
6
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
7
- export function readStream(_x) {
8
- return _readStream.apply(this, arguments);
9
- }
10
- function _readStream() {
11
- _readStream = _wrapAsyncGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(response) {
12
- var reader, doneStreaming, chunkBuffer, chunkTypeErrorMessage, _yield$_awaitAsyncGen, value, done, processedChunks, _iterator, _step, chunk, jsonChunk, error;
13
- return _regeneratorRuntime.wrap(function _callee$(_context) {
14
- while (1) switch (_context.prev = _context.next) {
15
- case 0:
16
- reader = getBufferReader(response);
17
- doneStreaming = false;
18
- chunkBuffer = '';
19
- chunkTypeErrorMessage = 'jsonChunkType error';
20
- case 4:
21
- _context.prev = 4;
22
- _context.next = 7;
23
- return _awaitAsyncGenerator(reader.read());
24
- case 7:
25
- _yield$_awaitAsyncGen = _context.sent;
26
- value = _yield$_awaitAsyncGen.value;
27
- done = _yield$_awaitAsyncGen.done;
28
- doneStreaming = done;
29
- if (!value) {
30
- _context.next = 42;
31
- break;
32
- }
33
- processedChunks = "".concat(chunkBuffer).concat(value).split('\n'); // assumes that all JSON chunks are separated by a new-line;
34
- chunkBuffer = '';
35
- _iterator = _createForOfIteratorHelper(processedChunks);
36
- _context.prev = 15;
37
- _iterator.s();
38
- case 17:
39
- if ((_step = _iterator.n()).done) {
40
- _context.next = 34;
41
- break;
42
- }
43
- chunk = _step.value;
44
- _context.prev = 19;
45
- jsonChunk = JSON.parse(chunk);
46
- if (!(jsonChunk.type === 'ERROR')) {
47
- _context.next = 23;
48
- break;
49
- }
50
- throw new Error(chunkTypeErrorMessage);
51
- case 23:
52
- _context.next = 25;
53
- return jsonChunk;
54
- case 25:
55
- _context.next = 32;
56
- break;
57
- case 27:
58
- _context.prev = 27;
59
- _context.t0 = _context["catch"](19);
60
- if (!(_context.t0 instanceof Error && _context.t0.message === chunkTypeErrorMessage)) {
61
- _context.next = 31;
62
- break;
63
- }
64
- throw _context.t0;
65
- case 31:
66
- // the chunk may be incomplete, so we'll save it for the next iteration.
67
- chunkBuffer = chunk;
68
- case 32:
69
- _context.next = 17;
70
- break;
71
- case 34:
72
- _context.next = 39;
73
- break;
74
- case 36:
75
- _context.prev = 36;
76
- _context.t1 = _context["catch"](15);
77
- _iterator.e(_context.t1);
78
- case 39:
79
- _context.prev = 39;
80
- _iterator.f();
81
- return _context.finish(39);
82
- case 42:
83
- _context.next = 52;
84
- break;
85
- case 44:
86
- _context.prev = 44;
87
- _context.t2 = _context["catch"](4);
88
- if (!(_context.t2 instanceof DOMException && _context.t2.name === 'AbortError')) {
89
- _context.next = 50;
90
- break;
91
- }
92
- doneStreaming = true;
93
- _context.next = 52;
94
- break;
95
- case 50:
96
- reader.cancel();
97
- throw _context.t2;
98
- case 52:
99
- if (!doneStreaming) {
100
- _context.next = 4;
101
- break;
102
- }
103
- case 53:
104
- if (!chunkBuffer) {
105
- _context.next = 56;
106
- break;
107
- }
108
- error = new Error("Not all the data was processed: ".concat(chunkBuffer));
109
- throw error;
110
- case 56:
111
- case "end":
112
- return _context.stop();
113
- }
114
- }, _callee, null, [[4, 44], [15, 36, 39, 42], [19, 27]]);
115
- }));
116
- return _readStream.apply(this, arguments);
117
- }
118
1
  export var getBufferReader = function getBufferReader(response) {
119
2
  if (!response.body) {
120
3
  throw new Error('Response body is empty');
@@ -15,7 +15,7 @@ export var ANALYTICS_CHANNEL = 'media';
15
15
  export var context = {
16
16
  componentName: 'smart-cards',
17
17
  packageName: "@atlaskit/smart-card",
18
- packageVersion: "26.52.4"
18
+ packageVersion: "26.52.6"
19
19
  };
20
20
  export var TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
21
21
  TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
@@ -28,10 +28,6 @@ var backgroundStyles = css({
28
28
  padding: "var(--ds-space-025, 2px)",
29
29
  'span,svg,img': {
30
30
  lineHeight: 0
31
- },
32
- // Use !important to win over `style` prop specificity in DS Spinner. :(
33
- circle: {
34
- stroke: "var(--ds-icon-brand, #0C66E4)".concat(" !important")
35
31
  }
36
32
  });
37
33
  var ActionIcon = function ActionIcon(_ref) {
@@ -1,21 +1,15 @@
1
1
  import { ActionName } from '../../../../constants';
2
- import { createDataAction, createUIAction } from './utils';
2
+ import { createDataAction } from './utils';
3
+ export { default as CustomAction } from './action';
4
+ export { default as DeleteAction } from './delete-action';
5
+ export { default as EditAction } from './edit-action';
6
+ export { default as DownloadAction } from './download-action';
3
7
  export { default as FollowAction } from './follow-action';
4
8
  export { default as PreviewAction } from './preview-action';
5
- export { default as DownloadAction } from './download-action';
6
- export { default as EditAction } from './edit-action';
7
- export { default as DeleteAction } from './delete-action';
8
9
 
9
10
  /**
10
11
  * Creates a ViewAction component. Accepts default ViewActionProps, and defaults
11
12
  * to the text 'View' inside the button.
12
13
  * @see Action
13
14
  */
14
- export var ViewAction = createDataAction(ActionName.ViewAction);
15
-
16
- /**
17
- * Creates a CustomAction component. Accepts default ActionProps. Required to provide
18
- * your own icon or text.
19
- * @see Action
20
- */
21
- export var CustomAction = createUIAction(ActionName.CustomAction);
15
+ export var ViewAction = createDataAction(ActionName.ViewAction);
@@ -1,21 +1,14 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import _typeof from "@babel/runtime/helpers/typeof";
3
3
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
4
- var _actionMappings;
5
- function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
6
- function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
7
4
  import { ActionName } from '../../../../constants';
8
5
  import { FlexibleUiContext } from '../../../../state/flexible-ui-context';
9
6
  import React, { useContext } from 'react';
10
- import Action from './action';
11
7
  import { FormattedMessage } from 'react-intl-next';
12
8
  import { messages } from '../../../../messages';
13
9
  import ViewAction from './action/view-action';
14
10
  import ShortcutIcon from '@atlaskit/icon/glyph/shortcut';
15
- var actionMappings = (_actionMappings = {}, _defineProperty(_actionMappings, ActionName.CustomAction, {
16
- component: Action,
17
- props: {}
18
- }), _defineProperty(_actionMappings, ActionName.ViewAction, {
11
+ var actionMappings = _defineProperty({}, ActionName.ViewAction, {
19
12
  component: ViewAction,
20
13
  props: {
21
14
  testId: 'smart-action-view-action',
@@ -25,7 +18,7 @@ var actionMappings = (_actionMappings = {}, _defineProperty(_actionMappings, Act
25
18
  }),
26
19
  tooltipMessage: /*#__PURE__*/React.createElement(FormattedMessage, messages.view)
27
20
  }
28
- }), _actionMappings);
21
+ });
29
22
  var getContextKey = function getContextKey(name) {
30
23
  // Attempt to predict context prop name in advance to reduce the amount of
31
24
  // code run during runtime
@@ -58,16 +51,4 @@ export var createDataAction = function createDataAction(name) {
58
51
  url: context === null || context === void 0 ? void 0 : context.url
59
52
  })) : null;
60
53
  };
61
- };
62
- export var createUIAction = function createUIAction(name) {
63
- var _ref2 = actionMappings[name] || {},
64
- BaseAction = _ref2.component,
65
- props = _ref2.props;
66
- if (!BaseAction) {
67
- throw Error("Action ".concat(name, " does not exist."));
68
- }
69
- return function (overrides) {
70
- var combinedProps = _objectSpread(_objectSpread({}, props), overrides);
71
- return /*#__PURE__*/React.createElement(BaseAction, combinedProps);
72
- };
73
54
  };
@@ -10,7 +10,7 @@ import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-m
10
10
  import LinkWarningModal from './LinkWarningModal';
11
11
  var PACKAGE_DATA = {
12
12
  packageName: "@atlaskit/smart-card",
13
- packageVersion: "26.52.4",
13
+ packageVersion: "26.52.6",
14
14
  componentName: 'linkUrl'
15
15
  };
16
16
  var Link = withLinkClickedEvent('a');
@@ -1,7 +1,7 @@
1
1
  export declare const CONTENT_URL_SECURITY_AND_PERMISSIONS = "https://support.atlassian.com/confluence-cloud/docs/insert-links-and-anchors/#Smart-links";
2
2
  export declare const CONTENT_URL_3P_ACCOUNT_AUTH = "https://support.atlassian.com/confluence-cloud/docs/what-data-is-sent-and-received-when-pasting-a-smart-link/";
3
3
  export declare const CONTENT_URL_AI = "https://www.atlassian.com/trust/atlassian-intelligence";
4
- export declare const CONTENT_URL_AI_TROUBLESHOOTING = "https://support.atlassian.com/organization-administration/docs/troubleshooting-for-atlassian-intelligence/";
4
+ export declare const CONTENT_URL_AI_TROUBLESHOOTING = "https://status.atlassian.com/";
5
5
  export declare const CONTENT_URL_ACCEPTABLE_USE_POLICY = "https://www.atlassian.com/legal/acceptable-use-policy";
6
6
  /**
7
7
  * The alignment of Flexible UI component.