@ckeditor/ckeditor5-ai 47.6.1 → 48.0.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/LICENSE.md +2 -1
- package/ckeditor5-metadata.json +10 -10
- package/dist/aiactions/aiactions.d.ts +90 -0
- package/{src → dist}/aiactions/model/aiactionsinteraction.d.ts +2 -2
- package/{src → dist}/aiassistant/adapters/aiadapter.d.ts +1 -1
- package/{src → dist}/aiassistant/adapters/aitextadapter.d.ts +1 -1
- package/{src → dist}/aiassistant/adapters/awstextadapter.d.ts +2 -2
- package/{src → dist}/aiassistant/adapters/openaitextadapter.d.ts +2 -2
- package/{src → dist}/aiassistant/aiassistant.d.ts +3 -3
- package/{src → dist}/aiassistant/aiassistantediting.d.ts +2 -2
- package/{src → dist}/aiassistant/aiassistantui.d.ts +3 -3
- package/{src → dist}/aiassistant/ui/aiassistantcontroller.d.ts +3 -3
- package/{src → dist}/aiassistant/ui/form/aiformcontentarea.d.ts +2 -2
- package/{src → dist}/aiassistant/ui/form/aiformerrorview.d.ts +2 -2
- package/{src → dist}/aiassistant/ui/form/aiformpromptview.d.ts +2 -2
- package/{src → dist}/aiassistant/ui/form/aiformtoolbarview.d.ts +2 -2
- package/{src → dist}/aiassistant/ui/form/aiformview.d.ts +2 -2
- package/{src → dist}/aiassistant/ui/form/aihistorylistitemview.d.ts +1 -1
- package/{src → dist}/aiassistant/ui/form/aihistorylistview.d.ts +2 -2
- package/{src → dist}/aiassistant/ui/form/prompthistory.d.ts +1 -1
- package/{src → dist}/aiassistant/ui/showaiassistantcommand.d.ts +1 -1
- package/{src → dist}/aiassistant/utils/common-translations.d.ts +1 -1
- package/{src → dist}/aiassistant/utils/normalizecommandsconfig.d.ts +1 -1
- package/{src → dist}/aiballoon/aiballoon.d.ts +2 -2
- package/{src → dist}/aiballoon/ui/aiballoonview.d.ts +2 -2
- package/dist/aichat/aichat.d.ts +95 -0
- package/{src → dist}/aichat/aichatballoon.d.ts +2 -2
- package/{src/aichat/aichat.d.ts → dist/aichat/aichatcontroller.d.ts} +122 -89
- package/{src → dist}/aichat/aichatui.d.ts +5 -5
- package/{src → dist}/aichat/model/aichatcontext.d.ts +91 -17
- package/{src → dist}/aichat/model/aichatconversation.d.ts +4 -4
- package/{src → dist}/aichat/model/aichatinteraction.d.ts +1 -4
- package/{src → dist}/aichat/ui/aichatballoonview.d.ts +2 -2
- package/{src → dist}/aichat/ui/aichatcontrolsview.d.ts +2 -2
- package/{src → dist}/aichat/ui/aichatfeedview.d.ts +2 -2
- package/{src → dist}/aichat/ui/aichatheaderview.d.ts +2 -2
- package/{src → dist}/aichat/ui/aichatview.d.ts +3 -2
- package/{src → dist}/aichat/ui/controls/aichatchipsoverflowmanager.d.ts +2 -2
- package/{src → dist}/aichat/ui/controls/aichatcontextitembuttonview.d.ts +2 -2
- package/{src → dist}/aichat/ui/controls/aichatcontextpanelurlinputview.d.ts +2 -2
- package/{src → dist}/aichat/ui/controls/aichatcontextpanelview.d.ts +2 -2
- package/{src → dist}/aichat/ui/controls/aichatcontrolsloaderview.d.ts +2 -2
- package/{src → dist}/aichat/ui/controls/aichatpromptcapabilitiesview.d.ts +2 -2
- package/{src → dist}/aichat/ui/controls/aichatpromptinputview.d.ts +2 -2
- package/{src → dist}/aichat/ui/controls/aichatpromptsuggestionslistview.d.ts +1 -1
- package/{src → dist}/aichat/ui/controls/resources/aichatcontextresourceslistview.d.ts +2 -2
- package/{src → dist}/aichat/ui/controls/resources/aichatcontextresourcesview.d.ts +2 -2
- package/{src → dist}/aichat/ui/controls/resources/aichatresourcelistitemview.d.ts +2 -2
- package/{src → dist}/aichat/ui/controls/resources/aichatresourcesballoonview.d.ts +2 -2
- package/{src → dist}/aichat/ui/controls/resources/aichatresourcessearchinputview.d.ts +2 -2
- package/{src → dist}/aichat/ui/feed/aichatfeedcontextchipsview.d.ts +2 -2
- package/{src → dist}/aichat/ui/feed/aichatfeedcustomelementview.d.ts +7 -1
- package/{src → dist}/aichat/ui/feed/aichatfeedinteractionheaderview.d.ts +1 -1
- package/{src → dist}/aichat/ui/feed/aichatfeeditemview.d.ts +1 -1
- package/{src → dist}/aichat/ui/feed/aichatfeedreplyitemview.d.ts +2 -2
- package/{src → dist}/aichat/ui/feed/aichatfeedsuggestionitemactionsview.d.ts +2 -2
- package/{src → dist}/aichat/ui/feed/aichatfeedsuggestionitemview.d.ts +2 -2
- package/{src → dist}/aichat/ui/feed/aichatfeedusermessageitem.d.ts +2 -2
- package/{src → dist}/aichat/utils/promisequeue.d.ts +2 -2
- package/{src → dist}/aichathistory/aichathistory.d.ts +1 -1
- package/{src → dist}/aichathistory/aichathistorycontroller.d.ts +1 -1
- package/{src → dist}/aichathistory/aichathistoryui.d.ts +1 -1
- package/{src → dist}/aichathistory/model/aichathistoryconversations.d.ts +2 -2
- package/{src → dist}/aichathistory/model/aichathistoryitem.d.ts +2 -2
- package/{src → dist}/aichathistory/ui/aichathistorylistitemview.d.ts +2 -2
- package/{src → dist}/aichathistory/ui/aichathistorylistview.d.ts +1 -1
- package/{src → dist}/aichathistory/ui/aichathistorysectionlistview.d.ts +1 -1
- package/{src → dist}/aichathistory/ui/aichathistoryview.d.ts +2 -2
- package/{src → dist}/aichatshortcuts/aichatshortcuts.d.ts +17 -17
- package/{src → dist}/aichatshortcuts/ui/aichatshortcutsview.d.ts +2 -2
- package/{src → dist}/aichatshortcuts/ui/aichatshortcutview.d.ts +2 -2
- package/{src → dist}/aiconfig.d.ts +7 -9
- package/{src → dist}/aicore/aiconnector.d.ts +4 -12
- package/{src → dist}/aicore/aiediting.d.ts +27 -6
- package/{src → dist}/aicore/model/aicapabilities.d.ts +2 -2
- package/{src → dist}/aicore/model/aiinteraction.d.ts +17 -13
- package/{src → dist}/aicore/model/aimodels.d.ts +6 -4
- package/{src → dist}/aicore/model/aireply.d.ts +12 -50
- package/{src → dist}/aicore/pipeline/airesponseapplier.d.ts +2 -2
- package/{src → dist}/aicore/pipeline/airesponseparser.d.ts +2 -2
- package/{src → dist}/aicore/ui/aidisclaimerview.d.ts +2 -2
- package/{src → dist}/aicore/ui/aiskeleton.d.ts +2 -2
- package/{src → dist}/aicore/ui/aispinner.d.ts +1 -1
- package/{src → dist}/aicore/ui/suggestioncontainer/aiminitoolbarview.d.ts +2 -2
- package/{src → dist}/aicore/ui/suggestioncontainer/aisuggestionbodyview.d.ts +2 -2
- package/{src → dist}/aicore/ui/suggestioncontainer/aisuggestioncontainerview.d.ts +2 -2
- package/{src → dist}/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.d.ts +2 -2
- package/{src → dist}/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.d.ts +2 -2
- package/{src → dist}/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.d.ts +2 -2
- package/{src → dist}/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.d.ts +2 -2
- package/{src → dist}/aicore/ui/suggestioncontainer/aisuggestionheaderview.d.ts +2 -2
- package/{src → dist}/aicore/ui/suggestioncontainer/aisuggestionloaderview.d.ts +2 -2
- package/{src → dist}/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.d.ts +2 -2
- package/{src → dist}/aicore/ui/suggestioncontainer/aiwebsourcesview.d.ts +2 -2
- package/dist/aicore/utils/buttonclasses.d.ts +12 -0
- package/{src → dist}/aicore/utils/common-translations.d.ts +1 -1
- package/{src → dist}/aicore/utils/createresizebutton.d.ts +2 -2
- package/{src → dist}/aicore/utils/geteditorfromcontext.d.ts +1 -1
- package/{src → dist}/aicore/utils/getoperationsfromreply.d.ts +3 -3
- package/{src → dist}/aicore/utils/getsuggestionpartsfromreply.d.ts +1 -1
- package/{src → dist}/aieditorintegration/aieditorintegration.d.ts +2 -2
- package/{src → dist}/aieditorintegration/aitogglebutton/aitogglebuttonui.d.ts +1 -1
- package/{src → dist}/aieditorintegration/aitogglebutton/toggleaicommand.d.ts +1 -1
- package/{src → dist}/aiquickactions/aiquickactions.d.ts +110 -52
- package/{src → dist}/aiquickactions/aiquickactionscommand.d.ts +1 -1
- package/{src → dist}/aiquickactions/aiquickactionsediting.d.ts +1 -1
- package/{src → dist}/aiquickactions/aiquickactionsui.d.ts +16 -30
- package/{src → dist}/aiquickactions/ui/aiquickactionsbuttoncreator.d.ts +2 -2
- package/{src → dist}/aiquickactions/ui/aiquickactionsdropdowncontentview.d.ts +3 -3
- package/{src → dist}/aiquickactions/ui/aiquickactionsdropdowncreator.d.ts +2 -2
- package/{src → dist}/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.d.ts +2 -2
- package/{src → dist}/aiquickactions/ui/balloon/aiactionsballoontoolbarview.d.ts +2 -2
- package/{src → dist}/aiquickactions/ui/balloon/aiactionsballoonview.d.ts +2 -2
- package/{src → dist}/aiquickactions/ui/dropdownmenubuttonwithhighlightview.d.ts +1 -1
- package/{src → dist}/aireviewcore/aireviewcorecontroller.d.ts +1 -1
- package/{src → dist}/aireviewcore/aireviewcoreediting.d.ts +4 -4
- package/{src → dist}/aireviewcore/aireviewcoreui.d.ts +2 -1
- package/{src → dist}/aireviewcore/model/aireviewchecklist.d.ts +2 -2
- package/{src → dist}/aireviewcore/model/aireviewcheckresult.d.ts +2 -2
- package/{src → dist}/aireviewcore/model/aireviewcheckresultchange.d.ts +3 -3
- package/{src → dist}/aireviewcore/model/aireviewcheckrun.d.ts +2 -2
- package/{src → dist}/aireviewcore/ui/aireviewcoreballoonsuggestionview.d.ts +2 -2
- package/{src → dist}/aireviewcore/ui/aireviewcorechecklistitemresultview.d.ts +2 -2
- package/{src → dist}/aireviewcore/ui/aireviewcorecustomcheckview.d.ts +2 -2
- package/{src → dist}/aireviewcore/ui/aireviewcorefinishreviewbuttonview.d.ts +2 -2
- package/{src → dist}/aireviewcore/ui/aireviewcoregeneralerrorview.d.ts +2 -2
- package/{src → dist}/aireviewcore/ui/aireviewcorepromptinputview.d.ts +2 -2
- package/{src → dist}/aireviewcore/ui/aireviewcorereviewchecklistview.d.ts +2 -2
- package/{src → dist}/aireviewcore/ui/aireviewcorereviewcommandlistitemview.d.ts +2 -2
- package/{src → dist}/aireviewcore/ui/aireviewcorereviewcompletedview.d.ts +2 -2
- package/{src → dist}/aireviewcore/ui/aireviewcoreuicheckresultsview.d.ts +2 -2
- package/{src → dist}/aireviewcore/ui/aireviewcoreview.d.ts +2 -2
- package/{src → dist}/aireviewcore/ui/form/aireviewcoreformdropdown.d.ts +2 -2
- package/{src → dist}/aireviewcore/ui/form/aireviewcoreformmanager.d.ts +2 -2
- package/{src → dist}/aireviewmode/aireviewmode.d.ts +6 -4
- package/{src → dist}/aireviewmode/aireviewmodecontroller.d.ts +1 -1
- package/{src → dist}/aitabs/aitabs.d.ts +4 -1
- package/{src → dist}/aitabs/aitabsmainview.d.ts +4 -1
- package/{src → dist}/aitabs/tabs/aitabsview.d.ts +22 -2
- package/{src → dist}/aitabs/tabs/tabbuttonview.d.ts +2 -2
- package/{src → dist}/aitabs/tabs/tabpanelview.d.ts +2 -2
- package/{src → dist}/aitranslate/aitranslate.d.ts +47 -4
- package/{src → dist}/aitranslate/aitranslatecontroller.d.ts +1 -1
- package/{src → dist}/aitranslate/ui/aitranslatecheckresultsview.d.ts +1 -1
- package/dist/index-content.css +95 -0
- package/dist/index-editor.css +2711 -2793
- package/dist/index.css +2699 -3521
- package/{src → dist}/index.d.ts +7 -6
- package/dist/index.js +5 -5
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +26 -51
- package/build/966.ai.js +0 -5
- package/build/ai.js +0 -4
- package/build/translations/af.js +0 -1
- package/build/translations/ar.js +0 -1
- package/build/translations/ast.js +0 -1
- package/build/translations/az.js +0 -1
- package/build/translations/be.js +0 -1
- package/build/translations/bg.js +0 -1
- package/build/translations/bn.js +0 -1
- package/build/translations/bs.js +0 -1
- package/build/translations/ca.js +0 -1
- package/build/translations/cs.js +0 -1
- package/build/translations/da.js +0 -1
- package/build/translations/de-ch.js +0 -1
- package/build/translations/de.js +0 -1
- package/build/translations/el.js +0 -1
- package/build/translations/en-au.js +0 -1
- package/build/translations/en-gb.js +0 -1
- package/build/translations/en.js +0 -1
- package/build/translations/eo.js +0 -1
- package/build/translations/es-co.js +0 -1
- package/build/translations/es.js +0 -1
- package/build/translations/et.js +0 -1
- package/build/translations/eu.js +0 -1
- package/build/translations/fa.js +0 -1
- package/build/translations/fi.js +0 -1
- package/build/translations/fr.js +0 -1
- package/build/translations/gl.js +0 -1
- package/build/translations/gu.js +0 -1
- package/build/translations/he.js +0 -1
- package/build/translations/hi.js +0 -1
- package/build/translations/hr.js +0 -1
- package/build/translations/hu.js +0 -1
- package/build/translations/hy.js +0 -1
- package/build/translations/id.js +0 -1
- package/build/translations/it.js +0 -1
- package/build/translations/ja.js +0 -1
- package/build/translations/jv.js +0 -1
- package/build/translations/kk.js +0 -1
- package/build/translations/km.js +0 -1
- package/build/translations/kn.js +0 -1
- package/build/translations/ko.js +0 -1
- package/build/translations/ku.js +0 -1
- package/build/translations/lt.js +0 -1
- package/build/translations/lv.js +0 -1
- package/build/translations/ms.js +0 -1
- package/build/translations/nb.js +0 -1
- package/build/translations/ne.js +0 -1
- package/build/translations/nl.js +0 -1
- package/build/translations/no.js +0 -1
- package/build/translations/oc.js +0 -1
- package/build/translations/pl.js +0 -1
- package/build/translations/pt-br.js +0 -1
- package/build/translations/pt.js +0 -1
- package/build/translations/ro.js +0 -1
- package/build/translations/ru.js +0 -1
- package/build/translations/si.js +0 -1
- package/build/translations/sk.js +0 -1
- package/build/translations/sl.js +0 -1
- package/build/translations/sq.js +0 -1
- package/build/translations/sr-latn.js +0 -1
- package/build/translations/sr.js +0 -1
- package/build/translations/sv.js +0 -1
- package/build/translations/th.js +0 -1
- package/build/translations/ti.js +0 -1
- package/build/translations/tk.js +0 -1
- package/build/translations/tr.js +0 -1
- package/build/translations/tt.js +0 -1
- package/build/translations/ug.js +0 -1
- package/build/translations/uk.js +0 -1
- package/build/translations/ur.js +0 -1
- package/build/translations/uz.js +0 -1
- package/build/translations/vi.js +0 -1
- package/build/translations/zh-cn.js +0 -1
- package/build/translations/zh.js +0 -1
- package/lang/contexts.json +0 -286
- package/lang/translations/af.po +0 -1144
- package/lang/translations/ar.po +0 -1144
- package/lang/translations/ast.po +0 -1144
- package/lang/translations/az.po +0 -1144
- package/lang/translations/be.po +0 -1144
- package/lang/translations/bg.po +0 -1144
- package/lang/translations/bn.po +0 -1144
- package/lang/translations/bs.po +0 -1144
- package/lang/translations/ca.po +0 -1144
- package/lang/translations/cs.po +0 -1144
- package/lang/translations/da.po +0 -1144
- package/lang/translations/de-ch.po +0 -1144
- package/lang/translations/de.po +0 -1144
- package/lang/translations/el.po +0 -1144
- package/lang/translations/en-au.po +0 -1144
- package/lang/translations/en-gb.po +0 -1144
- package/lang/translations/en.po +0 -1144
- package/lang/translations/eo.po +0 -1144
- package/lang/translations/es-co.po +0 -1144
- package/lang/translations/es.po +0 -1144
- package/lang/translations/et.po +0 -1144
- package/lang/translations/eu.po +0 -1144
- package/lang/translations/fa.po +0 -1144
- package/lang/translations/fi.po +0 -1144
- package/lang/translations/fr.po +0 -1144
- package/lang/translations/gl.po +0 -1144
- package/lang/translations/gu.po +0 -1144
- package/lang/translations/he.po +0 -1144
- package/lang/translations/hi.po +0 -1144
- package/lang/translations/hr.po +0 -1144
- package/lang/translations/hu.po +0 -1144
- package/lang/translations/hy.po +0 -1144
- package/lang/translations/id.po +0 -1144
- package/lang/translations/it.po +0 -1144
- package/lang/translations/ja.po +0 -1144
- package/lang/translations/jv.po +0 -1144
- package/lang/translations/kk.po +0 -1144
- package/lang/translations/km.po +0 -1144
- package/lang/translations/kn.po +0 -1144
- package/lang/translations/ko.po +0 -1144
- package/lang/translations/ku.po +0 -1144
- package/lang/translations/lt.po +0 -1144
- package/lang/translations/lv.po +0 -1144
- package/lang/translations/ms.po +0 -1144
- package/lang/translations/nb.po +0 -1144
- package/lang/translations/ne.po +0 -1144
- package/lang/translations/nl.po +0 -1144
- package/lang/translations/no.po +0 -1144
- package/lang/translations/oc.po +0 -1144
- package/lang/translations/pl.po +0 -1144
- package/lang/translations/pt-br.po +0 -1144
- package/lang/translations/pt.po +0 -1144
- package/lang/translations/ro.po +0 -1144
- package/lang/translations/ru.po +0 -1144
- package/lang/translations/si.po +0 -1144
- package/lang/translations/sk.po +0 -1144
- package/lang/translations/sl.po +0 -1144
- package/lang/translations/sq.po +0 -1144
- package/lang/translations/sr-latn.po +0 -1144
- package/lang/translations/sr.po +0 -1144
- package/lang/translations/sv.po +0 -1144
- package/lang/translations/th.po +0 -1144
- package/lang/translations/ti.po +0 -1144
- package/lang/translations/tk.po +0 -1144
- package/lang/translations/tr.po +0 -1144
- package/lang/translations/tt.po +0 -1144
- package/lang/translations/ug.po +0 -1144
- package/lang/translations/uk.po +0 -1144
- package/lang/translations/ur.po +0 -1144
- package/lang/translations/uz.po +0 -1144
- package/lang/translations/vi.po +0 -1144
- package/lang/translations/zh-cn.po +0 -1144
- package/lang/translations/zh.po +0 -1144
- package/src/aiactions/aiactions.d.ts +0 -53
- package/src/aiactions/aiactions.js +0 -23
- package/src/aiactions/model/aiactionsinteraction.js +0 -23
- package/src/aiactions/model/aiactionsreply.js +0 -23
- package/src/aiassistant/adapters/aiadapter.js +0 -23
- package/src/aiassistant/adapters/aitextadapter.js +0 -23
- package/src/aiassistant/adapters/awstextadapter.js +0 -23
- package/src/aiassistant/adapters/openaitextadapter.js +0 -23
- package/src/aiassistant/aiassistant.js +0 -23
- package/src/aiassistant/aiassistantediting.js +0 -23
- package/src/aiassistant/aiassistantui.js +0 -23
- package/src/aiassistant/legacyerrors.js +0 -23
- package/src/aiassistant/ui/aiassistantcontroller.js +0 -24
- package/src/aiassistant/ui/form/aiformcontentarea.js +0 -23
- package/src/aiassistant/ui/form/aiformerrorview.js +0 -23
- package/src/aiassistant/ui/form/aiformpromptview.js +0 -23
- package/src/aiassistant/ui/form/aiformtoolbarview.js +0 -23
- package/src/aiassistant/ui/form/aiformview.js +0 -23
- package/src/aiassistant/ui/form/aihistorylistitemview.js +0 -23
- package/src/aiassistant/ui/form/aihistorylistview.js +0 -23
- package/src/aiassistant/ui/form/prompthistory.js +0 -23
- package/src/aiassistant/ui/showaiassistantcommand.js +0 -23
- package/src/aiassistant/utils/common-translations.js +0 -23
- package/src/aiassistant/utils/normalizecommandsconfig.js +0 -23
- package/src/aiballoon/aiballoon.js +0 -23
- package/src/aiballoon/ui/aiballoonview.js +0 -23
- package/src/aichat/aichat.js +0 -23
- package/src/aichat/aichatballoon.js +0 -23
- package/src/aichat/aichatcontroller.d.ts +0 -77
- package/src/aichat/aichatcontroller.js +0 -23
- package/src/aichat/aichatui.js +0 -23
- package/src/aichat/model/aichatcontext.js +0 -23
- package/src/aichat/model/aichatconversation.js +0 -23
- package/src/aichat/model/aichatinteraction.js +0 -23
- package/src/aichat/ui/aichatballoonview.js +0 -23
- package/src/aichat/ui/aichatcontrolsview.js +0 -23
- package/src/aichat/ui/aichatfeedview.js +0 -23
- package/src/aichat/ui/aichatheaderview.js +0 -23
- package/src/aichat/ui/aichatview.js +0 -23
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +0 -23
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +0 -23
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +0 -23
- package/src/aichat/ui/controls/aichatcontextpanelview.js +0 -23
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +0 -23
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +0 -23
- package/src/aichat/ui/controls/aichatpromptinputview.js +0 -23
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +0 -23
- package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +0 -23
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +0 -23
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +0 -23
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +0 -23
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +0 -23
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +0 -23
- package/src/aichat/ui/feed/aichatfeedcustomelementview.js +0 -23
- package/src/aichat/ui/feed/aichatfeederroritemview.js +0 -23
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +0 -23
- package/src/aichat/ui/feed/aichatfeeditemview.js +0 -23
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +0 -23
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +0 -23
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +0 -23
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +0 -23
- package/src/aichat/utils/eventnames.js +0 -23
- package/src/aichat/utils/promisequeue.js +0 -23
- package/src/aichathistory/aichathistory.js +0 -23
- package/src/aichathistory/aichathistorycontroller.js +0 -23
- package/src/aichathistory/aichathistoryui.js +0 -23
- package/src/aichathistory/model/aichathistoryconversations.js +0 -23
- package/src/aichathistory/model/aichathistoryitem.js +0 -23
- package/src/aichathistory/ui/aichathistorylistitemview.js +0 -24
- package/src/aichathistory/ui/aichathistorylistview.js +0 -23
- package/src/aichathistory/ui/aichathistorysectionlistview.js +0 -23
- package/src/aichathistory/ui/aichathistoryview.js +0 -23
- package/src/aichatshortcuts/aichatshortcuts.js +0 -23
- package/src/aichatshortcuts/ui/aichatshortcutsview.js +0 -23
- package/src/aichatshortcuts/ui/aichatshortcutview.js +0 -23
- package/src/aiconfig.js +0 -23
- package/src/aicore/aiconnector.js +0 -23
- package/src/aicore/aiediting.js +0 -23
- package/src/aicore/model/aicapabilities.js +0 -23
- package/src/aicore/model/aicontext.js +0 -23
- package/src/aicore/model/aiinteraction.js +0 -23
- package/src/aicore/model/aimodels.js +0 -23
- package/src/aicore/model/aireply.js +0 -23
- package/src/aicore/pipeline/airesponseapplier.js +0 -24
- package/src/aicore/pipeline/airesponseparser.js +0 -24
- package/src/aicore/ui/aidisclaimerview.js +0 -23
- package/src/aicore/ui/aiskeleton.js +0 -23
- package/src/aicore/ui/aispinner.js +0 -23
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +0 -23
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +0 -23
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +0 -23
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +0 -23
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +0 -23
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +0 -23
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +0 -23
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +0 -23
- package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +0 -23
- package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +0 -23
- package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +0 -23
- package/src/aicore/utils/common-translations.js +0 -23
- package/src/aicore/utils/createresizebutton.js +0 -23
- package/src/aicore/utils/documentposition.js +0 -23
- package/src/aicore/utils/documentrange.js +0 -23
- package/src/aicore/utils/eventnames.js +0 -23
- package/src/aicore/utils/geteditorfromcontext.js +0 -23
- package/src/aicore/utils/getoperationsfromreply.js +0 -23
- package/src/aicore/utils/getsuggestionpartsfromreply.js +0 -23
- package/src/aicore/utils/htmlparser.js +0 -23
- package/src/aicore/utils/htmlstreamer.js +0 -23
- package/src/aicore/utils/scrollmanager.js +0 -23
- package/src/aieditorintegration/aieditorintegration.js +0 -23
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +0 -23
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +0 -23
- package/src/aiquickactions/aiquickactions.js +0 -23
- package/src/aiquickactions/aiquickactionscommand.js +0 -23
- package/src/aiquickactions/aiquickactionsediting.js +0 -23
- package/src/aiquickactions/aiquickactionsui.js +0 -23
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +0 -23
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +0 -23
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +0 -23
- package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +0 -23
- package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +0 -23
- package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +0 -23
- package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +0 -23
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +0 -23
- package/src/aireviewcore/aireviewcorecontroller.js +0 -23
- package/src/aireviewcore/aireviewcoreediting.js +0 -23
- package/src/aireviewcore/aireviewcoreui.js +0 -23
- package/src/aireviewcore/model/aireviewcheck.js +0 -23
- package/src/aireviewcore/model/aireviewchecklist.js +0 -23
- package/src/aireviewcore/model/aireviewcheckresult.js +0 -23
- package/src/aireviewcore/model/aireviewcheckresultchange.js +0 -23
- package/src/aireviewcore/model/aireviewcheckrun.js +0 -23
- package/src/aireviewcore/model/aireviewsystemcheckrun.js +0 -23
- package/src/aireviewcore/types.js +0 -23
- package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +0 -23
- package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +0 -23
- package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +0 -23
- package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +0 -23
- package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +0 -23
- package/src/aireviewcore/ui/aireviewcorepromptinputview.js +0 -23
- package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +0 -23
- package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +0 -23
- package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +0 -23
- package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +0 -23
- package/src/aireviewcore/ui/aireviewcoreview.js +0 -23
- package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +0 -23
- package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +0 -23
- package/src/aireviewmode/aireviewcheckdefinitions.js +0 -23
- package/src/aireviewmode/aireviewmode.js +0 -23
- package/src/aireviewmode/aireviewmodecontroller.js +0 -23
- package/src/aireviewmode/aireviewmodeui.js +0 -23
- package/src/aireviewmode/model/aireviewcheckcustom.js +0 -23
- package/src/aireviewmode/model/aireviewcheckextra.js +0 -23
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +0 -23
- package/src/aireviewmode/model/aireviewextracheckrun.js +0 -23
- package/src/aireviewmode/model/aireviewmodechecklist.js +0 -23
- package/src/aitabs/aitabs.js +0 -23
- package/src/aitabs/aitabsmainview.js +0 -23
- package/src/aitabs/tabs/aitabsview.js +0 -23
- package/src/aitabs/tabs/tabbuttonview.js +0 -23
- package/src/aitabs/tabs/tabpanelview.js +0 -23
- package/src/aitranslate/aitranslate.js +0 -23
- package/src/aitranslate/aitranslatecontroller.js +0 -23
- package/src/aitranslate/aitranslateui.js +0 -23
- package/src/aitranslate/model/aitranslatecheck.js +0 -23
- package/src/aitranslate/model/aitranslatechecklist.js +0 -23
- package/src/aitranslate/model/aitranslatecheckrun.js +0 -23
- package/src/aitranslate/ui/aitranslatechecklistview.js +0 -23
- package/src/aitranslate/ui/aitranslatecheckresultsview.js +0 -23
- package/src/augmentation.js +0 -23
- package/src/errors.js +0 -23
- package/src/errorsmap.js +0 -23
- package/src/index.js +0 -23
- package/theme/aiassistant/ai-dropdown.css +0 -37
- package/theme/aiassistant/ai-form.css +0 -262
- package/theme/aiassistant/ai.css +0 -120
- package/theme/aiballoon/aiballoon.css +0 -58
- package/theme/aichat/aichat-controls/aichat-context-chip.css +0 -139
- package/theme/aichat/aichat-controls/aichat-context-controls-balloon-panels.css +0 -207
- package/theme/aichat/aichat-controls/aichat-context-controls.css +0 -45
- package/theme/aichat/aichat-controls/aichat-controls-button.css +0 -75
- package/theme/aichat/aichat-controls/aichat-controls-loader.css +0 -77
- package/theme/aichat/aichat-controls/model-unavailable-message.css +0 -39
- package/theme/aichat/aichat-controls/prompt-capabilities.css +0 -45
- package/theme/aichat/aichat-controls/prompt-input.css +0 -78
- package/theme/aichat/aichat-controls.css +0 -121
- package/theme/aichat/aichat.css +0 -55
- package/theme/aichat/aichatballoon.css +0 -122
- package/theme/aichat/aichatfeed.css +0 -430
- package/theme/aichat/aichathistory.css +0 -264
- package/theme/aichat/aiminitoolbar.css +0 -79
- package/theme/aichat/aisuggestioncontainer.css +0 -172
- package/theme/aichatshortcuts/aichatshortcuts.css +0 -84
- package/theme/aieditorintegration/aitogglebutton.css +0 -17
- package/theme/aiquickactions/aiquickactions.css +0 -177
- package/theme/aiquickactions/aiquickactionsballoon.css +0 -119
- package/theme/aireviewcore/aireviewcore-balloon-panel-suggestion.css +0 -47
- package/theme/aireviewcore/aireviewcore-check-list.css +0 -278
- package/theme/aireviewcore/aireviewcore-check-run-result.css +0 -103
- package/theme/aireviewcore/aireviewcore-check-run.css +0 -237
- package/theme/aireviewcore/aireviewcore-review-completed.css +0 -52
- package/theme/aireviewcore/aireviewcore.css +0 -134
- package/theme/aitabs/aitabsresizebutton.css +0 -14
- package/theme/aitabs/aitabsview.css +0 -69
- package/theme/aitabs/tabs/tabbuttonview.css +0 -76
- package/theme/aitabs/tabs/tabsview.css +0 -89
- package/theme/aitranslate/aitranslate.css +0 -116
- package/theme/common/aibutton.css +0 -157
- package/theme/common/aidisclaimer.css +0 -29
- package/theme/common/aiheader.css +0 -99
- package/theme/common/ainotification.css +0 -65
- package/theme/common/aiskeleton.css +0 -54
- package/theme/common/aispinner.css +0 -58
- package/theme/common/aisuggestioncontentpartstate.css +0 -33
- package/theme/common/aisuggestioncontentparttoolbar.css +0 -34
- package/theme/common/aisuggestionstreamablecontent.css +0 -62
- package/theme/common/aitrackchanges.css +0 -29
- /package/{src → dist}/aiactions/model/aiactionsreply.d.ts +0 -0
- /package/{src → dist}/aiassistant/legacyerrors.d.ts +0 -0
- /package/{src → dist}/aichat/ui/feed/aichatfeederroritemview.d.ts +0 -0
- /package/{src → dist}/aichat/utils/eventnames.d.ts +0 -0
- /package/{src → dist}/aicore/model/aicontext.d.ts +0 -0
- /package/{src → dist}/aicore/utils/documentposition.d.ts +0 -0
- /package/{src → dist}/aicore/utils/documentrange.d.ts +0 -0
- /package/{src → dist}/aicore/utils/eventnames.d.ts +0 -0
- /package/{src → dist}/aicore/utils/htmlparser.d.ts +0 -0
- /package/{src → dist}/aicore/utils/htmlstreamer.d.ts +0 -0
- /package/{src → dist}/aicore/utils/scrollmanager.d.ts +0 -0
- /package/{src → dist}/aiquickactions/ui/aiquickactionsfilteredlistview.d.ts +0 -0
- /package/{src → dist}/aireviewcore/model/aireviewcheck.d.ts +0 -0
- /package/{src → dist}/aireviewcore/model/aireviewsystemcheckrun.d.ts +0 -0
- /package/{src → dist}/aireviewcore/types.d.ts +0 -0
- /package/{src → dist}/aireviewmode/aireviewcheckdefinitions.d.ts +0 -0
- /package/{src → dist}/aireviewmode/aireviewmodeui.d.ts +0 -0
- /package/{src → dist}/aireviewmode/model/aireviewcheckcustom.d.ts +0 -0
- /package/{src → dist}/aireviewmode/model/aireviewcheckextra.d.ts +0 -0
- /package/{src → dist}/aireviewmode/model/aireviewcustomcheckrun.d.ts +0 -0
- /package/{src → dist}/aireviewmode/model/aireviewextracheckrun.d.ts +0 -0
- /package/{src → dist}/aireviewmode/model/aireviewmodechecklist.d.ts +0 -0
- /package/{src → dist}/aitranslate/aitranslateui.d.ts +0 -0
- /package/{src → dist}/aitranslate/model/aitranslatecheck.d.ts +0 -0
- /package/{src → dist}/aitranslate/model/aitranslatechecklist.d.ts +0 -0
- /package/{src → dist}/aitranslate/model/aitranslatecheckrun.d.ts +0 -0
- /package/{src → dist}/aitranslate/ui/aitranslatechecklistview.d.ts +0 -0
- /package/{src → dist}/augmentation.d.ts +0 -0
- /package/{src → dist}/errors.d.ts +0 -0
- /package/{src → dist}/errorsmap.d.ts +0 -0
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module ai/aichat/ui/aichatheaderview
|
|
7
7
|
*/
|
|
8
|
-
import { type Locale } from 'ckeditor5
|
|
9
|
-
import { ButtonView, FormHeaderView } from 'ckeditor5
|
|
8
|
+
import { type Locale } from '@ckeditor/ckeditor5-utils';
|
|
9
|
+
import { ButtonView, FormHeaderView } from '@ckeditor/ckeditor5-ui';
|
|
10
10
|
import '../../../theme/common/aiheader.css';
|
|
11
11
|
export declare class AIChatHeaderView extends FormHeaderView {
|
|
12
12
|
/**
|
|
@@ -5,14 +5,15 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module ai/aichat/ui/aichatview
|
|
7
7
|
*/
|
|
8
|
-
import { type Locale } from 'ckeditor5
|
|
9
|
-
import { type FormHeaderView, View } from 'ckeditor5
|
|
8
|
+
import { type Locale } from '@ckeditor/ckeditor5-utils';
|
|
9
|
+
import { type FormHeaderView, View } from '@ckeditor/ckeditor5-ui';
|
|
10
10
|
import { AIChatFeedView } from './aichatfeedview.js';
|
|
11
11
|
import { AIChatControlsView } from './aichatcontrolsview.js';
|
|
12
12
|
import { AIDisclaimerView } from '../../aicore/ui/aidisclaimerview.js';
|
|
13
13
|
import { type AIContextProvider, type AIContextResourceState } from '../../aichat/model/aichatcontext.js';
|
|
14
14
|
import '../../../theme/common/ainotification.css';
|
|
15
15
|
import '../../../theme/common/aibutton.css';
|
|
16
|
+
import '../../../theme/common/aicolor.css';
|
|
16
17
|
import '../../../theme/common/aitrackchanges.css';
|
|
17
18
|
/**
|
|
18
19
|
* The main view of the AI chat plugin.
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module ai/aichat/ui/controls/aichatchipsoverflowmanager
|
|
7
7
|
*/
|
|
8
|
-
import { View, type BodyCollection, ButtonView } from 'ckeditor5
|
|
9
|
-
import { type Locale, Collection } from 'ckeditor5
|
|
8
|
+
import { View, type BodyCollection, ButtonView } from '@ckeditor/ckeditor5-ui';
|
|
9
|
+
import { type Locale, Collection } from '@ckeditor/ckeditor5-utils';
|
|
10
10
|
import { type AIChatContextItemButtonView } from './aichatcontextitembuttonview.js';
|
|
11
11
|
/**
|
|
12
12
|
* Configuration interface for the chips overflow manager.
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module ai/aichat/ui/controls/aichatcontextitembuttonview
|
|
7
7
|
*/
|
|
8
|
-
import { ButtonView } from 'ckeditor5
|
|
9
|
-
import { type Locale } from 'ckeditor5
|
|
8
|
+
import { ButtonView } from '@ckeditor/ckeditor5-ui';
|
|
9
|
+
import { type Locale } from '@ckeditor/ckeditor5-utils';
|
|
10
10
|
import type { AIContextItem } from '../../../aicore/model/aicontext.js';
|
|
11
11
|
/**
|
|
12
12
|
* A button view representing a context item in the AI chat interface.
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module ai/aichat/ui/controls/aichatcontextpanelurlinputview
|
|
7
7
|
*/
|
|
8
|
-
import { FocusTracker, KeystrokeHandler, type Locale } from 'ckeditor5
|
|
9
|
-
import { ButtonView, FocusCycler, LabeledFieldView, View, type InputTextView, type ViewWithFocusCycler } from 'ckeditor5
|
|
8
|
+
import { FocusTracker, KeystrokeHandler, type Locale } from '@ckeditor/ckeditor5-utils';
|
|
9
|
+
import { ButtonView, FocusCycler, LabeledFieldView, View, type InputTextView, type ViewWithFocusCycler } from '@ckeditor/ckeditor5-ui';
|
|
10
10
|
/**
|
|
11
11
|
* A view for URL input in the AI chat context panel.
|
|
12
12
|
* Provides a form with input field and submit/cancel buttons with proper focus management.
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module ai/aichat/ui/controls/aichatcontextpanelview
|
|
7
7
|
*/
|
|
8
|
-
import { type Locale } from 'ckeditor5
|
|
9
|
-
import { type BodyCollection, ButtonView, IconView, View } from 'ckeditor5
|
|
8
|
+
import { type Locale } from '@ckeditor/ckeditor5-utils';
|
|
9
|
+
import { type BodyCollection, ButtonView, IconView, View } from '@ckeditor/ckeditor5-ui';
|
|
10
10
|
import { type AIContextProvider, type AIContextResourceState, type AIAddContextOptionsState } from '../../../aichat/model/aichatcontext.js';
|
|
11
11
|
import { type AIContextItem } from '../../../aicore/model/aicontext.js';
|
|
12
12
|
export declare const CONTEXT_PANEL_VIEW_EVENT_NAMES: readonly ["addDocumentToContext", "addFileToContext", "addUrlToContext", "addResourceToContext", "removeContextItem", "loadSourceResources", "executeCustomItemCallback"];
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module ai/aichat/ui/controls/aichatcontrolsloaderview
|
|
7
7
|
*/
|
|
8
|
-
import type { Locale } from 'ckeditor5
|
|
9
|
-
import { View } from 'ckeditor5
|
|
8
|
+
import type { Locale } from '@ckeditor/ckeditor5-utils';
|
|
9
|
+
import { View } from '@ckeditor/ckeditor5-ui';
|
|
10
10
|
export declare class AIChatControlsLoaderView extends View {
|
|
11
11
|
constructor(locale: Locale);
|
|
12
12
|
}
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module ai/aichat/ui/controls/aichatpromptcapabilitiesview
|
|
7
7
|
*/
|
|
8
|
-
import { type Locale } from 'ckeditor5
|
|
9
|
-
import { View } from 'ckeditor5
|
|
8
|
+
import { type Locale } from '@ckeditor/ckeditor5-utils';
|
|
9
|
+
import { View } from '@ckeditor/ckeditor5-ui';
|
|
10
10
|
import { type AIModelData } from '../../../aicore/aiconnector.js';
|
|
11
11
|
/**
|
|
12
12
|
* Manages the prompt capabilities UI for AI chat, including web search, commands functionality, and model selection.
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
|
-
import { ButtonView, type TextareaView, AutocompleteView } from 'ckeditor5
|
|
6
|
-
import { type Locale } from 'ckeditor5
|
|
5
|
+
import { ButtonView, type TextareaView, AutocompleteView } from '@ckeditor/ckeditor5-ui';
|
|
6
|
+
import { type Locale } from '@ckeditor/ckeditor5-utils';
|
|
7
7
|
export declare class AIChatPromptInputView extends AutocompleteView<TextareaView> {
|
|
8
8
|
/**
|
|
9
9
|
* The submit button view.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module ai/aichat/ui/controls/aichatpromptsuggestionslistview
|
|
7
7
|
*/
|
|
8
|
-
import { type FilteredView, ListView } from 'ckeditor5
|
|
8
|
+
import { type FilteredView, ListView } from '@ckeditor/ckeditor5-ui';
|
|
9
9
|
export declare class AIChatPromptSuggestionsListView extends ListView implements FilteredView {
|
|
10
10
|
/**
|
|
11
11
|
* @inheritDoc
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module ai/aichat/ui/controls/resources/aichatcontextresourceslistview
|
|
7
7
|
*/
|
|
8
|
-
import { type Locale } from 'ckeditor5
|
|
9
|
-
import { ListView } from 'ckeditor5
|
|
8
|
+
import { type Locale } from '@ckeditor/ckeditor5-utils';
|
|
9
|
+
import { ListView } from '@ckeditor/ckeditor5-ui';
|
|
10
10
|
import { type AIContextProvider, type AIContextResourceState } from '../../../model/aichatcontext.js';
|
|
11
11
|
/**
|
|
12
12
|
* A specialized list view for displaying AI context resources.
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module ai/aichat/ui/controls/resources/aichatcontextresourcesview
|
|
7
7
|
*/
|
|
8
|
-
import { View } from 'ckeditor5
|
|
9
|
-
import { type Locale } from 'ckeditor5
|
|
8
|
+
import { View } from '@ckeditor/ckeditor5-ui';
|
|
9
|
+
import { type Locale } from '@ckeditor/ckeditor5-utils';
|
|
10
10
|
import { type AIContextResourceState, type AIContextProvider } from '../../../model/aichatcontext.js';
|
|
11
11
|
/**
|
|
12
12
|
* Main view component for AI context resources management.
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module ai/aichat/ui/controls/resources/aichatresourcelistitemview
|
|
7
7
|
*/
|
|
8
|
-
import { type Locale } from 'ckeditor5
|
|
9
|
-
import { ListItemView } from 'ckeditor5
|
|
8
|
+
import { type Locale } from '@ckeditor/ckeditor5-utils';
|
|
9
|
+
import { ListItemView } from '@ckeditor/ckeditor5-ui';
|
|
10
10
|
import { type AIContextResourceState } from '../../../../aichat/model/aichatcontext.js';
|
|
11
11
|
/**
|
|
12
12
|
* A view representing a single resource item in the AI chat context resource list.
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module ai/aichat/ui/controls/resources/aichatresourcesballoonview
|
|
7
7
|
*/
|
|
8
|
-
import { type Locale } from 'ckeditor5
|
|
9
|
-
import { type BodyCollection } from 'ckeditor5
|
|
8
|
+
import { type Locale } from '@ckeditor/ckeditor5-utils';
|
|
9
|
+
import { type BodyCollection } from '@ckeditor/ckeditor5-ui';
|
|
10
10
|
import { type AIContextProvider, type AIContextResourceState } from '../../../../aichat/model/aichatcontext.js';
|
|
11
11
|
/**
|
|
12
12
|
* Configuration interface for the AI chat resources balloon view.
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module ai/aichat/ui/controls/resources/aichatresourcessearchinputview
|
|
7
7
|
*/
|
|
8
|
-
import { type Locale } from 'ckeditor5
|
|
9
|
-
import { ButtonView, IconView, type InputTextView, LabeledFieldView } from 'ckeditor5
|
|
8
|
+
import { type Locale } from '@ckeditor/ckeditor5-utils';
|
|
9
|
+
import { ButtonView, IconView, type InputTextView, LabeledFieldView } from '@ckeditor/ckeditor5-ui';
|
|
10
10
|
/**
|
|
11
11
|
* A specialized search input view for AI context resources.
|
|
12
12
|
*
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module ai/aichat/ui/feed/aichatfeedcontextchipsview
|
|
7
7
|
*/
|
|
8
|
-
import { View, type BodyCollection } from 'ckeditor5
|
|
9
|
-
import { type Locale } from 'ckeditor5
|
|
8
|
+
import { View, type BodyCollection } from '@ckeditor/ckeditor5-ui';
|
|
9
|
+
import { type Locale } from '@ckeditor/ckeditor5-utils';
|
|
10
10
|
import { type AIContextItem } from '../../../aicore/model/aicontext.js';
|
|
11
11
|
/**
|
|
12
12
|
* A view that manages context chips with overflow handling and show more functionality.
|
|
@@ -9,6 +9,9 @@
|
|
|
9
9
|
import { AIChatFeedItemView, type AIChatItemViewOptions } from './aichatfeeditemview.js';
|
|
10
10
|
/**
|
|
11
11
|
* A view for a custom UI element in the AI chat feed.
|
|
12
|
+
*
|
|
13
|
+
* @experimental **Experimental:** This is a production-ready API but may change in minor releases
|
|
14
|
+
* without the standard deprecation policy. Check the changelog for migration guidance.
|
|
12
15
|
*/
|
|
13
16
|
export declare class AIChatFeedCustomElementView extends AIChatFeedItemView<AIChatFeedCustomElementViewOptions> {
|
|
14
17
|
/**
|
|
@@ -16,7 +19,10 @@ export declare class AIChatFeedCustomElementView extends AIChatFeedItemView<AICh
|
|
|
16
19
|
*/
|
|
17
20
|
constructor(options: AIChatFeedCustomElementViewOptions);
|
|
18
21
|
/**
|
|
19
|
-
*
|
|
22
|
+
* Renders the custom element view and inserts the provided content into the DOM.
|
|
23
|
+
*
|
|
24
|
+
* @experimental **Experimental:** This is a production-ready API but may change in minor releases
|
|
25
|
+
* without the standard deprecation policy. Check the changelog for migration guidance.
|
|
20
26
|
*/
|
|
21
27
|
render(): Promise<void>;
|
|
22
28
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
|
-
import { type Locale } from 'ckeditor5
|
|
5
|
+
import { type Locale } from '@ckeditor/ckeditor5-utils';
|
|
6
6
|
import { type AICapabilitiesConfig } from '../../../aicore/model/aicapabilities.js';
|
|
7
7
|
import { AIChatFeedItemView, type AIChatItemViewOptions } from './aichatfeeditemview.js';
|
|
8
8
|
/**
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module ai/aichat/ui/feed/aichatfeeditemview
|
|
7
7
|
*/
|
|
8
|
-
import { View } from 'ckeditor5
|
|
8
|
+
import { View } from '@ckeditor/ckeditor5-ui';
|
|
9
9
|
import { type Document } from '../../../aicore/utils/htmlparser.js';
|
|
10
10
|
/**
|
|
11
11
|
* A base class for all item views in the chat feed.
|
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module ai/aichat/ui/feed/aichatfeedreplyitemview
|
|
7
7
|
*/
|
|
8
|
-
import { type Locale } from 'ckeditor5
|
|
8
|
+
import { type Locale } from '@ckeditor/ckeditor5-utils';
|
|
9
9
|
import { AIChatFeedItemView, type AIChatItemViewOptions } from './aichatfeeditemview.js';
|
|
10
10
|
import { type Document } from '../../../aicore/utils/htmlparser.js';
|
|
11
|
-
import { type BodyCollection } from 'ckeditor5
|
|
11
|
+
import { type BodyCollection } from '@ckeditor/ckeditor5-ui';
|
|
12
12
|
import { type AIContentRenderingStrategy } from '../../../aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js';
|
|
13
13
|
import { type AISource } from '../../../aicore/aiconnector.js';
|
|
14
14
|
/**
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module ai/aichat/ui/feed/aichatfeedsuggestionitemactionsview
|
|
7
7
|
*/
|
|
8
|
-
import { type Locale } from 'ckeditor5
|
|
9
|
-
import { View } from 'ckeditor5
|
|
8
|
+
import { type Locale } from '@ckeditor/ckeditor5-utils';
|
|
9
|
+
import { View } from '@ckeditor/ckeditor5-ui';
|
|
10
10
|
export declare const AI_REPLY_ACTIONS: readonly ["applySuggestion", "insertSuggestion"];
|
|
11
11
|
/**
|
|
12
12
|
* A view for the actions of an AI suggestion item in the AI chat feed.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module ai/aichat/ui/feed/aichatfeedsuggestionitemview
|
|
7
7
|
*/
|
|
8
|
-
import { type Locale } from 'ckeditor5
|
|
8
|
+
import { type Locale } from '@ckeditor/ckeditor5-utils';
|
|
9
9
|
import { AIChatFeedItemView, type AIChatItemViewOptions } from './aichatfeeditemview.js';
|
|
10
10
|
import { type AISuggestionContentPartDefinition } from '../../../aicore/utils/getsuggestionpartsfromreply.js';
|
|
11
11
|
import { type AISuggestionActionName } from './aichatfeedsuggestionitemactionsview.js';
|
|
@@ -13,7 +13,7 @@ import { type AIReplyChangeGroupState } from '../../../aicore/model/aireply.js';
|
|
|
13
13
|
import { type AISource } from '../../../aicore/aiconnector.js';
|
|
14
14
|
import { type AISuggestionBodyViewContentPartView } from '../../../aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js';
|
|
15
15
|
import { type AIContentRenderingStrategy } from '../../../aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js';
|
|
16
|
-
import { type BodyCollection } from 'ckeditor5
|
|
16
|
+
import { type BodyCollection } from '@ckeditor/ckeditor5-ui';
|
|
17
17
|
/**
|
|
18
18
|
* A view for an AI suggestion item in the AI chat feed.
|
|
19
19
|
*
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import { AIChatFeedItemView, type AIChatItemViewOptions } from './aichatfeeditemview.js';
|
|
9
9
|
import { type AIContextItem } from '../../../aicore/model/aicontext.js';
|
|
10
|
-
import { type Locale } from 'ckeditor5
|
|
11
|
-
import { type BodyCollection } from 'ckeditor5
|
|
10
|
+
import { type Locale } from '@ckeditor/ckeditor5-utils';
|
|
11
|
+
import { type BodyCollection } from '@ckeditor/ckeditor5-ui';
|
|
12
12
|
/**
|
|
13
13
|
* A view for a user message item in the AI chat feed.
|
|
14
14
|
*
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
declare const PromiseQueue_base: {
|
|
6
|
-
new (): import("ckeditor5
|
|
7
|
-
prototype: import("ckeditor5
|
|
6
|
+
new (): import("@ckeditor/ckeditor5-utils").Emitter;
|
|
7
|
+
prototype: import("@ckeditor/ckeditor5-utils").Emitter;
|
|
8
8
|
};
|
|
9
9
|
/**
|
|
10
10
|
* @module ai/aichat/utils/promisequeue
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* @module ai/aichathistory/aichathistory
|
|
7
7
|
* @publicApi
|
|
8
8
|
*/
|
|
9
|
-
import { ContextPlugin } from 'ckeditor5
|
|
9
|
+
import { ContextPlugin } from '@ckeditor/ckeditor5-core';
|
|
10
10
|
import { AIChatHistoryController } from './aichathistorycontroller.js';
|
|
11
11
|
import { AIChatHistoryUI } from './aichathistoryui.js';
|
|
12
12
|
export { AIChatHistoryItem } from './model/aichathistoryitem.js';
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module ai/aichathistory/aichathistorycontroller
|
|
7
7
|
*/
|
|
8
|
-
import { ContextPlugin } from 'ckeditor5
|
|
8
|
+
import { ContextPlugin } from '@ckeditor/ckeditor5-core';
|
|
9
9
|
import { AIConnector } from '../aicore/aiconnector.js';
|
|
10
10
|
import { AIChatController } from '../aichat/aichatcontroller.js';
|
|
11
11
|
import { AITabs } from '../aitabs/aitabs.js';
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module ai/aichathistory/aichathistoryui
|
|
7
7
|
*/
|
|
8
|
-
import { type Context, type Editor, ContextPlugin } from 'ckeditor5
|
|
8
|
+
import { type Context, type Editor, ContextPlugin } from '@ckeditor/ckeditor5-core';
|
|
9
9
|
import { AITabs } from '../aitabs/aitabs.js';
|
|
10
10
|
import '../../theme/aichat/aichathistory.css';
|
|
11
11
|
export declare const AI_CHAT_HISTORY_UI_EVENT_NAMES: readonly ["showConversationHistory", "removeConversation", "editConversationTitle", "setConversationPinned", "selectConversation", "openChat", "resizeTabs"];
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
import { AIChatHistoryItem } from './aichathistoryitem.js';
|
|
6
6
|
import { type AIConnector, type AIConversationItem } from '../../aicore/aiconnector.js';
|
|
7
7
|
declare const AIChatHistoryConversations_base: {
|
|
8
|
-
new (): import("ckeditor5
|
|
9
|
-
prototype: import("ckeditor5
|
|
8
|
+
new (): import("@ckeditor/ckeditor5-utils").Emitter;
|
|
9
|
+
prototype: import("@ckeditor/ckeditor5-utils").Emitter;
|
|
10
10
|
};
|
|
11
11
|
/**
|
|
12
12
|
* Represents the chat history conversations that manages a collection of history items.
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { type AIConversationItem } from '../../aicore/aiconnector.js';
|
|
6
6
|
declare const AIChatHistoryItem_base: {
|
|
7
|
-
new (): import("ckeditor5
|
|
8
|
-
prototype: import("ckeditor5
|
|
7
|
+
new (): import("@ckeditor/ckeditor5-utils").Observable;
|
|
8
|
+
prototype: import("@ckeditor/ckeditor5-utils").Observable;
|
|
9
9
|
};
|
|
10
10
|
/**
|
|
11
11
|
* Represents a single item in the chat history.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module ai/aichathistory/ui/aichathistorylistitemview
|
|
7
7
|
*/
|
|
8
|
-
import { ListItemView } from 'ckeditor5
|
|
8
|
+
import { ListItemView } from '@ckeditor/ckeditor5-ui';
|
|
9
9
|
interface AIChatHistoryListItemViewConfig {
|
|
10
10
|
title: string;
|
|
11
11
|
createdAt: string;
|
|
@@ -13,7 +13,7 @@ interface AIChatHistoryListItemViewConfig {
|
|
|
13
13
|
pinned?: boolean;
|
|
14
14
|
id: string;
|
|
15
15
|
}
|
|
16
|
-
declare const AIChatHistoryListItemView_base: import("ckeditor5").Mixed<typeof ListItemView, import("@ckeditor/ckeditor5-collaboration-core
|
|
16
|
+
declare const AIChatHistoryListItemView_base: import("@ckeditor/ckeditor5-utils").Mixed<typeof ListItemView, import("@ckeditor/ckeditor5-collaboration-core").ConfirmApi>;
|
|
17
17
|
export declare class AIChatHistoryListItemView extends /* #__PURE__ -- @preserve */ AIChatHistoryListItemView_base {
|
|
18
18
|
id: string;
|
|
19
19
|
isVisible: boolean;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module ai/aichathistory/ui/aichathistorylistview
|
|
7
7
|
*/
|
|
8
|
-
import { ListItemView } from 'ckeditor5
|
|
8
|
+
import { ListItemView } from '@ckeditor/ckeditor5-ui';
|
|
9
9
|
import type { AIChatHistoryListItemView } from './aichathistorylistitemview.js';
|
|
10
10
|
export interface AIChatHistoryListViewConfig {
|
|
11
11
|
title: string;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module ai/aichathistory/ui/aichathistorysectionlistview
|
|
7
7
|
*/
|
|
8
|
-
import { ListView, type FilteredView } from 'ckeditor5
|
|
8
|
+
import { ListView, type FilteredView } from '@ckeditor/ckeditor5-ui';
|
|
9
9
|
import type { AIChatHistoryListView } from './aichathistorylistview.js';
|
|
10
10
|
export declare class AIChatHistorySectionListView extends ListView implements FilteredView {
|
|
11
11
|
sections: Array<AIChatHistoryListView>;
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module ai/aichathistory/ui/aichathistoryview
|
|
7
7
|
*/
|
|
8
|
-
import { type Locale } from 'ckeditor5
|
|
9
|
-
import { View, ButtonView } from 'ckeditor5
|
|
8
|
+
import { type Locale } from '@ckeditor/ckeditor5-utils';
|
|
9
|
+
import { View, ButtonView } from '@ckeditor/ckeditor5-ui';
|
|
10
10
|
import { type AIChatHistoryCategoryData } from '../aichathistoryui.js';
|
|
11
11
|
export declare class AIChatHistoryView extends View {
|
|
12
12
|
/**
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* @publicApi
|
|
8
8
|
*/
|
|
9
9
|
import { AIChatUI } from '../aichat/aichatui.js';
|
|
10
|
-
import { ContextPlugin } from 'ckeditor5
|
|
10
|
+
import { ContextPlugin } from '@ckeditor/ckeditor5-core';
|
|
11
11
|
import '../../theme/aichatshortcuts/aichatshortcuts.css';
|
|
12
12
|
/**
|
|
13
13
|
* The type of the shortcut.
|
|
@@ -61,7 +61,7 @@ declare module '../aichat/aichat.js' {
|
|
|
61
61
|
*
|
|
62
62
|
* ```ts
|
|
63
63
|
* ClassicEditor
|
|
64
|
-
* .create(
|
|
64
|
+
* .create( {
|
|
65
65
|
* ai: {
|
|
66
66
|
* chat: {
|
|
67
67
|
* shortcuts: [
|
|
@@ -210,8 +210,8 @@ export interface AIChatShortcutChatDefinition extends AIChatShortcutBaseDefiniti
|
|
|
210
210
|
*
|
|
211
211
|
* **Note**: This shortcut type requires the {@link module:ai/aireviewmode/aireviewmode~AIReviewMode `AIReviewMode`} plugin to be loaded.
|
|
212
212
|
*
|
|
213
|
-
* This type of shortcut can run both predefined and extra review
|
|
214
|
-
* can be found in the {@glink features/ai/ckeditor-ai-review#review-commands AI Review documentation}. Extra review
|
|
213
|
+
* This type of shortcut can run both predefined and extra review commands. The list of predefined review commands with available parameters
|
|
214
|
+
* can be found in the {@glink features/ai/ckeditor-ai-review#review-commands AI Review documentation}. Extra review commands are defined
|
|
215
215
|
* via the {@link module:ai/aireviewmode/aireviewmode~AIReviewModeConfig#extraCommands `config.ai.review.extraCommands`} configuration.
|
|
216
216
|
*
|
|
217
217
|
* Example of a shortcut that opens the AI Review mode:
|
|
@@ -223,34 +223,34 @@ export interface AIChatShortcutChatDefinition extends AIChatShortcutBaseDefiniti
|
|
|
223
223
|
* }
|
|
224
224
|
* ```
|
|
225
225
|
*
|
|
226
|
-
* Example of a shortcut that runs the `'correctness'` review
|
|
226
|
+
* Example of a shortcut that runs the `'correctness'` review command:
|
|
227
227
|
* ```ts
|
|
228
228
|
* {
|
|
229
229
|
* id: 'check-correctness',
|
|
230
230
|
* label: 'Proofread this document',
|
|
231
231
|
* type: 'review',
|
|
232
|
-
*
|
|
232
|
+
* commandId: 'correctness'
|
|
233
233
|
* }
|
|
234
234
|
* ```
|
|
235
235
|
*
|
|
236
|
-
* Example of a shortcut that runs the `'tone'` review
|
|
236
|
+
* Example of a shortcut that runs the `'tone'` review command with a parameter:
|
|
237
237
|
* ```ts
|
|
238
238
|
* {
|
|
239
239
|
* id: 'adjust-tone',
|
|
240
240
|
* label: 'Change the tone of this document to casual',
|
|
241
241
|
* type: 'review',
|
|
242
|
-
*
|
|
242
|
+
* commandId: 'tone',
|
|
243
243
|
* params: [ 'casual' ]
|
|
244
244
|
* }
|
|
245
245
|
* ```
|
|
246
246
|
*
|
|
247
|
-
* Example of a shortcut that runs the `'custom'` review
|
|
247
|
+
* Example of a shortcut that runs the `'custom'` review command with a specific model and a prompt:
|
|
248
248
|
* ```ts
|
|
249
249
|
* {
|
|
250
250
|
* id: 'custom-review',
|
|
251
|
-
* label: 'Custom grammar
|
|
251
|
+
* label: 'Custom grammar command using the gpt-5.1 model',
|
|
252
252
|
* type: 'review',
|
|
253
|
-
*
|
|
253
|
+
* commandId: 'custom',
|
|
254
254
|
* model: 'gpt-5.1',
|
|
255
255
|
* prompt: 'Check grammar and style.'
|
|
256
256
|
* }
|
|
@@ -259,16 +259,16 @@ export interface AIChatShortcutChatDefinition extends AIChatShortcutBaseDefiniti
|
|
|
259
259
|
export interface AIChatShortcutReviewDefinition extends AIChatShortcutBaseDefinition {
|
|
260
260
|
type: 'review';
|
|
261
261
|
/**
|
|
262
|
-
* The ID of the review
|
|
262
|
+
* The ID of the review command to be run.
|
|
263
263
|
*
|
|
264
264
|
* **Note**: When not provided, the shortcut will switch the user interface to the AI Review.
|
|
265
265
|
*
|
|
266
266
|
* See {@link module:ai/aireviewmode/aireviewmode~AIReviewModeConfig#availableCommands `config.ai.review.availableCommands`}
|
|
267
|
-
* for the list of available review
|
|
267
|
+
* for the list of available review commands.
|
|
268
268
|
*/
|
|
269
|
-
readonly
|
|
269
|
+
readonly commandId?: string;
|
|
270
270
|
/**
|
|
271
|
-
* The ID of the model to be used for the `'custom'` review
|
|
271
|
+
* The ID of the model to be used for the `'custom'` review command that requires a model identifier.
|
|
272
272
|
*
|
|
273
273
|
* See the {@glink features/ai/ckeditor-ai-integration#supported-ai-models integration guide} to learn more about
|
|
274
274
|
* available models.
|
|
@@ -278,11 +278,11 @@ export interface AIChatShortcutReviewDefinition extends AIChatShortcutBaseDefini
|
|
|
278
278
|
*/
|
|
279
279
|
readonly model?: string;
|
|
280
280
|
/**
|
|
281
|
-
* The prompt to be sent to the AI Review for the `'custom'` review
|
|
281
|
+
* The prompt to be sent to the AI Review for the `'custom'` review command that requires a prompt.
|
|
282
282
|
*/
|
|
283
283
|
readonly prompt?: string;
|
|
284
284
|
/**
|
|
285
|
-
* The parameters to be used for review
|
|
285
|
+
* The parameters to be used for review commands that require parameters (e.g. `'length'`, `'tone'`, etc.).
|
|
286
286
|
*/
|
|
287
287
|
readonly params?: Array<string>;
|
|
288
288
|
}
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module ai/aichatshortcuts/ui/aichatshortcutsview
|
|
7
7
|
*/
|
|
8
|
-
import { ListView, View } from 'ckeditor5
|
|
9
|
-
import { type Locale } from 'ckeditor5
|
|
8
|
+
import { ListView, View } from '@ckeditor/ckeditor5-ui';
|
|
9
|
+
import { type Locale } from '@ckeditor/ckeditor5-utils';
|
|
10
10
|
import { type AIChatShortcutDefinition } from '../aichatshortcuts.js';
|
|
11
11
|
/**
|
|
12
12
|
* The view that displays the list of shortcuts in the AI Chat feed.
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module ai/aichatshortcuts/ui/aichatshortcutview
|
|
7
7
|
*/
|
|
8
|
-
import { ButtonView } from 'ckeditor5
|
|
8
|
+
import { ButtonView } from '@ckeditor/ckeditor5-ui';
|
|
9
|
+
import { type Locale } from '@ckeditor/ckeditor5-utils';
|
|
9
10
|
import { type AIChatShortcutDefinition } from '../aichatshortcuts.js';
|
|
10
|
-
import { type Locale } from 'ckeditor5';
|
|
11
11
|
/**
|
|
12
12
|
* The view that displays a single shortcut in the AI Chat feed.
|
|
13
13
|
*/
|
|
@@ -20,7 +20,7 @@ import { type AIReviewModeConfig } from './aireviewmode/aireviewmode.js';
|
|
|
20
20
|
*
|
|
21
21
|
* ```ts
|
|
22
22
|
* ClassicEditor
|
|
23
|
-
* .create(
|
|
23
|
+
* .create( {
|
|
24
24
|
* ai: {
|
|
25
25
|
* // ...
|
|
26
26
|
* }
|
|
@@ -101,12 +101,6 @@ export interface AIConfig {
|
|
|
101
101
|
* * `'applySuggestion'` - applies the presented change directly into the editor content.
|
|
102
102
|
* * `'insertSuggestion'` - applies the presented change as a suggestion, which can be later on accepted or rejected.
|
|
103
103
|
*
|
|
104
|
-
* By default, the editor configuration enables all available actions, in following order:
|
|
105
|
-
*
|
|
106
|
-
* ```ts
|
|
107
|
-
* [ 'applySuggestion', 'insertSuggestion' ]
|
|
108
|
-
* ```
|
|
109
|
-
*
|
|
110
104
|
* This setting impacts:
|
|
111
105
|
*
|
|
112
106
|
* * The action buttons located below an AI reply in the chat feed.
|
|
@@ -125,6 +119,8 @@ export interface AIConfig {
|
|
|
125
119
|
*
|
|
126
120
|
* Please note, that due to these factors, it is possible to accidentally configure the editor in a way, that no UI elements are
|
|
127
121
|
* presented to the user.
|
|
122
|
+
*
|
|
123
|
+
* @default [ 'applySuggestion', 'insertSuggestion' ]
|
|
128
124
|
*/
|
|
129
125
|
availableReplyActions?: Array<AISuggestionActionName>;
|
|
130
126
|
}
|
|
@@ -152,7 +148,8 @@ export interface AIContainerBase {
|
|
|
152
148
|
*
|
|
153
149
|
* ```ts
|
|
154
150
|
* ClassicEditor
|
|
155
|
-
* .create(
|
|
151
|
+
* .create( {
|
|
152
|
+
* attachTo: document.querySelector( '#editor' ),
|
|
156
153
|
* // ... Other configuration options ...
|
|
157
154
|
* ai: {
|
|
158
155
|
* container: {
|
|
@@ -182,7 +179,8 @@ export interface AIContainerSidebar extends AIContainerBase {
|
|
|
182
179
|
*
|
|
183
180
|
* ```ts
|
|
184
181
|
* ClassicEditor
|
|
185
|
-
* .create(
|
|
182
|
+
* .create( {
|
|
183
|
+
* attachTo: document.querySelector( '#editor' ),
|
|
186
184
|
* // ... Other configuration options ...
|
|
187
185
|
* ai: {
|
|
188
186
|
* container: {
|