@ckeditor/ckeditor5-ai 47.1.0-alpha.2 → 47.2.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/ai.js +2 -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/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 +573 -203
- package/dist/index.css +627 -204
- package/dist/index.js +5 -4
- 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 +8 -1
- package/lang/translations/af.po +52 -4
- package/lang/translations/ar.po +52 -4
- package/lang/translations/ast.po +52 -4
- package/lang/translations/az.po +52 -4
- package/lang/translations/be.po +52 -4
- package/lang/translations/bg.po +52 -4
- package/lang/translations/bn.po +52 -4
- package/lang/translations/bs.po +52 -4
- package/lang/translations/ca.po +52 -4
- package/lang/translations/cs.po +52 -4
- package/lang/translations/da.po +52 -4
- package/lang/translations/de-ch.po +52 -4
- package/lang/translations/de.po +52 -4
- package/lang/translations/el.po +52 -4
- package/lang/translations/en-au.po +52 -4
- package/lang/translations/en-gb.po +52 -4
- package/lang/translations/en.po +52 -4
- package/lang/translations/eo.po +52 -4
- package/lang/translations/es-co.po +52 -4
- package/lang/translations/es.po +52 -4
- package/lang/translations/et.po +52 -4
- package/lang/translations/eu.po +52 -4
- package/lang/translations/fa.po +52 -4
- package/lang/translations/fi.po +52 -4
- package/lang/translations/fr.po +52 -4
- package/lang/translations/gl.po +52 -4
- package/lang/translations/gu.po +52 -4
- package/lang/translations/he.po +52 -4
- package/lang/translations/hi.po +52 -4
- package/lang/translations/hr.po +52 -4
- package/lang/translations/hu.po +52 -4
- package/lang/translations/hy.po +52 -4
- package/lang/translations/id.po +52 -4
- package/lang/translations/it.po +52 -4
- package/lang/translations/ja.po +52 -4
- package/lang/translations/jv.po +52 -4
- package/lang/translations/kk.po +52 -4
- package/lang/translations/km.po +52 -4
- package/lang/translations/kn.po +52 -4
- package/lang/translations/ko.po +52 -4
- package/lang/translations/ku.po +52 -4
- package/lang/translations/lt.po +52 -4
- package/lang/translations/lv.po +52 -4
- package/lang/translations/ms.po +52 -4
- package/lang/translations/nb.po +52 -4
- package/lang/translations/ne.po +52 -4
- package/lang/translations/nl.po +52 -4
- package/lang/translations/no.po +52 -4
- package/lang/translations/oc.po +52 -4
- package/lang/translations/pl.po +52 -4
- package/lang/translations/pt-br.po +52 -4
- package/lang/translations/pt.po +52 -4
- package/lang/translations/ro.po +52 -4
- package/lang/translations/ru.po +52 -4
- package/lang/translations/si.po +52 -4
- package/lang/translations/sk.po +52 -4
- package/lang/translations/sl.po +52 -4
- package/lang/translations/sq.po +52 -4
- package/lang/translations/sr-latn.po +52 -4
- package/lang/translations/sr.po +52 -4
- package/lang/translations/sv.po +52 -4
- package/lang/translations/th.po +52 -4
- package/lang/translations/ti.po +52 -4
- package/lang/translations/tk.po +52 -4
- package/lang/translations/tr.po +52 -4
- package/lang/translations/tt.po +52 -4
- package/lang/translations/ug.po +52 -4
- package/lang/translations/uk.po +52 -4
- package/lang/translations/ur.po +52 -4
- package/lang/translations/uz.po +52 -4
- package/lang/translations/vi.po +52 -4
- package/lang/translations/zh-cn.po +52 -4
- package/lang/translations/zh.po +52 -4
- package/package.json +15 -15
- package/src/aiactions/aiactions.d.ts +1 -1
- 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.d.ts +5 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
- package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
- package/src/aiballoon/ui/aiballoonview.d.ts +40 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatcontroller.d.ts +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.d.ts +1 -0
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.d.ts +4 -0
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/model/aichatmodels.d.ts +8 -29
- package/src/aichat/model/aichatmodels.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.d.ts +4 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.d.ts +2 -2
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.d.ts +4 -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.d.ts +4 -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.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/{aichatresourceslistview.d.ts → aichatcontextresourceslistview.d.ts} +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +23 -0
- package/src/aichat/ui/controls/resources/{aichatresourcesview.d.ts → aichatcontextresourcesview.d.ts} +5 -2
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +23 -0
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.d.ts +4 -0
- 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/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.d.ts +3 -3
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.d.ts +3 -3
- 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/aichat/utils/scrollmanager.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 -1
- 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/aiconfig.d.ts +28 -7
- package/src/aicore/aiconnector.d.ts +1 -0
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aicapabilities.js +1 -1
- package/src/aicore/model/aicontext.js +1 -1
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aimodels.d.ts +66 -0
- package/src/aicore/model/aimodels.js +23 -0
- package/src/aicore/model/aireply.d.ts +9 -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.d.ts +5 -2
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.d.ts +3 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.d.ts +6 -2
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/utils/common-translations.js +1 -1
- 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.d.ts +2 -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/aieditorintegration/aieditorintegration.d.ts +2 -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/aireviewmode/aireviewcheckdefinitions.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeediting.d.ts +18 -0
- package/src/aireviewmode/aireviewmodeediting.js +1 -1
- package/src/aireviewmode/aireviewmodeui.d.ts +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheck.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.d.ts +3 -3
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewchecklist.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresultchange.d.ts +1 -1
- package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewmode/model/aireviewcheckrun.d.ts +9 -10
- package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.d.ts +6 -0
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.d.ts +13 -0
- package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +23 -0
- package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.d.ts +9 -1
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.d.ts +0 -4
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformmanager.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/errors.js +1 -1
- package/src/index.d.ts +1 -0
- package/src/index.js +1 -1
- package/theme/aiballoon/aiballoon.css +12 -0
- package/theme/aichat/aichat-controls/aichat-context-chip.css +1 -1
- package/theme/aichat/aichat-controls/aichat-context-controls-balloon-panels.css +52 -43
- package/theme/aichat/aichat-controls/aichat-controls-button.css +8 -6
- package/theme/aichat/aichat-controls/aichat-controls-loader.css +36 -52
- package/theme/aichat/aichat-controls/prompt-capabilities.css +0 -1
- package/theme/aichat/aichat-controls.css +11 -27
- package/theme/aichat/aichat.css +2 -3
- package/theme/aichat/aichatfeed.css +1 -27
- package/theme/aichat/aichathistory.css +12 -0
- package/theme/aichat/aisuggestioncontainer.css +5 -0
- package/theme/aireviewmode/aireviewmode-check-list.css +25 -23
- package/theme/aireviewmode/aireviewmode-check-run-result.css +45 -0
- package/theme/aireviewmode/aireviewmode-check-run.css +28 -5
- package/theme/aireviewmode/aireviewmode.css +17 -7
- package/theme/aitabs/aitabsview.css +1 -1
- package/theme/aitabs/tabs/tabbuttonview.css +1 -0
- package/theme/aitabs/tabs/tabsview.css +1 -0
- package/theme/common/aibutton.css +27 -0
- package/theme/common/aiheader.css +14 -4
- package/theme/common/aitrackchanges.css +8 -1
- package/src/aichat/ui/controls/resources/aichatresourceslistview.js +0 -23
- package/src/aichat/ui/controls/resources/aichatresourcesview.js +0 -23
- package/src/aireviewmode/model/aireviewmodels.d.ts +0 -26
- package/src/aireviewmode/model/aireviewmodels.js +0 -23
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x35b3af=_0x3f90;(function(_0x3b8b88,_0x40df61){const _0xd4bc8f=_0x3f90,_0x522382=_0x3b8b88();while(!![]){try{const _0x2c23b7=-parseInt(_0xd4bc8f(0x14b))/0x1+parseInt(_0xd4bc8f(0x159))/0x2+-parseInt(_0xd4bc8f(0x13d))/0x3+-parseInt(_0xd4bc8f(0x18e))/0x4+-parseInt(_0xd4bc8f(0x187))/0x5*(parseInt(_0xd4bc8f(0x186))/0x6)+-parseInt(_0xd4bc8f(0x16c))/0x7*(-parseInt(_0xd4bc8f(0x18c))/0x8)+parseInt(_0xd4bc8f(0x173))/0x9;if(_0x2c23b7===_0x40df61)break;else _0x522382['push'](_0x522382['shift']());}catch(_0x30d517){_0x522382['push'](_0x522382['shift']());}}}(_0x59e9,0x41718));import{FocusTracker as _0x4ffcf9,KeystrokeHandler as _0x4a034a}from'ckeditor5/src/utils.js';import{View as _0x159f81,FocusCycler as _0x1ee02d,createLabeledTextarea as _0x5e5fb7}from'ckeditor5/src/ui.js';import{AIFormToolbarView as _0x2a9813,AIFormToolbarViewMainActionLabel as _0x159e03}from'./aiformtoolbarview.js';import{AIFormContentArea as _0x3615ef}from'./aiformcontentarea.js';import{AIFormErrorView as _0x319406}from'./aiformerrorview.js';import{AIFormPromptView as _0x3f1c55}from'./aiformpromptview.js';import{AIHistoryListView as _0x192343}from'./aihistorylistview.js';import{AIHistoryListItemView as _0x28a86a}from'./aihistorylistitemview.js';import{PromptHistory as _0x452555}from'./prompthistory.js';function _0x3f90(_0x46fe94,_0x18f15b){const _0x59e982=_0x59e9();return _0x3f90=function(_0x3f9092,_0x404b98){_0x3f9092=_0x3f9092-0x13b;let _0x42a3ba=_0x59e982[_0x3f9092];return _0x42a3ba;},_0x3f90(_0x46fe94,_0x18f15b);}import{getTranslation as _0x143925}from'../../utils/common-translations.js';import{escape as _0x203d1f}from'es-toolkit/compat';function _0x59e9(){const _0x2f8ef2=['items','focusLast','isError','ck-ai-form-content','focusTracker','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','bindTo','listenTo','Ask\x20AI\x20to\x20improve\x20generated\x20text','clearHistory','_createToolbar','AI_ERROR_FAILED','historyGroupView','createCollection','keystrokes','28qoeBfk','replaceContent','ck-ai-form','_focusables','clear','copyButtonView','_promptHistory','2649906FNgQaf','tab','ck-hidden','reset','execute','div','stopProcessing','locale','contentArea','delegate','Ask\x20AI\x20to\x20edit\x20or\x20generate','isProcessing','isVisible','fire','focusFirst','errorView','trim','tryAgainButton','submitPrompt','6TgDWea','1074705owWPmU','focus','add','render','_createHistoryView','672968vNJfAE','handleError','1489660ClPpai','focusCycler','high','61827Bhdtyg','REPLACE','insertButton','mainAction','toolbar','promptView','queryView','submit','fieldView','finishProcessing','setTemplate','label','_createPromptView','value','225312eKIjJe','set','element','stopButton','chain','Empty\x20history','startProcessing','bind','search','prompt','isEnabled','tryAgainEvent','insertContentBelow','shift\x20+\x20tab','940830ohrAJr','replaceButton','bindTemplate','text'];_0x59e9=function(){return _0x2f8ef2;};return _0x59e9();}export class AIFormView extends _0x159f81{[_0x35b3af(0x161)];[_0x35b3af(0x16b)];[_0x35b3af(0x17b)];[_0x35b3af(0x141)];[_0x35b3af(0x142)];[_0x35b3af(0x182)];[_0x35b3af(0x16f)];[_0x35b3af(0x13b)];[_0x35b3af(0x172)];constructor(_0x2617f1,_0x54992f,_0x1ca37a=''){const _0xeb1d3b=_0x35b3af;super(_0x2617f1),this[_0xeb1d3b(0x14c)](_0xeb1d3b(0x155),!0x0),this[_0xeb1d3b(0x14c)](_0xeb1d3b(0x17e),!0x1),this[_0xeb1d3b(0x14c)](_0xeb1d3b(0x154),''),this[_0xeb1d3b(0x14c)](_0xeb1d3b(0x14a),''),this[_0xeb1d3b(0x14c)](_0xeb1d3b(0x15f),!0x1),this[_0xeb1d3b(0x14c)](_0xeb1d3b(0x140),_0x159e03[_0xeb1d3b(0x13e)]),this[_0xeb1d3b(0x172)]=new _0x452555(),this[_0xeb1d3b(0x182)]=new _0x319406(_0x2617f1),this[_0xeb1d3b(0x17b)]=new _0x3615ef(_0x2617f1,_0x1ca37a),this[_0xeb1d3b(0x17b)][_0xeb1d3b(0x152)](_0xeb1d3b(0x17e))['to'](this),this[_0xeb1d3b(0x17b)][_0xeb1d3b(0x152)](_0xeb1d3b(0x14a))['to'](this),this[_0xeb1d3b(0x141)]=this[_0xeb1d3b(0x167)](),this[_0xeb1d3b(0x141)][_0xeb1d3b(0x152)](_0xeb1d3b(0x140))['to'](this),this[_0xeb1d3b(0x142)]=this[_0xeb1d3b(0x149)](),this[_0xeb1d3b(0x161)]=new _0x4ffcf9(),this[_0xeb1d3b(0x16b)]=new _0x4a034a(),this[_0xeb1d3b(0x16f)]=this[_0xeb1d3b(0x16a)]([this[_0xeb1d3b(0x17b)],this[_0xeb1d3b(0x17b)][_0xeb1d3b(0x171)],this[_0xeb1d3b(0x141)],this[_0xeb1d3b(0x142)]]),this[_0xeb1d3b(0x13b)]=new _0x1ee02d({'focusables':this[_0xeb1d3b(0x16f)],'focusTracker':this[_0xeb1d3b(0x161)],'keystrokeHandler':this[_0xeb1d3b(0x16b)],'actions':{'focusPrevious':_0xeb1d3b(0x158),'focusNext':_0xeb1d3b(0x174)}}),this[_0xeb1d3b(0x13b)][_0xeb1d3b(0x14f)](this[_0xeb1d3b(0x142)][_0xeb1d3b(0x13b)]),this[_0xeb1d3b(0x142)][_0xeb1d3b(0x143)][_0xeb1d3b(0x145)][_0xeb1d3b(0x152)](_0xeb1d3b(0x14a))['to'](this,_0xeb1d3b(0x154));const _0x466330=this[_0xeb1d3b(0x15b)];this[_0xeb1d3b(0x147)]({'tag':_0xeb1d3b(0x178),'attributes':{'class':['ck',_0xeb1d3b(0x16e),_0x54992f],'tabindex':'-1'},'children':[{'tag':_0xeb1d3b(0x178),'attributes':{'class':['ck',_0xeb1d3b(0x160)]},'children':[{'tag':_0xeb1d3b(0x178),'attributes':{'class':[_0x466330['if'](_0xeb1d3b(0x15f),_0xeb1d3b(0x175),_0x494e7d=>!_0x494e7d)]},'children':[this[_0xeb1d3b(0x182)]]},this[_0xeb1d3b(0x17b)],this[_0xeb1d3b(0x141)],this[_0xeb1d3b(0x142)]]}]});}[_0x35b3af(0x18a)](){const _0x49eef8=_0x35b3af;super[_0x49eef8(0x18a)](),this[_0x49eef8(0x161)][_0x49eef8(0x189)](this[_0x49eef8(0x17b)][_0x49eef8(0x14d)]),this[_0x49eef8(0x161)][_0x49eef8(0x189)](this[_0x49eef8(0x17b)][_0x49eef8(0x171)][_0x49eef8(0x14d)]),this[_0x49eef8(0x161)][_0x49eef8(0x189)](this[_0x49eef8(0x141)][_0x49eef8(0x14d)]),this[_0x49eef8(0x161)][_0x49eef8(0x189)](this[_0x49eef8(0x142)][_0x49eef8(0x14d)]),this[_0x49eef8(0x16b)][_0x49eef8(0x164)](this[_0x49eef8(0x14d)]);}[_0x35b3af(0x188)](_0x365f27=0x1){const _0xbc7f13=_0x35b3af;-0x1===_0x365f27?this[_0xbc7f13(0x13b)][_0xbc7f13(0x15e)]():this[_0xbc7f13(0x13b)][_0xbc7f13(0x181)]();}[_0x35b3af(0x176)](){const _0x2f0118=_0x35b3af;this[_0x2f0118(0x154)]='',this[_0x2f0118(0x14a)]='',this[_0x2f0118(0x15f)]=!0x1,this[_0x2f0118(0x142)][_0x2f0118(0x176)](),this[_0x2f0118(0x17b)][_0x2f0118(0x17f)]=!0x1,this[_0x2f0118(0x141)][_0x2f0118(0x17f)]=!0x1;}[_0x35b3af(0x149)](){const _0x5ac6fc=_0x35b3af,_0x324f4f=this[_0x5ac6fc(0x17a)],_0x4e26a6=new _0x3f1c55(_0x324f4f,{'queryView':{'label':_0x143925(_0x324f4f,_0x5ac6fc(0x17d)),'creator':_0x5e5fb7,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x143925(_0x324f4f,_0x5ac6fc(0x150)),'secondary':_0x143925(_0x324f4f,_0x5ac6fc(0x162))}}},'filteredView':this[_0x5ac6fc(0x18b)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x4e26a6[_0x5ac6fc(0x152)](_0x5ac6fc(0x155))['to'](this,_0x5ac6fc(0x155),this,_0x5ac6fc(0x17e),(_0x1df84b,_0x606e61)=>_0x1df84b&&!_0x606e61),this[_0x5ac6fc(0x164)](_0x4e26a6,_0x5ac6fc(0x144),(_0x19bc31,_0xd8e4a6)=>{const _0x1ed63a=_0x5ac6fc;this[_0x1ed63a(0x154)]=_0xd8e4a6;const _0x6d2efb=_0x203d1f(_0xd8e4a6);this[_0x1ed63a(0x180)](_0x1ed63a(0x185),_0x6d2efb),_0xd8e4a6[_0x1ed63a(0x183)]()&&this[_0x1ed63a(0x172)][_0x1ed63a(0x189)]({'prompt':_0x6d2efb},0x0);},{'priority':_0x5ac6fc(0x13c)}),_0x4e26a6;}[_0x35b3af(0x18b)](){const _0x58dd6c=_0x35b3af,_0x20d020=new _0x192343(this[_0x58dd6c(0x17a)]);return _0x20d020[_0x58dd6c(0x169)][_0x58dd6c(0x15d)][_0x58dd6c(0x163)](this[_0x58dd6c(0x172)])['as'](_0x28a86a),_0x20d020['on'](_0x58dd6c(0x166),()=>{const _0x587aa2=_0x58dd6c;this[_0x587aa2(0x172)][_0x587aa2(0x170)](),this[_0x587aa2(0x142)][_0x587aa2(0x153)](''),this[_0x587aa2(0x142)][_0x587aa2(0x188)]();}),_0x20d020;}[_0x35b3af(0x167)](){const _0x5b0f35=_0x35b3af,_0x358a16=new _0x2a9813(this[_0x5b0f35(0x17a)]);return _0x358a16[_0x5b0f35(0x15a)][_0x5b0f35(0x152)](_0x5b0f35(0x155))['to'](this,_0x5b0f35(0x155),this,_0x5b0f35(0x17e),this,_0x5b0f35(0x14a),(_0x12a5d5,_0x2f8676,_0x3a95b7)=>_0x12a5d5&&!_0x2f8676&&!!_0x3a95b7),_0x358a16[_0x5b0f35(0x15a)][_0x5b0f35(0x17c)](_0x5b0f35(0x177))['to'](this,_0x5b0f35(0x16d)),_0x358a16[_0x5b0f35(0x13f)][_0x5b0f35(0x152)](_0x5b0f35(0x155))['to'](this,_0x5b0f35(0x155),this,_0x5b0f35(0x17e),this,_0x5b0f35(0x14a),(_0xa6e208,_0x920d5c,_0x116925)=>_0xa6e208&&!_0x920d5c&&!!_0x116925),_0x358a16[_0x5b0f35(0x13f)][_0x5b0f35(0x17c)](_0x5b0f35(0x177))['to'](this,_0x5b0f35(0x157)),_0x358a16[_0x5b0f35(0x184)][_0x5b0f35(0x152)](_0x5b0f35(0x155))['to'](this,_0x5b0f35(0x155),this,_0x5b0f35(0x17e),(_0x2f72fd,_0x3df2cc)=>_0x2f72fd&&!_0x3df2cc),_0x358a16[_0x5b0f35(0x184)][_0x5b0f35(0x17c)](_0x5b0f35(0x177))['to'](this,_0x5b0f35(0x156)),_0x358a16[_0x5b0f35(0x14e)][_0x5b0f35(0x152)](_0x5b0f35(0x155))['to'](this,_0x5b0f35(0x17e)),_0x358a16[_0x5b0f35(0x14e)][_0x5b0f35(0x17c)](_0x5b0f35(0x177))['to'](this,_0x5b0f35(0x179)),_0x358a16;}[_0x35b3af(0x151)](){const _0x29c104=_0x35b3af;this[_0x29c104(0x14a)]='',this[_0x29c104(0x15f)]=!0x1,this[_0x29c104(0x17e)]=!0x0,this[_0x29c104(0x17b)][_0x29c104(0x17f)]=!0x0,this[_0x29c104(0x141)][_0x29c104(0x17f)]=!0x0,this[_0x29c104(0x17b)][_0x29c104(0x188)]();}[_0x35b3af(0x146)](){const _0x214d15=_0x35b3af,_0xdb719f=this[_0x214d15(0x17a)];this[_0x214d15(0x17e)]=!0x1,this[_0x214d15(0x154)]='',this[_0x214d15(0x142)][_0x214d15(0x176)](),this[_0x214d15(0x14a)]&&(this[_0x214d15(0x142)][_0x214d15(0x143)][_0x214d15(0x148)]=_0x143925(_0xdb719f,_0x214d15(0x165)));}[_0x35b3af(0x18d)](_0x1b3682){const _0x3645b3=_0x35b3af,_0x54007d=this[_0x3645b3(0x17a)];this[_0x3645b3(0x146)](),this[_0x3645b3(0x15f)]=!0x0,this[_0x3645b3(0x182)][_0x3645b3(0x15c)]=_0x1b3682||_0x143925(_0x54007d,_0x3645b3(0x168)),this[_0x3645b3(0x14a)]||(this[_0x3645b3(0x17b)][_0x3645b3(0x17f)]=!0x1);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0xa5c6(_0x59b631,_0x1be552){const _0x570832=_0x5708();return _0xa5c6=function(_0xa5c616,_0x48942e){_0xa5c616=_0xa5c616-0x17b;let _0x320b9e=_0x570832[_0xa5c616];return _0x320b9e;},_0xa5c6(_0x59b631,_0x1be552);}function _0x5708(){const _0x160298=['9JnZImy','add','prompt','2015544bJSJaI','597560myBGMQ','333628jXmRia','locale','fire','18274Wdrlab','1754406nDrWVi','children','execute','6wsCgmb','2486344ToGCrQ','956504upJcai','set'];_0x5708=function(){return _0x160298;};return _0x5708();}(function(_0xedbf37,_0x366745){const _0x5eaf7b=_0xa5c6,_0x483ff1=_0xedbf37();while(!![]){try{const _0x9bb8c9=parseInt(_0x5eaf7b(0x17e))/0x1+-parseInt(_0x5eaf7b(0x181))/0x2*(-parseInt(_0x5eaf7b(0x185))/0x3)+-parseInt(_0x5eaf7b(0x17c))/0x4+-parseInt(_0x5eaf7b(0x17d))/0x5+parseInt(_0x5eaf7b(0x182))/0x6+parseInt(_0x5eaf7b(0x186))/0x7+-parseInt(_0x5eaf7b(0x187))/0x8*(parseInt(_0x5eaf7b(0x189))/0x9);if(_0x9bb8c9===_0x366745)break;else _0x483ff1['push'](_0x483ff1['shift']());}catch(_0x1a0a53){_0x483ff1['push'](_0x483ff1['shift']());}}}(_0x5708,0x3ea16));import{ListItemView as _0x239aad,ButtonView as _0x2933e9,ButtonLabelView as _0x170eb9}from'ckeditor5/src/ui.js';import{unescape as _0x2c8879}from'es-toolkit/compat';export class AIHistoryListItemView extends _0x239aad{constructor(_0x573e54){const _0x4fb70b=_0xa5c6;super();const _0x3d73b9=new _0x170eb9(),_0x15e28b=new _0x2933e9(this[_0x4fb70b(0x17f)],_0x3d73b9);this[_0x4fb70b(0x183)][_0x4fb70b(0x18a)](_0x15e28b),_0x15e28b[_0x4fb70b(0x188)]({'label':_0x573e54[_0x4fb70b(0x17b)],'withText':!0x0}),_0x15e28b['on'](_0x4fb70b(0x184),()=>{const _0x231515=_0x4fb70b;this[_0x231515(0x180)](_0x231515(0x184),{'value':_0x2c8879(_0x573e54[_0x231515(0x17b)])});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3a43af=_0x4ae9;function _0x4ae9(_0x342156,_0x275ed9){const _0x1b7c65=_0x1b7c();return _0x4ae9=function(_0x4ae962,_0x158298){_0x4ae962=_0x4ae962-0xb9;let _0x4dcd56=_0x1b7c65[_0x4ae962];return _0x4dcd56;},_0x4ae9(_0x342156,_0x275ed9);}(function(_0x56af7b,_0x1e8a5b){const _0x17dba2=_0x4ae9,_0x43d194=_0x56af7b();while(!![]){try{const _0x3fc80d=-parseInt(_0x17dba2(0xbe))/0x1+-parseInt(_0x17dba2(0xbc))/0x2+parseInt(_0x17dba2(0xc7))/0x3*(-parseInt(_0x17dba2(0xbf))/0x4)+parseInt(_0x17dba2(0xc1))/0x5*(-parseInt(_0x17dba2(0xc9))/0x6)+-parseInt(_0x17dba2(0xcf))/0x7+parseInt(_0x17dba2(0xc8))/0x8+parseInt(_0x17dba2(0xd3))/0x9*(parseInt(_0x17dba2(0xd2))/0xa);if(_0x3fc80d===_0x1e8a5b)break;else _0x43d194['push'](_0x43d194['shift']());}catch(_0xcf59cb){_0x43d194['push'](_0x43d194['shift']());}}}(_0x1b7c,0x55896));import{ListView as _0x37475b,ListItemGroupView as _0x59e271,ButtonView as _0x7fd289}from'ckeditor5/src/ui.js';function _0x1b7c(){const _0x16cbef=['4133394GJnrhr','add','execute','clearHistory','filter','historyGroupView','2419361XRtqrI','Prompt\x20history','delegate','440bfSNkc','473967ODfnFM','length','fire','Clear','397532dkRLlv','locale','530226gBAhxW','351728UFPYjq','label','5NoVEpq','_createClearHistoryButton','children','clearHistoryButton','set','items','21rHWYjI','3297792XsuzPm'];_0x1b7c=function(){return _0x16cbef;};return _0x1b7c();}import{getTranslation as _0x5c5f71}from'../../utils/common-translations.js';export class AIHistoryListView extends _0x37475b{[_0x3a43af(0xce)];[_0x3a43af(0xc4)];constructor(_0x496b91){const _0x13b13a=_0x3a43af;super(_0x496b91),this[_0x13b13a(0xc4)]=this[_0x13b13a(0xc2)](),this[_0x13b13a(0xce)]=new _0x59e271(),this[_0x13b13a(0xce)][_0x13b13a(0xc3)][_0x13b13a(0xca)](this[_0x13b13a(0xc4)],0x1),this[_0x13b13a(0xce)][_0x13b13a(0xc0)]=_0x5c5f71(_0x496b91,_0x13b13a(0xd0)),this[_0x13b13a(0xce)][_0x13b13a(0xc6)][_0x13b13a(0xd1)](_0x13b13a(0xcb))['to'](this),this[_0x13b13a(0xc6)][_0x13b13a(0xca)](this[_0x13b13a(0xce)]);}[_0x3a43af(0xcd)](){const _0x58bbfa=_0x3a43af;let _0x45214f=0x0;for(const _0x114593 of this[_0x58bbfa(0xc6)])_0x45214f+=_0x114593[_0x58bbfa(0xc6)][_0x58bbfa(0xb9)];return{'resultsCount':_0x45214f,'totalItemsCount':_0x45214f};}[_0x3a43af(0xc2)](){const _0x55537c=_0x3a43af,_0x4422d7=this[_0x55537c(0xbd)],_0x536fec=new _0x7fd289(this[_0x55537c(0xbd)]);return _0x536fec[_0x55537c(0xc5)]({'label':'('+_0x5c5f71(_0x4422d7,_0x55537c(0xbb))+')','withText':!0x0}),_0x536fec['on'](_0x55537c(0xcb),()=>this[_0x55537c(0xba)](_0x55537c(0xcc))),_0x536fec;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x45d1a3=_0x2b32;(function(_0x11cd7c,_0x31648d){const _0xd117af=_0x2b32,_0x163321=_0x11cd7c();while(!![]){try{const _0x1e482d=-parseInt(_0xd117af(0x18d))/0x1+parseInt(_0xd117af(0x17c))/0x2+-parseInt(_0xd117af(0x187))/0x3+-parseInt(_0xd117af(0x179))/0x4+-parseInt(_0xd117af(0x17f))/0x5*(parseInt(_0xd117af(0x184))/0x6)+parseInt(_0xd117af(0x183))/0x7+parseInt(_0xd117af(0x17a))/0x8;if(_0x1e482d===_0x31648d)break;else _0x163321['push'](_0x163321['shift']());}catch(_0x5a34e0){_0x163321['push'](_0x163321['shift']());}}}(_0x24fa,0x79840));function _0x2b32(_0x4668a4,_0x353726){const _0x24fa37=_0x24fa();return _0x2b32=function(_0x2b32cf,_0x492d0a){_0x2b32cf=_0x2b32cf-0x176;let _0x30cc57=_0x24fa37[_0x2b32cf];return _0x30cc57;},_0x2b32(_0x4668a4,_0x353726);}import{Collection as _0x25fc83}from'ckeditor5/src/utils.js';const So=_0x45d1a3(0x189);export class PromptHistory extends _0x25fc83{constructor(){const _0x1e4b0d=_0x45d1a3;super(),this[_0x1e4b0d(0x176)](),this['on'](_0x1e4b0d(0x180),(_0x1ee8c3,_0x5cc0a3)=>{const _0x25430d=_0x1e4b0d,_0x524197=fo(_0x5cc0a3[_0x25430d(0x178)]);for(const _0x4e04c5 of this)if(_0x4e04c5!=_0x5cc0a3&&fo(_0x4e04c5[_0x25430d(0x178)])===_0x524197){this[_0x25430d(0x182)](_0x4e04c5);break;}this[_0x25430d(0x177)]>0x14&&this[_0x25430d(0x182)](this[_0x25430d(0x18a)]),this[_0x25430d(0x188)]();}),this['on'](_0x1e4b0d(0x182),()=>{const _0x46945a=_0x1e4b0d;this[_0x46945a(0x188)]();});}[_0x45d1a3(0x176)](){const _0x4798b9=_0x45d1a3,_0x5ad86f=sessionStorage[_0x4798b9(0x185)](So)||'[]';this[_0x4798b9(0x17d)](JSON[_0x4798b9(0x17b)](_0x5ad86f));}[_0x45d1a3(0x188)](){const _0x5f3e58=_0x45d1a3;sessionStorage[_0x5f3e58(0x186)](So,JSON[_0x5f3e58(0x18c)](this[_0x5f3e58(0x17e)](_0x113a03=>_0x113a03)));}}function _0x24fa(){const _0x404cf2=['prompt','2142016hELsau','12422480UwiLFQ','parse','631942tFqPAV','addMany','map','630595nGmnhS','add','trim','remove','3327674eNFsfS','18pKMMYI','getItem','setItem','2716929hCGbsf','_saveToSessionStorage','CKEditor/AIFormView/PromptHistory','last','toLowerCase','stringify','26931vkMyPj','_loadFromSessionStorage','length'];_0x24fa=function(){return _0x404cf2;};return _0x24fa();}function fo(_0x4c6d00){const _0x24ce76=_0x45d1a3;return _0x4c6d00[_0x24ce76(0x18b)]()[_0x24ce76(0x181)]();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3bda05=_0x3413;(function(_0xbce646,_0x580ec2){const _0x1ce6b1=_0x3413,_0x1c13bc=_0xbce646();while(!![]){try{const _0x4f663a=-parseInt(_0x1ce6b1(0x17e))/0x1+-parseInt(_0x1ce6b1(0x165))/0x2*(parseInt(_0x1ce6b1(0x17c))/0x3)+parseInt(_0x1ce6b1(0x174))/0x4+-parseInt(_0x1ce6b1(0x183))/0x5*(parseInt(_0x1ce6b1(0x15f))/0x6)+parseInt(_0x1ce6b1(0x181))/0x7+parseInt(_0x1ce6b1(0x16a))/0x8*(parseInt(_0x1ce6b1(0x160))/0x9)+-parseInt(_0x1ce6b1(0x16f))/0xa;if(_0x4f663a===_0x580ec2)break;else _0x1c13bc['push'](_0x1c13bc['shift']());}catch(_0x3213ef){_0x1c13bc['push'](_0x1c13bc['shift']());}}}(_0x3fb6,0x2a4a0));import{Command as _0x2b199f}from'ckeditor5/src/core.js';function _0x3fb6(){const _0x3bd33a=['1236064ZEaHjV','selection','hasContent','set','isEmpty','enabledCommandsIds','from','getFirstRange','138snELwf','getSelectedBlocks','169042hAviHN','element','get','2108449HAvnGL','getItems','1145xPiWWn','model','plugins','add','change:isEnabled','editor','getRanges','isEnabled','198bwtrsR','682497HkqOor','name','includes','execute','isCollapsed','7598ySUpZM','change:_hasContext','ai.assistant.disabledElements','showUI','requiresContent','8KIJQjj','refresh','_commandDefinitions','config','values','1614870RXcWqc','document','length','_hasContext','custom'];_0x3fb6=function(){return _0x3bd33a;};return _0x3fb6();}function _0x3413(_0x90705b,_0x5bb572){const _0x3fb663=_0x3fb6();return _0x3413=function(_0x3413b7,_0x3ca9cc){_0x3413b7=_0x3413b7-0x15c;let _0x4f8f7b=_0x3fb663[_0x3413b7];return _0x4f8f7b;},_0x3413(_0x90705b,_0x5bb572);}import{AIAssistantUI as _0x1c3536}from'../aiassistantui.js';export class ShowAIAssistantCommand extends _0x2b199f{[_0x3bda05(0x16c)];constructor(_0x54b541,_0x5c93f2){const _0x514a82=_0x3bda05;super(_0x54b541),this[_0x514a82(0x16c)]=_0x5c93f2,this[_0x514a82(0x177)](_0x514a82(0x179),[]),this['on'](_0x514a82(0x166),(_0x24ad68,_0x4f07a6,_0x1da76c)=>{const _0x563f60=_0x514a82;this[_0x563f60(0x15e)]&&(this[_0x563f60(0x179)]=ns(this[_0x563f60(0x16c)],_0x1da76c));}),this[_0x514a82(0x177)](_0x514a82(0x172),!0x1),this['on'](_0x514a82(0x187),(_0x3642f2,_0x3d8fde,_0x397bbf)=>{const _0x2f1eee=_0x514a82;this[_0x2f1eee(0x179)]=_0x397bbf?ns(this[_0x2f1eee(0x16c)],this[_0x2f1eee(0x172)]):[];});}[_0x3bda05(0x16b)](){const _0x20627b=_0x3bda05,_0x1d3043=this[_0x20627b(0x15c)][_0x20627b(0x184)];this[_0x20627b(0x172)]=function(_0x5d7303){const _0x44f844=_0x20627b,_0x333665=_0x5d7303[_0x44f844(0x170)][_0x44f844(0x175)];return _0x333665[_0x44f844(0x164)]?0x0!==[..._0x333665[_0x44f844(0x17d)]()][_0x44f844(0x171)]&&![..._0x333665[_0x44f844(0x17d)]()][0x0][_0x44f844(0x178)]:!!_0x5d7303[_0x44f844(0x176)](_0x333665[_0x44f844(0x17b)]());}(_0x1d3043);const _0x3fe92d=_0x1d3043[_0x20627b(0x170)][_0x20627b(0x175)],_0x5b1cfe=this[_0x20627b(0x15c)][_0x20627b(0x16d)][_0x20627b(0x180)](_0x20627b(0x167));for(const _0x485ac1 of _0x3fe92d[_0x20627b(0x15d)]())for(const _0x338592 of _0x485ac1[_0x20627b(0x182)]())if(_0x338592['is'](_0x20627b(0x17f))&&_0x5b1cfe[_0x20627b(0x162)](_0x338592[_0x20627b(0x161)]))return void(this[_0x20627b(0x15e)]=!0x1);this[_0x20627b(0x15e)]=!0x0;}[_0x3bda05(0x163)](_0x52fead='',_0x55b4b5='',_0x2e7dfb=_0x3bda05(0x173)){const _0x40fc23=_0x3bda05;this[_0x40fc23(0x15c)][_0x40fc23(0x185)][_0x40fc23(0x180)](_0x1c3536)[_0x40fc23(0x168)](_0x52fead,_0x55b4b5,_0x2e7dfb);}}function ns(_0x5e217a,_0x3b718a){const _0x181886=_0x3bda05,_0x388a1e=new Set();for(const _0x57d3ed of _0x5e217a[_0x181886(0x16e)]())(_0x3b718a||!0x1===_0x57d3ed[_0x181886(0x169)])&&_0x388a1e[_0x181886(0x186)](_0x57d3ed['id']);return Array[_0x181886(0x17a)](_0x388a1e);}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x29606b,_0x1aad0c,_0x7a1e69){const t=_0x29606b['t'];switch(_0x1aad0c){case'Edit\x20or\x20review':return t('Edit\x20or\x20review');case'Improve\x20writing':return t('Improve\x20writing');case'Make\x20shorter':return t('Make\x20shorter');case'Make\x20longer':return t('Make\x20longer');case'Simplify\x20language':return t('Simplify\x20language');case'Generate\x20from\x20selection':return t('Generate\x20from\x20selection');case'Summarize':return t('Summarize');case'Continue':return t('Continue');case'Change\x20tone':return t('Change\x20tone');case'Professional':return t('Professional');case'Casual':return t('Casual');case'Direct':return t('Direct');case'Confident':return t('Confident');case'Friendly':return t('Friendly');case'Change\x20style':return t('Change\x20style');case'Business':return t('Business');case'Legal':return t('Legal');case'Journalism':return t('Journalism');case'Poetic':return t('Poetic');case'Translate':return t('Translate');case'English':return t('English');case'Spanish':return t('Spanish');case'German':return t('German');case'Portuguese':return t('Portuguese');case'French':return t('French');case'Simplified\x20Chinese':return t('Simplified\x20Chinese');case'Hindi':return t('Hindi');case'Arabic':return t('Arabic');case'AI\x20Assistant':return t('AI\x20Assistant');case'AI\x20Commands':return t('AI\x20Commands');case'Ask\x20AI\x20to\x20edit\x20or\x20generate':return t('Ask\x20AI\x20to\x20edit\x20or\x20generate');case'Ask\x20AI\x20to\x20improve\x20generated\x20text':return t('Ask\x20AI\x20to\x20improve\x20generated\x20text');case'Copy':return t('Copy');case'Submit':return t('Submit');case'Insert\x20below':return t('Insert\x20below');case'Try\x20again':return t('Try\x20again');case'Stop':return t('Stop');case'AI\x20is\x20writing...':return t('AI\x20is\x20writing...');case'AI\x20is\x20writing':return t('AI\x20is\x20writing');case'Generated\x20content:\x20%0':return t('Generated\x20content:\x20%0',_0x7a1e69);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x7a1e69);case'History':return t('History');case'Empty\x20history':return t('Empty\x20history');case'Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.':return t('Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.');case'Prompt\x20history':return t('Prompt\x20history');case'Clear':return t('Clear');case'AI_REPLACE_CONTENT':return t({'id':'AI_REPLACE_CONTENT','string':'Replace'});case'AI_INSERT_CONTENT':return t({'id':'AI_INSERT_CONTENT','string':'Insert'});case'AI_ERROR_GET_HEADERS':return t({'id':'AI_ERROR_GET_HEADERS','string':'Preparing\x20request\x20headers\x20failed'});case'AI_ERROR_GET_PARAMETERS':return t({'id':'AI_ERROR_GET_PARAMETERS','string':'Preparing\x20request\x20parameters\x20failed'});case'AI_ERROR_UNSUPPORTED_MODEL':return t({'id':'AI_ERROR_UNSUPPORTED_MODEL','string':'The\x20requested\x20AI\x20model\x20(\x22%0\x22)\x20is\x20not\x20supported'},_0x7a1e69);case'AI_ERROR_CONTEXT_LENGTH':return t({'id':'AI_ERROR_CONTEXT_LENGTH','string':'Selected\x20content\x20is\x20too\x20long'});case'AI_ERROR_MODERATION':return t({'id':'AI_ERROR_MODERATION','string':'Requested\x20query\x20does\x20not\x20pass\x20moderation\x20rules'});case'AI_ERROR_FAILED':return t({'id':'AI_ERROR_FAILED','string':'Failed\x20to\x20communicate\x20with\x20the\x20AI\x20service'});default:return _0x1aad0c;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(
|
|
23
|
+
export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(_0x18ead3,_0x25b87d){const _0x5f5cb3=(0x0,_0x25b87d['t'])('Other');return _0x18ead3['length']?'groupId'in _0x18ead3[0x0]?_0x18ead3:[{'groupId':'_ungrouppedCommands','groupLabel':_0x5f5cb3,'order':0x1/0x0,'commands':_0x18ead3}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0x5f5cb3,'order':0x1/0x0,'commands':[]}];}
|
|
@@ -13,7 +13,7 @@ import { type ModelRange } from 'ckeditor5/src/engine.js';
|
|
|
13
13
|
* Event names that can be fired by the AI Balloon plugin.
|
|
14
14
|
* Includes all view events plus dialog-specific events.
|
|
15
15
|
*/
|
|
16
|
-
export declare const AI_BALLOON_EVENT_NAMES: readonly ["applySuggestion", "insertSuggestion", "showNext", "showPrevious", "dialogClosed"];
|
|
16
|
+
export declare const AI_BALLOON_EVENT_NAMES: readonly ["applySuggestion", "insertSuggestion", "showNext", "showPrevious", "dialogClosed", "selectionRemoved"];
|
|
17
17
|
/**
|
|
18
18
|
* Configuration object for opening the AI Balloon.
|
|
19
19
|
*/
|
|
@@ -70,3 +70,7 @@ export type AIBalloonDialogClosedEvent = {
|
|
|
70
70
|
name: 'dialogClosed';
|
|
71
71
|
args: [];
|
|
72
72
|
};
|
|
73
|
+
export type AIBalloonSelectionRemovedEvent = {
|
|
74
|
+
name: 'selectionRemoved';
|
|
75
|
+
args: [];
|
|
76
|
+
};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x5ab971=_0x2b17;(function(_0x40db1f,_0x130318){const _0x28c1d5=_0x2b17,_0x70b0e4=_0x40db1f();while(!![]){try{const _0x36163a=-parseInt(_0x28c1d5(0x16a))/0x1*(-parseInt(_0x28c1d5(0x157))/0x2)+-parseInt(_0x28c1d5(0x16c))/0x3+-parseInt(_0x28c1d5(0x175))/0x4*(parseInt(_0x28c1d5(0x179))/0x5)+parseInt(_0x28c1d5(0x186))/0x6+-parseInt(_0x28c1d5(0x172))/0x7+parseInt(_0x28c1d5(0x188))/0x8*(parseInt(_0x28c1d5(0x187))/0x9)+parseInt(_0x28c1d5(0x17a))/0xa*(parseInt(_0x28c1d5(0x180))/0xb);if(_0x36163a===_0x130318)break;else _0x70b0e4['push'](_0x70b0e4['shift']());}catch(_0x3c28ac){_0x70b0e4['push'](_0x70b0e4['shift']());}}}(_0x5b1b,0x71951));import{ContextPlugin as _0x299605}from'ckeditor5/src/core.js';function _0x2b17(_0x2f203a,_0x21b8fd){const _0x5b1bf1=_0x5b1b();return _0x2b17=function(_0x2b172c,_0x1dbf8d){_0x2b172c=_0x2b172c-0x151;let _0x7773dd=_0x5b1bf1[_0x2b172c];return _0x7773dd;},_0x2b17(_0x2f203a,_0x21b8fd);}import{AIConnector as _0x3c44ce}from'../aicore/aiconnector.js';import{AIEditing as _0x5e765f}from'../aicore/aiediting.js';import{AI_BALLOON_VIEW_EVENT_NAMES as _0x4f30f4,AIBalloonView as _0x2d7521}from'./ui/aiballoonview.js';import'../../theme/aiballoon/aiballoon.css';import{getAllMarkersDomElementsSorted as _0x2a227a}from'@ckeditor/ckeditor5-collaboration-core';import{getEditorFromContext as _0x32e888}from'../aicore/utils/geteditorfromcontext.js';import{ACTIONS as _0x3102a7}from'../aichat/ui/feed/aichatfeedsuggestionitemactionsview.js';export const AI_BALLOON_EVENT_NAMES=[..._0x4f30f4,_0x5ab971(0x189)];function _0x5b1b(){const _0x345a40=['dialogClosed','getBoundingClientRect','width','aiBalloon','config','isPremiumPlugin','setupRotator','height','AIEditing','plugins','_showDialog','AIBalloon','ai-selection','icon','locale','title','showFakeVisualSelection','requires','showRotator','5296OohNsy','delegate','_config','ai.availableReplyActions','_calculateDialogPosition','bind','isTrackChangesOn','hideFakeVisualSelection','balloonView','ai-balloon-selection','_setupVisualSelection','ai-balloon-','ranges','hide','trackChanges','editing','get','show','isOfficialPlugin','238yfcvcO','left','730107FkCIEM','length','value','Dialog','\x20ai-balloon-rotator','pluginName','5491318wFwxYr','close','innerHeight','116zyJVtA','context','commands','markers','128675bnxNcT','106250wCUYQG','_calculateOptimalTopPosition','open','model','top','index','1331mPIFXn','isOpen','ai-balloon','getMarkersGroup','fire','round','855996EApJbi','813942qzUXUn','16oDHtdT'];_0x5b1b=function(){return _0x345a40;};return _0x5b1b();}export class AIBalloon extends _0x299605{static get[_0x5ab971(0x155)](){return[_0x3c44ce,_0x5e765f];}static get[_0x5ab971(0x171)](){const _0x443f1c=_0x5ab971;return _0x443f1c(0x194);}static get[_0x5ab971(0x169)](){return!0x0;}static get[_0x5ab971(0x18e)](){return!0x0;}[_0x5ab971(0x181)]=!0x1;[_0x5ab971(0x159)];[_0x5ab971(0x17c)](_0x39ab7e){const _0x497338=_0x5ab971,_0x194ec8=_0x32e888(this[_0x497338(0x176)]);this[_0x497338(0x159)]=_0x39ab7e;const _0x5be24c=this[_0x497338(0x176)][_0x497338(0x18d)][_0x497338(0x167)](_0x497338(0x15a))||[..._0x3102a7],_0x57a223=_0x194ec8?.[_0x497338(0x177)][_0x497338(0x167)](_0x497338(0x165)),_0x579195=_0x57a223?.[_0x497338(0x16e)];this[_0x497338(0x15f)]=new _0x2d7521(_0x194ec8[_0x497338(0x152)],_0x39ab7e,_0x5be24c,!!_0x579195),this[_0x497338(0x15f)][_0x497338(0x158)](..._0x4f30f4)['to'](this),_0x57a223&&this[_0x497338(0x15f)][_0x497338(0x15c)](_0x497338(0x15d))['to'](_0x57a223,_0x497338(0x16e)),this[_0x497338(0x193)](_0x39ab7e);}[_0x5ab971(0x173)](){const _0x3a8661=_0x5ab971;_0x32e888(this[_0x3a8661(0x176)])[_0x3a8661(0x192)][_0x3a8661(0x167)](_0x3a8661(0x16f))[_0x3a8661(0x164)]();}[_0x5ab971(0x161)](_0x35eedf,_0x4cc975){const _0x52e7bb=_0x5ab971;this[_0x52e7bb(0x176)][_0x52e7bb(0x192)][_0x52e7bb(0x167)](_0x5e765f)[_0x52e7bb(0x154)](_0x35eedf,_0x52e7bb(0x162)+_0x4cc975,!0x0,!0x0);}[_0x5ab971(0x193)](_0xb0a306){const _0x216d77=_0x5ab971,_0x3ff36c=_0x32e888(this[_0x216d77(0x176)]);this[_0x216d77(0x161)](_0xb0a306[_0x216d77(0x163)],_0xb0a306[_0x216d77(0x17f)]),_0x3ff36c[_0x216d77(0x192)][_0x216d77(0x167)](_0x216d77(0x16f))[_0x216d77(0x168)]({'title':_0xb0a306[_0x216d77(0x153)],'icon':_0xb0a306[_0x216d77(0x151)],'hasCloseButton':!0x0,'id':_0x216d77(0x18c),'position':this[_0x216d77(0x15b)][_0x216d77(0x15c)](this),'className':_0x216d77(0x182)+(_0xb0a306[_0x216d77(0x156)]?_0x216d77(0x170):''),'content':this[_0x216d77(0x15f)],'onShow':_0xe0112d=>{const _0x38d084=_0x216d77;_0xb0a306[_0x38d084(0x156)]&&this[_0x38d084(0x15f)][_0x38d084(0x18f)](_0xe0112d),this[_0x38d084(0x181)]=!0x0;},'onHide':()=>{const _0x3cfc2b=_0x216d77;this[_0x3cfc2b(0x176)][_0x3cfc2b(0x192)][_0x3cfc2b(0x167)](_0x3cfc2b(0x191))[_0x3cfc2b(0x15e)](_0x3cfc2b(0x162)+_0xb0a306[_0x3cfc2b(0x17f)]),this[_0x3cfc2b(0x184)](_0x3cfc2b(0x189)),this[_0x3cfc2b(0x181)]=!0x1;}});}[_0x5ab971(0x15b)](_0x29cefc,_0x5bd529){const _0x3290c2=_0x5ab971,_0x58c114=_0x32e888(this[_0x3290c2(0x176)]);if(!_0x5bd529)return null;const _0x3ae37e=_0x2a227a(_0x58c114[_0x3290c2(0x166)],[..._0x58c114[_0x3290c2(0x17d)][_0x3290c2(0x178)][_0x3290c2(0x183)](_0x3290c2(0x195)),..._0x58c114[_0x3290c2(0x17d)][_0x3290c2(0x178)][_0x3290c2(0x183)](_0x3290c2(0x160))]);if(!_0x3ae37e||0x0===_0x3ae37e[_0x3290c2(0x16d)])return{'left':Math[_0x3290c2(0x185)](_0x5bd529[_0x3290c2(0x16b)]+_0x5bd529[_0x3290c2(0x18b)]/0x2-_0x29cefc[_0x3290c2(0x18b)]/0x2),'top':Math[_0x3290c2(0x185)](_0x5bd529[_0x3290c2(0x17e)]+_0x5bd529[_0x3290c2(0x190)]/0x2-_0x29cefc[_0x3290c2(0x190)]/0x2)};const _0x5ab551=Math[_0x3290c2(0x185)](_0x5bd529[_0x3290c2(0x16b)]+_0x5bd529[_0x3290c2(0x18b)]/0x2-_0x29cefc[_0x3290c2(0x18b)]/0x2),_0x28811e=_0x3ae37e[0x0][_0x3290c2(0x18a)](),_0x59601c=_0x3ae37e[_0x3ae37e[_0x3290c2(0x16d)]-0x1][_0x3290c2(0x18a)](),_0x316abc=_0x29cefc[_0x3290c2(0x190)],_0xfaf088=this[_0x3290c2(0x159)][_0x3290c2(0x156)]?0x8:0x0;return{'left':_0x5ab551,'top':this[_0x3290c2(0x17b)](_0x28811e,_0x59601c,_0x316abc,_0xfaf088)};}[_0x5ab971(0x17b)](_0x546f34,_0x4b200d,_0x282162,_0x4c72a7=0x0){const _0xefbeaa=_0x5ab971,_0x455d9a=_0x4b200d[_0xefbeaa(0x17e)]+_0x4b200d[_0xefbeaa(0x190)],_0x2067a0=_0x546f34[_0xefbeaa(0x17e)]-_0x282162-_0x4c72a7,_0x167986=window[_0xefbeaa(0x174)]-_0x455d9a-0xa,_0x3b7b9f=_0x546f34[_0xefbeaa(0x17e)]-_0x4c72a7-0xa;let _0x469c02;if(_0x167986>=_0x282162)_0x469c02=_0x455d9a+0xa;else{if(_0x3b7b9f>=_0x282162)_0x469c02=_0x2067a0-0xa;else _0x469c02=_0x546f34[_0xefbeaa(0x17e)]+(_0x4b200d[_0xefbeaa(0x17e)]+_0x4b200d[_0xefbeaa(0x190)])/0x2-(_0x282162+_0x4c72a7)/0x2;}return _0x469c02;}}
|
|
23
|
+
function _0x434a(){const _0x8e298=['isEqual','_cleanupMarkerRemovalListener','view','round','getChangedMarkers','\x20ai-balloon-rotator','get','root','_pendingRenderCallback','1223445jntOBW','ai.availableReplyActions','12026016HSJGXc','Dialog','isOpen','7NhrtUc','isTrackChangesOn','getMarkersGroup','trackChanges','iconView','_setupMarkerRemovalListener','showBlockingError','getBoundingRect','off','_updateBalloon','index','_getSelectionElements','delegate','open','ranges','selectionRemoved','stopListening','differ','top','plugins','ai-balloon-selection','content','bind','balloonView','getIntersection','_setupVisualSelection','startsWith','AIEditing','headerView','mainView','_calculateDialogPosition','left','close','_isUpdatingMarkers','rootName','start','ai-balloon','commands','ai-selection','aiBalloon','show','fire','render','max','_showDialog','isPremiumPlugin','once','getVisible','4dQiFtU','length','dialogClosed','showRotator','width','config','$graveyard','showFakeVisualSelection','isOfficialPlugin','window','icon','height','label','context','3051861MnbTPR','updatePosition','requires','change','filter','AI_ACTIONS_SELECTION_REMOVED_ERROR','title','11677824CFstnh','listenTo','_calculateOptimalTopPosition','model','editing','end','_config','404481FZVLdT','markers','value','AIBalloon','ai-balloon-','6218772ImZYut','pluginName','locale','ai-selection:','setupRotator','bottom','updateContent','2326268nlvICa','hide','document','hideFakeVisualSelection'];_0x434a=function(){return _0x8e298;};return _0x434a();}const _0x19b543=_0x5b35;(function(_0x15fd2b,_0x35c0ea){const _0x14341f=_0x5b35,_0x4fdc27=_0x15fd2b();while(!![]){try{const _0x46379a=-parseInt(_0x14341f(0x18c))/0x1+-parseInt(_0x14341f(0x198))/0x2+parseInt(_0x14341f(0x17e))/0x3*(parseInt(_0x14341f(0x1da))/0x4)+parseInt(_0x14341f(0x1a5))/0x5+parseInt(_0x14341f(0x191))/0x6*(parseInt(_0x14341f(0x1aa))/0x7)+parseInt(_0x14341f(0x1a7))/0x8+-parseInt(_0x14341f(0x185))/0x9;if(_0x46379a===_0x35c0ea)break;else _0x4fdc27['push'](_0x4fdc27['shift']());}catch(_0x41e80d){_0x4fdc27['push'](_0x4fdc27['shift']());}}}(_0x434a,0xe4a5b));import{ContextPlugin as _0x5c418f}from'ckeditor5/src/core.js';import{AIConnector as _0x28b852}from'../aicore/aiconnector.js';import{AIEditing as _0x1f1c44}from'../aicore/aiediting.js';import{AI_BALLOON_VIEW_EVENT_NAMES as _0x56f4dc,AIBalloonView as _0x468195}from'./ui/aiballoonview.js';function _0x5b35(_0x5663a2,_0x9577da){const _0x434ad3=_0x434a();return _0x5b35=function(_0x5b358b,_0x2691e1){_0x5b358b=_0x5b358b-0x17a;let _0x1b1305=_0x434ad3[_0x5b358b];return _0x1b1305;},_0x5b35(_0x5663a2,_0x9577da);}import'../../theme/aiballoon/aiballoon.css';import{getAllMarkersDomElementsSorted as _0x2e88ed}from'ckeditor5-collaboration/src/collaboration-core.js';import{global as _0x15e9ef,Rect as _0x78860b,scrollViewportToShowTarget as _0x2bc175}from'ckeditor5/src/utils.js';import{getEditorFromContext as _0x47ca16}from'../aicore/utils/geteditorfromcontext.js';import{AI_REPLY_ACTIONS as _0x93a816}from'../aichat/ui/feed/aichatfeedsuggestionitemactionsview.js';import{getTranslation as _0x48ad9d}from'../aicore/utils/common-translations.js';export const AI_BALLOON_EVENT_NAMES=[..._0x56f4dc,_0x19b543(0x1dc),_0x19b543(0x1b9)];const ut=0xa;export class AIBalloon extends _0x5c418f{static get[_0x19b543(0x180)](){return[_0x28b852,_0x1f1c44];}static get[_0x19b543(0x192)](){const _0x129e9d=_0x19b543;return _0x129e9d(0x18f);}static get[_0x19b543(0x1e2)](){return!0x0;}static get[_0x19b543(0x1d7)](){return!0x0;}[_0x19b543(0x1a9)]=!0x1;[_0x19b543(0x18b)];[_0x19b543(0x1cb)]=!0x1;[_0x19b543(0x1a4)]=null;[_0x19b543(0x1b7)](_0x164525){const _0x158898=_0x19b543,_0x137f7e=_0x47ca16(this[_0x158898(0x17d)]);if(this[_0x158898(0x18b)]=_0x164525,this[_0x158898(0x1a9)])return void this[_0x158898(0x1b3)](_0x164525);const _0x1509cc=this[_0x158898(0x17d)][_0x158898(0x1df)][_0x158898(0x1a2)](_0x158898(0x1a6))||[..._0x93a816],_0x51c6dd=_0x137f7e?.[_0x158898(0x1cf)][_0x158898(0x1a2)](_0x158898(0x1ad)),_0x5dee81=_0x51c6dd?.[_0x158898(0x18e)];this[_0x158898(0x1c1)]=new _0x468195(_0x137f7e[_0x158898(0x193)],_0x164525,_0x1509cc,!!_0x5dee81),this[_0x158898(0x1c1)][_0x158898(0x1b6)](..._0x56f4dc)['to'](this),_0x51c6dd&&this[_0x158898(0x1c1)][_0x158898(0x1c0)](_0x158898(0x1ab))['to'](_0x51c6dd,_0x158898(0x18e)),this[_0x158898(0x1d6)](_0x164525);}[_0x19b543(0x1ca)](){const _0x9b0d58=_0x19b543;_0x47ca16(this[_0x9b0d58(0x17d)])[_0x9b0d58(0x1bd)][_0x9b0d58(0x1a2)](_0x9b0d58(0x1a8))[_0x9b0d58(0x199)]();}[_0x19b543(0x1b3)](_0xc6b806){const _0x23831f=_0x19b543,_0x41f0ee=_0x47ca16(this[_0x23831f(0x17d)]),_0x4e6986=_0x41f0ee[_0x23831f(0x1bd)][_0x23831f(0x1a2)](_0x23831f(0x1a8));this[_0x23831f(0x1a4)]&&(_0x41f0ee[_0x23831f(0x189)][_0x23831f(0x19e)][_0x23831f(0x1b2)](_0x23831f(0x1d4),this[_0x23831f(0x1a4)]),this[_0x23831f(0x1a4)]=null),this[_0x23831f(0x1cb)]=!0x0,_0x4e6986[_0x23831f(0x19e)]?.[_0x23831f(0x1c6)]&&(_0x4e6986[_0x23831f(0x19e)][_0x23831f(0x1c6)][_0x23831f(0x17c)]=_0xc6b806[_0x23831f(0x184)],_0x4e6986[_0x23831f(0x19e)][_0x23831f(0x1c6)][_0x23831f(0x1ae)]&&_0xc6b806[_0x23831f(0x17a)]&&(_0x4e6986[_0x23831f(0x19e)][_0x23831f(0x1c6)][_0x23831f(0x1ae)][_0x23831f(0x1bf)]=_0xc6b806[_0x23831f(0x17a)])),this[_0x23831f(0x1c1)][_0x23831f(0x197)](_0xc6b806[_0x23831f(0x1c7)]),this[_0x23831f(0x1c3)](_0xc6b806[_0x23831f(0x1b8)],_0xc6b806[_0x23831f(0x1b4)]),this[_0x23831f(0x1a4)]=()=>{const _0x53276d=_0x23831f;this[_0x53276d(0x1cb)]=!0x1,this[_0x53276d(0x1a4)]=null,_0x4e6986[_0x53276d(0x19e)]&&_0x4e6986[_0x53276d(0x19e)][_0x53276d(0x17f)]();},_0x41f0ee[_0x23831f(0x189)][_0x23831f(0x19e)][_0x23831f(0x1d8)](_0x23831f(0x1d4),this[_0x23831f(0x1a4)]);}[_0x19b543(0x1c3)](_0x4ffc5c,_0x44c8fa){const _0x5eee88=_0x19b543;this[_0x5eee88(0x17d)][_0x5eee88(0x1bd)][_0x5eee88(0x1a2)](_0x1f1c44)[_0x5eee88(0x1e1)](_0x4ffc5c,_0x5eee88(0x190)+_0x44c8fa,!0x0,!0x0);}[_0x19b543(0x1d6)](_0x522332){const _0x4eea90=_0x19b543,_0x35e5dc=_0x47ca16(this[_0x4eea90(0x17d)]);this[_0x4eea90(0x1c3)](_0x522332[_0x4eea90(0x1b8)],_0x522332[_0x4eea90(0x1b4)]);const _0x193aa1=this[_0x4eea90(0x1b5)]();_0x193aa1&&_0x193aa1[0x0]&&_0x2bc175({'target':_0x193aa1[0x0],'ancestorOffset':0x14,'alignToTop':!0x0,'viewportOffset':{'top':0x14,'bottom':0x14,'left':0x0,'right':0x0}}),_0x35e5dc[_0x4eea90(0x1bd)][_0x4eea90(0x1a2)](_0x4eea90(0x1a8))[_0x4eea90(0x1d2)]({'title':_0x522332[_0x4eea90(0x184)],'icon':_0x522332[_0x4eea90(0x17a)],'hasCloseButton':!0x0,'id':_0x4eea90(0x1d1),'position':this[_0x4eea90(0x1c8)][_0x4eea90(0x1c0)](this),'className':_0x4eea90(0x1ce)+(_0x522332[_0x4eea90(0x1dd)]?_0x4eea90(0x1a1):''),'content':this[_0x4eea90(0x1c1)],'onShow':_0x39d16a=>{const _0x57cdfe=_0x4eea90;_0x522332[_0x57cdfe(0x1dd)]&&this[_0x57cdfe(0x1c1)][_0x57cdfe(0x195)](_0x39d16a),this[_0x57cdfe(0x1af)](),this[_0x57cdfe(0x1a9)]=!0x0;},'onHide':()=>{const _0x2417e0=_0x4eea90;this[_0x2417e0(0x17d)][_0x2417e0(0x1bd)][_0x2417e0(0x1a2)](_0x2417e0(0x1c5))[_0x2417e0(0x19b)](_0x2417e0(0x190)+this[_0x2417e0(0x18b)][_0x2417e0(0x1b4)]),this[_0x2417e0(0x19d)](),this[_0x2417e0(0x1d3)](_0x2417e0(0x1dc)),this[_0x2417e0(0x1a9)]=!0x1;}});}[_0x19b543(0x1c8)](_0x463ed8,_0x318663){const _0x3fd1d9=_0x19b543;if(!_0x318663)return null;const _0x38eafd=this[_0x3fd1d9(0x1b5)]();if(!_0x38eafd||0x0===_0x38eafd[_0x3fd1d9(0x1db)])return{'left':Math[_0x3fd1d9(0x19f)](_0x318663[_0x3fd1d9(0x1c9)]+_0x318663[_0x3fd1d9(0x1de)]/0x2-_0x463ed8[_0x3fd1d9(0x1de)]/0x2),'top':Math[_0x3fd1d9(0x19f)](_0x318663[_0x3fd1d9(0x1bc)]+_0x318663[_0x3fd1d9(0x17b)]/0x2-_0x463ed8[_0x3fd1d9(0x17b)]/0x2)};const _0x4755f0=Math[_0x3fd1d9(0x19f)](_0x318663[_0x3fd1d9(0x1c9)]+_0x318663[_0x3fd1d9(0x1de)]/0x2-_0x463ed8[_0x3fd1d9(0x1de)]/0x2),_0x24c648=new _0x78860b(_0x38eafd[0x0]),_0x6558c=new _0x78860b(_0x38eafd[_0x38eafd[_0x3fd1d9(0x1db)]-0x1]),_0x327beb=_0x463ed8[_0x3fd1d9(0x17b)],_0x48bb19=this[_0x3fd1d9(0x18b)][_0x3fd1d9(0x1dd)]?0x8:0x0;return{'left':_0x4755f0,'top':this[_0x3fd1d9(0x187)](_0x24c648,_0x6558c,_0x327beb,_0x48bb19,_0x318663)};}[_0x19b543(0x187)](_0x3820ac,_0x30e935,_0x16fc3d,_0x4807bd=0x0,_0x15200c){const _0x2b3cd0=_0x19b543,_0x2caa47=_0x16fc3d+_0x4807bd,_0x11aa39=new _0x78860b(_0x15e9ef[_0x2b3cd0(0x1e3)]),_0x2067ac=[_0x3820ac[_0x2b3cd0(0x1d9)](),_0x30e935[_0x2b3cd0(0x1d9)]()][_0x2b3cd0(0x182)](_0xa20c93=>_0xa20c93),_0x30b2e3=_0x78860b[_0x2b3cd0(0x1b1)](_0x2067ac);if(!_0x30b2e3)return Math[_0x2b3cd0(0x19f)](_0x15200c[_0x2b3cd0(0x1bc)]+_0x15200c[_0x2b3cd0(0x17b)]/0x2);const _0x379322=_0x11aa39[_0x2b3cd0(0x1c2)](_0x30b2e3);if(!_0x379322)return Math[_0x2b3cd0(0x19f)](_0x15200c[_0x2b3cd0(0x1bc)]+_0x15200c[_0x2b3cd0(0x17b)]/0x2);const _0x467142=_0x15200c[_0x2b3cd0(0x1d9)](),_0x2240d7=_0x467142&&_0x30b2e3[_0x2b3cd0(0x17b)]>_0x467142[_0x2b3cd0(0x17b)],_0x38353f=_0x379322[_0x2b3cd0(0x1bc)],_0x22972d=_0x379322[_0x2b3cd0(0x196)];if(_0x2240d7){const _0x1a3eea=(_0x467142||_0x11aa39)[_0x2b3cd0(0x17b)]/0x2-_0x2caa47/0x2,_0x592c26=_0x38353f-ut-_0x15200c[_0x2b3cd0(0x1bc)],_0x518c59=_0x15200c[_0x2b3cd0(0x196)]-_0x22972d-ut;return _0x592c26>=_0x2caa47?Math[_0x2b3cd0(0x1d5)](ut,_0x38353f-_0x2caa47-ut):_0x518c59>=_0x2caa47?_0x22972d+ut:Math[_0x2b3cd0(0x1d5)](ut,_0x1a3eea);}const _0x3d9e0f=_0x38353f-_0x2caa47,_0x4aaeb0=_0x15200c[_0x2b3cd0(0x196)]-_0x22972d-ut,_0x109f1d=_0x38353f-ut-_0x15200c[_0x2b3cd0(0x1bc)];let _0x3caa53;if(_0x4aaeb0>=_0x2caa47)_0x3caa53=_0x22972d+ut;else{if(_0x109f1d>=_0x2caa47)_0x3caa53=_0x3d9e0f-ut;else _0x3caa53=_0x38353f+_0x30b2e3[_0x2b3cd0(0x17b)]/0x2-_0x2caa47/0x2;}return _0x3caa53;}[_0x19b543(0x1af)](){const _0x2e0e85=_0x19b543,_0x3c6a95=_0x47ca16(this[_0x2e0e85(0x17d)]);this[_0x2e0e85(0x186)](_0x3c6a95[_0x2e0e85(0x188)][_0x2e0e85(0x19a)],_0x2e0e85(0x181),()=>{const _0x3c06b8=_0x2e0e85;if(this[_0x3c06b8(0x1cb)])return;for(const {name:_0x12c8df,data:{newRange:_0x398689}}of _0x3c6a95[_0x3c06b8(0x188)][_0x3c06b8(0x19a)][_0x3c06b8(0x1bb)][_0x3c06b8(0x1a0)]())if(_0x12c8df[_0x3c06b8(0x1c4)](_0x3c06b8(0x194))&&(_0x398689&&(_0x398689[_0x3c06b8(0x1cd)][_0x3c06b8(0x19c)](_0x398689[_0x3c06b8(0x18a)])||_0x3c06b8(0x1e0)==_0x398689[_0x3c06b8(0x1a3)][_0x3c06b8(0x1cc)])||null==_0x398689)){const _0x5cb36e=_0x48ad9d(this[_0x3c06b8(0x17d)][_0x3c06b8(0x193)],_0x3c06b8(0x183));this[_0x3c06b8(0x1c1)][_0x3c06b8(0x1b0)](_0x5cb36e),this[_0x3c06b8(0x1d3)](_0x3c06b8(0x1b9));}});}[_0x19b543(0x19d)](){const _0x2cc26d=_0x19b543,_0x59af91=_0x47ca16(this[_0x2cc26d(0x17d)]);this[_0x2cc26d(0x1ba)](_0x59af91[_0x2cc26d(0x188)][_0x2cc26d(0x19a)]);}[_0x19b543(0x1b5)](){const _0x519226=_0x19b543,_0x23c7a5=_0x47ca16(this[_0x519226(0x17d)]);return _0x2e88ed(_0x23c7a5[_0x519226(0x189)],[..._0x23c7a5[_0x519226(0x188)][_0x519226(0x18d)][_0x519226(0x1ac)](_0x519226(0x1d0)),..._0x23c7a5[_0x519226(0x188)][_0x519226(0x18d)][_0x519226(0x1ac)](_0x519226(0x1be))]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x493d(){var _0x38ad90=['5435KnXmTC','1153056IKzxQD','369887bBFyXY','24jUYmkp','setTemplate','ck-ai-balloon__disclaimer-content','9OOHoOF','AI_DISCLAIMER_TEXT','10SePFgY','ck-ai-balloon__disclaimer','27921RSYoBL','11494307ZUpWhV','15400UwdeTU','5922730HgLMdH','div','654vQwZhQ'];_0x493d=function(){return _0x38ad90;};return _0x493d();}(function(_0x3c7863,_0x5cb087){var _0x556682=_0x2d4c,_0x1f1198=_0x3c7863();while(!![]){try{var _0x4fc934=-parseInt(_0x556682(0x11c))/0x1*(-parseInt(_0x556682(0x11a))/0x2)+parseInt(_0x556682(0x115))/0x3*(-parseInt(_0x556682(0x10e))/0x4)+-parseInt(_0x556682(0x112))/0x5*(parseInt(_0x556682(0x111))/0x6)+parseInt(_0x556682(0x114))/0x7+-parseInt(_0x556682(0x113))/0x8+-parseInt(_0x556682(0x118))/0x9*(parseInt(_0x556682(0x10f))/0xa)+parseInt(_0x556682(0x10d))/0xb;if(_0x4fc934===_0x5cb087)break;else _0x1f1198['push'](_0x1f1198['shift']());}catch(_0x53c006){_0x1f1198['push'](_0x1f1198['shift']());}}}(_0x493d,0x55dcf));import{View as _0x36d8d1}from'ckeditor5/src/ui.js';import{getTranslation as _0x3d2499}from'../../aicore/utils/common-translations.js';function _0x2d4c(_0x563fb7,_0x46e907){var _0x493dbe=_0x493d();return _0x2d4c=function(_0x2d4cf7,_0x4fcbd1){_0x2d4cf7=_0x2d4cf7-0x10d;var _0x1338e3=_0x493dbe[_0x2d4cf7];return _0x1338e3;},_0x2d4c(_0x563fb7,_0x46e907);}export class AIBalloonDisclaimerView extends _0x36d8d1{constructor(_0x27a33a){var _0x7e833c=_0x2d4c;super(_0x27a33a),this[_0x7e833c(0x116)]({'tag':_0x7e833c(0x110),'attributes':{'class':['ck',_0x7e833c(0x11b)]},'children':[{'tag':'p','attributes':{'class':['ck',_0x7e833c(0x117)]},'children':[{'text':_0x3d2499(_0x27a33a,_0x7e833c(0x119))}]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x3ccb(_0x10ed83,_0x2142fe){const _0x5519de=_0x5519();return _0x3ccb=function(_0x3ccb7c,_0x3f0fc9){_0x3ccb7c=_0x3ccb7c-0x6d;let _0x297da9=_0x5519de[_0x3ccb7c];return _0x297da9;},_0x3ccb(_0x10ed83,_0x2142fe);}const _0x3ba598=_0x3ccb;function _0x5519(){const _0x4cfe17=['AI_BALLOON_SUGGEST_BUTTON','ck-ai-button-secondary','5309466zjKyUu','ck-ai-button-primary','4811700OKFNgW','applyButton','suggestButton','set','ck-ai-balloon__toolbar','add','1807374qSxoAf','40aaQjri','2kOAEwF','extendTemplate','8954088FHZjAa','2875280ZYyGbc','7pahqVB','items','414553rngRAX','1346580JbyAkY','bind','isEnabled','locale','isLoading','_createButton','AI_BALLOON_APPLY_BUTTON'];_0x5519=function(){return _0x4cfe17;};return _0x5519();}(function(_0x48fa00,_0x39da9e){const _0x5e5f4c=_0x3ccb,_0x45ad91=_0x48fa00();while(!![]){try{const _0x7a6a74=parseInt(_0x5e5f4c(0x75))/0x1*(parseInt(_0x5e5f4c(0x6f))/0x2)+parseInt(_0x5e5f4c(0x6d))/0x3+-parseInt(_0x5e5f4c(0x72))/0x4+-parseInt(_0x5e5f4c(0x81))/0x5+-parseInt(_0x5e5f4c(0x7f))/0x6*(-parseInt(_0x5e5f4c(0x73))/0x7)+parseInt(_0x5e5f4c(0x71))/0x8+-parseInt(_0x5e5f4c(0x76))/0x9*(parseInt(_0x5e5f4c(0x6e))/0xa);if(_0x7a6a74===_0x39da9e)break;else _0x45ad91['push'](_0x45ad91['shift']());}catch(_0x31c1f5){_0x45ad91['push'](_0x45ad91['shift']());}}}(_0x5519,0xb50a7));import{ToolbarView as _0x3397a5,ButtonView as _0x8a05f9}from'ckeditor5/src/ui.js';import{getTranslation as _0x545c76}from'../../aicore/utils/common-translations.js';export class AIBalloonToolbarView extends _0x3397a5{constructor(_0x1a7a30,_0x4822df=!0x0,_0x47eb2c=!0x0){const _0x10b841=_0x3ccb;super(_0x1a7a30),this[_0x10b841(0x84)](_0x10b841(0x7a),!0x1),_0x4822df&&(this[_0x10b841(0x82)]=this[_0x10b841(0x7b)](_0x545c76(_0x1a7a30,_0x10b841(0x7c)),_0x10b841(0x80)),this[_0x10b841(0x82)][_0x10b841(0x77)](_0x10b841(0x78))['to'](this,_0x10b841(0x7a),_0x4db4d3=>!_0x4db4d3),this[_0x10b841(0x74)][_0x10b841(0x86)](this[_0x10b841(0x82)])),_0x47eb2c&&(this[_0x10b841(0x83)]=this[_0x10b841(0x7b)](_0x545c76(_0x1a7a30,_0x10b841(0x7d)),_0x4822df?_0x10b841(0x7e):_0x10b841(0x80)),this[_0x10b841(0x83)][_0x10b841(0x77)](_0x10b841(0x78))['to'](this,_0x10b841(0x7a),_0x1bf747=>!_0x1bf747),this[_0x10b841(0x74)][_0x10b841(0x86)](this[_0x10b841(0x83)])),this[_0x10b841(0x70)]({'attributes':{'class':[_0x10b841(0x85)]}});}[_0x3ba598(0x7b)](_0x23334e,_0x1dfa93){const _0x53302d=_0x3ba598,_0x18c0c8=new _0x8a05f9(this[_0x53302d(0x79)]);return _0x18c0c8[_0x53302d(0x84)]({'label':_0x23334e,'class':_0x1dfa93||'','isVisible':!0x0,'withText':!0x0}),_0x18c0c8;}}
|
|
@@ -56,7 +56,15 @@ export declare class AIBalloonView extends View implements ViewWithFocusCycler {
|
|
|
56
56
|
*/
|
|
57
57
|
isLoading: boolean;
|
|
58
58
|
isTrackChangesOn: boolean;
|
|
59
|
-
|
|
59
|
+
/**
|
|
60
|
+
* Observable property that indicates whether the error view is visible.
|
|
61
|
+
*/
|
|
62
|
+
isErrorVisible: boolean;
|
|
63
|
+
/**
|
|
64
|
+
* Current error message displayed in the error view.
|
|
65
|
+
*/
|
|
66
|
+
errorMessage: string;
|
|
67
|
+
constructor(locale: Locale, config: AIBalloonContentConfig, availableActions: Array<AISuggestionActionName>, isTrackChangesOn: boolean);
|
|
60
68
|
/**
|
|
61
69
|
* @inheritDoc
|
|
62
70
|
*/
|
|
@@ -73,6 +81,30 @@ export declare class AIBalloonView extends View implements ViewWithFocusCycler {
|
|
|
73
81
|
* Clears the loading state, enabling all interactive elements.
|
|
74
82
|
*/
|
|
75
83
|
clearLoading(): void;
|
|
84
|
+
/**
|
|
85
|
+
* Shows an error message in the balloon.
|
|
86
|
+
*
|
|
87
|
+
* @param message The error message to display
|
|
88
|
+
*/
|
|
89
|
+
showError(message: string): void;
|
|
90
|
+
/**
|
|
91
|
+
* Hides the error message in the balloon.
|
|
92
|
+
*/
|
|
93
|
+
hideError(): void;
|
|
94
|
+
/**
|
|
95
|
+
* Shows a recoverable error message in the balloon.
|
|
96
|
+
* This is an alias for `showError()` - the error is displayed but user can still interact with other replies or retry.
|
|
97
|
+
*
|
|
98
|
+
* @param message The error message to display
|
|
99
|
+
*/
|
|
100
|
+
showRecoverableError(message: string): void;
|
|
101
|
+
/**
|
|
102
|
+
* Shows a blocking error message and disables toolbar buttons.
|
|
103
|
+
* This should be used for terminal errors where the interaction cannot continue (e.g., selection removed).
|
|
104
|
+
*
|
|
105
|
+
* @param message The error message to display
|
|
106
|
+
*/
|
|
107
|
+
showBlockingError(message: string): void;
|
|
76
108
|
/**
|
|
77
109
|
* Sets up the rotator functionality for navigating between multiple suggestions.
|
|
78
110
|
* Adds next and previous buttons to the dialog header.
|
|
@@ -80,6 +112,13 @@ export declare class AIBalloonView extends View implements ViewWithFocusCycler {
|
|
|
80
112
|
* @param dialog The dialog instance to add navigation buttons to
|
|
81
113
|
*/
|
|
82
114
|
setupRotator(dialog: Dialog): void;
|
|
115
|
+
/**
|
|
116
|
+
* Updates the main content view of the balloon.
|
|
117
|
+
* This method replaces the current main view with a new one without recreating the entire balloon.
|
|
118
|
+
*
|
|
119
|
+
* @param mainView The new main view to display in the balloon
|
|
120
|
+
*/
|
|
121
|
+
updateContent(mainView: View): void;
|
|
83
122
|
}
|
|
84
123
|
/**
|
|
85
124
|
* Event fired when user clicks the apply button to apply a suggestion.
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4d3108=_0x1455;(function(_0x168fb0,_0x1f2e42){const _0x4362af=_0x1455,_0xb9ca5e=_0x168fb0();while(!![]){try{const _0x3fd500=-parseInt(_0x4362af(0x1c3))/0x1+parseInt(_0x4362af(0x1be))/0x2+-parseInt(_0x4362af(0x1b9))/0x3+parseInt(_0x4362af(0x1c6))/0x4+parseInt(_0x4362af(0x1ed))/0x5*(parseInt(_0x4362af(0x1c0))/0x6)+-parseInt(_0x4362af(0x1c1))/0x7*(-parseInt(_0x4362af(0x1b5))/0x8)+parseInt(_0x4362af(0x1b7))/0x9*(-parseInt(_0x4362af(0x203))/0xa);if(_0x3fd500===_0x1f2e42)break;else _0xb9ca5e['push'](_0xb9ca5e['shift']());}catch(_0x1463c9){_0xb9ca5e['push'](_0xb9ca5e['shift']());}}}(_0x417b,0xc747c));import{ButtonView as _0x7a60ed,View as _0x94f39b,ViewCollection as _0x2fd613,FocusCycler as _0x43588d}from'ckeditor5/src/ui.js';function _0x417b(){const _0x3eb5c8=['children','showSuggestButton','toolbar','40ZEzgOI','listenTo','477odQPaT','AI_BALLOON_PREVIOUS_TOOLTIP','3469521lHvrXr','execute','createCollection','setupRotator','setTemplate','2510988daGRfP','mainView','42mHPkYT','2176559ZJXLDQ','suggestButton','1371113AreXwC','ai-balloon-content','_mainView','4534244SLtDiQ','_addContentView','setLoading','AI_BALLOON_NEXT_TOOLTIP','tab','_dialogContent','focusFirst','hideError','view','applySuggestion','set','focusCycler','shift\x20+\x20tab','_createErrorView','_focusables','bindTemplate','ck-ai-suggestion__error-text','_errorView','clearLoading','fire','_createPreviousButtonView','updateContent','_createNextButtonView','errorMessage','div','isErrorVisible','insertSuggestion','_addToolbar','showError','isTrackChangesOn','applyButton','headerView','locale','showBlockingError','showApplyButton','focusTracker','isLoading','getIndex','showNext','202715wVQTJh','addMany','element','isEnabled','remove','showRecoverableError','clear','ck-hidden','showPrevious','_availableActions','keystrokes','includes','add','render','focusLast','focus','disclaimerView','ck-ai-suggestion__error','_addDisclaimerView','span','ai-balloon-error','change:isTrackChangesOn','166730MNtHSO','bind'];_0x417b=function(){return _0x3eb5c8;};return _0x417b();}import{FocusTracker as _0x201669,KeystrokeHandler as _0x889db4}from'ckeditor5/src/utils.js';import{IconNextArrow as _0x29b2d2,IconPreviousArrow as _0x543570}from'@ckeditor/ckeditor5-icons';import{AIBalloonToolbarView as _0x1c82c5}from'./aiballoontoolbarview.js';import{AIBalloonDisclaimerView as _0x5af72a}from'./aiballoondisclaimerview.js';function _0x1455(_0x52f6af,_0x3c55f7){const _0x417bfc=_0x417b();return _0x1455=function(_0x145586,_0x287407){_0x145586=_0x145586-0x1b5;let _0x40c493=_0x417bfc[_0x145586];return _0x40c493;},_0x1455(_0x52f6af,_0x3c55f7);}import{getTranslation as _0x297779}from'../../aicore/utils/common-translations.js';export const AI_BALLOON_VIEW_EVENT_NAMES=[_0x4d3108(0x1cf),_0x4d3108(0x1e0),_0x4d3108(0x1ec),_0x4d3108(0x1f5)];export class AIBalloonView extends _0x94f39b{[_0x4d3108(0x1e9)];[_0x4d3108(0x1f7)];[_0x4d3108(0x1d1)];[_0x4d3108(0x1f6)];[_0x4d3108(0x1d4)];[_0x4d3108(0x1d7)];constructor(_0x2a0305,_0x599949,_0x5d0cd1,_0x244869){const _0x5d3453=_0x4d3108;super(_0x2a0305),this[_0x5d3453(0x1f6)]=_0x5d0cd1,this[_0x5d3453(0x1d0)](_0x5d3453(0x1ea),!0x1),this[_0x5d3453(0x1d0)](_0x5d3453(0x1e3),_0x244869),this[_0x5d3453(0x1d0)](_0x5d3453(0x1df),!0x1),this[_0x5d3453(0x1d0)](_0x5d3453(0x1dd),''),this[_0x5d3453(0x1e9)]=new _0x201669(),this[_0x5d3453(0x1f7)]=new _0x889db4(),this[_0x5d3453(0x1d4)]=this[_0x5d3453(0x1bb)](),this[_0x5d3453(0x1d1)]=new _0x43588d({'focusables':this[_0x5d3453(0x1d4)],'focusTracker':this[_0x5d3453(0x1e9)],'keystrokeHandler':this[_0x5d3453(0x1f7)],'actions':{'focusPrevious':_0x5d3453(0x1d2),'focusNext':_0x5d3453(0x1ca)}}),this[_0x5d3453(0x1cb)]=new _0x2fd613(),this[_0x5d3453(0x1c7)](_0x599949[_0x5d3453(0x1bf)]),this[_0x5d3453(0x1ff)](),this[_0x5d3453(0x1e1)](_0x599949[_0x5d3453(0x1e8)],_0x599949[_0x5d3453(0x206)]),this[_0x5d3453(0x207)][_0x5d3453(0x204)](_0x5d3453(0x1ea))['to'](this),this[_0x5d3453(0x1d4)][_0x5d3453(0x1f3)](),this[_0x5d3453(0x1d4)][_0x5d3453(0x1ee)]([this[_0x5d3453(0x207)]]),this[_0x5d3453(0x1bd)]({'tag':_0x5d3453(0x1de),'attributes':{'class':_0x5d3453(0x1c4)},'children':this[_0x5d3453(0x1cb)]}),this['on'](_0x5d3453(0x202),()=>{const _0x56fab4=_0x5d3453;this[_0x56fab4(0x1cb)][_0x56fab4(0x1f1)](this[_0x56fab4(0x207)]),this[_0x56fab4(0x1e1)](_0x599949[_0x56fab4(0x1e8)],_0x599949[_0x56fab4(0x206)]);});}[_0x4d3108(0x1fa)](){const _0x37192d=_0x4d3108;super[_0x37192d(0x1fa)]();for(const _0x4bae3a of this[_0x37192d(0x1d4)])this[_0x37192d(0x1e9)][_0x37192d(0x1f9)](_0x4bae3a[_0x37192d(0x1ef)]);this[_0x37192d(0x1f7)][_0x37192d(0x1b6)](this[_0x37192d(0x1ef)]);}[_0x4d3108(0x1fc)](_0x3b99ef){const _0x5f5b5d=_0x4d3108;-0x1===_0x3b99ef?this[_0x5f5b5d(0x1d1)][_0x5f5b5d(0x1fb)]():this[_0x5f5b5d(0x1d1)][_0x5f5b5d(0x1cc)]();}[_0x4d3108(0x1c8)](){const _0x141230=_0x4d3108;this[_0x141230(0x1ea)]=!0x0;}[_0x4d3108(0x1d8)](){const _0x31eb38=_0x4d3108;this[_0x31eb38(0x1ea)]=!0x1;}[_0x4d3108(0x1e2)](_0x19d984){const _0x2c0852=_0x4d3108;this[_0x2c0852(0x1d7)]||(this[_0x2c0852(0x1d7)]=this[_0x2c0852(0x1d3)](),this[_0x2c0852(0x1cb)][_0x2c0852(0x1ee)]([this[_0x2c0852(0x1d7)]],0x0)),this[_0x2c0852(0x1dd)]=_0x19d984,this[_0x2c0852(0x1df)]=!0x0;}[_0x4d3108(0x1cd)](){const _0xba4419=_0x4d3108;this[_0xba4419(0x1df)]=!0x1;}[_0x4d3108(0x1f2)](_0x57e77f){const _0x4973a8=_0x4d3108;this[_0x4973a8(0x1e2)](_0x57e77f);}[_0x4d3108(0x1e7)](_0x2909ec){const _0x278577=_0x4d3108;this[_0x278577(0x1e2)](_0x2909ec),this[_0x278577(0x207)]&&(this[_0x278577(0x207)][_0x278577(0x1e4)]&&(this[_0x278577(0x207)][_0x278577(0x1e4)][_0x278577(0x1f0)]=!0x1),this[_0x278577(0x207)][_0x278577(0x1c2)]&&(this[_0x278577(0x207)][_0x278577(0x1c2)][_0x278577(0x1f0)]=!0x1));}[_0x4d3108(0x1bc)](_0x3c39c3){const _0x3d3c8d=_0x4d3108,_0x50ca6c=this[_0x3d3c8d(0x1dc)](),_0x3a724c=this[_0x3d3c8d(0x1da)]();_0x3c39c3[_0x3d3c8d(0x1ce)][_0x3d3c8d(0x1e5)][_0x3d3c8d(0x205)][_0x3d3c8d(0x1f9)](_0x50ca6c,0x2),_0x3c39c3[_0x3d3c8d(0x1ce)][_0x3d3c8d(0x1e5)][_0x3d3c8d(0x205)][_0x3d3c8d(0x1f9)](_0x3a724c,0x0),this[_0x3d3c8d(0x1d4)][_0x3d3c8d(0x1ee)]([_0x50ca6c,_0x3a724c]),this[_0x3d3c8d(0x1e9)][_0x3d3c8d(0x1f9)](_0x50ca6c[_0x3d3c8d(0x1ef)]),this[_0x3d3c8d(0x1e9)][_0x3d3c8d(0x1f9)](_0x3a724c[_0x3d3c8d(0x1ef)]);}[_0x4d3108(0x1c7)](_0x1b7195){const _0x663fd0=_0x4d3108;this[_0x663fd0(0x1c5)]=_0x1b7195,this[_0x663fd0(0x1cb)][_0x663fd0(0x1f9)](this[_0x663fd0(0x1c5)]);}[_0x4d3108(0x1db)](_0x541728){const _0x5de4e5=_0x4d3108,_0x4b08fd=this[_0x5de4e5(0x1cb)][_0x5de4e5(0x1eb)](this[_0x5de4e5(0x1c5)]);this[_0x5de4e5(0x1cb)][_0x5de4e5(0x1f1)](this[_0x5de4e5(0x1c5)]),this[_0x5de4e5(0x1c5)]=_0x541728,this[_0x5de4e5(0x1cb)][_0x5de4e5(0x1f9)](this[_0x5de4e5(0x1c5)],_0x4b08fd),this[_0x5de4e5(0x1cd)]();}[_0x4d3108(0x1ff)](){const _0x3d0f2a=_0x4d3108;this[_0x3d0f2a(0x1fd)]=new _0x5af72a(this[_0x3d0f2a(0x1e6)]),this[_0x3d0f2a(0x1cb)][_0x3d0f2a(0x1f9)](this[_0x3d0f2a(0x1fd)]);}[_0x4d3108(0x1e1)](_0x317ba7=!0x0,_0x5dee39=!0x0){const _0x3de8d3=_0x4d3108;_0x317ba7=_0x317ba7&&!this[_0x3de8d3(0x1e3)]&&this[_0x3de8d3(0x1f6)][_0x3de8d3(0x1f8)](_0x3de8d3(0x1cf)),_0x5dee39=_0x5dee39&&this[_0x3de8d3(0x1f6)][_0x3de8d3(0x1f8)](_0x3de8d3(0x1e0)),this[_0x3de8d3(0x207)]=new _0x1c82c5(this[_0x3de8d3(0x1e6)],_0x317ba7,_0x5dee39),this[_0x3de8d3(0x207)][_0x3de8d3(0x1e4)]?.['on'](_0x3de8d3(0x1ba),()=>{const _0x546860=_0x3de8d3;this[_0x546860(0x1d9)](_0x546860(0x1cf));}),this[_0x3de8d3(0x207)][_0x3de8d3(0x1c2)]?.['on'](_0x3de8d3(0x1ba),()=>{const _0x3d550c=_0x3de8d3;this[_0x3d550c(0x1d9)](_0x3d550c(0x1e0));}),this[_0x3de8d3(0x1cb)][_0x3de8d3(0x1f9)](this[_0x3de8d3(0x207)]);}[_0x4d3108(0x1dc)](){const _0x70102=_0x4d3108,_0x309798=new _0x7a60ed(this[_0x70102(0x1e6)]);return _0x309798[_0x70102(0x1d0)]({'icon':_0x29b2d2,'tooltip':_0x297779(this[_0x70102(0x1e6)],_0x70102(0x1c9))}),_0x309798['on'](_0x70102(0x1ba),()=>{const _0x305317=_0x70102;this[_0x305317(0x1d9)](_0x305317(0x1ec));}),_0x309798;}[_0x4d3108(0x1da)](){const _0x267570=_0x4d3108,_0x3579a2=new _0x7a60ed(this[_0x267570(0x1e6)]);return _0x3579a2[_0x267570(0x1d0)]({'icon':_0x543570,'tooltip':_0x297779(this[_0x267570(0x1e6)],_0x267570(0x1b8))}),_0x3579a2['on'](_0x267570(0x1ba),()=>{const _0x11f854=_0x267570;this[_0x11f854(0x1d9)](_0x11f854(0x1f5));}),_0x3579a2;}[_0x4d3108(0x1d3)](){const _0x152620=_0x4d3108,_0x3f8b0a=new _0x94f39b(this[_0x152620(0x1e6)]),_0x39cf3d=new _0x94f39b(this[_0x152620(0x1e6)]);return _0x39cf3d[_0x152620(0x1bd)]({'tag':_0x152620(0x200),'attributes':{'class':['ck',_0x152620(0x1d6)]},'children':[{'text':this[_0x152620(0x1d5)]['to'](_0x152620(0x1dd))}]}),_0x3f8b0a[_0x152620(0x1bd)]({'tag':_0x152620(0x1de),'attributes':{'class':['ck',_0x152620(0x1fe),_0x152620(0x201),this[_0x152620(0x1d5)]['if'](_0x152620(0x1df),_0x152620(0x1f4),_0x4aa4ab=>!_0x4aa4ab)]},'children':[_0x39cf3d]}),_0x3f8b0a;}}
|
package/src/aichat/aichat.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x4b80(){var _0x2656ee=['context','removeSelectionFromChatContext','isPremiumPlugin','8GrbKpz','sendMessage','814MItmQz','plugins','7EbXPRq','addSelectionToChatContext','config','AIChat','get','isOfficialPlugin','4236KecTjT','startConversation','558108AKPaYt','294czlYiX','1237480cJLvZc','focusPromptInput','pluginName','ai.chat.models','define','360606rpLrcf','ai.chat.context','249kbRgtD','1408957IXiyBC','1345930lkpqub','requires'];_0x4b80=function(){return _0x2656ee;};return _0x4b80();}var _0x5e167b=_0xe48e;(function(_0xf60a21,_0x3527c8){var _0x3e3cc4=_0xe48e,_0x216acf=_0xf60a21();while(!![]){try{var _0x357abe=-parseInt(_0x3e3cc4(0x1e6))/0x1*(parseInt(_0x3e3cc4(0x1d5))/0x2)+parseInt(_0x3e3cc4(0x1dd))/0x3*(-parseInt(_0x3e3cc4(0x1d2))/0x4)+parseInt(_0x3e3cc4(0x1df))/0x5+parseInt(_0x3e3cc4(0x1db))/0x6*(parseInt(_0x3e3cc4(0x1e8))/0x7)+parseInt(_0x3e3cc4(0x1e4))/0x8*(parseInt(_0x3e3cc4(0x1d4))/0x9)+parseInt(_0x3e3cc4(0x1d6))/0xa+-parseInt(_0x3e3cc4(0x1de))/0xb;if(_0x357abe===_0x3527c8)break;else _0x216acf['push'](_0x216acf['shift']());}catch(_0x367ad3){_0x216acf['push'](_0x216acf['shift']());}}}(_0x4b80,0x2bccd));import{ContextPlugin as _0x4b2e5a}from'ckeditor5/src/core.js';import{AIChatController as _0x3ca0b4}from'./aichatcontroller.js';import{AIEditing as _0x144cd4}from'../aicore/aiediting.js';import{AIChatUI as _0x485fea}from'./aichatui.js';function _0xe48e(_0x3bf7eb,_0x30a327){var _0x4b8042=_0x4b80();return _0xe48e=function(_0xe48e49,_0x433471){_0xe48e49=_0xe48e49-0x1ce;var _0x561237=_0x4b8042[_0xe48e49];return _0x561237;},_0xe48e(_0x3bf7eb,_0x30a327);}import{AIChatHistory as _0x5232cd}from'../aichathistory/aichathistory.js';export class AIChat extends _0x4b2e5a{static get[_0x5e167b(0x1e0)](){return[_0x3ca0b4,_0x144cd4,_0x485fea,_0x5232cd];}static get[_0x5e167b(0x1d8)](){var _0x3ca989=_0x5e167b;return _0x3ca989(0x1cf);}static get[_0x5e167b(0x1d1)](){return!0x0;}static get[_0x5e167b(0x1e3)](){return!0x0;}constructor(_0x19c805){var _0x517841=_0x5e167b;super(_0x19c805),this[_0x517841(0x1e1)][_0x517841(0x1ce)][_0x517841(0x1da)](_0x517841(0x1dc),{'document':{'enabled':!0x0},'urls':{'enabled':!0x0},'files':{'enabled':!0x0},'sources':[]}),this[_0x517841(0x1e1)][_0x517841(0x1ce)][_0x517841(0x1da)](_0x517841(0x1d9),{'defaultModelId':void 0x0,'modelSelectorAlwaysVisible':!0x0,'displayedModels':void 0x0});}async[_0x5e167b(0x1e9)](){var _0x52df5f=_0x5e167b;await this[_0x52df5f(0x1e1)][_0x52df5f(0x1e7)][_0x52df5f(0x1d0)](_0x3ca0b4)[_0x52df5f(0x1e9)]();}async[_0x5e167b(0x1d3)](){var _0x1f58fe=_0x5e167b;await this[_0x1f58fe(0x1e1)][_0x1f58fe(0x1e7)][_0x1f58fe(0x1d0)](_0x3ca0b4)[_0x1f58fe(0x1d3)]();}async[_0x5e167b(0x1e5)]({message:_0x1e857d,quickActionData:_0x474ae7}){var _0x5f002c=_0x5e167b;await this[_0x5f002c(0x1e1)][_0x5f002c(0x1e7)][_0x5f002c(0x1d0)](_0x3ca0b4)[_0x5f002c(0x1e5)]({'message':_0x1e857d,'quickActionData':_0x474ae7});}[_0x5e167b(0x1e2)](){var _0x1ce05d=_0x5e167b;this[_0x1ce05d(0x1e1)][_0x1ce05d(0x1e7)][_0x1ce05d(0x1d0)](_0x3ca0b4)[_0x1ce05d(0x1e2)]();}[_0x5e167b(0x1d7)](){var _0x49d04f=_0x5e167b;this[_0x49d04f(0x1e1)][_0x49d04f(0x1e7)][_0x49d04f(0x1d0)](_0x3ca0b4)[_0x49d04f(0x1d7)]();}}
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
import { ContextPlugin } from 'ckeditor5/src/core.js';
|
|
9
9
|
import { AIConnector } from '../aicore/aiconnector.js';
|
|
10
10
|
import { AIChatConversation } from './model/aichatconversation.js';
|
|
11
|
-
import { DocumentCompare } from '
|
|
11
|
+
import { DocumentCompare } from 'ckeditor5-collaboration/src/collaboration-core.js';
|
|
12
12
|
import { AIBalloon } from '../aiballoon/aiballoon.js';
|
|
13
13
|
import { type AIQuickActionRequestData } from '../aiquickactions/aiquickactions.js';
|
|
14
14
|
export declare class AIChatController extends ContextPlugin {
|