@ckeditor/ckeditor5-ai 47.5.0 → 47.6.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/966.ai.js +5 -0
- package/build/ai.js +1 -2
- package/build/translations/af.js +1 -1
- package/build/translations/ar.js +1 -1
- package/build/translations/ast.js +1 -1
- package/build/translations/az.js +1 -1
- package/build/translations/be.js +1 -1
- package/build/translations/bg.js +1 -1
- package/build/translations/bn.js +1 -1
- package/build/translations/bs.js +1 -1
- package/build/translations/ca.js +1 -1
- package/build/translations/cs.js +1 -1
- package/build/translations/da.js +1 -1
- package/build/translations/de-ch.js +1 -1
- package/build/translations/de.js +1 -1
- package/build/translations/el.js +1 -1
- package/build/translations/en-au.js +1 -1
- package/build/translations/en-gb.js +1 -1
- package/build/translations/en.js +1 -0
- package/build/translations/eo.js +1 -1
- package/build/translations/es-co.js +1 -1
- package/build/translations/es.js +1 -1
- package/build/translations/et.js +1 -1
- package/build/translations/eu.js +1 -1
- package/build/translations/fa.js +1 -1
- package/build/translations/fi.js +1 -1
- package/build/translations/fr.js +1 -1
- package/build/translations/gl.js +1 -1
- package/build/translations/gu.js +1 -1
- package/build/translations/he.js +1 -1
- package/build/translations/hi.js +1 -1
- package/build/translations/hr.js +1 -1
- package/build/translations/hu.js +1 -1
- package/build/translations/hy.js +1 -1
- package/build/translations/id.js +1 -1
- package/build/translations/it.js +1 -1
- package/build/translations/ja.js +1 -1
- package/build/translations/jv.js +1 -1
- package/build/translations/kk.js +1 -1
- package/build/translations/km.js +1 -1
- package/build/translations/kn.js +1 -1
- package/build/translations/ko.js +1 -1
- package/build/translations/ku.js +1 -1
- package/build/translations/lt.js +1 -1
- package/build/translations/lv.js +1 -1
- package/build/translations/ms.js +1 -1
- package/build/translations/nb.js +1 -1
- package/build/translations/ne.js +1 -1
- package/build/translations/nl.js +1 -1
- package/build/translations/no.js +1 -1
- package/build/translations/oc.js +1 -1
- package/build/translations/pl.js +1 -1
- package/build/translations/pt-br.js +1 -1
- package/build/translations/pt.js +1 -1
- package/build/translations/ro.js +1 -1
- package/build/translations/ru.js +1 -1
- package/build/translations/si.js +1 -1
- package/build/translations/sk.js +1 -1
- package/build/translations/sl.js +1 -1
- package/build/translations/sq.js +1 -1
- package/build/translations/sr-latn.js +1 -1
- package/build/translations/sr.js +1 -1
- package/build/translations/sv.js +1 -1
- package/build/translations/th.js +1 -1
- package/build/translations/ti.js +1 -1
- package/build/translations/tk.js +1 -1
- package/build/translations/tr.js +1 -1
- package/build/translations/tt.js +1 -1
- package/build/translations/ug.js +1 -1
- package/build/translations/uk.js +1 -1
- package/build/translations/ur.js +1 -1
- package/build/translations/uz.js +1 -1
- package/build/translations/vi.js +1 -1
- package/build/translations/zh-cn.js +1 -1
- package/build/translations/zh.js +1 -1
- package/dist/index-editor.css +387 -403
- package/dist/index.css +441 -413
- 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/lang/contexts.json +1 -0
- package/lang/translations/af.po +8 -4
- package/lang/translations/ar.po +8 -4
- package/lang/translations/ast.po +8 -4
- package/lang/translations/az.po +8 -4
- package/lang/translations/be.po +8 -4
- package/lang/translations/bg.po +8 -4
- package/lang/translations/bn.po +8 -4
- package/lang/translations/bs.po +8 -4
- package/lang/translations/ca.po +8 -4
- package/lang/translations/cs.po +8 -4
- package/lang/translations/da.po +8 -4
- package/lang/translations/de-ch.po +8 -4
- package/lang/translations/de.po +8 -4
- package/lang/translations/el.po +8 -4
- package/lang/translations/en-au.po +8 -4
- package/lang/translations/en-gb.po +8 -4
- package/lang/translations/en.po +8 -4
- package/lang/translations/eo.po +8 -4
- package/lang/translations/es-co.po +8 -4
- package/lang/translations/es.po +8 -4
- package/lang/translations/et.po +8 -4
- package/lang/translations/eu.po +8 -4
- package/lang/translations/fa.po +8 -4
- package/lang/translations/fi.po +8 -4
- package/lang/translations/fr.po +8 -4
- package/lang/translations/gl.po +8 -4
- package/lang/translations/gu.po +8 -4
- package/lang/translations/he.po +8 -4
- package/lang/translations/hi.po +8 -4
- package/lang/translations/hr.po +8 -4
- package/lang/translations/hu.po +8 -4
- package/lang/translations/hy.po +8 -4
- package/lang/translations/id.po +8 -4
- package/lang/translations/it.po +8 -4
- package/lang/translations/ja.po +8 -4
- package/lang/translations/jv.po +8 -4
- package/lang/translations/kk.po +8 -4
- package/lang/translations/km.po +8 -4
- package/lang/translations/kn.po +8 -4
- package/lang/translations/ko.po +8 -4
- package/lang/translations/ku.po +8 -4
- package/lang/translations/lt.po +8 -4
- package/lang/translations/lv.po +8 -4
- package/lang/translations/ms.po +8 -4
- package/lang/translations/nb.po +8 -4
- package/lang/translations/ne.po +8 -4
- package/lang/translations/nl.po +8 -4
- package/lang/translations/no.po +8 -4
- package/lang/translations/oc.po +8 -4
- package/lang/translations/pl.po +8 -4
- package/lang/translations/pt-br.po +8 -4
- package/lang/translations/pt.po +8 -4
- package/lang/translations/ro.po +8 -4
- package/lang/translations/ru.po +8 -4
- package/lang/translations/si.po +8 -4
- package/lang/translations/sk.po +8 -4
- package/lang/translations/sl.po +8 -4
- package/lang/translations/sq.po +8 -4
- package/lang/translations/sr-latn.po +8 -4
- package/lang/translations/sr.po +8 -4
- package/lang/translations/sv.po +8 -4
- package/lang/translations/th.po +8 -4
- package/lang/translations/ti.po +8 -4
- package/lang/translations/tk.po +8 -4
- package/lang/translations/tr.po +8 -4
- package/lang/translations/tt.po +8 -4
- package/lang/translations/ug.po +8 -4
- package/lang/translations/uk.po +8 -4
- package/lang/translations/ur.po +8 -4
- package/lang/translations/uz.po +8 -4
- package/lang/translations/vi.po +8 -4
- package/lang/translations/zh-cn.po +8 -4
- package/lang/translations/zh.po +8 -4
- package/package.json +21 -21
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.d.ts +12 -8
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatballoon.js +1 -1
- package/src/aichat/aichatcontroller.d.ts +4 -0
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.d.ts +24 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.d.ts +13 -0
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/ui/aichatballoonview.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.d.ts +5 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.d.ts +4 -0
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.d.ts +5 -0
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcustomelementview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.d.ts +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aichatshortcuts/aichatshortcuts.d.ts +324 -0
- package/src/aichatshortcuts/aichatshortcuts.js +23 -0
- package/src/aichatshortcuts/ui/aichatshortcutsview.d.ts +23 -0
- package/src/aichatshortcuts/ui/aichatshortcutsview.js +23 -0
- package/src/aichatshortcuts/ui/aichatshortcutview.d.ts +23 -0
- package/src/aichatshortcuts/ui/aichatshortcutview.js +23 -0
- package/src/aiconfig.d.ts +7 -0
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aicapabilities.d.ts +8 -0
- package/src/aicore/model/aicapabilities.js +1 -1
- package/src/aicore/model/aicontext.d.ts +7 -1
- package/src/aicore/model/aicontext.js +1 -1
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aimodels.js +1 -1
- package/src/aicore/model/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/aidisclaimerview.js +1 -1
- package/src/aicore/ui/aiskeleton.js +1 -1
- package/src/aicore/ui/aispinner.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
- package/src/aicore/utils/common-translations.js +1 -1
- package/src/aicore/utils/createresizebutton.d.ts +1 -0
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/documentposition.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/eventnames.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aicore/utils/scrollmanager.js +1 -1
- package/src/aieditorintegration/aieditorintegration.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
- package/src/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
- package/src/aireviewcore/aireviewcorecontroller.js +1 -1
- package/src/aireviewcore/aireviewcoreediting.js +1 -1
- package/src/aireviewcore/aireviewcoreui.js +1 -1
- package/src/aireviewcore/model/aireviewcheck.d.ts +4 -0
- package/src/aireviewcore/model/aireviewcheck.js +1 -1
- package/src/aireviewcore/model/aireviewchecklist.d.ts +3 -3
- package/src/aireviewcore/model/aireviewchecklist.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
- package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewcore/types.d.ts +11 -2
- package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
- package/src/aireviewmode/aireviewcheckdefinitions.d.ts +4 -0
- package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
- package/src/aireviewmode/aireviewmode.d.ts +95 -0
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.d.ts +5 -0
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.d.ts +6 -3
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewcheckextra.d.ts +35 -0
- package/src/aireviewmode/model/aireviewcheckextra.js +23 -0
- package/src/aireviewmode/model/aireviewcustomcheckrun.d.ts +2 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewextracheckrun.d.ts +20 -0
- package/src/aireviewmode/model/aireviewextracheckrun.js +23 -0
- package/src/aireviewmode/model/aireviewmodechecklist.d.ts +10 -0
- package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/aitabsmainview.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
- package/src/aitranslate/aitranslate.js +1 -1
- package/src/aitranslate/aitranslatecontroller.js +1 -1
- package/src/aitranslate/aitranslateui.js +1 -1
- package/src/aitranslate/model/aitranslatecheck.js +1 -1
- package/src/aitranslate/model/aitranslatechecklist.d.ts +5 -0
- package/src/aitranslate/model/aitranslatechecklist.js +1 -1
- package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
- package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
- package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
- package/src/augmentation.d.ts +2 -0
- package/src/errors.js +1 -1
- package/src/errorsmap.js +1 -1
- package/src/index.d.ts +2 -1
- package/src/index.js +1 -1
- package/theme/aichat/aichat-controls/aichat-context-controls.css +0 -1
- package/theme/aichat/aichat-controls/aichat-controls-button.css +22 -23
- package/theme/aichat/aichat-controls/prompt-input.css +23 -0
- package/theme/aichat/aichat-controls.css +0 -19
- package/theme/aichat/aichathistory.css +1 -1
- package/theme/aichat/aiminitoolbar.css +0 -16
- package/theme/aichatshortcuts/aichatshortcuts.css +84 -0
- package/theme/aieditorintegration/aitogglebutton.css +5 -11
- package/theme/aiquickactions/aiquickactions.css +6 -11
- package/theme/aiquickactions/aiquickactionsballoon.css +37 -29
- package/theme/aireviewcore/aireviewcore-check-run.css +4 -0
- package/theme/aireviewcore/aireviewcore.css +4 -4
- package/theme/aitabs/aitabsresizebutton.css +14 -0
- package/theme/aitranslate/aitranslate.css +4 -0
- package/theme/common/aibutton.css +56 -67
- package/theme/common/aiheader.css +1 -1
- package/theme/common/aisuggestioncontentparttoolbar.css +1 -1
- package/theme/common/aisuggestionstreamablecontent.css +4 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x4bc984=_0x40aa;(function(_0x40069e,_0x54fd86){const _0x39024e=_0x40aa,_0x31264a=_0x40069e();while(!![]){try{const _0x38574e=-parseInt(_0x39024e(0x17e))/0x1*(-parseInt(_0x39024e(0x17f))/0x2)+-parseInt(_0x39024e(0x190))/0x3+-parseInt(_0x39024e(0x19a))/0x4+-parseInt(_0x39024e(0x183))/0x5*(-parseInt(_0x39024e(0x187))/0x6)+parseInt(_0x39024e(0x181))/0x7+parseInt(_0x39024e(0x19c))/0x8+parseInt(_0x39024e(0x1a0))/0x9*(-parseInt(_0x39024e(0x19d))/0xa);if(_0x38574e===_0x54fd86)break;else _0x31264a['push'](_0x31264a['shift']());}catch(_0x314a5d){_0x31264a['push'](_0x31264a['shift']());}}}(_0x3dac,0xdb6c5));import{FormHeaderView as _0x11abd8}from'ckeditor5/src/ui.js';import{IconAITranslate as _0x401223}from'ckeditor5/src/icons.js';import{getTranslation as _0x1d96fd}from'../aicore/utils/common-translations.js';import{AIReviewCoreUI as _0x4e2d93}from'../aireviewcore/aireviewcoreui.js';import{AIReviewCoreView as _0x954a11}from'../aireviewcore/ui/aireviewcoreview.js';function _0x3dac(){const _0x4c69ae=['ck-ai-header\x20ck-ai-header_review-translate','AI_TRANSLATE_FINISH_BUTTON_LABEL','addTab','pluginName','locale','get','activateTab','extendTemplate','plugins','3944696AzxnaZ','createMainView','9797072GCDaOC','16238720qSkBIo','registerTab','AI_REVIEW_CHECK_TRANSLATE_TITLE','9FtmGIM','227aIpTem','14934wcYNbB','fire','8250662NciNVC','_mainView','1420ZSutgi','translate','AI_TRANSLATE_EMPTY_RESULTS_TEXT','getReviewCheckList','15270fdOoca','AITranslateUI','AI_TRANSLATE_FINISH_HEADER_TITLE','view','AITabs','leaveReview','context','ck-ai-translate-mode','AI_TRANSLATE_GENERAL_ERROR_MESSAGE','3936858mSQpnT'];_0x3dac=function(){return _0x4c69ae;};return _0x3dac();}import{AITranslateCheckResultsView as _0xb76938}from'./ui/aitranslatecheckresultsview.js';import'../../theme/aitranslate/aitranslate.css';function _0x40aa(_0x5f5215,_0x4d46b2){const _0x3dac61=_0x3dac();return _0x40aa=function(_0x40aad6,_0x410976){_0x40aad6=_0x40aad6-0x17e;let _0x7fda0=_0x3dac61[_0x40aad6];return _0x7fda0;},_0x40aa(_0x5f5215,_0x4d46b2);}import{AIReviewCoreReviewCompletedView as _0x4caf7c}from'../aireviewcore/ui/aireviewcorereviewcompletedview.js';import{AITranslateCheckListView as _0x1533a2}from'./ui/aitranslatechecklistview.js';export class AITranslateUI extends _0x4e2d93{static get[_0x4bc984(0x194)](){const _0x161960=_0x4bc984;return _0x161960(0x188);}[_0x4bc984(0x19b)](){const _0x56eaa2=_0x4bc984,_0x43579b=this[_0x56eaa2(0x18d)][_0x56eaa2(0x195)],_0x21030a=new _0x11abd8(_0x43579b,{'label':_0x1d96fd(_0x43579b,_0x56eaa2(0x19f)),'icon':_0x401223,'class':_0x56eaa2(0x191)}),_0x38a666=new _0x954a11(_0x43579b,{'header':_0x21030a,'list':new _0x1533a2(_0x43579b),'results':new _0xb76938(_0x43579b,{'generalErrorText':_0x1d96fd(_0x43579b,_0x56eaa2(0x18f))}),'completed':new _0x4caf7c(_0x43579b,{'headerText':_0x1d96fd(_0x43579b,_0x56eaa2(0x189)),'emptyResultsText':_0x1d96fd(_0x43579b,_0x56eaa2(0x185)),'buttonText':_0x1d96fd(_0x43579b,_0x56eaa2(0x192))})});return _0x38a666[_0x56eaa2(0x198)]({'attributes':{'class':_0x56eaa2(0x18e)}}),_0x38a666;}[_0x4bc984(0x19e)](){const _0x197e01=_0x4bc984,_0x17e881=this[_0x197e01(0x18d)][_0x197e01(0x199)][_0x197e01(0x196)](_0x197e01(0x18b));_0x17e881[_0x197e01(0x18a)]['on'](_0x197e01(0x197),(_0xb07b36,_0x3eb0bb)=>{const _0x22aad5=_0x197e01;_0x22aad5(0x184)===_0x3eb0bb?this[_0x22aad5(0x180)](_0x22aad5(0x186)):this[_0x22aad5(0x180)](_0x22aad5(0x18c));}),_0x17e881[_0x197e01(0x18a)][_0x197e01(0x193)]({'id':_0x197e01(0x184),'buttonLabel':_0x1d96fd(this[_0x197e01(0x18d)][_0x197e01(0x195)],_0x197e01(0x19f)),'buttonIcon':_0x401223,'order':0x0,'content':this[_0x197e01(0x182)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x2c95cd=_0x30a8;(function(_0x154dc5,_0xbde34f){var _0x218d3f=_0x30a8,_0x303b81=_0x154dc5();while(!![]){try{var _0x3cca59=parseInt(_0x218d3f(0xa6))/0x1+-parseInt(_0x218d3f(0xa7))/0x2*(-parseInt(_0x218d3f(0xa8))/0x3)+-parseInt(_0x218d3f(0xa0))/0x4*(-parseInt(_0x218d3f(0xac))/0x5)+-parseInt(_0x218d3f(0xa3))/0x6+parseInt(_0x218d3f(0xa5))/0x7+-parseInt(_0x218d3f(0xab))/0x8*(-parseInt(_0x218d3f(0xa4))/0x9)+parseInt(_0x218d3f(0xaa))/0xa*(-parseInt(_0x218d3f(0xa9))/0xb);if(_0x3cca59===_0xbde34f)break;else _0x303b81['push'](_0x303b81['shift']());}catch(_0x241090){_0x303b81['push'](_0x303b81['shift']());}}}(_0x28fa,0x8c075));function _0x30a8(_0x2c7dae,_0x1dbbb3){var _0x28fa69=_0x28fa();return _0x30a8=function(_0x30a8d4,_0x32bb64){_0x30a8d4=_0x30a8d4-0xa0;var _0x47b2cc=_0x28fa69[_0x30a8d4];return _0x47b2cc;},_0x30a8(_0x2c7dae,_0x1dbbb3);}import{AIReviewCheck as _0x4f2e24}from'../../aireviewcore/model/aireviewcheck.js';export class AITranslateCheck extends _0x4f2e24{get[_0x2c95cd(0xa1)](){var _0x318775=_0x2c95cd;return _0x318775(0xa2);}}function _0x28fa(){var _0x141da7=['5100004BwvLiQ','292317HLxCda','622018crVPfC','6xYRtqm','16544187GyrEaM','10dlNELt','16vkGBdm','2418370GjHgnr','4nqEQPr','apiId','translate','515958jIVOji','166437rGwlae'];_0x28fa=function(){return _0x141da7;};return _0x28fa();}
|
|
@@ -3,8 +3,13 @@
|
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
import { AIReviewCheckList } from '../../aireviewcore/model/aireviewchecklist.js';
|
|
6
|
+
import { type AIReviewCheckBaseDefinition } from '../../aireviewcore/types.js';
|
|
6
7
|
/**
|
|
7
8
|
* Represents the list of translate checks that can be performed in the AI Translate.
|
|
8
9
|
*/
|
|
9
10
|
export declare class AITranslateCheckList extends AIReviewCheckList {
|
|
11
|
+
/**
|
|
12
|
+
* @inheritDoc
|
|
13
|
+
*/
|
|
14
|
+
setupChecks(checks: Array<AIReviewCheckBaseDefinition>): void;
|
|
10
15
|
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x5da9(){var _0x28f143=['4705220zxwyGE','map','3457908gkbwbE','205617MmYORf','9711436jeoTeq','3734739SwJKGW','16vcvgfl','2DYBCpe','496488MdmASh','_checks','setupChecks','1345281HTaXRt'];_0x5da9=function(){return _0x28f143;};return _0x5da9();}function _0x12c9(_0x58edf6,_0x32b4b0){var _0x5da9a0=_0x5da9();return _0x12c9=function(_0x12c944,_0x3ff4ae){_0x12c944=_0x12c944-0x1c7;var _0x34cb0f=_0x5da9a0[_0x12c944];return _0x34cb0f;},_0x12c9(_0x58edf6,_0x32b4b0);}var _0x1863cf=_0x12c9;(function(_0x329780,_0x354be8){var _0x42cf58=_0x12c9,_0x3a5b12=_0x329780();while(!![]){try{var _0x2db9de=-parseInt(_0x42cf58(0x1cd))/0x1+parseInt(_0x42cf58(0x1c9))/0x2*(parseInt(_0x42cf58(0x1d1))/0x3)+parseInt(_0x42cf58(0x1ca))/0x4+parseInt(_0x42cf58(0x1ce))/0x5+parseInt(_0x42cf58(0x1d0))/0x6+parseInt(_0x42cf58(0x1d2))/0x7+-parseInt(_0x42cf58(0x1c8))/0x8*(parseInt(_0x42cf58(0x1c7))/0x9);if(_0x2db9de===_0x354be8)break;else _0x3a5b12['push'](_0x3a5b12['shift']());}catch(_0x43a3d1){_0x3a5b12['push'](_0x3a5b12['shift']());}}}(_0x5da9,0xe1224));import{AITranslateCheck as _0x4fd48d}from'./aitranslatecheck.js';import{AIReviewCheckList as _0x2a1e73}from'../../aireviewcore/model/aireviewchecklist.js';export class AITranslateCheckList extends _0x2a1e73{[_0x1863cf(0x1cc)](_0x4a90cf){var _0x266d86=_0x1863cf;this[_0x266d86(0x1cb)]=_0x4a90cf[_0x266d86(0x1cf)](_0x1017c2=>new _0x4fd48d(_0x1017c2));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x43ad(){var _0x18963b=['1258750AsQbaz','11668790QFpoMn','7jmARzG','10540079PJoczR','647744ermWCx','16Mwrcnv','_title','83779UzJgEm','1074676fYMbVB','subTitle','_sourceCheck','title','2930706mOWrsN','63xHNdwp','3jzBxcc'];_0x43ad=function(){return _0x18963b;};return _0x43ad();}var _0xc97f34=_0x20be;function _0x20be(_0x22c006,_0x202ef7){var _0x43adb2=_0x43ad();return _0x20be=function(_0x20bec8,_0x54035b){_0x20bec8=_0x20bec8-0xb4;var _0x27e074=_0x43adb2[_0x20bec8];return _0x27e074;},_0x20be(_0x22c006,_0x202ef7);}(function(_0x18e457,_0x16dd31){var _0x283ecb=_0x20be,_0x701ee4=_0x18e457();while(!![]){try{var _0x2fa1f4=-parseInt(_0x283ecb(0xbf))/0x1+-parseInt(_0x283ecb(0xc0))/0x2*(-parseInt(_0x283ecb(0xb7))/0x3)+parseInt(_0x283ecb(0xbd))/0x4*(parseInt(_0x283ecb(0xb8))/0x5)+parseInt(_0x283ecb(0xb5))/0x6*(-parseInt(_0x283ecb(0xba))/0x7)+parseInt(_0x283ecb(0xbc))/0x8*(-parseInt(_0x283ecb(0xb6))/0x9)+parseInt(_0x283ecb(0xb9))/0xa+-parseInt(_0x283ecb(0xbb))/0xb;if(_0x2fa1f4===_0x16dd31)break;else _0x701ee4['push'](_0x701ee4['shift']());}catch(_0x410e10){_0x701ee4['push'](_0x701ee4['shift']());}}}(_0x43ad,0x95e86));import{AIReviewSystemCheckRun as _0xd57381}from'../../aireviewcore/model/aireviewsystemcheckrun.js';export class AITranslateCheckRun extends _0xd57381{[_0xc97f34(0xbe)];constructor(_0x322a06,_0x1e6e22,_0x48bbbd,_0x2971dd,_0x3f6dac,_0x2902fd){var _0x340635=_0xc97f34;super(_0x322a06,_0x1e6e22,_0x48bbbd,_0x3f6dac,_0x2902fd),this[_0x340635(0xbe)]=_0x2971dd;}get[_0xc97f34(0xb4)](){var _0x29f76e=_0xc97f34;return this[_0x29f76e(0xbe)];}get[_0xc97f34(0xc1)](){var _0xdc556e=_0xc97f34;return this[_0xdc556e(0xc2)][_0xdc556e(0xb4)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3b233b=_0x16e2;(function(_0x18ea86,_0x414cd8){const _0xd9493f=_0x16e2,_0x2c3516=_0x18ea86();while(!![]){try{const _0x5db63c=-parseInt(_0xd9493f(0x1b5))/0x1*(-parseInt(_0xd9493f(0x1bb))/0x2)+-parseInt(_0xd9493f(0x1b0))/0x3*(-parseInt(_0xd9493f(0x1ba))/0x4)+parseInt(_0xd9493f(0x1c2))/0x5+parseInt(_0xd9493f(0x1ab))/0x6+-parseInt(_0xd9493f(0x1c0))/0x7*(-parseInt(_0xd9493f(0x1bd))/0x8)+-parseInt(_0xd9493f(0x1bf))/0x9*(parseInt(_0xd9493f(0x1b6))/0xa)+-parseInt(_0xd9493f(0x1b9))/0xb*(parseInt(_0xd9493f(0x1b4))/0xc);if(_0x5db63c===_0x414cd8)break;else _0x2c3516['push'](_0x2c3516['shift']());}catch(_0x222e4b){_0x2c3516['push'](_0x2c3516['shift']());}}}(_0x254a,0x35e7a));function _0x16e2(_0x3ad9a6,_0x318b92){const _0x254a74=_0x254a();return _0x16e2=function(_0x16e2bd,_0x5eedbb){_0x16e2bd=_0x16e2bd-0x1aa;let _0x1a3562=_0x254a74[_0x16e2bd];return _0x1a3562;},_0x16e2(_0x3ad9a6,_0x318b92);}import{AIReviewCoreReviewCheckListView as _0x349287}from'../../aireviewcore/ui/aireviewcorereviewchecklistview.js';import{getTranslation as _0x4cb6b7}from'../../aicore/utils/common-translations.js';import'../../../theme/aireviewcore/aireviewcore-check-list.css';export class AITranslateCheckListView extends _0x349287{[_0x3b233b(0x1ad)](){const _0x15bdb6=_0x3b233b,_0x466c07=this[_0x15bdb6(0x1ac)];this[_0x15bdb6(0x1bc)]({'tag':_0x15bdb6(0x1af),'attributes':{'class':[_0x15bdb6(0x1be),_0x466c07['if'](_0x15bdb6(0x1b7),_0x15bdb6(0x1c1),_0x4128d1=>!_0x4128d1)]},'children':[{'tag':_0x15bdb6(0x1af),'attributes':{'class':[_0x15bdb6(0x1b2)]},'children':[{'tag':'h2','children':[{'text':_0x4cb6b7(this[_0x15bdb6(0x1b8)],_0x15bdb6(0x1ae))}]},{'tag':'p','children':[{'text':_0x4cb6b7(this[_0x15bdb6(0x1b8)],_0x15bdb6(0x1aa))}]}]},{'tag':_0x15bdb6(0x1af),'attributes':{'class':[_0x15bdb6(0x1b1),_0x466c07['if'](_0x15bdb6(0x1b7),_0x15bdb6(0x1c1),_0x12745a=>!_0x12745a)]},'children':this[_0x15bdb6(0x1b3)]}]});}}function _0x254a(){const _0x5adf76=['_checkViews','127896XdJfbJ','86QtcNGA','20qgFuZD','isVisible','locale','110pysuvg','4bmqCLp','2394pkpTAQ','setTemplate','8UGtVbe','ck-ai-translate__check-list-wrapper','1335213NkTRXO','1285529CKOcbV','ck-hidden','870310eknvFX','AI_TRANSLATE_CHECK_LIST_HEADER_DESCRIPTION','226920lWLgwc','bindTemplate','_setupTemplate','AI_TRANSLATE_CHECK_LIST_HEADER_TITLE','div','376851iycDej','ck-ai_review__check-list','ck-ai-translate__check-list-header'];_0x254a=function(){return _0x5adf76;};return _0x254a();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x20a7(){const _0xd9fccd=['AI_TRANSLATE_CHECK_RESULTS_LOADING_TITLE','16wAoGPp','296464CgYLCv','6160620guyhsE','4cpmXdj','headerTitle','_createExitReviewButtonView','AI_TRANSLATE_CHECK_RESULTS_READY_TITLE','set:isResultReady','4151225gZcrVd','AI_TRANSLATE_ACCEPT_ALL','set','locale','629386aSgXXs','set:isLoading','6HWrRVQ','AI_CHAT_HISTORY_CANCEL','9ibonBn','6939490esLTSq','1326279wudoXH','_createAcceptAllButtonView','2042100SyOSlL','33zDNntH','label'];_0x20a7=function(){return _0xd9fccd;};return _0x20a7();}const _0x41e035=_0x464b;(function(_0x587322,_0x2de393){const _0x293361=_0x464b,_0x10e1df=_0x587322();while(!![]){try{const _0x4752f3=-parseInt(_0x293361(0x164))/0x1+-parseInt(_0x293361(0x15b))/0x2*(-parseInt(_0x293361(0x16a))/0x3)+-parseInt(_0x293361(0x15a))/0x4+parseInt(_0x293361(0x160))/0x5*(parseInt(_0x293361(0x166))/0x6)+-parseInt(_0x293361(0x159))/0x7*(-parseInt(_0x293361(0x158))/0x8)+-parseInt(_0x293361(0x168))/0x9*(-parseInt(_0x293361(0x169))/0xa)+-parseInt(_0x293361(0x155))/0xb*(-parseInt(_0x293361(0x154))/0xc);if(_0x4752f3===_0x2de393)break;else _0x10e1df['push'](_0x10e1df['shift']());}catch(_0x23cb9a){_0x10e1df['push'](_0x10e1df['shift']());}}}(_0x20a7,0xcba14));import{AIReviewCoreUICheckResultsView as _0x36d89f}from'../../aireviewcore/ui/aireviewcoreuicheckresultsview.js';import{getTranslation as _0x39fdd9}from'../../aicore/utils/common-translations.js';function _0x464b(_0x33907e,_0x19fdce){const _0x20a7d1=_0x20a7();return _0x464b=function(_0x464b6d,_0x14bd5f){_0x464b6d=_0x464b6d-0x153;let _0xe988e3=_0x20a7d1[_0x464b6d];return _0xe988e3;},_0x464b(_0x33907e,_0x19fdce);}export class AITranslateCheckResultsView extends _0x36d89f{constructor(_0x21bb8e,_0x52da47){const _0x1470bb=_0x464b;super(_0x21bb8e,_0x52da47),this['on'](_0x1470bb(0x165),(_0x399d3c,_0x5279ca,_0x3b2c28)=>{const _0x19ca66=_0x1470bb;_0x3b2c28&&(this[_0x19ca66(0x15c)]=_0x39fdd9(this[_0x19ca66(0x163)],_0x19ca66(0x157)));}),this['on'](_0x1470bb(0x15f),(_0x131ea2,_0x13f05f,_0x3a8943)=>{const _0x52b906=_0x1470bb;_0x3a8943&&(this[_0x52b906(0x15c)]=_0x39fdd9(this[_0x52b906(0x163)],_0x52b906(0x15e)));});}[_0x41e035(0x153)](){const _0x379ca2=_0x41e035,_0x95fbcb=super[_0x379ca2(0x153)]();return _0x95fbcb[_0x379ca2(0x162)](_0x379ca2(0x156),_0x39fdd9(this[_0x379ca2(0x163)],_0x379ca2(0x161))),_0x95fbcb;}[_0x41e035(0x15d)](){const _0xbb1935=_0x41e035,_0x4f550a=super[_0xbb1935(0x15d)]();return _0x4f550a[_0xbb1935(0x162)](_0xbb1935(0x156),_0x39fdd9(this[_0xbb1935(0x163)],_0xbb1935(0x167))),_0x4f550a;}}
|
package/src/augmentation.d.ts
CHANGED
|
@@ -26,6 +26,7 @@ import type { AIReviewModeUI } from './aireviewmode/aireviewmodeui.js';
|
|
|
26
26
|
import type { AITranslate } from './aitranslate/aitranslate.js';
|
|
27
27
|
import type { AITranslateController } from './aitranslate/aitranslatecontroller.js';
|
|
28
28
|
import type { AITranslateUI } from './aitranslate/aitranslateui.js';
|
|
29
|
+
import { type AIChatShortcuts } from './aichatshortcuts/aichatshortcuts.js';
|
|
29
30
|
declare module '@ckeditor/ckeditor5-core' {
|
|
30
31
|
interface EditorConfig {
|
|
31
32
|
/**
|
|
@@ -43,6 +44,7 @@ declare module '@ckeditor/ckeditor5-core' {
|
|
|
43
44
|
[AIToggleButtonUI.pluginName]: AIToggleButtonUI;
|
|
44
45
|
[AIConnector.pluginName]: AIConnector;
|
|
45
46
|
[AIChat.pluginName]: AIChat;
|
|
47
|
+
[AIChatShortcuts.pluginName]: AIChatShortcuts;
|
|
46
48
|
[AIChatBalloon.pluginName]: AIChatBalloon;
|
|
47
49
|
[AIChatController.pluginName]: AIChatController;
|
|
48
50
|
[AIEditing.pluginName]: AIEditing;
|
package/src/errors.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x125e9f,_0x5169d7){var _0x1632ae=_0x29d5,_0x50e4df=_0x125e9f();while(!![]){try{var _0x521207=-parseInt(_0x1632ae(0x1cd))/0x1*(parseInt(_0x1632ae(0x1c5))/0x2)+parseInt(_0x1632ae(0x1c6))/0x3+parseInt(_0x1632ae(0x1c7))/0x4*(parseInt(_0x1632ae(0x1c9))/0x5)+-parseInt(_0x1632ae(0x1cc))/0x6*(-parseInt(_0x1632ae(0x1c3))/0x7)+parseInt(_0x1632ae(0x1ca))/0x8*(-parseInt(_0x1632ae(0x1c4))/0x9)+-parseInt(_0x1632ae(0x1c8))/0xa+parseInt(_0x1632ae(0x1cb))/0xb*(parseInt(_0x1632ae(0x1ce))/0xc);if(_0x521207===_0x5169d7)break;else _0x50e4df['push'](_0x50e4df['shift']());}catch(_0x25f83c){_0x50e4df['push'](_0x50e4df['shift']());}}}(_0x17b1,0x7172f));import{CKEditorError as _0xd50d64}from'ckeditor5/src/utils.js';function _0x29d5(_0x44926d,_0x1946c7){var _0x17b13f=_0x17b1();return _0x29d5=function(_0x29d5f1,_0x149276){_0x29d5f1=_0x29d5f1-0x1c3;var _0x4c408f=_0x17b13f[_0x29d5f1];return _0x4c408f;},_0x29d5(_0x44926d,_0x1946c7);}function _0x17b1(){var _0x319c08=['1VVCzgj','420rFFFNj','8925DSmKuE','14985BiBbQU','1392454OwaYMR','1444869JJFaew','4iZcUVQ','2584200JQNEkL','709755kpRjdA','1688mDUAOh','240295IrBcXJ','1800cRtNRp'];_0x17b1=function(){return _0x319c08;};return _0x17b1();}
|
package/src/errorsmap.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0xf0eac6=_0x5768;(function(_0x11b883,_0x37827a){const _0x1fb341=_0x5768,_0x85f299=_0x11b883();while(!![]){try{const _0x4b7e2d=-parseInt(_0x1fb341(0xe2))/0x1+-parseInt(_0x1fb341(0xcb))/0x2+parseInt(_0x1fb341(0xc4))/0x3*(parseInt(_0x1fb341(0xd5))/0x4)+parseInt(_0x1fb341(0xce))/0x5*(-parseInt(_0x1fb341(0xcc))/0x6)+-parseInt(_0x1fb341(0xd7))/0x7*(parseInt(_0x1fb341(0xc9))/0x8)+parseInt(_0x1fb341(0xc8))/0x9*(-parseInt(_0x1fb341(0xd1))/0xa)+parseInt(_0x1fb341(0xd3))/0xb;if(_0x4b7e2d===_0x37827a)break;else _0x85f299['push'](_0x85f299['shift']());}catch(_0xe0347e){_0x85f299['push'](_0x85f299['shift']());}}}(_0x4430,0xad088));function _0x5768(_0x24ebf9,_0x52859f){const _0x4430cd=_0x4430();return _0x5768=function(_0x576899,_0x32aa25){_0x576899=_0x576899-0xbf;let _0xc91d4e=_0x4430cd[_0x576899];return _0xc91d4e;},_0x5768(_0x24ebf9,_0x52859f);}function _0x4430(){const _0x1928bf=['file-too-large','ai-chat-context-form-data-size-limits-exceeded','invalid-request-data','ai-chat-context-unsupported-file-type','ai-rate-limits-exceeded','ai-chat-invalid-request','model-already-set','form-data-size-limits-exceeded','300913WwTbFL','ai-usage-limits-exceeded','ai-chat-unsupported-content-type','model-not-found','ai-chat-unsafe-content-detected','ai-chat-content-too-large','unsupported-file-type','3949257yMtzox','ai-chat-model-not-found','unsupported-content-type','usage-limits-exceeded','5469741nBbNHN','8iIAxBH','invalid-content-type','101066QkSxCu','18nEuVib','content-too-large','905470mvDuxW','rate-limits-exceeded','file-too-many-pages','10eWPzik','unsafe-content-detected','21992531DIZYyR','ai-chat-model-already-set','4OdJMMH','ai-invalid-content-type','7731633LvnPgQ','ai-chat-context-file-too-large','ai-chat-context-file-too-many-pages'];_0x4430=function(){return _0x1928bf;};return _0x4430();}export const errorsMap=new Map([[_0xf0eac6(0xc7),_0xf0eac6(0xe3)],[_0xf0eac6(0xcf),_0xf0eac6(0xde)],[_0xf0eac6(0xca),_0xf0eac6(0xd6)],[_0xf0eac6(0xdc),_0xf0eac6(0xdf)],[_0xf0eac6(0xe0),_0xf0eac6(0xd4)],[_0xf0eac6(0xc0),_0xf0eac6(0xc5)],[_0xf0eac6(0xd2),_0xf0eac6(0xc1)],[_0xf0eac6(0xc6),_0xf0eac6(0xbf)],[_0xf0eac6(0xcd),_0xf0eac6(0xc2)],[_0xf0eac6(0xc3),_0xf0eac6(0xdd)],[_0xf0eac6(0xda),_0xf0eac6(0xd8)],[_0xf0eac6(0xd0),_0xf0eac6(0xd9)],[_0xf0eac6(0xe1),_0xf0eac6(0xdb)]]);
|
package/src/index.d.ts
CHANGED
|
@@ -17,6 +17,7 @@ export { AITabs } from './aitabs/aitabs.js';
|
|
|
17
17
|
export { AIConnector } from './aicore/aiconnector.js';
|
|
18
18
|
export { createResizeButton } from './aicore/utils/createresizebutton.js';
|
|
19
19
|
export { AIChat, type AIChatConfig, type AIChatInteractionAPI, type AIToolEventCallback } from './aichat/aichat.js';
|
|
20
|
+
export { AIChatShortcuts } from './aichatshortcuts/aichatshortcuts.js';
|
|
20
21
|
export { AIChatController } from './aichat/aichatcontroller.js';
|
|
21
22
|
export { AIEditing } from './aicore/aiediting.js';
|
|
22
23
|
export { AIChatUI } from './aichat/aichatui.js';
|
|
@@ -43,7 +44,7 @@ export { AIQuickActionsUI, AIQuickActionType, type AIQuickActionsGroupDefinition
|
|
|
43
44
|
export { AIActions } from './aiactions/aiactions.js';
|
|
44
45
|
export { AIBalloon } from './aiballoon/aiballoon.js';
|
|
45
46
|
export type { AIReviewCheckOptionData, AIReviewCheckOptions, AIReviewCheckDefinition } from './aireviewcore/types.js';
|
|
46
|
-
export { AIReviewMode } from './aireviewmode/aireviewmode.js';
|
|
47
|
+
export { AIReviewMode, type AIReviewCustomCommand, type AIReviewModeConfig } from './aireviewmode/aireviewmode.js';
|
|
47
48
|
export { AIReviewCoreController as AIReviewModeController } from './aireviewcore/aireviewcorecontroller.js';
|
|
48
49
|
export { AIReviewCoreEditing as AIReviewModeEditing, type AIDocumentDataElement, type AIDocumentData, type AIDiffResult, type AIReviewCoreChangeRange, type AIReviewCoreChangeData } from './aireviewcore/aireviewcoreediting.js';
|
|
49
50
|
export { AIReviewModeUI } from './aireviewmode/aireviewmodeui.js';
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x3a1df8,_0x31a445){var _0x170d16=_0x16f6,_0x44cad5=_0x3a1df8();while(!![]){try{var _0x120cd7=parseInt(_0x170d16(0x12e))/0x1*(-parseInt(_0x170d16(0x135))/0x2)+parseInt(_0x170d16(0x139))/0x3*(-parseInt(_0x170d16(0x12f))/0x4)+parseInt(_0x170d16(0x136))/0x5*(-parseInt(_0x170d16(0x137))/0x6)+parseInt(_0x170d16(0x130))/0x7*(parseInt(_0x170d16(0x131))/0x8)+parseInt(_0x170d16(0x133))/0x9+-parseInt(_0x170d16(0x138))/0xa*(-parseInt(_0x170d16(0x132))/0xb)+parseInt(_0x170d16(0x134))/0xc;if(_0x120cd7===_0x31a445)break;else _0x44cad5['push'](_0x44cad5['shift']());}catch(_0x5870b1){_0x44cad5['push'](_0x44cad5['shift']());}}}(_0x4542,0xede3b));export{AIAssistant,getDefaultAICommands}from'./aiassistant/aiassistant.js';export{AIAssistantUI}from'./aiassistant/aiassistantui.js';export{AIAdapter,AIRequestError}from'./aiassistant/adapters/aiadapter.js';export{AITextAdapter}from'./aiassistant/adapters/aitextadapter.js';export{OpenAITextAdapter}from'./aiassistant/adapters/openaitextadapter.js';function _0x16f6(_0x1f44f1,_0x1dd998){var _0x454297=_0x4542();return _0x16f6=function(_0x16f64b,_0x870cb7){_0x16f64b=_0x16f64b-0x12e;var _0x3923b4=_0x454297[_0x16f64b];return _0x3923b4;},_0x16f6(_0x1f44f1,_0x1dd998);}export{AWSTextAdapter}from'./aiassistant/adapters/awstextadapter.js';export{ShowAIAssistantCommand}from'./aiassistant/ui/showaiassistantcommand.js';export{AITabs}from'./aitabs/aitabs.js';export{AIConnector}from'./aicore/aiconnector.js';export{createResizeButton}from'./aicore/utils/createresizebutton.js';export{AIChat}from'./aichat/aichat.js';export{AIChatShortcuts}from'./aichatshortcuts/aichatshortcuts.js';export{AIChatController}from'./aichat/aichatcontroller.js';export{AIEditing}from'./aicore/aiediting.js';export{AIChatUI}from'./aichat/aichatui.js';export{AIEditorIntegration}from'./aieditorintegration/aieditorintegration.js';export{AIToggleButtonUI}from'./aieditorintegration/aitogglebutton/aitogglebuttonui.js';export{ToggleAICommand}from'./aieditorintegration/aitogglebutton/toggleaicommand.js';export{AIChatHistory}from'./aichathistory/aichathistory.js';export{AIChatHistoryController}from'./aichathistory/aichathistorycontroller.js';export{AIChatHistoryUI}from'./aichathistory/aichathistoryui.js';export{AIQuickActions}from'./aiquickactions/aiquickactions.js';export{AIQuickActionsUI,AIQuickActionType}from'./aiquickactions/aiquickactionsui.js';export{AIActions}from'./aiactions/aiactions.js';export{AIBalloon}from'./aiballoon/aiballoon.js';export{AIReviewMode}from'./aireviewmode/aireviewmode.js';export{AIReviewCoreController as AIReviewModeController}from'./aireviewcore/aireviewcorecontroller.js';export{AIReviewCoreEditing as AIReviewModeEditing}from'./aireviewcore/aireviewcoreediting.js';export{AIReviewModeUI}from'./aireviewmode/aireviewmodeui.js';export{AIReviewCheck}from'./aireviewcore/model/aireviewcheck.js';export{AIReviewCheckResult}from'./aireviewcore/model/aireviewcheckresult.js';function _0x4542(){var _0x16bd0c=['6179170jmolRD','22461KVnTCe','24utONZK','356eGusXE','35RiXIMb','1198112Xvgwce','33xWGXlQ','13040559pskkuy','3303264DvSBnM','90994NFapLc','40EOUvQr','1195596hglzCJ'];_0x4542=function(){return _0x16bd0c;};return _0x4542();}export{AIReviewCheckRun}from'./aireviewcore/model/aireviewcheckrun.js';export{AITranslate}from'./aitranslate/aitranslate.js';export{AITranslateController}from'./aitranslate/aitranslatecontroller.js';export{AITranslateUI}from'./aitranslate/aitranslateui.js';import'./augmentation.js';
|
|
@@ -10,6 +10,8 @@
|
|
|
10
10
|
.ck.ck-button.ck-ai-chat-controls-button {
|
|
11
11
|
--ck-ui-component-min-height: 1.88em;
|
|
12
12
|
|
|
13
|
+
color: var(--ck-ai-button-tertiary-color);
|
|
14
|
+
background-color: var(--ck-ai-button-tertiary-background-color);
|
|
13
15
|
padding: var(--ck-spacing-tiny);
|
|
14
16
|
flex-shrink: 0;
|
|
15
17
|
display: flex;
|
|
@@ -29,35 +31,32 @@
|
|
|
29
31
|
text-align: center;
|
|
30
32
|
}
|
|
31
33
|
|
|
32
|
-
&:
|
|
33
|
-
|
|
34
|
+
&:disabled,
|
|
35
|
+
&.ck-disabled {
|
|
36
|
+
color: var(--ck-ai-button-tertiary-disabled-color);
|
|
37
|
+
background-color: var(--ck-ai-button-tertiary-disabled-background-color);
|
|
34
38
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
& .ck-button__icon {
|
|
40
|
-
color: var(--ck-ai-button-tertiary-filled-hover-color);
|
|
41
|
-
}
|
|
39
|
+
& > .ck.ck-button__label,
|
|
40
|
+
& > .ck-button__icon {
|
|
41
|
+
opacity: 1;
|
|
42
42
|
}
|
|
43
|
+
}
|
|
43
44
|
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
45
|
+
&:active,
|
|
46
|
+
&.ck-on {
|
|
47
|
+
color: var(--ck-ai-button-tertiary-active-color);
|
|
48
|
+
background-color: var(--ck-ai-button-tertiary-active-background-color);
|
|
47
49
|
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
50
|
+
&:hover:not(.ck-disabled) {
|
|
51
|
+
color: var(--ck-ai-button-tertiary-hover-active-color);
|
|
52
|
+
background-color: var(--ck-ai-button-tertiary-hover-active-background-color);
|
|
51
53
|
}
|
|
54
|
+
}
|
|
52
55
|
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
& .ck-button__icon {
|
|
58
|
-
color: var(--ck-ai-chat-button-active-color);
|
|
59
|
-
}
|
|
60
|
-
}
|
|
56
|
+
/* stylelint-disable-next-line no-descending-specificity */
|
|
57
|
+
&:hover:not(.ck-disabled, :active, .ck-on) {
|
|
58
|
+
color: var(--ck-ai-button-tertiary-hover-color);
|
|
59
|
+
background-color: var(--ck-ai-button-tertiary-hover-background-color);
|
|
61
60
|
}
|
|
62
61
|
|
|
63
62
|
& > .ck-icon {
|
|
@@ -9,6 +9,11 @@
|
|
|
9
9
|
|
|
10
10
|
@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";
|
|
11
11
|
|
|
12
|
+
:root {
|
|
13
|
+
--ck-color-ai-chat-prompt-input-animation-background: hsl(55 100% 95% / 1);
|
|
14
|
+
--ck-ai-chat-prompt-input-animation: ck-ai-chat-prompt-input-glow .8s ease-in-out;
|
|
15
|
+
}
|
|
16
|
+
|
|
12
17
|
.ck.ck-ai-chat__prompt-input.ck-search {
|
|
13
18
|
& .ck-labeled-field-view {
|
|
14
19
|
width: 100%;
|
|
@@ -37,6 +42,14 @@
|
|
|
37
42
|
}
|
|
38
43
|
}
|
|
39
44
|
|
|
45
|
+
/**
|
|
46
|
+
* When the focus is moved to the prompt input using the focus() method, the background color
|
|
47
|
+
* can be highlighted for a short time to capture the user's attention.
|
|
48
|
+
*/
|
|
49
|
+
&.ck-ai-chat__prompt-input_highlighted .ck.ck-input.ck-textarea {
|
|
50
|
+
animation: var(--ck-ai-chat-prompt-input-animation);
|
|
51
|
+
}
|
|
52
|
+
|
|
40
53
|
& .ck-ai-chat__prompt-submit-button {
|
|
41
54
|
height: auto;
|
|
42
55
|
align-self: flex-end;
|
|
@@ -53,3 +66,13 @@
|
|
|
53
66
|
}
|
|
54
67
|
}
|
|
55
68
|
}
|
|
69
|
+
|
|
70
|
+
@keyframes ck-ai-chat-prompt-input-glow {
|
|
71
|
+
0% {
|
|
72
|
+
background: var(--ck-color-ai-chat-prompt-input-animation-background);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
100% {
|
|
76
|
+
background: var(--ck-color-input-background);
|
|
77
|
+
}
|
|
78
|
+
}
|
|
@@ -48,7 +48,6 @@
|
|
|
48
48
|
border: 0;
|
|
49
49
|
font-size: .9em;
|
|
50
50
|
margin-inline-end: 0;
|
|
51
|
-
color: var(--ck-ai-chat-color-icon);
|
|
52
51
|
padding-top: 0;
|
|
53
52
|
padding-bottom: 0;
|
|
54
53
|
min-height: auto;
|
|
@@ -60,24 +59,6 @@
|
|
|
60
59
|
.ck-button__label {
|
|
61
60
|
width: auto;
|
|
62
61
|
}
|
|
63
|
-
|
|
64
|
-
&:hover {
|
|
65
|
-
background-color: var(--ck-ai-chat-button-active-background-color);
|
|
66
|
-
color: var(--ck-ai-chat-button-hover-color);
|
|
67
|
-
|
|
68
|
-
& .ck-dropdown__arrow {
|
|
69
|
-
color: var(--ck-ai-chat-button-hover-color);
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
&.ck-on:not(:hover) {
|
|
74
|
-
background-color: var(--ck-ai-chat-button-active-background-color);
|
|
75
|
-
color: var(--ck-ai-background-color-action-button);
|
|
76
|
-
|
|
77
|
-
& .ck-dropdown__arrow {
|
|
78
|
-
color: var(--ck-ai-background-color-action-button);
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
62
|
}
|
|
82
63
|
|
|
83
64
|
& .ck-list {
|
|
@@ -8,18 +8,6 @@
|
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
.ck.ck-ai-mini-toolbar {
|
|
11
|
-
--ck-color-button-action-background: hsl(263.2, 59.2%, 52%);
|
|
12
|
-
--ck-color-button-default-hover-background: hsl(262.1, 100%, 96.3%);
|
|
13
|
-
--ck-color-button-default-active-background: hsl(262.1, 100%, 96.3%);
|
|
14
|
-
--ck-color-button-on-background: hsl(262.1, 100%, 96.3%);
|
|
15
|
-
--ck-color-button-on-hover-background: hsl(262.1, 100%, 96.3%);
|
|
16
|
-
--ck-color-button-on-active-background: hsl(262.1, 100%, 96.3%);
|
|
17
|
-
--ck-color-button-on-disabled-background: hsl(262.1, 100%, 96.3%);
|
|
18
|
-
--ck-color-button-on-color: hsl(263.2, 59.2%, 52%);
|
|
19
|
-
--ck-color-button-action-hover-background: hsl(262.6, 58.9%, 49.6%);
|
|
20
|
-
--ck-color-button-action-active-background: hsl(262.6, 58.9%, 49.6%);
|
|
21
|
-
--ck-color-button-action-disabled-background: hsl(263.8, 59.3%, 75.9%);
|
|
22
|
-
|
|
23
11
|
& .ck-ai-interaction-counter {
|
|
24
12
|
color: var(--ck-ai-chat-color-icon);
|
|
25
13
|
letter-spacing: 2.6px;
|
|
@@ -31,10 +19,6 @@
|
|
|
31
19
|
font-family: var(--ck-ai-chat-font-family);
|
|
32
20
|
color: var(--ck-ai-chat-color-icon);
|
|
33
21
|
|
|
34
|
-
&.ck-on {
|
|
35
|
-
color: var(--ck-ai-background-color-action-button);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
22
|
&.ck-button_with-text {
|
|
39
23
|
min-height: 2.1em;
|
|
40
24
|
box-sizing: border-box;
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* What you're currently looking at is the source code of a legally protected, proprietary software.
|
|
3
|
+
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
4
|
+
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
5
|
+
*
|
|
6
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
:root {
|
|
11
|
+
--ck-color-ai-chat-shortcut-border-color: hsla(261, 100%, 93%, 1);
|
|
12
|
+
--ck-color-ai-chat-shortcut-icon-color: hsl(263, 59%, 52%);
|
|
13
|
+
--ck-color-ai-chat-shortcut-icon-color-hover: hsla(262, 100%, 96%, 1);
|
|
14
|
+
--ck-color-ai-chat-shortcuts-prompt-input-animation-background: hsl(266, 100%, 64%, .05);
|
|
15
|
+
|
|
16
|
+
--ck-ai-chat-shortcut-border-radius: .6em;
|
|
17
|
+
--ck-ai-chat-shortcut-padding: var(--ck-spacing-medium) calc(2 * var(--ck-spacing-standard));
|
|
18
|
+
--ck-ai-chat-shortcut-min-height: 3.07em;
|
|
19
|
+
--ck-ai-chat-shortcut-icon-size: 1.385em;
|
|
20
|
+
|
|
21
|
+
--ck-ai-chat-shortcuts-prompt-input-animation: ck-ai-chat-shortcuts-prompt-input-glow .8s ease-in-out;
|
|
22
|
+
--ck-ai-chat-shortcuts-prompt-input-animation-box-shadow: 0 0 0 4px hsla(263, 59.20%, 52.00%, 0.34);
|
|
23
|
+
--ck-ai-chat-shortcuts-prompt-input-animation-border: 1px solid hsla(263, 59.20%, 52.00%, 1);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
/* A list of shortcut buttons. */
|
|
27
|
+
.ck.ck-ai-chat-shortcuts {
|
|
28
|
+
& > .ck-list {
|
|
29
|
+
gap: var(--ck-spacing-medium);
|
|
30
|
+
padding: 0;
|
|
31
|
+
|
|
32
|
+
/* A single shortcut button on the shortcuts list. */
|
|
33
|
+
& .ck.ck-button.ck-ai-chat-shortcut {
|
|
34
|
+
border-radius: var(--ck-ai-chat-shortcut-border-radius);
|
|
35
|
+
border-color: var(--ck-color-ai-chat-shortcut-border-color);
|
|
36
|
+
padding: var(--ck-ai-chat-shortcut-padding);
|
|
37
|
+
min-height: var(--ck-ai-chat-shortcut-min-height);
|
|
38
|
+
font-weight: 500;
|
|
39
|
+
|
|
40
|
+
& .ck-icon {
|
|
41
|
+
--ck-icon-size: var(--ck-ai-chat-shortcut-icon-size);
|
|
42
|
+
--ck-icon-font-size: 1em;
|
|
43
|
+
|
|
44
|
+
color: var(--ck-color-ai-chat-shortcut-icon-color);
|
|
45
|
+
margin-right: var(--ck-spacing-standard);
|
|
46
|
+
flex: 0 0 auto;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
&:hover {
|
|
50
|
+
background-color: var(--ck-color-ai-chat-shortcut-icon-color-hover);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/*
|
|
57
|
+
* By default, the messages in the AI Chat are listed at the top of the Chat feed space.
|
|
58
|
+
* This moves the welcome message and shortcuts to the bottom of the feed but does not affect the scrolling behavior.
|
|
59
|
+
*/
|
|
60
|
+
.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__items {
|
|
61
|
+
margin-top: auto;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* When the prompt input gets highlighted from the shortcuts, animate the border and box-shadow
|
|
66
|
+
* using AI tint to make it more visible.
|
|
67
|
+
*/
|
|
68
|
+
.ck.ck-ai-chat__prompt-input.ck-search.ck-ai-chat__prompt-input_highlighted .ck.ck-input.ck-textarea {
|
|
69
|
+
--ck-color-ai-chat-prompt-input-animation-background: var(--ck-color-ai-chat-shortcuts-prompt-input-animation-background);
|
|
70
|
+
|
|
71
|
+
animation: var(--ck-ai-chat-prompt-input-animation), var(--ck-ai-chat-shortcuts-prompt-input-animation);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
@keyframes ck-ai-chat-shortcuts-prompt-input-glow {
|
|
75
|
+
0% {
|
|
76
|
+
box-shadow: var(--ck-ai-chat-shortcuts-prompt-input-animation-box-shadow);
|
|
77
|
+
border: var(--ck-ai-chat-shortcuts-prompt-input-animation-border);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
100% {
|
|
81
|
+
box-shadow: var(--ck-focus-outer-shadow);
|
|
82
|
+
border: var(--ck-focus-ring);
|
|
83
|
+
}
|
|
84
|
+
}
|
|
@@ -8,16 +8,10 @@
|
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
.ck.ck-button.ck-ai-toggle-button {
|
|
11
|
-
--ck-color-button-default-hover-background: hsl(262.1,100%,96.3%);
|
|
12
|
-
--ck-color-button-default-active-background: hsl(262.1,100%,96.3%);
|
|
13
11
|
|
|
14
|
-
--ck-color-button-on-background: hsl(262
|
|
15
|
-
--ck-color-button-on-hover-background: hsl(
|
|
16
|
-
--ck-color-button-on-active-background: hsl(
|
|
17
|
-
--ck-color-button-on-disabled-background: hsl(262
|
|
18
|
-
--ck-color-button-on-color: hsl(263
|
|
19
|
-
|
|
20
|
-
&:hover {
|
|
21
|
-
color: var(--ck-color-button-on-color);
|
|
22
|
-
}
|
|
12
|
+
--ck-color-button-on-background: hsl(262,100%,96%);
|
|
13
|
+
--ck-color-button-on-hover-background: hsl(261, 100%, 93%);
|
|
14
|
+
--ck-color-button-on-active-background: hsl(261, 100%, 93%);
|
|
15
|
+
--ck-color-button-on-disabled-background: hsl(262,100%,96%);
|
|
16
|
+
--ck-color-button-on-color: hsl(263,59%,52%);
|
|
23
17
|
}
|
|
@@ -52,17 +52,12 @@
|
|
|
52
52
|
|
|
53
53
|
.ck-toolbar__items {
|
|
54
54
|
&>.ck.ck-button.ck-ai-quick-actions-button, &>.ck-ai-quick-actions-dropdown > .ck.ck-button {
|
|
55
|
-
--ck-color-button-default-hover-background: hsl(
|
|
56
|
-
--ck-color-button-
|
|
57
|
-
--ck-color-button-on-background:
|
|
58
|
-
--ck-color-button-on-
|
|
59
|
-
--ck-color-button-on-
|
|
60
|
-
--ck-color-button-on-
|
|
61
|
-
--ck-color-button-on-color: hsl(263.2,59.2%,52%);
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
&>.ck.ck-button.ck-ai-quick-actions-button:hover, &>.ck-ai-quick-actions-dropdown > .ck.ck-button:hover {
|
|
65
|
-
color: var(--ck-color-button-on-color);
|
|
55
|
+
--ck-color-button-default-hover-background: hsl(0, 0%, 94%);
|
|
56
|
+
--ck-color-button-on-background: hsl(262, 100%, 96%);
|
|
57
|
+
--ck-color-button-on-hover-background: hsl(261, 100%, 93%);
|
|
58
|
+
--ck-color-button-on-active-background: hsl(261, 100%, 93%);
|
|
59
|
+
--ck-color-button-on-disabled-background: hsl(262, 100%, 96%);
|
|
60
|
+
--ck-color-button-on-color: hsl(263, 59%, 52%);
|
|
66
61
|
}
|
|
67
62
|
}
|
|
68
63
|
|