@ckeditor/ckeditor5-ai 48.5.0-alpha.0 → 48.5.0-alpha.1
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.
- package/dist/aichat/aichatcontroller.d.ts +9 -0
- package/dist/aichat/model/aichatcontext.d.ts +9 -0
- package/dist/aichat/model/aichatconversation.d.ts +4 -0
- package/dist/index.js +19 -19
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +30 -30
|
@@ -148,6 +148,15 @@ export declare class AIChatController extends ContextPlugin {
|
|
|
148
148
|
*/
|
|
149
149
|
removeSelectionFromChatContext(): void;
|
|
150
150
|
/**
|
|
151
|
+
* Adds a reference to an admin-managed context from the Context Library to the conversation context.
|
|
152
|
+
*
|
|
153
|
+
* @experimental **Experimental:** This is a production-ready API but may change in minor releases
|
|
154
|
+
* without the standard deprecation policy. Check the changelog for migration guidance.
|
|
155
|
+
* @param libraryContextId The identifier of the context to attach.
|
|
156
|
+
* @param [label] The label displayed on the context chip. Defaults to `libraryContextId`.
|
|
157
|
+
*/
|
|
158
|
+
addLibraryContextToChatContext(libraryContextId: string, label?: string): void;
|
|
159
|
+
/**
|
|
151
160
|
* Moves focus to the AI Chat prompt input field.
|
|
152
161
|
*
|
|
153
162
|
* @experimental **Experimental:** This is a production-ready API but may change in minor releases
|
|
@@ -172,6 +172,15 @@ export declare class AIChatContext extends AIContext {
|
|
|
172
172
|
*/
|
|
173
173
|
removeSelectionFromContext(): void;
|
|
174
174
|
/**
|
|
175
|
+
* Adds a reference to an admin-managed context from the Context Library to the pending context items.
|
|
176
|
+
*
|
|
177
|
+
* @experimental **Experimental:** This is a production-ready API but may change in minor releases
|
|
178
|
+
* without the standard deprecation policy. Check the changelog for migration guidance.
|
|
179
|
+
* @param libraryContextId The identifier of the context to attach.
|
|
180
|
+
* @param [label] The label displayed on the context chip. Defaults to `libraryContextId`.
|
|
181
|
+
*/
|
|
182
|
+
addLibraryContextToContext(libraryContextId: string, label?: string): void;
|
|
183
|
+
/**
|
|
175
184
|
* Adds a URL to the context by uploading it and creating a context item.
|
|
176
185
|
* This method handles URL upload with proper error handling and progress tracking.
|
|
177
186
|
*
|
|
@@ -150,6 +150,10 @@ export declare class AIChatConversation extends AIChatConversationBase {
|
|
|
150
150
|
*/
|
|
151
151
|
addToolItemToContext(item: AIToolContextItem): void;
|
|
152
152
|
/**
|
|
153
|
+
* Adds a reference to an admin-managed context from the Context Library to the context.
|
|
154
|
+
*/
|
|
155
|
+
addLibraryContextToContext(libraryContextId: string, label?: string): void;
|
|
156
|
+
/**
|
|
153
157
|
* Adds a resource from a source provider to the context.
|
|
154
158
|
*/
|
|
155
159
|
addResourceToContext(source: AIContextProvider, resource: AIContextResource): void;
|