@ckeditor/ckeditor5-slash-command 40.0.0 → 40.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 (101) hide show
  1. package/LICENSE.md +4 -4
  2. package/build/slash-command.js +2 -2
  3. package/build/translations/ar.js +1 -1
  4. package/build/translations/bg.js +1 -1
  5. package/build/translations/bn.js +1 -1
  6. package/build/translations/ca.js +1 -1
  7. package/build/translations/cs.js +1 -1
  8. package/build/translations/da.js +1 -1
  9. package/build/translations/de.js +1 -1
  10. package/build/translations/el.js +1 -1
  11. package/build/translations/en-au.js +1 -1
  12. package/build/translations/es.js +1 -1
  13. package/build/translations/et.js +1 -1
  14. package/build/translations/fi.js +1 -1
  15. package/build/translations/fr.js +1 -1
  16. package/build/translations/gl.js +1 -1
  17. package/build/translations/he.js +1 -1
  18. package/build/translations/hi.js +1 -1
  19. package/build/translations/hr.js +1 -1
  20. package/build/translations/hu.js +1 -1
  21. package/build/translations/id.js +1 -1
  22. package/build/translations/it.js +1 -1
  23. package/build/translations/ja.js +1 -1
  24. package/build/translations/ko.js +1 -1
  25. package/build/translations/lt.js +1 -1
  26. package/build/translations/lv.js +1 -1
  27. package/build/translations/ms.js +1 -1
  28. package/build/translations/nl.js +1 -1
  29. package/build/translations/no.js +1 -1
  30. package/build/translations/pl.js +1 -1
  31. package/build/translations/pt-br.js +1 -1
  32. package/build/translations/pt.js +1 -1
  33. package/build/translations/ro.js +1 -1
  34. package/build/translations/ru.js +1 -1
  35. package/build/translations/sk.js +1 -1
  36. package/build/translations/sr.js +1 -1
  37. package/build/translations/sv.js +1 -1
  38. package/build/translations/th.js +1 -1
  39. package/build/translations/tr.js +1 -1
  40. package/build/translations/uk.js +1 -1
  41. package/build/translations/uz.js +1 -1
  42. package/build/translations/vi.js +1 -1
  43. package/build/translations/zh-cn.js +1 -1
  44. package/build/translations/zh.js +1 -1
  45. package/lang/translations/ar.po +4 -0
  46. package/lang/translations/bg.po +4 -0
  47. package/lang/translations/bn.po +4 -0
  48. package/lang/translations/ca.po +4 -0
  49. package/lang/translations/cs.po +4 -0
  50. package/lang/translations/da.po +4 -0
  51. package/lang/translations/de.po +4 -0
  52. package/lang/translations/el.po +4 -0
  53. package/lang/translations/en-au.po +4 -0
  54. package/lang/translations/en.po +4 -0
  55. package/lang/translations/es.po +4 -0
  56. package/lang/translations/et.po +4 -0
  57. package/lang/translations/fi.po +4 -0
  58. package/lang/translations/fr.po +4 -0
  59. package/lang/translations/gl.po +4 -0
  60. package/lang/translations/he.po +4 -0
  61. package/lang/translations/hi.po +4 -0
  62. package/lang/translations/hr.po +4 -0
  63. package/lang/translations/hu.po +4 -0
  64. package/lang/translations/id.po +4 -0
  65. package/lang/translations/it.po +4 -0
  66. package/lang/translations/ja.po +4 -0
  67. package/lang/translations/ko.po +4 -0
  68. package/lang/translations/lt.po +4 -0
  69. package/lang/translations/lv.po +4 -0
  70. package/lang/translations/ms.po +4 -0
  71. package/lang/translations/nl.po +4 -0
  72. package/lang/translations/no.po +4 -0
  73. package/lang/translations/pl.po +4 -0
  74. package/lang/translations/pt-br.po +4 -0
  75. package/lang/translations/pt.po +4 -0
  76. package/lang/translations/ro.po +4 -0
  77. package/lang/translations/ru.po +4 -0
  78. package/lang/translations/sk.po +4 -0
  79. package/lang/translations/sr.po +4 -0
  80. package/lang/translations/sv.po +4 -0
  81. package/lang/translations/th.po +4 -0
  82. package/lang/translations/tr.po +4 -0
  83. package/lang/translations/uk.po +4 -0
  84. package/lang/translations/uz.po +4 -0
  85. package/lang/translations/vi.po +4 -0
  86. package/lang/translations/zh-cn.po +4 -0
  87. package/lang/translations/zh.po +4 -0
  88. package/package.json +14 -14
  89. package/src/augmentation.d.ts +21 -21
  90. package/src/index.d.ts +13 -13
  91. package/src/slashcommand.d.ts +29 -29
  92. package/src/slashcommand.js +1 -1
  93. package/src/slashcommandconfig.d.ts +242 -242
  94. package/src/slashcommandconfig.js +1 -1
  95. package/src/slashcommandediting.d.ts +41 -41
  96. package/src/slashcommandediting.js +1 -1
  97. package/src/slashcommandeditorconfig.d.ts +96 -96
  98. package/src/slashcommandui.d.ts +33 -33
  99. package/src/slashcommandui.js +1 -1
  100. package/src/ui/slashcommandbuttonview.d.ts +31 -31
  101. package/src/ui/slashcommandbuttonview.js +1 -1
