@ckeditor/ckeditor5-ai 46.1.1 → 47.0.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/LICENSE.md +18 -5
- package/README.md +10 -9
- 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/ckeditor5-metadata.json +24 -3
- package/dist/index-content.css +0 -1
- package/dist/index-editor.css +2648 -0
- package/dist/index.css +3047 -0
- package/dist/index.js +4 -2
- 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 +162 -1
- package/lang/translations/af.po +612 -0
- package/lang/translations/ar.po +628 -0
- package/lang/translations/ast.po +612 -0
- package/lang/translations/az.po +612 -0
- package/lang/translations/be.po +616 -0
- package/lang/translations/bg.po +612 -0
- package/lang/translations/bn.po +612 -0
- package/lang/translations/bs.po +616 -0
- package/lang/translations/ca.po +612 -0
- package/lang/translations/cs.po +616 -0
- package/lang/translations/da.po +612 -0
- package/lang/translations/de-ch.po +612 -0
- package/lang/translations/de.po +612 -0
- package/lang/translations/el.po +612 -0
- package/lang/translations/en-au.po +612 -0
- package/lang/translations/en-gb.po +612 -0
- package/lang/translations/en.po +612 -0
- package/lang/translations/eo.po +612 -0
- package/lang/translations/es-co.po +612 -0
- package/lang/translations/es.po +612 -0
- package/lang/translations/et.po +612 -0
- package/lang/translations/eu.po +612 -0
- package/lang/translations/fa.po +608 -0
- package/lang/translations/fi.po +612 -0
- package/lang/translations/fr.po +612 -0
- package/lang/translations/gl.po +612 -0
- package/lang/translations/gu.po +612 -0
- package/lang/translations/he.po +612 -0
- package/lang/translations/hi.po +612 -0
- package/lang/translations/hr.po +616 -0
- package/lang/translations/hu.po +612 -0
- package/lang/translations/hy.po +612 -0
- package/lang/translations/id.po +608 -0
- package/lang/translations/it.po +612 -0
- package/lang/translations/ja.po +608 -0
- package/lang/translations/jv.po +612 -0
- package/lang/translations/kk.po +612 -0
- package/lang/translations/km.po +608 -0
- package/lang/translations/kn.po +612 -0
- package/lang/translations/ko.po +608 -0
- package/lang/translations/ku.po +612 -0
- package/lang/translations/lt.po +616 -0
- package/lang/translations/lv.po +616 -0
- package/lang/translations/ms.po +608 -0
- package/lang/translations/nb.po +612 -0
- package/lang/translations/ne.po +612 -0
- package/lang/translations/nl.po +612 -0
- package/lang/translations/no.po +612 -0
- package/lang/translations/oc.po +612 -0
- package/lang/translations/pl.po +616 -0
- package/lang/translations/pt-br.po +612 -0
- package/lang/translations/pt.po +612 -0
- package/lang/translations/ro.po +616 -0
- package/lang/translations/ru.po +616 -0
- package/lang/translations/si.po +612 -0
- package/lang/translations/sk.po +616 -0
- package/lang/translations/sl.po +620 -0
- package/lang/translations/sq.po +612 -0
- package/lang/translations/sr-latn.po +616 -0
- package/lang/translations/sr.po +616 -0
- package/lang/translations/sv.po +612 -0
- package/lang/translations/th.po +608 -0
- package/lang/translations/ti.po +612 -0
- package/lang/translations/tk.po +612 -0
- package/lang/translations/tr.po +612 -0
- package/lang/translations/tt.po +608 -0
- package/lang/translations/ug.po +608 -0
- package/lang/translations/uk.po +616 -0
- package/lang/translations/ur.po +612 -0
- package/lang/translations/uz.po +612 -0
- package/lang/translations/vi.po +608 -0
- package/lang/translations/zh-cn.po +608 -0
- package/lang/translations/zh.po +608 -0
- package/package.json +23 -11
- package/src/aiactions/aiactions.d.ts +48 -0
- package/src/aiactions/aiactions.js +23 -0
- package/src/aiactions/model/aiactionsinteraction.d.ts +48 -0
- package/src/aiactions/model/aiactionsinteraction.js +23 -0
- package/src/aiactions/model/aiactionsreply.d.ts +15 -0
- package/src/aiactions/model/aiactionsreply.js +23 -0
- package/src/{adapters → aiassistant/adapters}/aiadapter.d.ts +1 -1
- package/src/aiassistant/adapters/aiadapter.js +23 -0
- package/src/{adapters → aiassistant/adapters}/aitextadapter.d.ts +9 -9
- package/src/aiassistant/adapters/aitextadapter.js +23 -0
- package/src/{adapters → aiassistant/adapters}/awstextadapter.d.ts +36 -23
- package/src/aiassistant/adapters/awstextadapter.js +23 -0
- package/src/{adapters → aiassistant/adapters}/openaitextadapter.d.ts +38 -25
- package/src/aiassistant/adapters/openaitextadapter.js +23 -0
- package/src/{aiassistant.d.ts → aiassistant/aiassistant.d.ts} +54 -13
- package/src/aiassistant/aiassistant.js +23 -0
- package/src/aiassistant/aiassistantediting.js +23 -0
- package/src/{aiassistantui.d.ts → aiassistant/aiassistantui.d.ts} +4 -4
- package/src/aiassistant/aiassistantui.js +23 -0
- package/src/aiassistant/legacyerrors.js +23 -0
- package/src/{ui → aiassistant/ui}/aiassistantcontroller.d.ts +5 -4
- package/src/aiassistant/ui/aiassistantcontroller.js +24 -0
- package/src/{ui → aiassistant/ui}/form/aiformcontentarea.d.ts +1 -1
- package/src/aiassistant/ui/form/aiformcontentarea.js +23 -0
- package/src/aiassistant/ui/form/aiformerrorview.js +23 -0
- package/src/{ui → aiassistant/ui}/form/aiformpromptview.d.ts +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +23 -0
- package/src/{ui → aiassistant/ui}/form/aiformtoolbarview.d.ts +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +23 -0
- package/src/{ui → aiassistant/ui}/form/aiformview.d.ts +1 -1
- package/src/aiassistant/ui/form/aiformview.js +23 -0
- package/src/{ui → aiassistant/ui}/form/aihistorylistitemview.d.ts +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +23 -0
- package/src/{ui → aiassistant/ui}/form/aihistorylistview.d.ts +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +23 -0
- package/src/{ui → aiassistant/ui}/form/prompthistory.d.ts +3 -0
- package/src/aiassistant/ui/form/prompthistory.js +23 -0
- package/src/{ui → aiassistant/ui}/showaiassistantcommand.d.ts +2 -2
- package/src/aiassistant/ui/showaiassistantcommand.js +23 -0
- package/src/{utils → aiassistant/utils}/common-translations.d.ts +1 -1
- package/src/{utils → aiassistant/utils}/common-translations.js +1 -1
- package/src/{utils → aiassistant/utils}/normalizecommandsconfig.d.ts +2 -2
- package/src/{utils → aiassistant/utils}/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.d.ts +72 -0
- package/src/aiballoon/aiballoon.js +23 -0
- package/src/aiballoon/ui/aiballoondisclaimerview.d.ts +17 -0
- package/src/aiballoon/ui/aiballoondisclaimerview.js +23 -0
- package/src/aiballoon/ui/aiballoontoolbarview.d.ts +31 -0
- package/src/aiballoon/ui/aiballoontoolbarview.js +23 -0
- package/src/aiballoon/ui/aiballoonview.d.ts +109 -0
- package/src/aiballoon/ui/aiballoonview.js +23 -0
- package/src/aichat/aichat.d.ts +79 -0
- package/src/aichat/aichat.js +23 -0
- package/src/aichat/aichatcontroller.d.ts +68 -0
- package/src/aichat/aichatcontroller.js +23 -0
- package/src/aichat/aichatui.d.ts +297 -0
- package/src/aichat/aichatui.js +23 -0
- package/src/aichat/model/aichatcontext.d.ts +360 -0
- package/src/aichat/model/aichatcontext.js +23 -0
- package/src/aichat/model/aichatconversation.d.ts +270 -0
- package/src/aichat/model/aichatconversation.js +23 -0
- package/src/aichat/model/aichatinteraction.d.ts +46 -0
- package/src/aichat/model/aichatinteraction.js +23 -0
- package/src/aichat/model/aichatmodels.d.ts +77 -0
- package/src/aichat/model/aichatmodels.js +23 -0
- package/src/aichat/ui/aichatcontrolsview.d.ts +98 -0
- package/src/aichat/ui/aichatcontrolsview.js +23 -0
- package/src/aichat/ui/aichatfeedview.d.ts +114 -0
- package/src/aichat/ui/aichatfeedview.js +23 -0
- package/src/aichat/ui/aichatheaderview.d.ts +29 -0
- package/src/aichat/ui/aichatheaderview.js +23 -0
- package/src/aichat/ui/aichatview.d.ts +37 -0
- package/src/aichat/ui/aichatview.js +23 -0
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.d.ts +71 -0
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +23 -0
- package/src/aichat/ui/controls/aichatcontextitembuttonview.d.ts +46 -0
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +23 -0
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.d.ts +89 -0
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +23 -0
- package/src/aichat/ui/controls/aichatcontextpanelview.d.ts +105 -0
- package/src/aichat/ui/controls/aichatcontextpanelview.js +23 -0
- package/src/aichat/ui/controls/aichatcontrolsloaderview.d.ts +12 -0
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +23 -0
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.d.ts +89 -0
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +23 -0
- package/src/aichat/ui/controls/aichatpromptinputview.d.ts +44 -0
- package/src/aichat/ui/controls/aichatpromptinputview.js +23 -0
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.d.ts +17 -0
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +23 -0
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.d.ts +61 -0
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +23 -0
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.d.ts +100 -0
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +23 -0
- package/src/aichat/ui/controls/resources/aichatresourceslistview.d.ts +49 -0
- package/src/aichat/ui/controls/resources/aichatresourceslistview.js +23 -0
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.d.ts +61 -0
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +23 -0
- package/src/aichat/ui/controls/resources/aichatresourcesview.d.ts +54 -0
- package/src/aichat/ui/controls/resources/aichatresourcesview.js +23 -0
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.d.ts +27 -0
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +23 -0
- package/src/aichat/ui/feed/aichatfeederroritemview.d.ts +39 -0
- package/src/aichat/ui/feed/aichatfeederroritemview.js +23 -0
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.d.ts +29 -0
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +23 -0
- package/src/aichat/ui/feed/aichatfeeditemview.d.ts +46 -0
- package/src/aichat/ui/feed/aichatfeeditemview.js +23 -0
- package/src/aichat/ui/feed/aichatfeedreplyitemview.d.ts +46 -0
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +23 -0
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.d.ts +74 -0
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +23 -0
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.d.ts +74 -0
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +23 -0
- package/src/aichat/ui/feed/aichatfeedusermessageitem.d.ts +40 -0
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +23 -0
- package/src/aichat/utils/eventnames.d.ts +5 -0
- package/src/aichat/utils/eventnames.js +23 -0
- package/src/aichat/utils/promisequeue.d.ts +32 -0
- package/src/aichat/utils/promisequeue.js +23 -0
- package/src/aichat/utils/scrollmanager.d.ts +23 -0
- package/src/aichat/utils/scrollmanager.js +23 -0
- package/src/aichathistory/aichathistory.d.ts +30 -0
- package/src/aichathistory/aichathistory.js +23 -0
- package/src/aichathistory/aichathistorycontroller.d.ts +40 -0
- package/src/aichathistory/aichathistorycontroller.js +23 -0
- package/src/aichathistory/aichathistoryui.d.ts +112 -0
- package/src/aichathistory/aichathistoryui.js +23 -0
- package/src/aichathistory/model/aichathistoryconversations.d.ts +114 -0
- package/src/aichathistory/model/aichathistoryconversations.js +23 -0
- package/src/aichathistory/model/aichathistoryitem.d.ts +59 -0
- package/src/aichathistory/model/aichathistoryitem.js +23 -0
- package/src/aichathistory/ui/aichathistorylistitemview.d.ts +42 -0
- package/src/aichathistory/ui/aichathistorylistitemview.js +23 -0
- package/src/aichathistory/ui/aichathistorylistview.d.ts +31 -0
- package/src/aichathistory/ui/aichathistorylistview.js +23 -0
- package/src/aichathistory/ui/aichathistorysectionlistview.d.ts +17 -0
- package/src/aichathistory/ui/aichathistorysectionlistview.js +23 -0
- package/src/aichathistory/ui/aichathistoryview.d.ts +41 -0
- package/src/aichathistory/ui/aichathistoryview.js +23 -0
- package/src/aiconfig.d.ts +82 -31
- package/src/aicore/aiconnector.d.ts +302 -0
- package/src/aicore/aiconnector.js +23 -0
- package/src/aicore/aiediting.d.ts +61 -0
- package/src/aicore/aiediting.js +23 -0
- package/src/aicore/model/aicapabilities.d.ts +55 -0
- package/src/aicore/model/aicapabilities.js +23 -0
- package/src/aicore/model/aicontext.d.ts +53 -0
- package/src/aicore/model/aicontext.js +23 -0
- package/src/aicore/model/aiinteraction.d.ts +135 -0
- package/src/aicore/model/aiinteraction.js +23 -0
- package/src/aicore/model/aireply.d.ts +178 -0
- package/src/aicore/model/aireply.js +23 -0
- package/src/aicore/pipeline/airesponseapplier.d.ts +291 -0
- package/src/aicore/pipeline/airesponseapplier.js +24 -0
- package/src/aicore/pipeline/airesponseparser.d.ts +27 -0
- package/src/aicore/pipeline/airesponseparser.js +24 -0
- package/src/aicore/ui/aidisclaimerview.d.ts +17 -0
- package/src/aicore/ui/aidisclaimerview.js +23 -0
- package/src/aicore/ui/aiskeleton.d.ts +37 -0
- package/src/aicore/ui/aiskeleton.js +23 -0
- package/src/aicore/ui/aispinner.d.ts +14 -0
- package/src/aicore/ui/aispinner.js +23 -0
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.d.ts +62 -0
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +23 -0
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.d.ts +38 -0
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +23 -0
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.d.ts +80 -0
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +23 -0
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.d.ts +39 -0
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +23 -0
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.d.ts +39 -0
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +23 -0
- package/src/aicore/utils/common-translations.d.ts +9 -0
- package/src/aicore/utils/common-translations.js +23 -0
- package/src/aicore/utils/createresizebutton.d.ts +12 -0
- package/src/aicore/utils/createresizebutton.js +23 -0
- package/src/aicore/utils/documentposition.d.ts +41 -0
- package/src/aicore/utils/documentposition.js +23 -0
- package/src/aicore/utils/documentrange.d.ts +46 -0
- package/src/aicore/utils/documentrange.js +23 -0
- package/src/aicore/utils/eventnames.d.ts +9 -0
- package/src/aicore/utils/eventnames.js +23 -0
- package/src/aicore/utils/geteditorfromcontext.d.ts +6 -0
- package/src/aicore/utils/geteditorfromcontext.js +23 -0
- package/src/aicore/utils/getoperationsfromreply.d.ts +21 -0
- package/src/aicore/utils/getoperationsfromreply.js +23 -0
- package/src/aicore/utils/getsuggestionpartsfromreply.d.ts +19 -0
- package/src/aicore/utils/getsuggestionpartsfromreply.js +23 -0
- package/src/aicore/utils/htmlparser.d.ts +35 -0
- package/src/aicore/utils/htmlparser.js +23 -0
- package/src/aicore/utils/htmlstreamer.d.ts +123 -0
- package/src/aicore/utils/htmlstreamer.js +23 -0
- package/src/aiquickactions/aiquickactions.d.ts +41 -0
- package/src/aiquickactions/aiquickactions.js +23 -0
- package/src/aiquickactions/aiquickactionscommand.d.ts +12 -0
- package/src/aiquickactions/aiquickactionscommand.js +23 -0
- package/src/aiquickactions/aiquickactionsediting.d.ts +23 -0
- package/src/aiquickactions/aiquickactionsediting.js +23 -0
- package/src/aiquickactions/aiquickactionsui.d.ts +150 -0
- package/src/aiquickactions/aiquickactionsui.js +23 -0
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.d.ts +30 -0
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +23 -0
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.d.ts +45 -0
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +23 -0
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.d.ts +45 -0
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +23 -0
- package/src/aiquickactions/utils/common-translations.d.ts +9 -0
- package/src/aiquickactions/utils/common-translations.js +23 -0
- package/src/aireviewmode/aireviewmode.d.ts +30 -0
- package/src/aireviewmode/aireviewmode.js +23 -0
- package/src/aireviewmode/aireviewmodecontroller.d.ts +32 -0
- package/src/aireviewmode/aireviewmodecontroller.js +23 -0
- package/src/aireviewmode/aireviewmodeediting.d.ts +129 -0
- package/src/aireviewmode/aireviewmodeediting.js +23 -0
- package/src/aireviewmode/aireviewmodeui.d.ts +73 -0
- package/src/aireviewmode/aireviewmodeui.js +23 -0
- package/src/aireviewmode/model/aireviewcheck.d.ts +60 -0
- package/src/aireviewmode/model/aireviewcheck.js +23 -0
- package/src/aireviewmode/model/aireviewcheckcustom.d.ts +17 -0
- package/src/aireviewmode/model/aireviewcheckcustom.js +23 -0
- package/src/aireviewmode/model/aireviewchecklist.d.ts +31 -0
- package/src/aireviewmode/model/aireviewchecklist.js +23 -0
- package/src/aireviewmode/model/aireviewcheckresult.d.ts +39 -0
- package/src/aireviewmode/model/aireviewcheckresult.js +23 -0
- package/src/aireviewmode/model/aireviewcheckresultchange.d.ts +42 -0
- package/src/aireviewmode/model/aireviewcheckresultchange.js +23 -0
- package/src/aireviewmode/model/aireviewcheckrun.d.ts +101 -0
- package/src/aireviewmode/model/aireviewcheckrun.js +23 -0
- package/src/aireviewmode/model/aireviewcustomcheckrun.d.ts +18 -0
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +23 -0
- package/src/aireviewmode/model/aireviewmodels.d.ts +26 -0
- package/src/aireviewmode/model/aireviewmodels.js +23 -0
- package/src/aireviewmode/model/aireviewsystemcheckrun.d.ts +14 -0
- package/src/aireviewmode/model/aireviewsystemcheckrun.js +23 -0
- package/src/aireviewmode/ui/aireviemodepromptinputview.d.ts +29 -0
- package/src/aireviewmode/ui/aireviemodepromptinputview.js +23 -0
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.d.ts +46 -0
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +23 -0
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.d.ts +19 -0
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +23 -0
- package/src/aireviewmode/ui/aireviewmodereviewchecklistview.d.ts +23 -0
- package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +23 -0
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.d.ts +80 -0
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +23 -0
- package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.d.ts +45 -0
- package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +23 -0
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.d.ts +18 -0
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +23 -0
- package/src/aireviewmode/ui/aireviewmodeview.d.ts +42 -0
- package/src/aireviewmode/ui/aireviewmodeview.js +23 -0
- package/src/aireviewmode/ui/form/aireviewmodeformamanager.d.ts +16 -0
- package/src/aireviewmode/ui/form/aireviewmodeformamanager.js +23 -0
- package/src/aireviewmode/ui/form/aireviewmodeformdropdown.d.ts +20 -0
- package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +23 -0
- package/src/aireviewmode/ui/form/aireviewmodeformmanager.d.ts +16 -0
- package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +23 -0
- package/src/aireviewmode/utils/common-translations.d.ts +9 -0
- package/src/aireviewmode/utils/common-translations.js +23 -0
- package/src/aitabs/aitabs.d.ts +92 -0
- package/src/aitabs/aitabs.js +23 -0
- package/src/aitabs/aitabsmainview.d.ts +45 -0
- package/src/aitabs/aitabsmainview.js +23 -0
- package/src/aitabs/tabs/aitabsview.d.ts +147 -0
- package/src/aitabs/tabs/aitabsview.js +23 -0
- package/src/aitabs/tabs/tabbuttonview.d.ts +47 -0
- package/src/aitabs/tabs/tabbuttonview.js +23 -0
- package/src/aitabs/tabs/tabpanelview.d.ts +44 -0
- package/src/aitabs/tabs/tabpanelview.js +23 -0
- package/src/augmentation.d.ts +22 -6
- package/src/index.d.ts +40 -9
- package/src/index.js +1 -1
- package/theme/aiballoon/aiballoon.css +207 -0
- package/theme/aichat/aichat-controls/aichat-context-chip.css +139 -0
- package/theme/aichat/aichat-controls/aichat-context-controls-balloon-panels.css +194 -0
- package/theme/aichat/aichat-controls/aichat-context-controls.css +46 -0
- package/theme/aichat/aichat-controls/aichat-controls-button.css +74 -0
- package/theme/aichat/aichat-controls/aichat-controls-loader.css +93 -0
- package/theme/aichat/aichat-controls/prompt-capabilities.css +46 -0
- package/theme/aichat/aichat-controls/prompt-input.css +55 -0
- package/theme/aichat/aichat-controls.css +154 -0
- package/theme/aichat/aichat.css +68 -0
- package/theme/aichat/aichatfeed.css +376 -0
- package/theme/aichat/aichathistory.css +235 -0
- package/theme/aichat/aiminitoolbar.css +94 -0
- package/theme/aichat/aisuggestioncontainer.css +203 -0
- package/theme/aiquickactions/aiquickactions.css +43 -0
- package/theme/aireviewmode/aireviewmode-check-list.css +154 -0
- package/theme/aireviewmode/aireviewmode-check-run.css +202 -0
- package/theme/aireviewmode/aireviewmode-review-completed.css +52 -0
- package/theme/aireviewmode/aireviewmode.css +73 -0
- package/theme/aitabs/aitabsview.css +64 -0
- package/theme/aitabs/tabs/tabbuttonview.css +74 -0
- package/theme/aitabs/tabs/tabsview.css +78 -0
- package/theme/common/aibutton.css +145 -0
- package/theme/common/aichaterror.css +61 -0
- package/theme/common/aidisclaimer.css +29 -0
- package/theme/common/aiheader.css +88 -0
- package/theme/common/aiskeleton.css +54 -0
- package/theme/common/aispinner.css +58 -0
- package/src/adapters/aiadapter.js +0 -23
- package/src/adapters/aitextadapter.js +0 -23
- package/src/adapters/awstextadapter.js +0 -23
- package/src/adapters/openaitextadapter.js +0 -23
- package/src/aiassistant.js +0 -23
- package/src/aiassistantediting.js +0 -23
- package/src/aiassistantui.js +0 -23
- package/src/legacyerrors.js +0 -23
- package/src/ui/aiassistantcontroller.js +0 -24
- package/src/ui/form/aiformcontentarea.js +0 -23
- package/src/ui/form/aiformerrorview.js +0 -23
- package/src/ui/form/aiformpromptview.js +0 -23
- package/src/ui/form/aiformtoolbarview.js +0 -23
- package/src/ui/form/aiformview.js +0 -23
- package/src/ui/form/aihistorylistitemview.js +0 -23
- package/src/ui/form/aihistorylistview.js +0 -23
- package/src/ui/form/prompthistory.js +0 -23
- package/src/ui/showaiassistantcommand.js +0 -23
- /package/src/{aiassistantediting.d.ts → aiassistant/aiassistantediting.d.ts} +0 -0
- /package/src/{legacyerrors.d.ts → aiassistant/legacyerrors.d.ts} +0 -0
- /package/src/{ui → aiassistant/ui}/form/aiformerrorview.d.ts +0 -0
- /package/theme/{ai-dropdown.css → aiassistant/ai-dropdown.css} +0 -0
- /package/theme/{ai-form.css → aiassistant/ai-form.css} +0 -0
- /package/theme/{ai.css → aiassistant/ai.css} +0 -0
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module ai/aitabs/aitabs
|
|
7
|
+
* @publicApi
|
|
8
|
+
*/
|
|
9
|
+
import { type Context, ContextPlugin, Editor } from 'ckeditor5/src/core.js';
|
|
10
|
+
import { AITabsMainView } from './aitabsmainview.js';
|
|
11
|
+
import { type AIContainerSide, type AIContainerType } from '../aiconfig.js';
|
|
12
|
+
/**
|
|
13
|
+
* The AI Tabs plugin. It delivers the tabs view that hosts AI-powered features in the editor.
|
|
14
|
+
*
|
|
15
|
+
* Note: The feature is configured via the {@link module:ai/aiconfig~AIConfig#container} property.
|
|
16
|
+
*/
|
|
17
|
+
export declare class AITabs extends ContextPlugin {
|
|
18
|
+
/**
|
|
19
|
+
* The view that allows for hosting AI-powered features in the editor.
|
|
20
|
+
*/
|
|
21
|
+
view: AITabsMainView;
|
|
22
|
+
/**
|
|
23
|
+
* The container of the AI Tabs view.
|
|
24
|
+
*/
|
|
25
|
+
container: HTMLElement | null;
|
|
26
|
+
/**
|
|
27
|
+
* Indicates whether the resize button should be displayed.
|
|
28
|
+
*/
|
|
29
|
+
showResizeButton: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* The type of the AI Tabs view as configured in {@link module:ai/aiconfig~AIConfig#container}
|
|
32
|
+
*
|
|
33
|
+
* See {@link #switchType} to learn how to switch between the UI types.
|
|
34
|
+
*/
|
|
35
|
+
type: AIContainerType;
|
|
36
|
+
/**
|
|
37
|
+
* The position of the AI Tabs view.
|
|
38
|
+
*
|
|
39
|
+
* @default 'right'
|
|
40
|
+
*/
|
|
41
|
+
side: AIContainerSide;
|
|
42
|
+
/**
|
|
43
|
+
* @inheritDoc
|
|
44
|
+
*/
|
|
45
|
+
static get pluginName(): "AITabs";
|
|
46
|
+
/**
|
|
47
|
+
* @inheritDoc
|
|
48
|
+
*/
|
|
49
|
+
static get isOfficialPlugin(): true;
|
|
50
|
+
/**
|
|
51
|
+
* @inheritDoc
|
|
52
|
+
*/
|
|
53
|
+
static get isPremiumPlugin(): true;
|
|
54
|
+
/**
|
|
55
|
+
* @inheritDoc
|
|
56
|
+
*/
|
|
57
|
+
constructor(context: Context | Editor);
|
|
58
|
+
/**
|
|
59
|
+
* Switches between the UI type of the tabs.
|
|
60
|
+
*
|
|
61
|
+
* See {@link module:ai/aiconfig~AIConfig#container} to learn more about possible types.
|
|
62
|
+
*/
|
|
63
|
+
switchType(type: AIContainerType): void;
|
|
64
|
+
/**
|
|
65
|
+
* Switches between the side of the AI Tabs view.
|
|
66
|
+
*
|
|
67
|
+
* See {@link module:ai/aiconfig~AIConfig#container} to learn more about possible sides.
|
|
68
|
+
*/
|
|
69
|
+
switchSide(side: AIContainerSide): void;
|
|
70
|
+
/**
|
|
71
|
+
* Toggles the resizing of the tabs view.
|
|
72
|
+
*/
|
|
73
|
+
resize(): void;
|
|
74
|
+
/**
|
|
75
|
+
* @inheritDoc
|
|
76
|
+
*/
|
|
77
|
+
destroy(): void;
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* An event fired when the user wants to toggle the chat resizing.
|
|
81
|
+
*/
|
|
82
|
+
export type AIResizedTabsEvent = {
|
|
83
|
+
name: 'resizedTabs';
|
|
84
|
+
args: [isMaximized: boolean];
|
|
85
|
+
};
|
|
86
|
+
/**
|
|
87
|
+
* An event fired when the user wants to resize the chat.
|
|
88
|
+
*/
|
|
89
|
+
export type AIResizeTabsEvent = {
|
|
90
|
+
name: 'resizeTabs';
|
|
91
|
+
args: [];
|
|
92
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
const _0x47d238=_0x2907;(function(_0x5e3600,_0x26a2af){const _0x1f9b84=_0x2907,_0x43e121=_0x5e3600();while(!![]){try{const _0x44c28=parseInt(_0x1f9b84(0x180))/0x1*(-parseInt(_0x1f9b84(0x182))/0x2)+parseInt(_0x1f9b84(0x18c))/0x3+-parseInt(_0x1f9b84(0x194))/0x4*(parseInt(_0x1f9b84(0x179))/0x5)+-parseInt(_0x1f9b84(0x191))/0x6*(parseInt(_0x1f9b84(0x183))/0x7)+parseInt(_0x1f9b84(0x18d))/0x8+-parseInt(_0x1f9b84(0x16f))/0x9*(-parseInt(_0x1f9b84(0x19b))/0xa)+parseInt(_0x1f9b84(0x18b))/0xb*(parseInt(_0x1f9b84(0x17b))/0xc);if(_0x44c28===_0x26a2af)break;else _0x43e121['push'](_0x43e121['shift']());}catch(_0x27f2ad){_0x43e121['push'](_0x43e121['shift']());}}}(_0x51c6,0x872f0));import{ContextPlugin as _0x5173c6,Editor as _0x5b6bc0}from'ckeditor5/src/core.js';import{CKEditorError as _0x3ba030}from'ckeditor5/src/utils.js';function _0x2907(_0x2eb43c,_0x1807bc){const _0x51c6c5=_0x51c6();return _0x2907=function(_0x290723,_0x533f3a){_0x290723=_0x290723-0x16c;let _0x137d3c=_0x51c6c5[_0x290723];return _0x137d3c;},_0x2907(_0x2eb43c,_0x1807bc);}function _0x51c6(){const _0x139076=['add','focusTracker','ai-tabs-sidebar-container-element-not-found','ai-tabs-unsupported-ui-side','33LaNTbd','2127222mLuPjX','7365128iARQII','fire','custom','body','846hxLdhT','config','pluginName','1232lUFYRt','isOfficialPlugin','isPremiumPlugin','remove','element','render','bind','161390dFVUhB','switchType','includes','appendChild','resize','switchSide','get','27gRVCIj','isMaximized','ai-tabs-unsupported-ui-type','right','ai-tabs-configuration-not-found','container','type','resizedTabs','context','set','16065ZVWWqT','AITabs','2289252DCLerE','showResizeButton','side','overlay','ai.container','287365QbHMHv','destroy','4TzdDqQ','6573RTkiMY','view','sidebar','locale'];_0x51c6=function(){return _0x139076;};return _0x51c6();}import{AITabsMainView as _0x4d12ae,AI_TABS_VIEW_SIDES as _0x1771be,AI_TABS_VIEW_TYPES as _0x43e18e}from'./aitabsmainview.js';export class AITabs extends _0x5173c6{[_0x47d238(0x184)];[_0x47d238(0x174)]=null;[_0x47d238(0x17c)]=!0x0;static get[_0x47d238(0x193)](){const _0xdf7184=_0x47d238;return _0xdf7184(0x17a);}static get[_0x47d238(0x195)](){return!0x0;}static get[_0x47d238(0x196)](){return!0x0;}constructor(_0x3aeda8){const _0x4fcf4c=_0x47d238;super(_0x3aeda8);const _0xae1c1a=this[_0x4fcf4c(0x177)][_0x4fcf4c(0x192)][_0x4fcf4c(0x16e)](_0x4fcf4c(0x17f));if(this[_0x4fcf4c(0x178)](_0x4fcf4c(0x17d),_0x4fcf4c(0x172)),!_0xae1c1a)throw new _0x3ba030(_0x4fcf4c(0x173));if(void 0x0!==_0xae1c1a[_0x4fcf4c(0x17c)]&&(this[_0x4fcf4c(0x17c)]=_0xae1c1a[_0x4fcf4c(0x17c)]),_0x4fcf4c(0x185)!==_0xae1c1a[_0x4fcf4c(0x175)]&&_0x4fcf4c(0x17e)!==_0xae1c1a[_0x4fcf4c(0x175)]||_0xae1c1a[_0x4fcf4c(0x17d)]&&(this[_0x4fcf4c(0x17d)]=_0xae1c1a[_0x4fcf4c(0x17d)]),_0x4fcf4c(0x185)===_0xae1c1a[_0x4fcf4c(0x175)]){if(this[_0x4fcf4c(0x174)]=_0xae1c1a[_0x4fcf4c(0x198)],this[_0x4fcf4c(0x178)](_0x4fcf4c(0x175),_0x4fcf4c(0x185)),!this[_0x4fcf4c(0x174)])throw new _0x3ba030(_0x4fcf4c(0x189));}else _0x4fcf4c(0x17e)===_0xae1c1a[_0x4fcf4c(0x175)]?(this[_0x4fcf4c(0x174)]=document[_0x4fcf4c(0x190)],this[_0x4fcf4c(0x178)](_0x4fcf4c(0x175),_0x4fcf4c(0x17e))):(this[_0x4fcf4c(0x174)]=null,this[_0x4fcf4c(0x178)](_0x4fcf4c(0x175),_0x4fcf4c(0x18f)));this[_0x4fcf4c(0x184)]=new _0x4d12ae(this[_0x4fcf4c(0x177)][_0x4fcf4c(0x186)],{'side':this[_0x4fcf4c(0x17d)],'type':this[_0x4fcf4c(0x175)]}),this[_0x4fcf4c(0x184)][_0x4fcf4c(0x199)](),this[_0x4fcf4c(0x184)][_0x4fcf4c(0x19a)](_0x4fcf4c(0x17d))['to'](this,_0x4fcf4c(0x17d)),this[_0x4fcf4c(0x184)][_0x4fcf4c(0x19a)](_0x4fcf4c(0x175))['to'](this,_0x4fcf4c(0x175)),this[_0x4fcf4c(0x174)]&&this[_0x4fcf4c(0x174)][_0x4fcf4c(0x19e)](this[_0x4fcf4c(0x184)][_0x4fcf4c(0x198)]),this[_0x4fcf4c(0x177)]instanceof _0x5b6bc0&&this[_0x4fcf4c(0x177)]['ui'][_0x4fcf4c(0x188)][_0x4fcf4c(0x187)](this[_0x4fcf4c(0x184)][_0x4fcf4c(0x198)]);}[_0x47d238(0x19c)](_0x4fbb50){const _0x409b7e=_0x47d238;if(_0x4fbb50&&this[_0x409b7e(0x175)]!==_0x4fbb50){if(!_0x43e18e[_0x409b7e(0x19d)](_0x4fbb50))throw new _0x3ba030(_0x409b7e(0x171));this[_0x409b7e(0x175)]=_0x4fbb50;}}[_0x47d238(0x16d)](_0x5ef822){const _0x5a8c=_0x47d238;if(_0x5ef822&&this[_0x5a8c(0x17d)]!==_0x5ef822){if(!_0x1771be[_0x5a8c(0x19d)](_0x5ef822))throw new _0x3ba030(_0x5a8c(0x18a));this[_0x5a8c(0x17d)]=_0x5ef822;}}[_0x47d238(0x16c)](){const _0x18c869=_0x47d238;this[_0x18c869(0x184)][_0x18c869(0x170)]=!this[_0x18c869(0x184)][_0x18c869(0x170)],this[_0x18c869(0x18e)](_0x18c869(0x176),this[_0x18c869(0x184)][_0x18c869(0x170)]);}[_0x47d238(0x181)](){const _0x4121b4=_0x47d238;super[_0x4121b4(0x181)](),this[_0x4121b4(0x184)][_0x4121b4(0x181)](),this[_0x4121b4(0x184)][_0x4121b4(0x198)]&&this[_0x4121b4(0x184)][_0x4121b4(0x198)][_0x4121b4(0x197)]();}}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module ai/aitabs/aitabsmainview
|
|
7
|
+
* @publicApi
|
|
8
|
+
*/
|
|
9
|
+
import type { Locale } from 'ckeditor5/src/utils.js';
|
|
10
|
+
import { AITabsView, type AITabsViewOptions } from './tabs/aitabsview.js';
|
|
11
|
+
import '../../theme/aitabs/aitabsview.css';
|
|
12
|
+
/**
|
|
13
|
+
* The supported types of the `AITabsView`.
|
|
14
|
+
*/
|
|
15
|
+
export declare const AI_TABS_VIEW_TYPES: readonly ["overlay", "sidebar", "custom"];
|
|
16
|
+
/**
|
|
17
|
+
* The supported sides of the `AITabsView`.
|
|
18
|
+
*/
|
|
19
|
+
export declare const AI_TABS_VIEW_SIDES: readonly ["left", "right"];
|
|
20
|
+
/**
|
|
21
|
+
* The view that hosts AI-powered features in the editor.
|
|
22
|
+
*/
|
|
23
|
+
export declare class AITabsMainView extends AITabsView {
|
|
24
|
+
/**
|
|
25
|
+
* The type of the view.
|
|
26
|
+
*/
|
|
27
|
+
type: AITabsMainViewOptions['type'];
|
|
28
|
+
/**
|
|
29
|
+
* @inheritDoc
|
|
30
|
+
*/
|
|
31
|
+
constructor(locale: Locale, options?: AITabsMainViewOptions);
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* The options for the `AITabsView` class constructor.
|
|
35
|
+
*/
|
|
36
|
+
export type AITabsMainViewOptions = AITabsViewOptions & {
|
|
37
|
+
/**
|
|
38
|
+
* The type of the AI Tabs view. The possible values are:
|
|
39
|
+
*
|
|
40
|
+
* * `'overlay'` - the tabs are displayed as an overlay on top of the web page,
|
|
41
|
+
* * `'sidebar'` - the tabs are displayed in a user-defined container,
|
|
42
|
+
* * `'custom'` - the tabs are displayed as a custom UI, the integrator is responsible for the layout.
|
|
43
|
+
*/
|
|
44
|
+
type?: (typeof AI_TABS_VIEW_TYPES)[number];
|
|
45
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
const _0x18fd08=_0x4bb6;(function(_0x168a19,_0x2b6fa4){const _0x5140b5=_0x4bb6,_0x364e57=_0x168a19();while(!![]){try{const _0x3370c8=-parseInt(_0x5140b5(0x18f))/0x1+-parseInt(_0x5140b5(0x196))/0x2*(parseInt(_0x5140b5(0x191))/0x3)+-parseInt(_0x5140b5(0x194))/0x4*(parseInt(_0x5140b5(0x192))/0x5)+-parseInt(_0x5140b5(0x1a2))/0x6+-parseInt(_0x5140b5(0x190))/0x7+-parseInt(_0x5140b5(0x1a7))/0x8*(-parseInt(_0x5140b5(0x195))/0x9)+parseInt(_0x5140b5(0x1a4))/0xa;if(_0x3370c8===_0x2b6fa4)break;else _0x364e57['push'](_0x364e57['shift']());}catch(_0x2c9dbb){_0x364e57['push'](_0x364e57['shift']());}}}(_0x1b8e,0x44e8b));function _0x4bb6(_0x3049ab,_0x204e0b){const _0x1b8e83=_0x1b8e();return _0x4bb6=function(_0x4bb6b3,_0x4c2780){_0x4bb6b3=_0x4bb6b3-0x18f;let _0x25d73d=_0x1b8e83[_0x4bb6b3];return _0x25d73d;},_0x4bb6(_0x3049ab,_0x204e0b);}import{AITabsView as _0x14a10c}from'./tabs/aitabsview.js';import'../../theme/aitabs/aitabsview.css';function _0x1b8e(){const _0x46bb38=['add','1981512DzetyL','right','19544560gvUAHr','buttonViews','custom','1717864LcbCOe','set','517675EjRNKK','2426326OCyJtd','1121997pKPxJz','10IOUEeU','side','636788JcphkE','9Xnmgdd','2cArbmF','withText','ck-ai-tabs','sidebar','overlay','type','left','ck-ai-tabs__overlay','bindTemplate','extendTemplate','ck-ai-tabs__sidebar'];_0x1b8e=function(){return _0x46bb38;};return _0x1b8e();}export const AI_TABS_VIEW_TYPES=[_0x18fd08(0x19a),_0x18fd08(0x199),_0x18fd08(0x1a6)];export const AI_TABS_VIEW_SIDES=[_0x18fd08(0x19c),_0x18fd08(0x1a3)];export class AITabsMainView extends _0x14a10c{constructor(_0x2eb64f,_0xa09fd1={}){const _0x296951=_0x18fd08;super(_0x2eb64f,_0xa09fd1),this[_0x296951(0x1a8)](_0x296951(0x19b),_0xa09fd1[_0x296951(0x19b)]||_0x296951(0x199)),this[_0x296951(0x1a8)](_0x296951(0x193),_0xa09fd1[_0x296951(0x193)]||_0x296951(0x1a3));const _0x538b2b=this[_0x296951(0x19e)];this[_0x296951(0x19f)]({'attributes':{'class':[_0x296951(0x198),_0x538b2b['if'](_0x296951(0x19b),_0x296951(0x19d),_0x3ec203=>_0x296951(0x19a)===_0x3ec203),_0x538b2b['if'](_0x296951(0x19b),_0x296951(0x1a0),_0x3c11fb=>_0x296951(0x199)===_0x3c11fb)]}}),this[_0x296951(0x1a5)]['on'](_0x296951(0x1a1),(_0x367fa1,_0x5cf0b4)=>{const _0x586a22=_0x296951;_0x5cf0b4[_0x586a22(0x1a8)](_0x586a22(0x197),!0x1);});}}
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module ai/aitabs/tabs/aitabsview
|
|
7
|
+
* @publicApi
|
|
8
|
+
*/
|
|
9
|
+
import { View, type ViewCollection } from 'ckeditor5/src/ui.js';
|
|
10
|
+
import { type ArrayOrItem, type Locale } from 'ckeditor5/src/utils.js';
|
|
11
|
+
import { TabButtonView } from './tabbuttonview.js';
|
|
12
|
+
import { TabPanelView } from './tabpanelview.js';
|
|
13
|
+
import '../../../theme/aitabs/tabs/tabsview.css';
|
|
14
|
+
export declare const AI_TABS_POSITIONS: readonly ["top", "left", "right"];
|
|
15
|
+
/**
|
|
16
|
+
* A view component that manages the tabs and their panels.
|
|
17
|
+
*/
|
|
18
|
+
export declare class AITabsView extends View {
|
|
19
|
+
/**
|
|
20
|
+
* The collection of button views.
|
|
21
|
+
*/
|
|
22
|
+
buttonViews: ViewCollection<TabButtonView>;
|
|
23
|
+
/**
|
|
24
|
+
* The collection of panel views.
|
|
25
|
+
*/
|
|
26
|
+
panelViews: ViewCollection<TabPanelView>;
|
|
27
|
+
/**
|
|
28
|
+
* An additional CSS class added to the {@link #element}.
|
|
29
|
+
*
|
|
30
|
+
* @observable
|
|
31
|
+
*/
|
|
32
|
+
class?: string;
|
|
33
|
+
/**
|
|
34
|
+
* The ID of the active tab.
|
|
35
|
+
*
|
|
36
|
+
* See {@link #getTabIds}.
|
|
37
|
+
*
|
|
38
|
+
* @observable
|
|
39
|
+
*/
|
|
40
|
+
activeTab: string | null;
|
|
41
|
+
/**
|
|
42
|
+
* The position of the tabs.
|
|
43
|
+
*
|
|
44
|
+
* @observable
|
|
45
|
+
*/
|
|
46
|
+
side: typeof AI_TABS_POSITIONS[number];
|
|
47
|
+
/**
|
|
48
|
+
* Indicates whether the tabs view is maximized.
|
|
49
|
+
*
|
|
50
|
+
* @observable
|
|
51
|
+
*/
|
|
52
|
+
isMaximized: boolean;
|
|
53
|
+
/**
|
|
54
|
+
* Creates a new AITabsView instance.
|
|
55
|
+
*/
|
|
56
|
+
constructor(locale: Locale, options?: AITabsViewOptions);
|
|
57
|
+
/**
|
|
58
|
+
* Returns the IDs of all tabs as defined in the {@link #addTab} method.
|
|
59
|
+
*
|
|
60
|
+
* Also see: {@link #getTab}.
|
|
61
|
+
*
|
|
62
|
+
* @returns {Array<string>} The IDs of all tabs.
|
|
63
|
+
*/
|
|
64
|
+
getTabIds(): Array<string>;
|
|
65
|
+
/**
|
|
66
|
+
* Returns the pair of tab button and panel of a specific id.
|
|
67
|
+
*
|
|
68
|
+
* Note: Use {@link #getTabIds} to learn how to get the IDs of all tabs.
|
|
69
|
+
*/
|
|
70
|
+
getTab(tabId: string): {
|
|
71
|
+
button: TabButtonView;
|
|
72
|
+
panel: TabPanelView;
|
|
73
|
+
} | null;
|
|
74
|
+
/**
|
|
75
|
+
* Adds a new tab to the tabs view.
|
|
76
|
+
*
|
|
77
|
+
* Note: Use {@link #activateTab} to activate the tab after adding it.
|
|
78
|
+
*
|
|
79
|
+
* Note: You can hide or show the tab after adding it using {@link #hideTab} and {@link #showTab}.
|
|
80
|
+
*/
|
|
81
|
+
addTab(config: AITabsAddTabOptions): {
|
|
82
|
+
button: TabButtonView;
|
|
83
|
+
panel: TabPanelView;
|
|
84
|
+
};
|
|
85
|
+
/**
|
|
86
|
+
* Activates a tab by its ID.
|
|
87
|
+
*
|
|
88
|
+
* Note: Use {@link #getTabIds} to learn how to get the IDs of all tabs.
|
|
89
|
+
*
|
|
90
|
+
* Note: If `null` is passed, the current active tab will be deactivated and its panel will be hidden.
|
|
91
|
+
*/
|
|
92
|
+
activateTab(id: string | null): void;
|
|
93
|
+
/**
|
|
94
|
+
* Shows the tab of a specific id.
|
|
95
|
+
*
|
|
96
|
+
* Note: Use {@link #getTabIds} to learn how to get the IDs of all tabs.
|
|
97
|
+
*/
|
|
98
|
+
showTab(id: string): void;
|
|
99
|
+
/**
|
|
100
|
+
* Hides the tab of a specific id.
|
|
101
|
+
*
|
|
102
|
+
* Note: Use {@link #getTabIds} to learn how to get the IDs of all tabs.
|
|
103
|
+
*/
|
|
104
|
+
hideTab(id: string): void;
|
|
105
|
+
}
|
|
106
|
+
/**
|
|
107
|
+
* The options for the `AITabsView#addTab()` method.
|
|
108
|
+
*/
|
|
109
|
+
export type AITabsAddTabOptions = {
|
|
110
|
+
/**
|
|
111
|
+
* The unique ID of the tab.
|
|
112
|
+
*/
|
|
113
|
+
id: string;
|
|
114
|
+
/**
|
|
115
|
+
* The label of the tab button.
|
|
116
|
+
*/
|
|
117
|
+
buttonLabel: string;
|
|
118
|
+
/**
|
|
119
|
+
* The icon of the tab button. See {@link module:ui/button/buttonview~ButtonView#icon} to learn more.
|
|
120
|
+
*/
|
|
121
|
+
buttonIcon?: string;
|
|
122
|
+
/**
|
|
123
|
+
* The order of the tab. If not provided, the tab will be added to the end of the tabs list.
|
|
124
|
+
*/
|
|
125
|
+
order?: number;
|
|
126
|
+
/**
|
|
127
|
+
* The content of the tab. If not provided, the tab will be empty.
|
|
128
|
+
*/
|
|
129
|
+
content?: View;
|
|
130
|
+
};
|
|
131
|
+
/**
|
|
132
|
+
* The options for the `AITabsView` class constructor.
|
|
133
|
+
*/
|
|
134
|
+
export type AITabsViewOptions = {
|
|
135
|
+
/**
|
|
136
|
+
* Additional children of the tabs view.
|
|
137
|
+
*/
|
|
138
|
+
children?: Array<View>;
|
|
139
|
+
/**
|
|
140
|
+
* The position of the tabs.
|
|
141
|
+
*/
|
|
142
|
+
side?: typeof AI_TABS_POSITIONS[number];
|
|
143
|
+
/**
|
|
144
|
+
* An additional CSS class added to the {@link module:ai/aitabs/tabs/aitabsview~AITabsView#element}.
|
|
145
|
+
*/
|
|
146
|
+
class?: ArrayOrItem<string>;
|
|
147
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
const _0x1c17f0=_0x55df;(function(_0xf7afb7,_0x9fcd7){const _0x590d79=_0x55df,_0x39f6f6=_0xf7afb7();while(!![]){try{const _0x85d948=-parseInt(_0x590d79(0x1e0))/0x1+parseInt(_0x590d79(0x20b))/0x2*(-parseInt(_0x590d79(0x1f6))/0x3)+parseInt(_0x590d79(0x1d6))/0x4+-parseInt(_0x590d79(0x1dc))/0x5*(parseInt(_0x590d79(0x1d7))/0x6)+-parseInt(_0x590d79(0x1e6))/0x7+-parseInt(_0x590d79(0x1de))/0x8+parseInt(_0x590d79(0x1e2))/0x9;if(_0x85d948===_0x9fcd7)break;else _0x39f6f6['push'](_0x39f6f6['shift']());}catch(_0x8a27a7){_0x39f6f6['push'](_0x39f6f6['shift']());}}}(_0x3fea,0x8f734));import{View as _0x1c739c}from'ckeditor5/src/ui.js';import{toArray as _0x129fed,CKEditorError as _0x13df99}from'ckeditor5/src/utils.js';function _0x3fea(){const _0x539635=['content','keys','set','buttonLabel','10HeFUaq','locale','8525416yHxbcF','get','964316QceDvQ','render','37948842dybaaq','ck-tabs__panels-container_','addTab:','ui-tabsview-tab-not-found','5714037JegbwV','fire','_getButton','activeTab','ck-tabs__buttons-container_','ck-tabs__buttons-container','showTab','isVisible','bind','_hidePanel','button','isOn','side','_getPanel','buttonIcon','buttonViews','4974WOXara','label','left','execute','ck-reset','isMaximized','ck-tabs_','ck-tabs__panels-container','_tabs','panel','_setupButton','_showPanel','find','icon','getIndex','ck-tabs','show:','activateTab','activateTab:','panelViews','top','530EtrNIz','children','addTab','getTabIds','class','_showButton','add','hide:','hideTab','getTab','bindTemplate','length','right','ck-ai-tabs_maximized','hide','setTemplate','div','reduce','order','_hideButton','show','createCollection','177528OwOhFx','1163082eRNVWq'];_0x3fea=function(){return _0x539635;};return _0x3fea();}import{TabButtonView as _0x1d6cfe}from'./tabbuttonview.js';import{TabPanelView as _0x79ec9c}from'./tabpanelview.js';import'../../../theme/aitabs/tabs/tabsview.css';function _0x55df(_0xf04e5,_0x22fa37){const _0x3fea70=_0x3fea();return _0x55df=function(_0x55dfee,_0x3b4216){_0x55dfee=_0x55dfee-0x1c7;let _0x344dd4=_0x3fea70[_0x55dfee];return _0x344dd4;},_0x55df(_0xf04e5,_0x22fa37);}export const AI_TABS_POSITIONS=[_0x1c17f0(0x20a),_0x1c17f0(0x1f8),_0x1c17f0(0x1cc)];export class AITabsView extends _0x1c739c{[_0x1c17f0(0x1f5)]=this[_0x1c17f0(0x1d5)]();[_0x1c17f0(0x209)]=this[_0x1c17f0(0x1d5)]();[_0x1c17f0(0x1fe)]=new Map();constructor(_0x4303be,_0xf2332d={}){const _0x553dea=_0x1c17f0;super(_0x4303be),this[_0x553dea(0x1da)](_0x553dea(0x20f),void 0x0),this[_0x553dea(0x1da)](_0x553dea(0x1e9),null),this[_0x553dea(0x1da)](_0x553dea(0x1f2),_0xf2332d[_0x553dea(0x1f2)]||_0x553dea(0x20a)),this[_0x553dea(0x1da)](_0x553dea(0x1fb),!0x1);const _0x2aa861=this[_0x553dea(0x1ca)];this[_0x553dea(0x1cf)]({'tag':_0x553dea(0x1d0),'attributes':{'class':['ck',_0x553dea(0x1fa),_0x553dea(0x205),..._0x129fed(_0xf2332d[_0x553dea(0x20f)]||[]),_0x2aa861['to'](_0x553dea(0x1f2),_0x2fd2ba=>_0x553dea(0x1fc)+_0x2fd2ba),_0x2aa861['to'](_0x553dea(0x20f)),_0x2aa861['to'](_0x553dea(0x1fb),_0x14917d=>_0x14917d?_0x553dea(0x1cd):'')],'tabindex':'0'},'children':[{'tag':_0x553dea(0x1d0),'attributes':{'class':['ck',_0x553dea(0x1eb),_0x2aa861['to'](_0x553dea(0x1f2),_0xc8034a=>_0x553dea(0x1ea)+_0xc8034a)]},'children':this[_0x553dea(0x1f5)]},{'tag':_0x553dea(0x1d0),'attributes':{'class':['ck',_0x553dea(0x1fd),_0x2aa861['to'](_0x553dea(0x1f2),_0x3f15b2=>_0x553dea(0x1e3)+_0x3f15b2)]},'children':this[_0x553dea(0x209)]},..._0x129fed(_0xf2332d[_0x553dea(0x20c)]||[])]});}[_0x1c17f0(0x20e)](){const _0x215d0c=_0x1c17f0;return[...this[_0x215d0c(0x1fe)][_0x215d0c(0x1d9)]()];}[_0x1c17f0(0x1c9)](_0x43286a){const _0xaa4e7d=_0x1c17f0,_0x4f6ce4=this[_0xaa4e7d(0x1fe)][_0xaa4e7d(0x1df)](_0x43286a);return _0x4f6ce4||null;}[_0x1c17f0(0x20d)](_0x47f7c6){const _0x216966=_0x1c17f0,_0x451d95=this[_0x216966(0x200)]({'id':_0x47f7c6['id'],'label':_0x47f7c6[_0x216966(0x1db)],'icon':_0x47f7c6[_0x216966(0x1f4)],'order':_0x47f7c6[_0x216966(0x1d2)]}),_0x402577=new _0x79ec9c(this[_0x216966(0x1dd)]);return _0x402577[_0x216966(0x1e1)](),_0x47f7c6[_0x216966(0x1d8)]&&_0x402577[_0x216966(0x20c)][_0x216966(0x211)](_0x47f7c6[_0x216966(0x1d8)]),this[_0x216966(0x209)][_0x216966(0x211)](_0x402577),this[_0x216966(0x1fe)][_0x216966(0x1da)](_0x47f7c6['id'],{'button':_0x451d95,'panel':_0x402577,'order':void 0x0!==_0x47f7c6[_0x216966(0x1d2)]?_0x47f7c6[_0x216966(0x1d2)]:null}),this[_0x216966(0x1e7)](_0x216966(0x1e4)+_0x47f7c6['id'],{'id':_0x47f7c6['id'],'button':_0x451d95,'panel':_0x402577}),null===this[_0x216966(0x1e9)]?this[_0x216966(0x207)](_0x47f7c6['id']):this[_0x216966(0x1ef)](_0x47f7c6['id']),{'button':_0x451d95,'panel':_0x402577};}[_0x1c17f0(0x207)](_0x1db37d){const _0x224353=_0x1c17f0;if(null!==_0x1db37d&&!this[_0x224353(0x1c9)](_0x1db37d))throw new _0x13df99(_0x224353(0x1e5),{'tabs':this,'tabId':_0x1db37d});this[_0x224353(0x1e9)]!==_0x1db37d&&(this[_0x224353(0x1e9)]&&this[_0x224353(0x1ef)](this[_0x224353(0x1e9)]),this[_0x224353(0x1e9)]=_0x1db37d,_0x1db37d&&this[_0x224353(0x201)](_0x1db37d),this[_0x224353(0x1e7)](_0x224353(0x208)+_0x1db37d,_0x1db37d));}[_0x1c17f0(0x1ec)](_0x456c63){const _0x1686e5=_0x1c17f0;if(!this[_0x1686e5(0x1c9)](_0x456c63))throw new _0x13df99(_0x1686e5(0x1e5),{'tabs':this,'tabId':_0x456c63});this[_0x1686e5(0x201)](_0x456c63),this[_0x1686e5(0x210)](_0x456c63),this[_0x1686e5(0x1e7)](_0x1686e5(0x206)+_0x456c63,_0x456c63);}[_0x1c17f0(0x1c8)](_0x49900a){const _0x54b865=_0x1c17f0;if(!this[_0x54b865(0x1c9)](_0x49900a))throw new _0x13df99(_0x54b865(0x1e5),{'tabs':this,'tabId':_0x49900a});const _0x5f2a5b=this[_0x54b865(0x1e9)];this[_0x54b865(0x1ef)](_0x49900a),this[_0x54b865(0x1d3)](_0x49900a);const _0x190eb3=this[_0x54b865(0x20e)]();_0x5f2a5b===_0x49900a&&_0x190eb3[_0x54b865(0x1cb)]>0x1&&this[_0x54b865(0x207)](_0x190eb3[_0x54b865(0x202)](_0x453fe6=>_0x453fe6!==_0x49900a)),this[_0x54b865(0x1e7)](_0x54b865(0x1c7)+_0x49900a,_0x49900a);}[_0x1c17f0(0x1f3)](_0x563bb5){const _0xdb37b=_0x1c17f0,_0x58cb6=this[_0xdb37b(0x1fe)][_0xdb37b(0x1df)](_0x563bb5);return _0x58cb6?_0x58cb6[_0xdb37b(0x1ff)]:null;}[_0x1c17f0(0x201)](_0xd1d0f1){const _0x4fb974=_0x1c17f0;null!==this[_0x4fb974(0x1e9)]&&this[_0x4fb974(0x1e9)]!==_0xd1d0f1||this[_0x4fb974(0x1f3)](_0xd1d0f1)[_0x4fb974(0x1d4)]();}[_0x1c17f0(0x1ef)](_0x49b17b){const _0x33d3c2=_0x1c17f0,_0x8533b4=this[_0x33d3c2(0x1f3)](_0x49b17b);_0x8533b4[_0x33d3c2(0x1ed)]&&(this[_0x33d3c2(0x1e9)]===_0x49b17b&&(this[_0x33d3c2(0x1e9)]=null),_0x8533b4[_0x33d3c2(0x1ce)]());}[_0x1c17f0(0x1e8)](_0x23c4c5){const _0x11e936=_0x1c17f0,_0x4af771=this[_0x11e936(0x1fe)][_0x11e936(0x1df)](_0x23c4c5);return _0x4af771?_0x4af771[_0x11e936(0x1f0)]:null;}[_0x1c17f0(0x210)](_0x569494){const _0x42187f=_0x1c17f0;this[_0x42187f(0x1e8)](_0x569494)[_0x42187f(0x1d4)]();}[_0x1c17f0(0x1d3)](_0x6b3de8){const _0x1abbf6=_0x1c17f0;this[_0x1abbf6(0x1e8)](_0x6b3de8)[_0x1abbf6(0x1ce)]();}[_0x1c17f0(0x200)](_0x296084){const _0x1fd863=_0x1c17f0,_0x43c398=new _0x1d6cfe(this[_0x1fd863(0x1dd)],{'side':this[_0x1fd863(0x1f2)]}),_0x145b04=this[_0x1fd863(0x1f5)];if(_0x43c398[_0x1fd863(0x1da)]({'label':_0x296084[_0x1fd863(0x1f7)],'icon':_0x296084[_0x1fd863(0x203)],'tooltip':!0x0,'withText':!0x0}),_0x43c398[_0x1fd863(0x1ee)](_0x1fd863(0x1f1))['to'](this,_0x1fd863(0x1e9),_0x2bb920=>_0x2bb920===_0x296084['id']),_0x43c398[_0x1fd863(0x1ee)](_0x1fd863(0x1f2))['to'](this,_0x1fd863(0x1f2)),_0x296084[_0x1fd863(0x1d2)]){const _0x22adf8=[...this[_0x1fd863(0x1fe)]][_0x1fd863(0x1d1)]((_0x2c386e,_0x485cb5)=>{const _0x5c3cd7=_0x1fd863,_0xe4accb=_0x485cb5[0x0],{order:_0x34e03d}=_0x485cb5[0x1];return!_0x34e03d||_0x34e03d>_0x296084[_0x5c3cd7(0x1d2)]?_0x2c386e:_0x34e03d>=_0x2c386e[_0x5c3cd7(0x1d2)]?{'id':_0xe4accb,'order':_0x34e03d}:_0x2c386e;},{'id':'','order':0x0}),_0x4a68ea=_0x145b04[_0x1fd863(0x204)](this[_0x1fd863(0x1e8)](_0x22adf8['id']));_0x145b04[_0x1fd863(0x211)](_0x43c398,_0x4a68ea+0x1);}else _0x145b04[_0x1fd863(0x211)](_0x43c398);return _0x43c398['on'](_0x1fd863(0x1f9),()=>{const _0x39fa7b=_0x1fd863;this[_0x39fa7b(0x207)](_0x296084['id']);}),_0x43c398;}}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module ai/aitabs/tabs/tabbuttonview
|
|
7
|
+
*/
|
|
8
|
+
import { ButtonView } from 'ckeditor5/src/ui.js';
|
|
9
|
+
import { type ArrayOrItem, type Locale } from 'ckeditor5/src/utils.js';
|
|
10
|
+
import type { AI_TABS_POSITIONS } from './aitabsview.js';
|
|
11
|
+
import '../../../theme/aitabs/tabs/tabbuttonview.css';
|
|
12
|
+
/**
|
|
13
|
+
* A button that toggles the visibility of a tab in the tabs view component.
|
|
14
|
+
*/
|
|
15
|
+
export declare class TabButtonView extends ButtonView {
|
|
16
|
+
/**
|
|
17
|
+
* The position of the tab button.
|
|
18
|
+
*
|
|
19
|
+
* @observable
|
|
20
|
+
*/
|
|
21
|
+
side: typeof AI_TABS_POSITIONS[number];
|
|
22
|
+
/**
|
|
23
|
+
* @inheritDoc
|
|
24
|
+
*/
|
|
25
|
+
constructor(locale?: Locale, options?: TabButtonViewOptions);
|
|
26
|
+
/**
|
|
27
|
+
* Shows the tab button.
|
|
28
|
+
*/
|
|
29
|
+
show(): void;
|
|
30
|
+
/**
|
|
31
|
+
* Hides the tab button.
|
|
32
|
+
*/
|
|
33
|
+
hide(): void;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* The options for the `TabButtonView` class.
|
|
37
|
+
*/
|
|
38
|
+
export type TabButtonViewOptions = {
|
|
39
|
+
/**
|
|
40
|
+
* An additional CSS class added to the {@link #element}.
|
|
41
|
+
*/
|
|
42
|
+
class?: ArrayOrItem<string>;
|
|
43
|
+
/**
|
|
44
|
+
* The position of the tab button.
|
|
45
|
+
*/
|
|
46
|
+
side?: typeof AI_TABS_POSITIONS[number];
|
|
47
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
const _0x14e5d4=_0x2069;(function(_0x600675,_0x391092){const _0x2dbe8a=_0x2069,_0x35e159=_0x600675();while(!![]){try{const _0x6c7033=parseInt(_0x2dbe8a(0x130))/0x1+parseInt(_0x2dbe8a(0x128))/0x2*(parseInt(_0x2dbe8a(0x134))/0x3)+-parseInt(_0x2dbe8a(0x138))/0x4+-parseInt(_0x2dbe8a(0x135))/0x5*(parseInt(_0x2dbe8a(0x12b))/0x6)+parseInt(_0x2dbe8a(0x12a))/0x7*(-parseInt(_0x2dbe8a(0x126))/0x8)+parseInt(_0x2dbe8a(0x12f))/0x9+parseInt(_0x2dbe8a(0x132))/0xa*(parseInt(_0x2dbe8a(0x139))/0xb);if(_0x6c7033===_0x391092)break;else _0x35e159['push'](_0x35e159['shift']());}catch(_0x342b83){_0x35e159['push'](_0x35e159['shift']());}}}(_0x5240,0x2420c));import{ButtonView as _0x302fe3}from'ckeditor5/src/ui.js';function _0x2069(_0x20422b,_0x1a3ede){const _0x52409b=_0x5240();return _0x2069=function(_0x206962,_0x4bcb63){_0x206962=_0x206962-0x125;let _0x29a3b9=_0x52409b[_0x206962];return _0x29a3b9;},_0x2069(_0x20422b,_0x1a3ede);}import{toArray as _0x4ac666}from'ckeditor5/src/utils.js';import'../../../theme/aitabs/tabs/tabbuttonview.css';export class TabButtonView extends _0x302fe3{constructor(_0x43c4a7,_0x1c7a2c={}){const _0x4eaf1f=_0x2069;super(_0x43c4a7),this[_0x4eaf1f(0x12e)]=!0x0,this[_0x4eaf1f(0x12c)](_0x4eaf1f(0x13a),_0x1c7a2c[_0x4eaf1f(0x13a)]||_0x4eaf1f(0x13b));const _0x5f2951=this[_0x4eaf1f(0x12d)];this[_0x4eaf1f(0x131)]({'attributes':{'class':[_0x4eaf1f(0x125),..._0x4ac666(_0x1c7a2c[_0x4eaf1f(0x133)]||[]),_0x5f2951['to'](_0x4eaf1f(0x13a),_0x12f140=>_0x4eaf1f(0x137)+_0x12f140),_0x5f2951['to'](_0x4eaf1f(0x133))]}});}[_0x14e5d4(0x136)](){const _0xd400=_0x14e5d4;this[_0xd400(0x12c)](_0xd400(0x127),!0x0);}[_0x14e5d4(0x129)](){const _0x26b569=_0x14e5d4;this[_0x26b569(0x12c)](_0x26b569(0x127),!0x1);}}function _0x5240(){const _0xb59ea9=['44601xYvHAQ','992295BIaGwp','show','ck-tab-button_','1117416oANwmV','4037uaCUbe','side','top','ck-tab-button','1240gaIjfq','isVisible','10gflPVd','hide','11473DnrJAt','6XLveAM','set','bindTemplate','isToggleable','943407CxEZfD','209634pgafoL','extendTemplate','13380bFmBOT','class'];_0x5240=function(){return _0xb59ea9;};return _0x5240();}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module ai/aitabs/tabs/tabpanelview
|
|
7
|
+
*/
|
|
8
|
+
import { View, type ViewCollection } from 'ckeditor5/src/ui.js';
|
|
9
|
+
import { type ArrayOrItem, type Locale } from 'ckeditor5/src/utils.js';
|
|
10
|
+
/**
|
|
11
|
+
* A panel that contains the content of a tab in the tabs view component.
|
|
12
|
+
*/
|
|
13
|
+
export declare class TabPanelView extends View {
|
|
14
|
+
/**
|
|
15
|
+
* An additional CSS class added to the {@link #element}.
|
|
16
|
+
*
|
|
17
|
+
* @observable
|
|
18
|
+
*/
|
|
19
|
+
class?: string;
|
|
20
|
+
/**
|
|
21
|
+
* A collection of child views.
|
|
22
|
+
*/
|
|
23
|
+
children: ViewCollection;
|
|
24
|
+
/**
|
|
25
|
+
* Whether the panel is visible.
|
|
26
|
+
*
|
|
27
|
+
* @observable
|
|
28
|
+
*/
|
|
29
|
+
isVisible: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* @inheritDoc
|
|
32
|
+
*/
|
|
33
|
+
constructor(locale?: Locale, options?: {
|
|
34
|
+
class?: ArrayOrItem<string>;
|
|
35
|
+
});
|
|
36
|
+
/**
|
|
37
|
+
* Shows the panel.
|
|
38
|
+
*/
|
|
39
|
+
show(): void;
|
|
40
|
+
/**
|
|
41
|
+
* Hides the panel.
|
|
42
|
+
*/
|
|
43
|
+
hide(): void;
|
|
44
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
const _0x57e024=_0x1e0e;(function(_0x421312,_0x2bb280){const _0x7b06dd=_0x1e0e,_0x226619=_0x421312();while(!![]){try{const _0x5c8f3b=-parseInt(_0x7b06dd(0x18e))/0x1+parseInt(_0x7b06dd(0x186))/0x2*(-parseInt(_0x7b06dd(0x18d))/0x3)+-parseInt(_0x7b06dd(0x189))/0x4+-parseInt(_0x7b06dd(0x182))/0x5+parseInt(_0x7b06dd(0x188))/0x6*(parseInt(_0x7b06dd(0x185))/0x7)+parseInt(_0x7b06dd(0x17e))/0x8+parseInt(_0x7b06dd(0x184))/0x9;if(_0x5c8f3b===_0x2bb280)break;else _0x226619['push'](_0x226619['shift']());}catch(_0x5be9c4){_0x226619['push'](_0x226619['shift']());}}}(_0x3d87,0x30980));import{View as _0x3ddeb9}from'ckeditor5/src/ui.js';function _0x1e0e(_0x268439,_0x52d6f1){const _0x3d87ec=_0x3d87();return _0x1e0e=function(_0x1e0e62,_0x2fec93){_0x1e0e62=_0x1e0e62-0x17d;let _0x5a1538=_0x3d87ec[_0x1e0e62];return _0x5a1538;},_0x1e0e(_0x268439,_0x52d6f1);}import{toArray as _0x112114}from'ckeditor5/src/utils.js';function _0x3d87(){const _0x3e900a=['778768xGFJuo','set','hide','bindTemplate','3dvVFEN','304200bzVCnL','setTemplate','show','isVisible','div','233144FqMPbl','children','createCollection','ck-hidden','1498300QRQgIk','class','9321498EzBVWM','131250uGOXPz','509546CGoJNf','ck-tab-panel','60fzWlim'];_0x3d87=function(){return _0x3e900a;};return _0x3d87();}export class TabPanelView extends _0x3ddeb9{[_0x57e024(0x17f)];constructor(_0x4edc94,_0x4570c8={}){const _0x523986=_0x57e024;super(_0x4edc94);const _0x4b174d=this[_0x523986(0x18c)];this[_0x523986(0x18a)](_0x523986(0x191),!0x1),this[_0x523986(0x17f)]=this[_0x523986(0x180)](),this[_0x523986(0x18f)]({'tag':_0x523986(0x17d),'attributes':{'class':[_0x523986(0x187),..._0x112114(_0x4570c8[_0x523986(0x183)]||[]),_0x4b174d['to'](_0x523986(0x183)),_0x4b174d['if'](_0x523986(0x191),_0x523986(0x181),_0x36ad5f=>!_0x36ad5f)]},'children':this[_0x523986(0x17f)]});}[_0x57e024(0x190)](){const _0x57e6f4=_0x57e024;this[_0x57e6f4(0x18a)](_0x57e6f4(0x191),!0x0);}[_0x57e024(0x18b)](){const _0x57135f=_0x57e024;this[_0x57135f(0x18a)](_0x57135f(0x191),!0x1);}}
|
package/src/augmentation.d.ts
CHANGED
|
@@ -2,12 +2,20 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
5
|
+
import type { AIConfig } from './aiconfig.js';
|
|
6
|
+
import type { AIAssistant } from './aiassistant/aiassistant.js';
|
|
7
|
+
import type { ShowAIAssistantCommand } from './aiassistant/ui/showaiassistantcommand.js';
|
|
8
|
+
import type { AIAssistantEditing } from './aiassistant/aiassistantediting.js';
|
|
9
|
+
import type { AIAssistantUI } from './aiassistant/aiassistantui.js';
|
|
10
|
+
import type { AIAdapter } from './aiassistant/adapters/aiadapter.js';
|
|
11
|
+
import type { AITabs } from './aitabs/aitabs.js';
|
|
12
|
+
import type { AIConnector } from './aicore/aiconnector.js';
|
|
13
|
+
import type { AIChat } from './aichat/aichat.js';
|
|
14
|
+
import type { AIChatController } from './aichat/aichatcontroller.js';
|
|
15
|
+
import type { AIEditing } from './aicore/aiediting.js';
|
|
16
|
+
import type { AIChatUI } from './aichat/aichatui.js';
|
|
17
|
+
import type { AIActions } from './aiactions/aiactions.js';
|
|
18
|
+
import type { AIBalloon } from './aiballoon/aiballoon.js';
|
|
11
19
|
declare module '@ckeditor/ckeditor5-core' {
|
|
12
20
|
interface EditorConfig {
|
|
13
21
|
/**
|
|
@@ -20,6 +28,14 @@ declare module '@ckeditor/ckeditor5-core' {
|
|
|
20
28
|
[AIAssistant.pluginName]: AIAssistant;
|
|
21
29
|
[AIAssistantUI.pluginName]: AIAssistantUI;
|
|
22
30
|
[AIAssistantEditing.pluginName]: AIAssistantEditing;
|
|
31
|
+
[AITabs.pluginName]: AITabs;
|
|
32
|
+
[AIConnector.pluginName]: AIConnector;
|
|
33
|
+
[AIChat.pluginName]: AIChat;
|
|
34
|
+
[AIChatController.pluginName]: AIChatController;
|
|
35
|
+
[AIEditing.pluginName]: AIEditing;
|
|
36
|
+
[AIChatUI.pluginName]: AIChatUI;
|
|
37
|
+
[AIActions.pluginName]: AIActions;
|
|
38
|
+
[AIBalloon.pluginName]: AIBalloon;
|
|
23
39
|
}
|
|
24
40
|
interface CommandsMap {
|
|
25
41
|
showAIAssistant: ShowAIAssistantCommand;
|
package/src/index.d.ts
CHANGED
|
@@ -5,13 +5,44 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module ai
|
|
7
7
|
*/
|
|
8
|
-
export { AIAssistant, getDefaultAICommands, type AIAssistantConfig, type AIGroupDefinition, type AICommandDefinition } from './aiassistant.js';
|
|
9
|
-
export { AIAssistantUI } from './aiassistantui.js';
|
|
10
|
-
export type
|
|
11
|
-
export { AIAdapter, AIRequestError } from './adapters/aiadapter.js';
|
|
12
|
-
export { AITextAdapter, type AITextAdapterRequestData, type AIRequestHeaders, type AIRequestParameters, type AITextAdapterDataCallback } from './adapters/aitextadapter.js';
|
|
13
|
-
export { OpenAITextAdapter, type OpenAITextAdapterConfig } from './adapters/openaitextadapter.js';
|
|
14
|
-
export { AWSTextAdapter, type AIAWSTextAdapterConfig, type AIAWSModelFamily } from './adapters/awstextadapter.js';
|
|
15
|
-
export
|
|
16
|
-
export {
|
|
8
|
+
export { AIAssistant, getDefaultAICommands, type AIAssistantConfig, type AIGroupDefinition, type AICommandDefinition } from './aiassistant/aiassistant.js';
|
|
9
|
+
export { AIAssistantUI } from './aiassistant/aiassistantui.js';
|
|
10
|
+
export { type AIConfig, type AIContainerType, type AIContainerSide, type AIContainerBase, type AIContainerSidebar, type AIContainerOverlay, type AIContainerCustom, type AIContainerConfig } from './aiconfig.js';
|
|
11
|
+
export { AIAdapter, AIRequestError } from './aiassistant/adapters/aiadapter.js';
|
|
12
|
+
export { AITextAdapter, type AITextAdapterRequestData, type AIRequestHeaders, type AIRequestParameters, type AITextAdapterDataCallback } from './aiassistant/adapters/aitextadapter.js';
|
|
13
|
+
export { OpenAITextAdapter, type OpenAITextAdapterConfig, type AIRequestMessageItem } from './aiassistant/adapters/openaitextadapter.js';
|
|
14
|
+
export { AWSTextAdapter, type AIAWSTextAdapterConfig, type AIAWSModelFamily } from './aiassistant/adapters/awstextadapter.js';
|
|
15
|
+
export { ShowAIAssistantCommand } from './aiassistant/ui/showaiassistantcommand.js';
|
|
16
|
+
export { AITabs } from './aitabs/aitabs.js';
|
|
17
|
+
export { AIConnector } from './aicore/aiconnector.js';
|
|
18
|
+
export { createResizeButton } from './aicore/utils/createresizebutton.js';
|
|
19
|
+
export { AIChat, type AIChatConfig } from './aichat/aichat.js';
|
|
20
|
+
export { AIChatController } from './aichat/aichatcontroller.js';
|
|
21
|
+
export { AIEditing } from './aicore/aiediting.js';
|
|
22
|
+
export { AIChatUI } from './aichat/aichatui.js';
|
|
23
|
+
export { type AITabsMainView, type AITabsMainViewOptions } from './aitabs/aitabsmainview.js';
|
|
24
|
+
export { type AITabsView, type AITabsAddTabOptions, type AITabsViewOptions } from './aitabs/tabs/aitabsview.js';
|
|
25
|
+
export { type AIResizedTabsEvent, type AIResizeTabsEvent } from './aitabs/aitabs.js';
|
|
26
|
+
export { type AIChatContextConfig, type AIAddContextOptionsState, type AIChatContextItemAddedEvent, type AIChatContextItemRemovedEvent, type AIChatContextSentEvent, type AIChatContextAddContextOptionsChangedEvent, type AIContextProvider, type AIContextResource, type AIContextResourceState, type AIContextProviderState, type AIContextTextResource, type AIChatContextUploadProgressChangedEvent } from './aichat/model/aichatcontext.js';
|
|
27
|
+
export { type AIContextItemType, type AIContextItemRequestData, type AIContextItem, type AIContextTextResourceType } from './aicore/model/aicontext.js';
|
|
28
|
+
export { type AIChatModel, type AIChatModelsConfig } from './aichat/model/aichatmodels.js';
|
|
29
|
+
export { type AIGenericRequest, type AIConversationStartReply, type AIConversationStartRequest, type AIEventSourceMessageParsed, type AIQueryAssistantReply, type AIConnectorRequest, type AIConnectorQueryAssistantData, type AIUploadReply, type AIUploadRequest, type AIModelData, type AIModelRequest, type AIFetchDocumentReply, type AIFetchDocumentRequest, type AIConversationItem, type AIFetchConversationsRequest, type AIDeleteConversationRequest, type AIUserMessage, type AIAssistantMessage, type AIConversationMessage, type AIGetConversationReply, type AIGetConversationRequest, type AIGetConversationMessagesRequest, type AIUpdateConversationRequest, type AIDeleteFileRequest, type AIDeleteDocumentRequest, type AIDeleteWebResourceRequest, type AIConnectorExecuteActionData, type AIConnectorExecuteCustomActionData, type AIActionsNames, type AIConnectorSystemReviewData, type AIConnectorCustomReviewData } from './aicore/aiconnector.js';
|
|
30
|
+
export { type AIChatUIStartConversationEvent, type AIChatUISendUserMessageEvent, type AIChatUIAbortPromptStreamEvent, type AIChatUIAddDocumentToContextEvent, type AIChatUIAddFileToContextEvent, type AIChatUIRemoveContextItemEvent } from './aichat/aichatui.js';
|
|
31
|
+
export { AIChatHistory } from './aichathistory/aichathistory.js';
|
|
32
|
+
export { AIChatHistoryController } from './aichathistory/aichathistorycontroller.js';
|
|
33
|
+
export { AIChatHistoryUI, type AIChatHistoryItemData, type AIChatHistoryCategoryData } from './aichathistory/aichathistoryui.js';
|
|
34
|
+
export { AIQuickActions, type AIQuickActionsConfig, type AICustomQuickActionDefinition, type AIQuickActionRequestData } from './aiquickactions/aiquickactions.js';
|
|
35
|
+
export { AIQuickActionsUI, AIQuickActionType, type AIQuickActionsGroupDefinition, type AIQuickActionDefinition } from './aiquickactions/aiquickactionsui.js';
|
|
36
|
+
export { AIActions } from './aiactions/aiactions.js';
|
|
37
|
+
export { AIBalloon } from './aiballoon/aiballoon.js';
|
|
38
|
+
export { AIReviewMode } from './aireviewmode/aireviewmode.js';
|
|
39
|
+
export { AIReviewModeController } from './aireviewmode/aireviewmodecontroller.js';
|
|
40
|
+
export { AIReviewModeEditing, type AIDocumentDataElement, type AIDocumentData, type AIDiffResult, type AIReviewModeChangeRange, type AIReviewModeChangeData } from './aireviewmode/aireviewmodeediting.js';
|
|
41
|
+
export { AIReviewModeUI } from './aireviewmode/aireviewmodeui.js';
|
|
42
|
+
export { AIReviewCheck, type AIReviewCheckOptionData, type AIReviewCheckOptions } from './aireviewmode/model/aireviewcheck.js';
|
|
43
|
+
export { AIReviewCheckResult } from './aireviewmode/model/aireviewcheckresult.js';
|
|
44
|
+
export { AIReviewCheckRun } from './aireviewmode/model/aireviewcheckrun.js';
|
|
45
|
+
export { type AIReviewCheckRunUpdatedEvent } from './aireviewmode/model/aireviewcheckrun.js';
|
|
46
|
+
export { type AIReviewCheckRunStatus } from './aireviewmode/model/aireviewcheckrun.js';
|
|
47
|
+
export { type AIReviewCheckResultChange } from './aireviewmode/model/aireviewcheckresultchange.js';
|
|
17
48
|
import './augmentation.js';
|