@ckeditor/ckeditor5-ai 40.2.0 → 41.1.0

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 (163) hide show
  1. package/LICENSE.md +14 -6
  2. package/README.md +10 -11
  3. package/build/ai.js +8 -8
  4. package/build/translations/af.js +1 -1
  5. package/build/translations/ar.js +1 -1
  6. package/build/translations/bg.js +1 -1
  7. package/build/translations/bn.js +1 -1
  8. package/build/translations/bs.js +1 -1
  9. package/build/translations/ca.js +1 -1
  10. package/build/translations/cs.js +1 -1
  11. package/build/translations/da.js +1 -1
  12. package/build/translations/de-ch.js +1 -1
  13. package/build/translations/de.js +1 -1
  14. package/build/translations/el.js +1 -1
  15. package/build/translations/en-au.js +1 -1
  16. package/build/translations/es-co.js +1 -1
  17. package/build/translations/es.js +1 -1
  18. package/build/translations/et.js +1 -1
  19. package/build/translations/fa.js +1 -1
  20. package/build/translations/fi.js +1 -1
  21. package/build/translations/fr.js +1 -1
  22. package/build/translations/gl.js +1 -1
  23. package/build/translations/he.js +1 -1
  24. package/build/translations/hi.js +1 -1
  25. package/build/translations/hr.js +1 -1
  26. package/build/translations/hu.js +1 -1
  27. package/build/translations/id.js +1 -1
  28. package/build/translations/it.js +1 -1
  29. package/build/translations/ja.js +1 -1
  30. package/build/translations/jv.js +1 -1
  31. package/build/translations/ko.js +1 -1
  32. package/build/translations/lt.js +1 -1
  33. package/build/translations/lv.js +1 -1
  34. package/build/translations/ms.js +1 -1
  35. package/build/translations/nl.js +1 -1
  36. package/build/translations/no.js +1 -1
  37. package/build/translations/pl.js +1 -1
  38. package/build/translations/pt-br.js +1 -1
  39. package/build/translations/pt.js +1 -1
  40. package/build/translations/ro.js +1 -1
  41. package/build/translations/ru.js +1 -1
  42. package/build/translations/sk.js +1 -1
  43. package/build/translations/sr-latn.js +1 -1
  44. package/build/translations/sr.js +1 -1
  45. package/build/translations/sv.js +1 -1
  46. package/build/translations/th.js +1 -1
  47. package/build/translations/tk.js +1 -1
  48. package/build/translations/tr.js +1 -1
  49. package/build/translations/ug.js +1 -1
  50. package/build/translations/uk.js +1 -1
  51. package/build/translations/ur.js +1 -1
  52. package/build/translations/uz.js +1 -1
  53. package/build/translations/vi.js +1 -1
  54. package/build/translations/zh-cn.js +1 -1
  55. package/build/translations/zh.js +1 -1
  56. package/ckeditor5-metadata.json +1 -1
  57. package/lang/contexts.json +3 -3
  58. package/lang/translations/af.po +14 -6
  59. package/lang/translations/ar.po +14 -6
  60. package/lang/translations/bg.po +14 -6
  61. package/lang/translations/bn.po +14 -6
  62. package/lang/translations/bs.po +14 -6
  63. package/lang/translations/ca.po +14 -6
  64. package/lang/translations/cs.po +14 -6
  65. package/lang/translations/da.po +14 -6
  66. package/lang/translations/de-ch.po +14 -6
  67. package/lang/translations/de.po +14 -6
  68. package/lang/translations/el.po +14 -6
  69. package/lang/translations/en-au.po +14 -6
  70. package/lang/translations/en.po +14 -6
  71. package/lang/translations/es-co.po +14 -6
  72. package/lang/translations/es.po +14 -6
  73. package/lang/translations/et.po +14 -6
  74. package/lang/translations/fa.po +14 -6
  75. package/lang/translations/fi.po +14 -6
  76. package/lang/translations/fr.po +14 -6
  77. package/lang/translations/gl.po +14 -6
  78. package/lang/translations/he.po +14 -6
  79. package/lang/translations/hi.po +14 -6
  80. package/lang/translations/hr.po +14 -6
  81. package/lang/translations/hu.po +14 -6
  82. package/lang/translations/id.po +14 -6
  83. package/lang/translations/it.po +28 -20
  84. package/lang/translations/ja.po +14 -6
  85. package/lang/translations/jv.po +14 -6
  86. package/lang/translations/ko.po +14 -6
  87. package/lang/translations/lt.po +14 -6
  88. package/lang/translations/lv.po +14 -6
  89. package/lang/translations/ms.po +14 -6
  90. package/lang/translations/nl.po +14 -6
  91. package/lang/translations/no.po +14 -6
  92. package/lang/translations/pl.po +14 -6
  93. package/lang/translations/pt-br.po +14 -6
  94. package/lang/translations/pt.po +14 -6
  95. package/lang/translations/ro.po +14 -6
  96. package/lang/translations/ru.po +14 -6
  97. package/lang/translations/sk.po +14 -6
  98. package/lang/translations/sr-latn.po +14 -6
  99. package/lang/translations/sr.po +14 -6
  100. package/lang/translations/sv.po +14 -6
  101. package/lang/translations/th.po +14 -6
  102. package/lang/translations/tk.po +14 -6
  103. package/lang/translations/tr.po +14 -6
  104. package/lang/translations/ug.po +14 -6
  105. package/lang/translations/uk.po +14 -6
  106. package/lang/translations/ur.po +14 -6
  107. package/lang/translations/uz.po +14 -6
  108. package/lang/translations/vi.po +14 -6
  109. package/lang/translations/zh-cn.po +14 -6
  110. package/lang/translations/zh.po +14 -6
  111. package/package.json +7 -5
  112. package/src/adapters/aiadapter.d.ts +3 -3
  113. package/src/adapters/aiadapter.js +2 -2
  114. package/src/adapters/aitextadapter.d.ts +3 -3
  115. package/src/adapters/aitextadapter.js +2 -2
  116. package/src/adapters/awstextadapter.d.ts +24 -24
  117. package/src/adapters/awstextadapter.js +2 -2
  118. package/src/adapters/openaitextadapter.d.ts +3 -3
  119. package/src/adapters/openaitextadapter.js +2 -2
  120. package/src/aiassistant.d.ts +5 -5
  121. package/src/aiassistant.js +2 -2
  122. package/src/aiassistantediting.d.ts +13 -12
  123. package/src/aiassistantediting.js +2 -2
  124. package/src/aiassistantui.d.ts +8 -8
  125. package/src/aiassistantui.js +2 -2
  126. package/src/aiconfig.d.ts +5 -5
  127. package/src/aiconfig.js +1 -1
  128. package/src/augmentation.d.ts +7 -7
  129. package/src/augmentation.js +1 -1
  130. package/src/index.d.ts +7 -7
  131. package/src/index.js +2 -2
  132. package/src/ui/aiassistantcontroller.d.ts +12 -12
  133. package/src/ui/aiassistantcontroller.js +2 -2
  134. package/src/ui/dropdown/aicommandslistview.d.ts +2 -2
  135. package/src/ui/dropdown/aicommandslistview.js +2 -2
  136. package/src/ui/dropdown/buttonlabelwithhighlightview.d.ts +2 -2
  137. package/src/ui/dropdown/buttonlabelwithhighlightview.js +2 -2
  138. package/src/ui/dropdown/labelwithhighlightview.d.ts +2 -2
  139. package/src/ui/dropdown/labelwithhighlightview.js +2 -2
  140. package/src/ui/form/aiformcontentarea.d.ts +3 -3
  141. package/src/ui/form/aiformcontentarea.js +2 -2
  142. package/src/ui/form/aiformerrorview.d.ts +3 -3
  143. package/src/ui/form/aiformerrorview.js +2 -2
  144. package/src/ui/form/aiformpromptview.d.ts +3 -3
  145. package/src/ui/form/aiformpromptview.js +2 -2
  146. package/src/ui/form/aiformtoolbarview.d.ts +12 -8
  147. package/src/ui/form/aiformtoolbarview.js +2 -2
  148. package/src/ui/form/aiformview.d.ts +13 -14
  149. package/src/ui/form/aiformview.js +2 -2
  150. package/src/ui/form/aihistorylistitemview.d.ts +3 -3
  151. package/src/ui/form/aihistorylistitemview.js +2 -2
  152. package/src/ui/form/aihistorylistview.d.ts +3 -3
  153. package/src/ui/form/aihistorylistview.js +2 -2
  154. package/src/ui/form/prompthistory.d.ts +2 -2
  155. package/src/ui/form/prompthistory.js +2 -2
  156. package/src/ui/showaiassistantcommand.d.ts +2 -2
  157. package/src/ui/showaiassistantcommand.js +2 -2
  158. package/src/utils/common-translations.d.ts +2 -2
  159. package/src/utils/common-translations.js +2 -2
  160. package/theme/ai-dropdown.css +1 -1
  161. package/theme/ai-form.css +16 -4
  162. package/theme/ai.css +17 -4
  163. package/theme/icons/robot-pencil.svg +0 -1