@@ -104,3 +104,7 @@ msgstr "Masukkan perenggan"
104
104
  msgctxt "Description of the button that inserts a to-do list."
105
105
  msgid "Create a to-do list"
106
106
  msgstr "Cipta senarai untuk dibuat"
107
+
108
+ msgctxt "Description of the button that opens the AI Assistant feature."
109
+ msgid "Open the AI Assistant to generate content"
110
+ msgstr "Buka Pembantu AI untuk mencipta kandungan"
@@ -104,3 +104,7 @@ msgstr "Alinea invoegen"
104
104
  msgctxt "Description of the button that inserts a to-do list."
105
105
  msgid "Create a to-do list"
106
106
  msgstr "Takenlijst aanmaken"
107
+
108
+ msgctxt "Description of the button that opens the AI Assistant feature."
109
+ msgid "Open the AI Assistant to generate content"
110
+ msgstr "Open de AI Assistent om inhoud te genereren"
@@ -104,3 +104,7 @@ msgstr "Sett inn et avsnitt"
104
104
  msgctxt "Description of the button that inserts a to-do list."
105
105
  msgid "Create a to-do list"
106
106
  msgstr "Lag en huskeliste"
107
+
108
+ msgctxt "Description of the button that opens the AI Assistant feature."
109
+ msgid "Open the AI Assistant to generate content"
110
+ msgstr "Åpne AI Assistant for å generere innhold"
@@ -104,3 +104,7 @@ msgstr "Dodaj akapit"
104
104
  msgctxt "Description of the button that inserts a to-do list."
105
105
  msgid "Create a to-do list"
106
106
  msgstr "Utwórz listę zadań do wykonania"
107
+
108
+ msgctxt "Description of the button that opens the AI Assistant feature."
109
+ msgid "Open the AI Assistant to generate content"
110
+ msgstr "Otwórz asystenta AI, aby wygenerować treść"
@@ -104,3 +104,7 @@ msgstr "Inserir parágrafo"
104
104
  msgctxt "Description of the button that inserts a to-do list."
105
105
  msgid "Create a to-do list"
106
106
  msgstr "Criar uma lista de tarefas"
107
+
108
+ msgctxt "Description of the button that opens the AI Assistant feature."
109
+ msgid "Open the AI Assistant to generate content"
110
+ msgstr "Abra o Assistente de IA para gerar conteúdo"
@@ -104,3 +104,7 @@ msgstr "Inserir um parágrafo"
104
104
  msgctxt "Description of the button that inserts a to-do list."
105
105
  msgid "Create a to-do list"
106
106
  msgstr "Criar uma lista de tarefas"
107
+
108
+ msgctxt "Description of the button that opens the AI Assistant feature."
109
+ msgid "Open the AI Assistant to generate content"
110
+ msgstr "Abrir o Assistente de IA para gerar conteúdo"
@@ -104,3 +104,7 @@ msgstr "Inserare paragraf"
104
104
  msgctxt "Description of the button that inserts a to-do list."
105
105
  msgid "Create a to-do list"
106
106
  msgstr "Creare listă de sarcini"
107
+
108
+ msgctxt "Description of the button that opens the AI Assistant feature."
109
+ msgid "Open the AI Assistant to generate content"
110
+ msgstr "Deschide asistentul AI pentru a genera conținut"
@@ -104,3 +104,7 @@ msgstr "Вставить параграф"
104
104
  msgctxt "Description of the button that inserts a to-do list."
105
105
  msgid "Create a to-do list"
106
106
  msgstr "Создать список дел"
107
+
108
+ msgctxt "Description of the button that opens the AI Assistant feature."
109
+ msgid "Open the AI Assistant to generate content"
110
+ msgstr "Откройте AI Assistant для создания контента"
@@ -104,3 +104,7 @@ msgstr "Vložiť odsek"
104
104
  msgctxt "Description of the button that inserts a to-do list."
