@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
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
* @module ai/aiquickactions/aiquickactions
|
|
7
7
|
* @publicApi
|
|
8
8
|
*/
|
|
9
|
-
import { type Editor, Plugin } from 'ckeditor5
|
|
10
|
-
import { AIQuickActionsUI
|
|
9
|
+
import { type Editor, Plugin } from '@ckeditor/ckeditor5-core';
|
|
10
|
+
import { AIQuickActionsUI } from './aiquickactionsui.js';
|
|
11
11
|
import { AIQuickActionsEditing } from './aiquickactionsediting.js';
|
|
12
12
|
import { AIActions } from '../aiactions/aiactions.js';
|
|
13
13
|
/**
|
|
@@ -46,7 +46,7 @@ export declare class AIQuickActions extends Plugin {
|
|
|
46
46
|
*
|
|
47
47
|
* ```ts
|
|
48
48
|
* ClassicEditor
|
|
49
|
-
* .create(
|
|
49
|
+
* .create( {
|
|
50
50
|
* ai: {
|
|
51
51
|
* quickActions: {
|
|
52
52
|
* // AI Quick Actions configuration.
|
|
@@ -67,38 +67,36 @@ export interface AIQuickActionsConfig {
|
|
|
67
67
|
* the commands by specifying the type, prompt, and other properties. By default, the extra commands land in the
|
|
68
68
|
* "Other" group in the user interface.
|
|
69
69
|
*
|
|
70
|
-
* The following example will add
|
|
70
|
+
* The following example will add 3 new commands to the AI Quick Actions feature:
|
|
71
71
|
*
|
|
72
72
|
* ```ts
|
|
73
73
|
* ClassicEditor
|
|
74
|
-
* .create(
|
|
74
|
+
* .create( {
|
|
75
75
|
* // ... Other configuration options ...
|
|
76
76
|
* ai: {
|
|
77
77
|
* quickActions: {
|
|
78
78
|
* extraCommands: [
|
|
79
|
-
*
|
|
80
|
-
*
|
|
81
|
-
*
|
|
82
|
-
*
|
|
83
|
-
*
|
|
84
|
-
*
|
|
85
|
-
*
|
|
86
|
-
*
|
|
87
|
-
*
|
|
88
|
-
*
|
|
89
|
-
*
|
|
90
|
-
*
|
|
91
|
-
*
|
|
92
|
-
*
|
|
93
|
-
*
|
|
94
|
-
*
|
|
95
|
-
*
|
|
96
|
-
*
|
|
97
|
-
*
|
|
98
|
-
*
|
|
99
|
-
*
|
|
100
|
-
*
|
|
101
|
-
* // ... More commands ...
|
|
79
|
+
* {
|
|
80
|
+
* id: 'add-quote-from-famous-person',
|
|
81
|
+
* label: 'Add a quote from a famous person',
|
|
82
|
+
* prompt: 'Add a quote from a known person, which would make sense in the context of the selected text.',
|
|
83
|
+
* type: 'action',
|
|
84
|
+
* model: 'claude-4-sonnet'
|
|
85
|
+
* },
|
|
86
|
+
* {
|
|
87
|
+
* id: 'summarize-in-bullet-points',
|
|
88
|
+
* label: 'Summarize',
|
|
89
|
+
* displayedPrompt: 'Summarize in 5 bullet points',
|
|
90
|
+
* prompt: 'Summarize the selected text in 5 bullet points.',
|
|
91
|
+
* type: 'chat'
|
|
92
|
+
* },
|
|
93
|
+
* {
|
|
94
|
+
* id: 'include-more-sarcasm',
|
|
95
|
+
* label: 'Add sarcasm',
|
|
96
|
+
* prompt: 'Rewrite using a sarcastic tone.',
|
|
97
|
+
* type: 'action',
|
|
98
|
+
* model: 'claude-4-sonnet'
|
|
99
|
+
* }
|
|
102
100
|
* ],
|
|
103
101
|
* },
|
|
104
102
|
* }
|
|
@@ -107,7 +105,7 @@ export interface AIQuickActionsConfig {
|
|
|
107
105
|
* .catch( ... );
|
|
108
106
|
* ```
|
|
109
107
|
*/
|
|
110
|
-
extraCommands?: Array<
|
|
108
|
+
extraCommands?: Array<AIQuickActionCustomDefinition>;
|
|
111
109
|
/**
|
|
112
110
|
* The ids of the commands to remove from the AI Quick Actions feature. Removing all commands from a specific category
|
|
113
111
|
* will remove the category from the user interface.
|
|
@@ -144,7 +142,7 @@ export interface AIQuickActionsConfig {
|
|
|
144
142
|
*
|
|
145
143
|
* ```ts
|
|
146
144
|
* ClassicEditor
|
|
147
|
-
* .create(
|
|
145
|
+
* .create( {
|
|
148
146
|
* // ... Other configuration options ...
|
|
149
147
|
* ai: {
|
|
150
148
|
* quickActions: {
|
|
@@ -171,7 +169,7 @@ export interface AIQuickActionsConfig {
|
|
|
171
169
|
*
|
|
172
170
|
* ```ts
|
|
173
171
|
* ClassicEditor
|
|
174
|
-
* .create(
|
|
172
|
+
* .create( {
|
|
175
173
|
* // ... Other configuration options ...
|
|
176
174
|
* ai: {
|
|
177
175
|
* quickActions: {
|
|
@@ -186,43 +184,103 @@ export interface AIQuickActionsConfig {
|
|
|
186
184
|
isSearchEnabled?: boolean;
|
|
187
185
|
}
|
|
188
186
|
/**
|
|
189
|
-
*
|
|
187
|
+
* Represents all quick action definition types:
|
|
190
188
|
*
|
|
191
|
-
*
|
|
189
|
+
* * {@link module:ai/aiquickactions/aiquickactions~AIQuickActionCustomActionDefinition Quick action},
|
|
190
|
+
* * {@link module:ai/aiquickactions/aiquickactions~AIQuickActionCustomChatDefinition Chat action}.
|
|
191
|
+
*/
|
|
192
|
+
export type AIQuickActionCustomDefinition = AIQuickActionCustomActionDefinition | AIQuickActionCustomChatDefinition;
|
|
193
|
+
/**
|
|
194
|
+
* Defines the different types of AI quick actions available in the editor.
|
|
195
|
+
* Each type determines how the action will be presented and executed.
|
|
196
|
+
*/
|
|
197
|
+
export declare enum AIQuickActionType {
|
|
198
|
+
/**
|
|
199
|
+
* Actions that open the AI Chat interface for interactive conversations.
|
|
200
|
+
*/
|
|
201
|
+
CHAT = "chat",
|
|
202
|
+
/**
|
|
203
|
+
* Actions that display results in a balloon popup for quick inline operations.
|
|
204
|
+
*/
|
|
205
|
+
ACTION = "action"
|
|
206
|
+
}
|
|
207
|
+
/**
|
|
208
|
+
* Values for all available action types.
|
|
209
|
+
*/
|
|
210
|
+
export type AIQuickActionTypeValue = `${AIQuickActionType}`;
|
|
211
|
+
/**
|
|
212
|
+
* The base definition for all action types.
|
|
213
|
+
*/
|
|
214
|
+
export interface AIQuickActionCustomBaseDefinition {
|
|
215
|
+
/**
|
|
216
|
+
* The unique identifier of the action.
|
|
217
|
+
*/
|
|
218
|
+
readonly id: string;
|
|
219
|
+
/**
|
|
220
|
+
* The human-readable label of the action.
|
|
221
|
+
*/
|
|
222
|
+
readonly label: string;
|
|
223
|
+
/**
|
|
224
|
+
* The type of the action.
|
|
225
|
+
*/
|
|
226
|
+
readonly type: AIQuickActionTypeValue;
|
|
227
|
+
/**
|
|
228
|
+
* The prompt to be sent to the AI model when the action is executed.
|
|
229
|
+
*/
|
|
230
|
+
readonly prompt: string;
|
|
231
|
+
/**
|
|
232
|
+
* The model to use for the action. If not specified, the default model will be used.
|
|
233
|
+
*/
|
|
234
|
+
readonly model?: string;
|
|
235
|
+
}
|
|
236
|
+
/**
|
|
237
|
+
* A custom AI quick action definition.
|
|
238
|
+
*
|
|
239
|
+
* An example of an action that inserts content in the editor:
|
|
192
240
|
*
|
|
193
241
|
* ```ts
|
|
194
|
-
*{
|
|
195
|
-
*
|
|
196
|
-
*
|
|
197
|
-
*
|
|
198
|
-
*
|
|
199
|
-
*
|
|
200
|
-
*}
|
|
242
|
+
* {
|
|
243
|
+
* id: 'add-random-cat-fact',
|
|
244
|
+
* label: 'Add cat fact.',
|
|
245
|
+
* prompt: 'Add a random fact about cats to the document.',
|
|
246
|
+
* type: 'action',
|
|
247
|
+
* }
|
|
201
248
|
* ```
|
|
202
249
|
*
|
|
203
|
-
*
|
|
250
|
+
* Optionally, action can have an AI model specified that it will use when run:
|
|
204
251
|
*
|
|
205
252
|
* ```ts
|
|
206
253
|
* {
|
|
207
|
-
*
|
|
208
|
-
*
|
|
209
|
-
*
|
|
210
|
-
*
|
|
211
|
-
*
|
|
254
|
+
* id: 'add-quote-from-famous-person',
|
|
255
|
+
* label: 'Add a quote from a famous person',
|
|
256
|
+
* prompt: 'Add a quote from a known person, which would make sense in the context of the selected text.',
|
|
257
|
+
* type: 'action',
|
|
258
|
+
* model: 'claude-4-sonnet'
|
|
212
259
|
* }
|
|
213
260
|
* ```
|
|
261
|
+
*/
|
|
262
|
+
export interface AIQuickActionCustomActionDefinition extends AIQuickActionCustomBaseDefinition {
|
|
263
|
+
type: 'action';
|
|
264
|
+
}
|
|
265
|
+
/**
|
|
266
|
+
* A custom AI quick action definition that interacts with {@link module:ai/aichat/aichat~AIChat AI Chat}.
|
|
214
267
|
*
|
|
215
|
-
*
|
|
268
|
+
* It will open the {@link module:ai/aichat/aichat~AIChat AI Chat} interface for interactive conversations:
|
|
216
269
|
*
|
|
217
270
|
* ```ts
|
|
218
271
|
* {
|
|
219
272
|
* id: 'summarize-in-bullet-points',
|
|
273
|
+
* label: 'Summarize',
|
|
220
274
|
* displayedPrompt: 'Summarize in 5 bullet points',
|
|
221
275
|
* prompt: 'Summarize the selected text in 5 bullet points.',
|
|
222
|
-
* type: '
|
|
223
|
-
*}
|
|
276
|
+
* type: 'chat'
|
|
277
|
+
* }
|
|
224
278
|
* ```
|
|
225
279
|
*/
|
|
226
|
-
export
|
|
227
|
-
|
|
228
|
-
|
|
280
|
+
export interface AIQuickActionCustomChatDefinition extends AIQuickActionCustomBaseDefinition {
|
|
281
|
+
type: 'chat';
|
|
282
|
+
/**
|
|
283
|
+
* The prompt shown in the AI Chat UI when the action is executed. If not specified, the `prompt` property value will be used.
|
|
284
|
+
*/
|
|
285
|
+
displayedPrompt: string;
|
|
286
|
+
}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module ai/aiquickactions/aiquickactionscommand
|
|
7
7
|
*/
|
|
8
|
-
import { Command } from 'ckeditor5
|
|
8
|
+
import { Command } from '@ckeditor/ckeditor5-core';
|
|
9
9
|
import { type AIQuickActionDefinition } from './aiquickactionsui.js';
|
|
10
10
|
/**
|
|
11
11
|
* AI Quick Actions command for executing various AI-powered actions.
|
|
@@ -2,38 +2,21 @@
|
|
|
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 { Plugin } from 'ckeditor5
|
|
6
|
-
import { type Locale } from 'ckeditor5
|
|
7
|
-
import { BalloonToolbar } from 'ckeditor5
|
|
5
|
+
import { Plugin } from '@ckeditor/ckeditor5-core';
|
|
6
|
+
import { type Locale } from '@ckeditor/ckeditor5-utils';
|
|
7
|
+
import { BalloonToolbar } from '@ckeditor/ckeditor5-ui';
|
|
8
8
|
import { AIConnector } from '../aicore/aiconnector.js';
|
|
9
9
|
import '../../theme/common/aibutton.css';
|
|
10
|
+
import '../../theme/common/aicolor.css';
|
|
10
11
|
import '../../theme/aiquickactions/aiquickactions.css';
|
|
11
|
-
|
|
12
|
-
* Defines the different types of AI quick actions available in the editor.
|
|
13
|
-
* Each type determines how the action will be presented and executed.
|
|
14
|
-
*/
|
|
15
|
-
export declare enum AIQuickActionType {
|
|
16
|
-
/**
|
|
17
|
-
* Actions that open the AI Chat interface for interactive conversations.
|
|
18
|
-
*/
|
|
19
|
-
CHAT = "CHAT",
|
|
20
|
-
/**
|
|
21
|
-
* Actions that display results in a balloon popup for quick inline operations.
|
|
22
|
-
*/
|
|
23
|
-
ACTION = "ACTION",
|
|
24
|
-
/**
|
|
25
|
-
* Actions that open the AI Review interface for detailed content analysis.
|
|
26
|
-
*/
|
|
27
|
-
REVIEW = "REVIEW"
|
|
28
|
-
}
|
|
12
|
+
import { AIQuickActionType } from './aiquickactions.js';
|
|
29
13
|
/**
|
|
30
14
|
* Maps AI quick action types to their corresponding CKEditor plugin names.
|
|
31
15
|
* Used for checking plugin availability and determining which actions to display.
|
|
32
16
|
*/
|
|
33
17
|
export declare enum AIQuickActionTypeToPluginName {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
REVIEW = "AIReviewMode"
|
|
18
|
+
chat = "AIChat",
|
|
19
|
+
action = "AIActions"
|
|
37
20
|
}
|
|
38
21
|
/**
|
|
39
22
|
* UI plugin for AI Quick Actions that provides a set of predefined AI-powered tools.
|
|
@@ -42,10 +25,9 @@ export declare enum AIQuickActionTypeToPluginName {
|
|
|
42
25
|
* in the editor's toolbar. It handles both individual actions and grouped actions, automatically
|
|
43
26
|
* filtering based on available plugins and creating the appropriate UI components.
|
|
44
27
|
*
|
|
45
|
-
* The plugin supports
|
|
46
|
-
* -
|
|
47
|
-
* -
|
|
48
|
-
* - REVIEW: Opens detailed AI review interface
|
|
28
|
+
* The plugin supports 2 types of AI actions:
|
|
29
|
+
* - chat: opens interactive AI chat interface,
|
|
30
|
+
* - action: shows results in inline balloon popups.
|
|
49
31
|
*/
|
|
50
32
|
export declare class AIQuickActionsUI extends Plugin {
|
|
51
33
|
/**
|
|
@@ -109,7 +91,7 @@ export type AIQuickActionsGroupDefinition = {
|
|
|
109
91
|
* Defines an individual AI quick action that can be executed by the user.
|
|
110
92
|
*
|
|
111
93
|
* Actions can exist independently or as part of a group. Each action specifies
|
|
112
|
-
* its type to determine the execution interface (chat
|
|
94
|
+
* its type to determine the execution interface (chat or balloon).
|
|
113
95
|
*/
|
|
114
96
|
export type AIQuickActionDefinition = {
|
|
115
97
|
/**
|
|
@@ -123,11 +105,15 @@ export type AIQuickActionDefinition = {
|
|
|
123
105
|
/**
|
|
124
106
|
* Display label for the action.
|
|
125
107
|
*/
|
|
126
|
-
|
|
108
|
+
label: string;
|
|
127
109
|
/**
|
|
128
110
|
* Type determining how the action will be executed.
|
|
129
111
|
*/
|
|
130
112
|
type: AIQuickActionType;
|
|
113
|
+
/**
|
|
114
|
+
* Displayed prompt for the action. Used in the UI to show shorter prompt version in some cases.
|
|
115
|
+
*/
|
|
116
|
+
displayedPrompt?: string;
|
|
131
117
|
/**
|
|
132
118
|
* Optional icon to display for the action.
|
|
133
119
|
*/
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module ai/aiquickactions/ui/aiquickactionsbuttoncreator
|
|
7
7
|
*/
|
|
8
|
-
import { type Editor } from 'ckeditor5
|
|
9
|
-
import { ButtonView } from 'ckeditor5
|
|
8
|
+
import { type Editor } from '@ckeditor/ckeditor5-core';
|
|
9
|
+
import { ButtonView } from '@ckeditor/ckeditor5-ui';
|
|
10
10
|
import { type AIQuickActionDefinition } from '../aiquickactionsui.js';
|
|
11
11
|
/**
|
|
12
12
|
* Configuration options for aiQuickActionsButtonCreator.
|
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module ai/aiquickactions/ui/aiquickactionsdropdowncontentview
|
|
7
7
|
*/
|
|
8
|
-
import { type Editor } from 'ckeditor5
|
|
9
|
-
import { View, type BodyCollection, type DropdownView, type ViewWithFocusCycler, FocusCycler } from 'ckeditor5
|
|
8
|
+
import { type Editor } from '@ckeditor/ckeditor5-core';
|
|
9
|
+
import { View, type BodyCollection, type DropdownView, type ViewWithFocusCycler, FocusCycler } from '@ckeditor/ckeditor5-ui';
|
|
10
10
|
import { type AIQuickActionDefinition, type AIQuickActionsGroupDefinition } from '../aiquickactionsui.js';
|
|
11
|
-
import { FocusTracker, KeystrokeHandler } from 'ckeditor5
|
|
11
|
+
import { FocusTracker, KeystrokeHandler } from '@ckeditor/ckeditor5-utils';
|
|
12
12
|
/**
|
|
13
13
|
* The content view for AI Quick Actions dropdown that renders a structured list of AI commands.
|
|
14
14
|
*
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module ai/aiquickactions/ui/aiquickactionsdropdowncreator
|
|
7
7
|
*/
|
|
8
|
-
import { type Editor } from 'ckeditor5
|
|
9
|
-
import { type BodyCollection, type DropdownView } from 'ckeditor5
|
|
8
|
+
import { type Editor } from '@ckeditor/ckeditor5-core';
|
|
9
|
+
import { type BodyCollection, type DropdownView } from '@ckeditor/ckeditor5-ui';
|
|
10
10
|
import { type AIQuickActionsGroupDefinition, type AIQuickActionDefinition } from '../aiquickactionsui.js';
|
|
11
11
|
/**
|
|
12
12
|
* Configuration for the dropdown button appearance.
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module ai/aiquickactions/ui/balloon/aiactionsballoondisclaimerview
|
|
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
|
/**
|
|
11
11
|
* The disclaimer view of the AI actions plugin.
|
|
12
12
|
*
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module ai/aiquickactions/ui/balloon/aiactionsballoontoolbarview
|
|
7
7
|
*/
|
|
8
|
-
import type { Locale } from 'ckeditor5
|
|
9
|
-
import { ToolbarView, ButtonView } from 'ckeditor5
|
|
8
|
+
import type { Locale } from '@ckeditor/ckeditor5-utils';
|
|
9
|
+
import { ToolbarView, ButtonView } from '@ckeditor/ckeditor5-ui';
|
|
10
10
|
/**
|
|
11
11
|
* A class representing the toolbar view of the AI balloon.
|
|
12
12
|
*/
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module ai/aiquickactions/ui/balloon/aiactionsballoonview
|
|
7
7
|
*/
|
|
8
|
-
import { type ViewWithFocusCycler } from 'ckeditor5
|
|
9
|
-
import { type Locale } from 'ckeditor5
|
|
8
|
+
import { type ViewWithFocusCycler } from '@ckeditor/ckeditor5-ui';
|
|
9
|
+
import { type Locale } from '@ckeditor/ckeditor5-utils';
|
|
10
10
|
import { type AISuggestionActionName } from '../../../aichat/ui/feed/aichatfeedsuggestionitemactionsview.js';
|
|
11
11
|
import { type AIMiniToolbarConfig } from '../../../aicore/ui/suggestioncontainer/aiminitoolbarview.js';
|
|
12
12
|
import { type AIContentRenderingStrategy } from '../../../aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js';
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module ai/aiquickactions/ui/dropdownmenubuttonwithhighlightview
|
|
7
7
|
*/
|
|
8
|
-
import { IconView, type ButtonLabelWithHighlightView, ListItemButtonView } from 'ckeditor5
|
|
8
|
+
import { IconView, type ButtonLabelWithHighlightView, ListItemButtonView } from '@ckeditor/ckeditor5-ui';
|
|
9
9
|
/**
|
|
10
10
|
* A custom dropdown menu button view that supports text highlighting.
|
|
11
11
|
* We need to bypass DropdownMenuButtonView's constructor and manually set up the button.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module ai/aireviewcore/aireviewcorecontroller
|
|
7
7
|
*/
|
|
8
|
-
import { ContextPlugin } from 'ckeditor5
|
|
8
|
+
import { ContextPlugin } from '@ckeditor/ckeditor5-core';
|
|
9
9
|
import { AIConnector } from '../aicore/aiconnector.js';
|
|
10
10
|
export declare abstract class AIReviewCoreController extends ContextPlugin {
|
|
11
11
|
/**
|
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module ai/aireviewcore/aireviewcoreediting
|
|
7
7
|
*/
|
|
8
|
-
import { InsertOperation, MarkerOperation, ModelDocumentFragment, ModelPosition, ModelRange, type Operation } from 'ckeditor5
|
|
9
|
-
import { type Emitter } from 'ckeditor5
|
|
10
|
-
import { type Context, ContextPlugin, type Editor } from 'ckeditor5
|
|
11
|
-
import { DocumentCompare } from 'ckeditor5-collaboration
|
|
8
|
+
import { InsertOperation, MarkerOperation, ModelDocumentFragment, ModelPosition, ModelRange, type Operation } from '@ckeditor/ckeditor5-engine';
|
|
9
|
+
import { type Emitter } from '@ckeditor/ckeditor5-utils';
|
|
10
|
+
import { type Context, ContextPlugin, type Editor } from '@ckeditor/ckeditor5-core';
|
|
11
|
+
import { DocumentCompare } from '@ckeditor/ckeditor5-collaboration-core';
|
|
12
12
|
import { type AIReviewCheckResultChange } from './model/aireviewcheckresultchange.js';
|
|
13
13
|
import { AIEditing } from '../aicore/aiediting.js';
|
|
14
14
|
export declare class AIReviewCoreEditing extends ContextPlugin {
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module ai/aireviewcore/aireviewcoreui
|
|
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 { type AIReviewCheck } from './model/aireviewcheck.js';
|
|
10
10
|
import { type AIReviewCheckRunUpdatedEvent } from './model/aireviewcheckrun.js';
|
|
11
11
|
import { type AIReviewCheckResultChange } from './model/aireviewcheckresultchange.js';
|
|
@@ -15,6 +15,7 @@ export declare const AI_REVIEW_MODE_UI_EVENT_NAMES: readonly ["getReviewCheckLis
|
|
|
15
15
|
import '../../theme/common/aiheader.css';
|
|
16
16
|
import '../../theme/common/ainotification.css';
|
|
17
17
|
import '../../theme/common/aibutton.css';
|
|
18
|
+
import '../../theme/common/aicolor.css';
|
|
18
19
|
import '../../theme/common/aitrackchanges.css';
|
|
19
20
|
import '../../theme/aireviewcore/aireviewcore.css';
|
|
20
21
|
export declare abstract class AIReviewCoreUI extends ContextPlugin {
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
import { AIReviewCheck } from './aireviewcheck.js';
|
|
6
6
|
import { type AIReviewCheckBaseDefinition } from '../types.js';
|
|
7
7
|
declare const AIReviewCheckList_base: {
|
|
8
|
-
new (): import("ckeditor5
|
|
9
|
-
prototype: import("ckeditor5
|
|
8
|
+
new (): import("@ckeditor/ckeditor5-utils").Observable;
|
|
9
|
+
prototype: import("@ckeditor/ckeditor5-utils").Observable;
|
|
10
10
|
};
|
|
11
11
|
/**
|
|
12
12
|
* Represents the list of review checks that can be performed in the AI Review.
|
|
@@ -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 AIReviewCheckResult_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
|
* Represents a single change of the document that is a result of an review check run.
|
|
@@ -2,12 +2,12 @@
|
|
|
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 Operation } from 'ckeditor5
|
|
5
|
+
import { type Operation } from '@ckeditor/ckeditor5-engine';
|
|
6
6
|
import { type AIReviewCheckResult } from './aireviewcheckresult.js';
|
|
7
7
|
import { type AIReviewCoreChangeData } from '../aireviewcoreediting.js';
|
|
8
8
|
declare const AIReviewCheckResultChange_base: {
|
|
9
|
-
new (): import("ckeditor5
|
|
10
|
-
prototype: import("ckeditor5
|
|
9
|
+
new (): import("@ckeditor/ckeditor5-utils").Observable;
|
|
10
|
+
prototype: import("@ckeditor/ckeditor5-utils").Observable;
|
|
11
11
|
};
|
|
12
12
|
/**
|
|
13
13
|
* Represents a single change of the document that is a result of an review check run.
|
|
@@ -8,8 +8,8 @@ import { type AIReviewCheck } from './aireviewcheck.js';
|
|
|
8
8
|
import { type AIReviewCoreChangeData, type AIDocumentData } from '../aireviewcoreediting.js';
|
|
9
9
|
import { type AIConnector } from '../../aicore/aiconnector.js';
|
|
10
10
|
declare const AIReviewCheckRun_base: {
|
|
11
|
-
new (): import("ckeditor5
|
|
12
|
-
prototype: import("ckeditor5
|
|
11
|
+
new (): import("@ckeditor/ckeditor5-utils").Observable;
|
|
12
|
+
prototype: import("@ckeditor/ckeditor5-utils").Observable;
|
|
13
13
|
};
|
|
14
14
|
/**
|
|
15
15
|
* Represents a single review check run and its results.
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module ai/aireviewcore/ui/aireviewcoreballoonsuggestionview
|
|
7
7
|
*/
|
|
8
|
-
import { type Locale } from 'ckeditor5
|
|
9
|
-
import { BalloonPanelView, type BodyCollection } from 'ckeditor5
|
|
8
|
+
import { type Locale } from '@ckeditor/ckeditor5-utils';
|
|
9
|
+
import { BalloonPanelView, type BodyCollection } from '@ckeditor/ckeditor5-ui';
|
|
10
10
|
import { AIReviewCoreReviewCheckListItemResultsView } from './aireviewcorechecklistitemresultview.js';
|
|
11
11
|
import type { AIReviewCheckResultChange } from '../model/aireviewcheckresultchange.js';
|
|
12
12
|
import '../../../theme/aireviewcore/aireviewcore-balloon-panel-suggestion.css';
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module ai/aireviewcore/ui/aireviewcorechecklistitemresultview
|
|
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 AIReviewCheckResultChange } from '../model/aireviewcheckresultchange.js';
|
|
11
11
|
export declare class AIReviewCoreReviewCheckListItemResultsView extends View {
|
|
12
12
|
resultResponseView: View;
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module ai/aireviewcore/ui/aireviewcorecustomcheckview
|
|
7
7
|
*/
|
|
8
|
-
import { type Locale, KeystrokeHandler, FocusTracker } from 'ckeditor5
|
|
9
|
-
import { View, ButtonView, LabeledFieldView, FocusCycler } from 'ckeditor5
|
|
8
|
+
import { type Locale, KeystrokeHandler, FocusTracker } from '@ckeditor/ckeditor5-utils';
|
|
9
|
+
import { View, ButtonView, LabeledFieldView, FocusCycler } from '@ckeditor/ckeditor5-ui';
|
|
10
10
|
import { AIReviewCorePromptInputView } from './aireviewcorepromptinputview.js';
|
|
11
11
|
export declare class AIReviewCoreCustomCheckView extends View {
|
|
12
12
|
/**
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module ai/aireviewcore/ui/aireviewcorefinishreviewbuttonview
|
|
7
7
|
*/
|
|
8
|
-
import { type Locale } from 'ckeditor5
|
|
9
|
-
import { ButtonView } from 'ckeditor5
|
|
8
|
+
import { type Locale } from '@ckeditor/ckeditor5-utils';
|
|
9
|
+
import { ButtonView } from '@ckeditor/ckeditor5-ui';
|
|
10
10
|
import '../../../theme/aireviewcore/aireviewcore-review-completed.css';
|
|
11
11
|
export declare class AIReviewCoreFinishReviewButtonView extends ButtonView {
|
|
12
12
|
constructor(buttonLabel: string, locale?: Locale);
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module ai/aireviewcore/ui/aireviewcoregeneralerrorview
|
|
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 AIReviewCoreGeneralErrorView extends View {
|
|
11
11
|
/**
|
|
12
12
|
* Controls whether the view is visible.
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module ai/aireviewcore/ui/aireviewcorepromptinputview
|
|
7
7
|
*/
|
|
8
|
-
import { TextareaView } from 'ckeditor5
|
|
9
|
-
import { KeystrokeHandler, type Locale } from 'ckeditor5
|
|
8
|
+
import { TextareaView } from '@ckeditor/ckeditor5-ui';
|
|
9
|
+
import { KeystrokeHandler, type Locale } from '@ckeditor/ckeditor5-utils';
|
|
10
10
|
export declare class AIReviewCorePromptInputView extends TextareaView {
|
|
11
11
|
/**
|
|
12
12
|
* An instance of the keystroke handler managing user interaction and accessibility.
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module ai/aireviewcore/ui/aireviewcorereviewchecklistview
|
|
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 { AIReviewCheck } from '../model/aireviewcheck.js';
|
|
11
11
|
import '../../../theme/aireviewcore/aireviewcore-check-list.css';
|
|
12
12
|
export declare class AIReviewCoreReviewCheckListView extends ListItemView {
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module ai/aireviewcore/ui/aireviewcorereviewcommandlistitemview
|
|
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 { AIReviewCheck } from '../model/aireviewcheck.js';
|
|
11
11
|
/**
|
|
12
12
|
* A view representing an item in the list of tempaltes.
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module ai/aireviewcore/ui/aireviewcorereviewcompletedview
|
|
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 '../../../theme/aireviewcore/aireviewcore-review-completed.css';
|
|
11
11
|
export type AIReviewCoreReviewCompletedViewContents = {
|
|
12
12
|
headerText: string;
|