package/LICENSE.md CHANGED
@@ -1,16 +1,24 @@
1
1
  Software License Agreement
2
2
  ==========================
3
3
 
4
- **CKEditor&nbsp;5 AI feature** (https://ckeditor.com/ckeditor-5/)<br>
5
- Copyright (c) 2003–2023, [CKSource Holding sp. z o.o.](https://cksource.com) All rights reserved.
4
+ **CKEditor&nbsp;5 AI&nbsp;Assistant feature** (https://ckeditor.com/ckeditor-5/)<br>
5
+ Copyright (c) 2003–2024, [CKSource Holding sp. z o.o.](https://cksource.com) All rights reserved.
6
6
 
7
- CKEditor&nbsp;5 AI feature is licensed under a commercial license and is protected by copyright law.
8
- For more details about available licensing options please contact us at sales@cksource.com.
7
+ CKEditor&nbsp;5 AI&nbsp;Assistant feature is licensed under a commercial license and is protected by copyright law.
8
+ For more details about available licensing options, contact us at sales@cksource.com.
9
9
 
10
- Sources of Intellectual Property Included in CKEditor&nbsp;5 AI
10
+ Sources of Intellectual Property Included in CKEditor&nbsp;5 AI&nbsp;Assistant
11
11
  ---------------------------------------------------------------
12
12
 
13
- Where not otherwise indicated, all CKEditor&nbsp;5 AI feature content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
13
+ Where not otherwise indicated, all CKEditor&nbsp;5 AI&nbsp;Assistant feature content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
14
+
15
+ The following libraries are included in CKEditor&nbsp;5 AI&nbsp;Assistant under the [Apache License, version 2.0](https://opensource.org/license/apache-2-0/):
16
+
17
+ * AWS SDK for JavaScript BedrockRuntime Client - Copyright 2018–2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
18
+
19
+ The following libraries are included in CKEditor&nbsp;5 AI&nbsp;Assistant under the [MIT license](https://opensource.org/licenses/MIT):
20
+
21
+ * Lodash - Copyright (c) JS Foundation and other contributors https://js.foundation/. Based on Underscore.js, copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors http://underscorejs.org/.
14
22
 
15
23
  Trademarks
16
24
  ----------
package/README.md CHANGED
@@ -1,32 +1,31 @@
1
- # CKEditor&nbsp;5 AI
1
+ # CKEditor&nbsp;5 AI&nbsp;Assistant
2
2
 
3
3
  [![npm version](https://badge.fury.io/js/%40ckeditor%2Fckeditor5-ai.svg)](https://www.npmjs.com/package/@ckeditor/ckeditor5-ai)
4
4
 
5
- This package contains the AI Assistant feature. When enabled, it gives users the power to seamlessly interact with artificial intelligence, unlocking a world of enhanced efficiency and creativity. AI Assistant is tailored to accelerate your workflow, making text editing smoother and quicker by expanding content, rewriting, editing the tone and style, and adjusting content volume.
5
+ This package contains the AI Assistant feature. When enabled, it gives users the power to seamlessly interact with artificial intelligence, unlocking the world of enhanced efficiency and creativity. AI Assistant is tailored to accelerate your workflow, making text editing smoother and quicker by expanding content, rewriting, editing the tone and style, and adjusting content volume.
6
6
 
7
- This is a premium feature. Please [contact us](https://ckeditor.com/contact/) if you would like to purchase a license. Let us know if you have any feedback or questions!
7
+ This is a premium feature. [Contact us](https://ckeditor.com/contact/?sales=true#contact-form) if you would like to purchase a license. Let us know if you have any feedback or questions!
8
8
 
9
9
  ## Demo
10
10
 
11
- Check out the [demo in the AI Assistant user guide](https://ckeditor.com/docs/ckeditor5/latest/features/ai-assistant.html#demo).
11
+ Check out the [demo in the AI Assistant feature guide](https://ckeditor.com/docs/ckeditor5/latest/features/ai-assistant.html#demo).
12
12
 
13
13
  ## Documentation
14
14
 
15
- See the [`@ckeditor/ckeditor5-ai/` package](https://ckeditor.com/docs/ckeditor5/latest/api/ai.html) page in [CKEditor&nbsp;5 documentation](https://ckeditor.com/docs/ckeditor5/latest/) as well as the [AI Assistant](https://ckeditor.com/docs/ckeditor5/latest/features/ai-assistant.html) feature guide.
15
+ See the [`@ckeditor/ckeditor5-ai/` package](https://ckeditor.com/docs/ckeditor5/latest/api/ai.html) page in the [CKEditor&nbsp;5 documentation](https://ckeditor.com/docs/ckeditor5/latest/) as well as the [AI Assistant](https://ckeditor.com/docs/ckeditor5/latest/features/ai-assistant.html) feature guide.
16
16
 
17
17
  ## Getting support
18
18
 
19
- CKEditor&nbsp;5 AI Assistant feature comes with outstanding support from a dedicated team of customer care specialists, QA engineers, and CKEditor&nbsp;5 developers. The team will gladly assist you in all aspects from setting up your account to integrating the CKEditor&nbsp;5 AI Assistant feature with your application.
19
+ CKEditor&nbsp;5 AI&nbsp;Assistant feature comes with outstanding support from a dedicated team of customer care specialists, QA engineers, and CKEditor&nbsp;5 developers. The team will gladly assist you in all aspects from setting up your account to integrating the CKEditor&nbsp;5 AI&nbsp;Assistant feature with your application.
20
20
 
21
- As a licensed CKEditor&nbsp;5 AI Assistant feature user you can report bugs and request features directly through the CKEditor Ecosystem customer dashboard.
21
+ As a licensed CKEditor&nbsp;5 AI&nbsp;Assistant feature user you can report bugs and request features directly through the CKEditor Ecosystem customer dashboard.
22
22
 
23
23
  ## License
24
24
 
25
- **CKEditor&nbsp;5 AI**<br>
26
- Copyright (c) 2003–2023, [CKSource Holding sp. z o.o.](https://cksource.com) All rights reserved.
25
+ **CKEditor&nbsp;5 AI&nbsp;Assistant**<br>
26
+ Copyright (c) 2003–2024, [CKSource Holding sp. z o.o.](https://cksource.com) All rights reserved.
27
27
 
28
- CKEditor&nbsp;5 AI is licensed under a commercial license and is protected by copyright law.
29
- For more details about available licensing options please contact us at sales@cksource.com.
28
+ CKEditor&nbsp;5 AI&nbsp;Assistant is licensed under a commercial license and is protected by copyright law. For more details about available licensing options, contact us at sales@cksource.com.
30
29
 
31
30
  ### Trademarks
32
31