105
105
  msgid "Create a to-do list"
106
106
  msgstr "Vytvoriť zoznam úloh"
107
+
108
+ msgctxt "Description of the button that opens the AI Assistant feature."
109
+ msgid "Open the AI Assistant to generate content"
110
+ msgstr "Ak chcete vygenerovať obsah, otvorte pomocníka AI"
@@ -104,3 +104,7 @@ msgstr "Umetni pasus"
104
104
  msgctxt "Description of the button that inserts a to-do list."
105
105
  msgid "Create a to-do list"
106
106
  msgstr "Kreiraj listu zaduženja"
107
+
108
+ msgctxt "Description of the button that opens the AI Assistant feature."
109
+ msgid "Open the AI Assistant to generate content"
110
+ msgstr "Otvorite AI pomoćnika da generišete sadržaj"
@@ -104,3 +104,7 @@ msgstr "Infoga ett stycke"
104
104
  msgctxt "Description of the button that inserts a to-do list."
105
105
  msgid "Create a to-do list"
106
106
  msgstr "Skapa en att-göra-lista"
107
+
108
+ msgctxt "Description of the button that opens the AI Assistant feature."
109
+ msgid "Open the AI Assistant to generate content"
110
+ msgstr "Öppna AI-assistenten för att generera innehåll"
@@ -104,3 +104,7 @@ msgstr "แทรกย่อหน้า"
104
104
  msgctxt "Description of the button that inserts a to-do list."
105
105
  msgid "Create a to-do list"
106
106
  msgstr "สร้างรายการสิ่งต้องทำ"
107
+
108
+ msgctxt "Description of the button that opens the AI Assistant feature."
109
+ msgid "Open the AI Assistant to generate content"
110
+ msgstr "เปิดผู้ช่วย AI เพื่อสร้างเนื้อหา"
@@ -104,3 +104,7 @@ msgstr "Paragraf ekle"
104
104
  msgctxt "Description of the button that inserts a to-do list."
105
105
  msgid "Create a to-do list"
106
106
  msgstr "Yapılacaklar listesi oluştur"
107
+
108
+ msgctxt "Description of the button that opens the AI Assistant feature."
109
+ msgid "Open the AI Assistant to generate content"
110
+ msgstr "İçerik oluşturmak için YZ Asistanı aç"
@@ -104,3 +104,7 @@ msgstr "Вставити абзац"
104
104
  msgctxt "Description of the button that inserts a to-do list."
105
105
  msgid "Create a to-do list"
106
106
  msgstr "Створити список справ"
107
+
108
+ msgctxt "Description of the button that opens the AI Assistant feature."
109
+ msgid "Open the AI Assistant to generate content"
110
+ msgstr "Відкрити ШІ-Помічника для генерування контенту"
@@ -104,3 +104,7 @@ msgstr "Paragrafni kiritish"
104
104
  msgctxt "Description of the button that inserts a to-do list."
105
105
  msgid "Create a to-do list"
106
106
  msgstr "Vazifalar roʻyxatini yaratish"
107
+
108
+ msgctxt "Description of the button that opens the AI Assistant feature."
109
+ msgid "Open the AI Assistant to generate content"
110
+ msgstr ""
@@ -104,3 +104,7 @@ msgstr "Chèn đoạn văn"
104
104
  msgctxt "Description of the button that inserts a to-do list."
105
105
  msgid "Create a to-do list"
106
106
  msgstr "Tạo danh sách việc cần làm"
107
+
108
+ msgctxt "Description of the button that opens the AI Assistant feature."
109
+ msgid "Open the AI Assistant to generate content"
110
+ msgstr "Hãy mở Trợ lý AI để tạo nội dung"
@@ -104,3 +104,7 @@ msgstr "插入一个段落"
104
104
  msgctxt "Description of the button that inserts a to-do list."
105
105
  msgid "Create a to-do list"
106
106
  msgstr "创建一个待办事项清单"
107
+
108
+ msgctxt "Description of the button that opens the AI Assistant feature."
109
+ msgid "Open the AI Assistant to generate content"
110
+ msgstr "打开 AI 助手生成内容"
@@ -104,3 +104,7 @@ msgstr "插入段落"
104
104
  msgctxt "Description of the button that inserts a to-do list."
105
105
  msgid "Create a to-do list"
106
106
  msgstr "建立待辦清單"
107
+
108
+ msgctxt "Description of the button that opens the AI Assistant feature."
109
+ msgid "Open the AI Assistant to generate content"
110
+ msgstr "開啟 AI 助理來生成內容"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-slash-command",
3
- "version": "40.0.0",
3
+ "version": "40.1.0",
4
4
  "description": "Slash command feature for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -11,19 +11,19 @@
11
11
  ],
12
12
  "main": "src/index.js",
13
13
  "dependencies": {
14
- "@ckeditor/ckeditor5-ai": "40.0.0",
15
- "@ckeditor/ckeditor5-ckbox": "40.0.0",
16
- "@ckeditor/ckeditor5-ckfinder": "40.0.0",
17
- "@ckeditor/ckeditor5-code-block": "40.0.0",
18
- "@ckeditor/ckeditor5-heading": "40.0.0",
19
- "@ckeditor/ckeditor5-horizontal-line": "40.0.0",
20
- "@ckeditor/ckeditor5-html-embed": "40.0.0",
21
- "@ckeditor/ckeditor5-indent": "40.0.0",
22
- "@ckeditor/ckeditor5-list": "40.0.0",
23
- "@ckeditor/ckeditor5-table": "40.0.0",
24
- "@ckeditor/ckeditor5-document-outline": "40.0.0",
25
- "@ckeditor/ckeditor5-ui": "40.0.0",
26
- "ckeditor5": "40.0.0"
14
+ "@ckeditor/ckeditor5-ai": "40.1.0",
15
+ "@ckeditor/ckeditor5-ckbox": "40.1.0",
16
+ "@ckeditor/ckeditor5-ckfinder": "40.1.0",
17
+ "@ckeditor/ckeditor5-code-block": "40.1.0",
18
+ "@ckeditor/ckeditor5-heading": "40.1.0",
19
+ "@ckeditor/ckeditor5-horizontal-line": "40.1.0",
20
+ "@ckeditor/ckeditor5-html-embed": "40.1.0",
21
+ "@ckeditor/ckeditor5-indent": "40.1.0",
22
+ "@ckeditor/ckeditor5-list": "40.1.0",
23
+ "@ckeditor/ckeditor5-table": "40.1.0",
24
+ "@ckeditor/ckeditor5-document-outline": "40.1.0",
25
+ "@ckeditor/ckeditor5-ui": "40.1.0",
26
+ "ckeditor5": "40.1.0"
27
27
  },
28
28
  "license": "SEE LICENSE IN LICENSE.md",
29
29
  "author": "CKSource (http://cksource.com/)",
@@ -1,21 +1,21 @@
1
- /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- import type { SlashCommand, SlashCommandConfig, SlashCommandEditing, SlashCommandUI, SlashCommandEditorConfig } from './index';
6
- declare module '@ckeditor/ckeditor5-core' {
7
- interface EditorConfig {
8
- /**
9
- * The configuration of the {@link module:slash-command/slashcommand~SlashCommand} feature.
10
- *
11
- * Read more in {@link module:slash-command/slashcommandeditorconfig~SlashCommandEditorConfig}.
12
- */
13
- slashCommand?: SlashCommandEditorConfig;
14
- }
15
- interface PluginsMap {
16
- [SlashCommand.pluginName]: SlashCommand;
17
- [SlashCommandConfig.pluginName]: SlashCommandConfig;
18
- [SlashCommandEditing.pluginName]: SlashCommandEditing;
19
- [SlashCommandUI.pluginName]: SlashCommandUI;
20
- }
21
- }
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ import type { SlashCommand, SlashCommandConfig, SlashCommandEditing, SlashCommandUI, SlashCommandEditorConfig } from './index';
6
+ declare module '@ckeditor/ckeditor5-core' {
7
+ interface EditorConfig {
8
+ /**
9
+ * The configuration of the {@link module:slash-command/slashcommand~SlashCommand} feature.
10
+ *
11
+ * Read more in {@link module:slash-command/slashcommandeditorconfig~SlashCommandEditorConfig}.
12
+ */
13
+ slashCommand?: SlashCommandEditorConfig;
14
+ }
15
+ interface PluginsMap {
16
+ [SlashCommand.pluginName]: SlashCommand;
17
+ [SlashCommandConfig.pluginName]: SlashCommandConfig;
18
+ [SlashCommandEditing.pluginName]: SlashCommandEditing;
19
+ [SlashCommandUI.pluginName]: SlashCommandUI;
20
+ }
21
+ }
package/src/index.d.ts CHANGED
@@ -1,13 +1,13 @@
1
- /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @module slash-command
7
- */
8
- export { default as SlashCommand } from './slashcommand';
9
- export { default as SlashCommandConfig } from './slashcommandconfig';
10
- export { default as SlashCommandEditing } from './slashcommandediting';
11
- export { default as SlashCommandUI } from './slashcommandui';
12
- export { type SlashCommandEditorConfig } from './slashcommandeditorconfig';
13
- import './augmentation';
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @module slash-command
7
+ */
8
+ export { default as SlashCommand } from './slashcommand';
9
+ export { default as SlashCommandConfig } from './slashcommandconfig';
10
+ export { default as SlashCommandEditing } from './slashcommandediting';
11
+ export { default as SlashCommandUI } from './slashcommandui';
12
+ export { type SlashCommandEditorConfig } from './slashcommandeditorconfig';
13
+ import './augmentation';
@@ -1,29 +1,29 @@
1
- /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @module slash-command/slashcommand
7
- * @publicApi
8
- */
9
- import { Plugin } from 'ckeditor5/src/core';
10
- import SlashCommandEditing from './slashcommandediting';
11
- import SlashCommandUI from './slashcommandui';
12
- /**
13
- * The slash command feature.
14
- * It allows for an easy access to a predefined list of editor commands by typing `/` inside the editor.
15
- *
16
- * For a detailed overview, check the {@glink features/slash-commands Slash command} feature guide.
17
- *
18
- * @extends module:core/plugin~Plugin
19
- */
20
- export default class SlashCommand extends Plugin {
21
- /**
22
- * @inheritDoc
23
- */
24
- static get requires(): readonly ["Mention", typeof SlashCommandEditing, typeof SlashCommandUI];
25
- /**
26
- * @inheritDoc
27
- */
28
- static get pluginName(): "SlashCommand";
29
- }
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @module slash-command/slashcommand
7
+ * @publicApi
8
+ */
9
+ import { Plugin } from 'ckeditor5/src/core';
10
+ import SlashCommandEditing from './slashcommandediting';
11
+ import SlashCommandUI from './slashcommandui';
12
+ /**
13
+ * The slash command feature.
14
+ * It allows for an easy access to a predefined list of editor commands by typing `/` inside the editor.
15
+ *
16
+ * For a detailed overview, check the {@glink features/slash-commands Slash command} feature guide.
17
+ *
18
+ * @extends module:core/plugin~Plugin
19
+ */
20
+ export default class SlashCommand extends Plugin {
21
+ /**
22
+ * @inheritDoc
23
+ */
24
+ static get requires(): readonly ["Mention", typeof SlashCommandEditing, typeof SlashCommandUI];
25
+ /**
26
+ * @inheritDoc
27
+ */
28
+ static get pluginName(): "SlashCommand";
29
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x44b4=['SlashCommand','pluginName','Mention'];(function(_0x2cd97b,_0x44b467){var _0x58f795=function(_0x2dc1ed){while(--_0x2dc1ed){_0x2cd97b['push'](_0x2cd97b['shift']());}};_0x58f795(++_0x44b467);}(_0x44b4,0x120));var _0x58f7=function(_0x2cd97b,_0x44b467){_0x2cd97b=_0x2cd97b-0x0;var _0x58f795=_0x44b4[_0x2cd97b];return _0x58f795;};import{Plugin as _0x3ade10}from'ckeditor5/src/core';import _0x216d4b from'./slashcommandediting';import _0x28b8bb from'./slashcommandui';export default class o extends _0x3ade10{static get['requires'](){return[_0x58f7('0x2'),_0x216d4b,_0x28b8bb];}static get[_0x58f7('0x1')](){return _0x58f7('0x0');}}
23
+ var _0x4a45=['Mention','requires','pluginName','SlashCommand'];(function(_0xccfcb,_0x4a45bf){var _0x1730da=function(_0x5a383d){while(--_0x5a383d){_0xccfcb['push'](_0xccfcb['shift']());}};_0x1730da(++_0x4a45bf);}(_0x4a45,0x67));var _0x1730=function(_0xccfcb,_0x4a45bf){_0xccfcb=_0xccfcb-0x0;var _0x1730da=_0x4a45[_0xccfcb];return _0x1730da;};import{Plugin as _0x56219b}from'ckeditor5/src/core';import _0xeafe6f from'./slashcommandediting';import _0x1c07e3 from'./slashcommandui';export default class o extends _0x56219b{static get[_0x1730('0x2')](){return[_0x1730('0x1'),_0xeafe6f,_0x1c07e3];}static get[_0x1730('0x3')](){return _0x1730('0x0');}}