@ckeditor/ckeditor5-ai 47.0.0-alpha.7 → 47.0.0-alpha.8
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 +93 -5
- package/dist/index.css +118 -5
- package/dist/index.js +4 -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/translations/af.po +224 -0
- package/lang/translations/ar.po +232 -0
- package/lang/translations/ast.po +224 -0
- package/lang/translations/az.po +224 -0
- package/lang/translations/be.po +226 -0
- package/lang/translations/bg.po +224 -0
- package/lang/translations/bn.po +224 -0
- package/lang/translations/bs.po +226 -0
- package/lang/translations/ca.po +224 -0
- package/lang/translations/cs.po +226 -0
- package/lang/translations/da.po +224 -0
- package/lang/translations/de-ch.po +224 -0
- package/lang/translations/de.po +224 -0
- package/lang/translations/el.po +224 -0
- package/lang/translations/en-au.po +224 -0
- package/lang/translations/en-gb.po +224 -0
- package/lang/translations/en.po +224 -0
- package/lang/translations/eo.po +224 -0
- package/lang/translations/es-co.po +224 -0
- package/lang/translations/es.po +224 -0
- package/lang/translations/et.po +224 -0
- package/lang/translations/eu.po +224 -0
- package/lang/translations/fa.po +222 -0
- package/lang/translations/fi.po +224 -0
- package/lang/translations/fr.po +224 -0
- package/lang/translations/gl.po +224 -0
- package/lang/translations/gu.po +224 -0
- package/lang/translations/he.po +224 -0
- package/lang/translations/hi.po +224 -0
- package/lang/translations/hr.po +226 -0
- package/lang/translations/hu.po +224 -0
- package/lang/translations/hy.po +224 -0
- package/lang/translations/id.po +222 -0
- package/lang/translations/it.po +224 -0
- package/lang/translations/ja.po +222 -0
- package/lang/translations/jv.po +224 -0
- package/lang/translations/kk.po +224 -0
- package/lang/translations/km.po +222 -0
- package/lang/translations/kn.po +224 -0
- package/lang/translations/ko.po +222 -0
- package/lang/translations/ku.po +224 -0
- package/lang/translations/lt.po +226 -0
- package/lang/translations/lv.po +226 -0
- package/lang/translations/ms.po +222 -0
- package/lang/translations/nb.po +224 -0
- package/lang/translations/ne.po +224 -0
- package/lang/translations/nl.po +224 -0
- package/lang/translations/no.po +224 -0
- package/lang/translations/oc.po +224 -0
- package/lang/translations/pl.po +226 -0
- package/lang/translations/pt-br.po +224 -0
- package/lang/translations/pt.po +224 -0
- package/lang/translations/ro.po +226 -0
- package/lang/translations/ru.po +226 -0
- package/lang/translations/si.po +224 -0
- package/lang/translations/sk.po +226 -0
- package/lang/translations/sl.po +228 -0
- package/lang/translations/sq.po +224 -0
- package/lang/translations/sr-latn.po +226 -0
- package/lang/translations/sr.po +226 -0
- package/lang/translations/sv.po +224 -0
- package/lang/translations/th.po +222 -0
- package/lang/translations/ti.po +224 -0
- package/lang/translations/tk.po +224 -0
- package/lang/translations/tr.po +224 -0
- package/lang/translations/tt.po +222 -0
- package/lang/translations/ug.po +222 -0
- package/lang/translations/uk.po +226 -0
- package/lang/translations/ur.po +224 -0
- package/lang/translations/uz.po +224 -0
- package/lang/translations/vi.po +222 -0
- package/lang/translations/zh-cn.po +222 -0
- package/lang/translations/zh.po +222 -0
- package/package.json +15 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
- package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.d.ts +12 -4
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatcontroller.d.ts +0 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.d.ts +0 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.d.ts +1 -227
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.d.ts +3 -0
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/model/aichatmodels.d.ts +0 -30
- package/src/aichat/model/aichatmodels.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesview.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.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichat/utils/scrollmanager.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.d.ts +0 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.d.ts +0 -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.js +1 -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 +47 -9
- package/src/aicore/aiconnector.d.ts +2 -3
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.d.ts +0 -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/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/aidisclaimerview.js +1 -1
- package/src/aicore/ui/aiskeleton.js +1 -1
- package/src/aicore/ui/aispinner.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/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.d.ts +0 -1
- package/src/aicore/utils/eventnames.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aieditorintegration/aieditorintegration.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.d.ts +1 -0
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
- package/src/aiquickactions/aiquickactions.d.ts +164 -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.d.ts +0 -49
- 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.d.ts +0 -1
- package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
- package/src/aireviewmode/aireviewmode.d.ts +29 -0
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.d.ts +0 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeediting.d.ts +1 -2
- package/src/aireviewmode/aireviewmodeediting.js +1 -1
- package/src/aireviewmode/aireviewmodeui.d.ts +0 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheck.d.ts +0 -1
- package/src/aireviewmode/model/aireviewcheck.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.d.ts +0 -1
- 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.js +1 -1
- package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.d.ts +0 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewmodels.js +1 -1
- package/src/aireviewmode/model/aireviewsystemcheckrun.d.ts +0 -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.js +1 -1
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformamanager.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.d.ts +6 -16
- 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/index.js +1 -1
- package/theme/aichat/aichat.css +1 -0
- package/theme/aichat/aichatfeed.css +39 -0
- package/theme/aieditorintegration/aitogglebutton.css +23 -0
- package/theme/aiquickactions/aiquickactions.css +23 -4
- package/theme/aireviewmode/aireviewmode.css +23 -0
- package/theme/common/aibutton.css +1 -1
- package/theme/common/aitrackchanges.css +13 -0
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x147457=_0x342b;(function(_0x1b2abc,_0x2013fe){const _0xfb0e37=_0x342b,_0x2ede6a=_0x1b2abc();while(!![]){try{const _0x8e2b7c=parseInt(_0xfb0e37(0xe5))/0x1*(-parseInt(_0xfb0e37(0xc9))/0x2)+-parseInt(_0xfb0e37(0xe6))/0x3*(-parseInt(_0xfb0e37(0xb9))/0x4)+-parseInt(_0xfb0e37(0xc8))/0x5*(-parseInt(_0xfb0e37(0xd0))/0x6)+-parseInt(_0xfb0e37(0xbe))/0x7*(-parseInt(_0xfb0e37(0xc2))/0x8)+parseInt(_0xfb0e37(0xbd))/0x9+parseInt(_0xfb0e37(0xe7))/0xa+-parseInt(_0xfb0e37(0xcb))/0xb*(parseInt(_0xfb0e37(0xc3))/0xc);if(_0x8e2b7c===_0x2013fe)break;else _0x2ede6a['push'](_0x2ede6a['shift']());}catch(_0x579476){_0x2ede6a['push'](_0x2ede6a['shift']());}}}(_0x2d04,0x399d5));function _0x342b(_0x2ec154,_0xf65324){const _0x2d0434=_0x2d04();return _0x342b=function(_0x342bc1,_0x511993){_0x342bc1=_0x342bc1-0xb8;let _0x3af4ef=_0x2d0434[_0x342bc1];return _0x3af4ef;},_0x342b(_0x2ec154,_0xf65324);}import{View as _0x209605,ButtonView as _0xe40013}from'ckeditor5/src/ui.js';import{IconInfo as _0x454d89}from'ckeditor5/src/icons.js';function _0x2d04(){const _0x37c6bf=['AI_REVIEW_MODE_DISMISS_CHANGE','bind','8KgzEug','663252SrQHkU','execute','fire','ck-ai-button-secondary\x20ck-ai-review-mode__check-run-result-accept-button','extendTemplate','19745WyTetX','200ZmKMTj','ck-ai-review-mode__check-run-result-footer','88jlIJQC','isActive','_createDismissButtonView','stopPropagation','set','96BCDseM','_createInfoButtonView','dismissChange','ck-ai-review-mode__check-run-result_active','menuitemcheckbox','setItemAsActive','infoButtonView','log','acceptButtonView','setTemplate','ck-ai-button-tertiary-filled\x20ck-ai-review-mode__check-run-result-dismiss-button','dismissButtonView','acceptChange','ck-ai-review-mode__check-run-result','ck-ai-button-tertiary-filled\x20ck-ai-review-mode__check-run-result-info-button\x20ck-hidden','ck-ai-review-mode__check-run-result-response','ck-content','ck-ai-review-mode__check-run-result-action-buttons','changeId','_createResultResponseView','_createAcceptButtonView','3307Unoxza','334890MZjddF','1154910Mkgede','bindTemplate','AI_REVIEW_MODE_ACCEPT_CHANGE','ck-content-direct-excluded','div','activateChange','resultResponseView','AI_REVIEW_MODE_LEARN_MORE','click','Toggle\x20info\x20view','8kmlsuR','setItemAsInactive','isInfoToggleOn','locale','1267479EvqBDU','3262637URpSRs','isOn'];_0x2d04=function(){return _0x37c6bf;};return _0x2d04();}import{getTranslation as _0x4d8099}from'../../aicore/utils/common-translations.js';export class AIReviewModeReviewCheckListItemResultsView extends _0x209605{[_0x147457(0xed)];[_0x147457(0xd8)];[_0x147457(0xdb)];[_0x147457(0xd6)];constructor(_0x2c1a90,_0x43ca34){const _0x5d2e41=_0x147457;super(_0x2c1a90),this['id']=_0x43ca34,this[_0x5d2e41(0xcf)](_0x5d2e41(0xe2),_0x43ca34),this[_0x5d2e41(0xed)]=this[_0x5d2e41(0xe3)](),this[_0x5d2e41(0xd8)]=this[_0x5d2e41(0xe4)](),this[_0x5d2e41(0xdb)]=this[_0x5d2e41(0xcd)](),this[_0x5d2e41(0xd6)]=this[_0x5d2e41(0xd1)](),this[_0x5d2e41(0xcf)](_0x5d2e41(0xbb),!0x1),this[_0x5d2e41(0xcf)](_0x5d2e41(0xcc),!0x1),this[_0x5d2e41(0xd9)]({'tag':_0x5d2e41(0xeb),'attributes':{'class':[_0x5d2e41(0xdd),this[_0x5d2e41(0xe8)]['if'](_0x5d2e41(0xcc),_0x5d2e41(0xd3))]},'on':{'click':this[_0x5d2e41(0xe8)]['to'](_0x5d2e41(0xef))},'children':[this[_0x5d2e41(0xed)],{'tag':_0x5d2e41(0xeb),'attributes':{'class':[_0x5d2e41(0xca)]},'children':[{'tag':_0x5d2e41(0xeb),'attributes':{'class':[_0x5d2e41(0xe1)]},'children':[this[_0x5d2e41(0xd8)],this[_0x5d2e41(0xdb)]]},this[_0x5d2e41(0xd6)]]}]}),this['on'](_0x5d2e41(0xef),()=>{const _0x40f992=_0x5d2e41;this[_0x40f992(0xc5)](_0x40f992(0xec),{'id':_0x43ca34,'source':this});});}[_0x147457(0xd5)](){const _0x50f52b=_0x147457;this[_0x50f52b(0xcc)]=!0x0;}[_0x147457(0xba)](){const _0x2033cf=_0x147457;this[_0x2033cf(0xcc)]=!0x1;}[_0x147457(0xe3)](){const _0x3d5112=_0x147457,_0x2ecca2=new _0x209605(this[_0x3d5112(0xbc)]);return _0x2ecca2[_0x3d5112(0xd9)]({'tag':_0x3d5112(0xeb),'attributes':{'class':['ck',_0x3d5112(0xe0),_0x3d5112(0xea),_0x3d5112(0xdf)]}}),_0x2ecca2;}[_0x147457(0xe4)](){const _0x17ac41=_0x147457,_0x1ce818=new _0xe40013(this[_0x17ac41(0xbc)]);return _0x1ce818[_0x17ac41(0xcf)]({'label':_0x4d8099(this[_0x17ac41(0xbc)],_0x17ac41(0xe9)),'withText':!0x0,'class':_0x17ac41(0xc6)}),_0x1ce818[_0x17ac41(0xc7)]({'on':{'click':this[_0x17ac41(0xe8)]['to'](_0x5988d8=>{const _0x494f1c=_0x17ac41;this[_0x494f1c(0xc5)](_0x494f1c(0xdc),{'id':this[_0x494f1c(0xe2)]}),_0x5988d8[_0x494f1c(0xce)]();})}}),_0x1ce818;}[_0x147457(0xcd)](){const _0x35eeae=_0x147457,_0x4a4c25=new _0xe40013(this[_0x35eeae(0xbc)]);return _0x4a4c25[_0x35eeae(0xcf)]({'label':_0x4d8099(this[_0x35eeae(0xbc)],_0x35eeae(0xc0)),'withText':!0x0,'class':_0x35eeae(0xda)}),_0x4a4c25[_0x35eeae(0xc7)]({'on':{'click':this[_0x35eeae(0xe8)]['to'](_0x45d460=>{const _0x1caef4=_0x35eeae;this[_0x1caef4(0xc5)](_0x1caef4(0xd2),{'id':this[_0x1caef4(0xe2)]}),_0x45d460[_0x1caef4(0xce)]();})}}),_0x4a4c25;}[_0x147457(0xd1)](){const _0x163bc4=_0x147457,_0x364522=new _0xe40013(this[_0x163bc4(0xbc)]);return _0x364522[_0x163bc4(0xcf)]({'label':_0x4d8099(this[_0x163bc4(0xbc)],_0x163bc4(0xee)),'icon':_0x454d89,'tooltip':!0x0,'isToggleable':!0x0,'role':_0x163bc4(0xd4),'class':_0x163bc4(0xde)}),_0x364522[_0x163bc4(0xc1)](_0x163bc4(0xbf))['to'](this,_0x163bc4(0xbb),_0xfa4ff0=>_0xfa4ff0),_0x364522['on'](_0x163bc4(0xc4),()=>{const _0x913301=_0x163bc4;console[_0x913301(0xd7)](_0x913301(0xb8)),this[_0x913301(0xbb)]=!this[_0x913301(0xbb)];}),_0x364522;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Collection as
|
|
23
|
+
import{Collection as _0x1c113f}from'ckeditor5/src/utils.js';import{View as _0x40ca4c,ButtonView as _0x2a3b18,FormRowView as _0x539575,createDropdown as _0x4bca22,addListToDropdown as _0x5f1f03,UIModel as _0x41f5d3,ButtonLabelView as _0x3946d3}from'ckeditor5/src/ui.js';import{AIReviewModePromptInputView as _0x5e1f45}from'./aireviemodepromptinputview.js';export class AIReviewModeCustomCheckView extends _0x40ca4c{['submitButtonView'];['cancelButtonView'];['promptInputView'];['_modelSelectionDropdown'];['_modelSelectionDropdownItems'];['_check'];['_defaultValue'];['_defaultLabel'];constructor(_0x4f8fdd,_0x56132f){super(_0x4f8fdd),this['_check']=_0x56132f,this['set']('prompt',''),this['set']('modelId',''),this['_defaultValue']=_0x56132f['models']&&_0x56132f['models']['length']>0x0?_0x56132f['models'][0x0]['id']:'',this['_defaultLabel']=_0x56132f['models']&&_0x56132f['models']['length']>0x0?_0x56132f['models'][0x0]['name']:'',this['submitButtonView']=this['_createSubmitButtonView'](),this['cancelButtonView']=this['_createCancelButtonView'](),this['promptInputView']=new _0x5e1f45(_0x4f8fdd),this['promptInputView']['bind']('value')['to'](this,'prompt'),this['promptInputView']['on']('input',()=>{this['prompt']=this['promptInputView']['element']['value'];}),this['_modelSelectionDropdown']=this['_createModelSelectionDropdown'](),this['_modelSelectionDropdownItems']=new _0x1c113f(),this['_setModelList'](),_0x5f1f03(this['_modelSelectionDropdown'],this['_modelSelectionDropdownItems']);const _0x10a3fa=new _0x40ca4c(_0x4f8fdd);_0x10a3fa['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-custom-actions-footer']},'children':[this['_modelSelectionDropdown'],{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-parameterized-custom-actions-buttons']},'children':[this['cancelButtonView'],this['submitButtonView']]}]}),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-custom-actions']},'children':[new _0x539575(this['locale'],{'children':[this['promptInputView']]}),new _0x539575(this['locale'],{'children':[_0x10a3fa]})]});}['resetToDefault'](){this['prompt']='',this['modelId']=this['_defaultValue'],this['_modelSelectionDropdown']['buttonView']['label']=this['_defaultLabel'];}['_createSubmitButtonView'](){const _0x15bb50=new _0x2a3b18(this['locale']),t=this['locale']['t'];return _0x15bb50['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x15bb50['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x12612e=>{_0x12612e['stopPropagation']();})}}),_0x15bb50['on']('execute',()=>{this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0});}),_0x15bb50;}['_createCancelButtonView'](){const _0x219de4=new _0x2a3b18(this['locale']),t=this['locale']['t'];return _0x219de4['set']({'label':t('Cancel'),'withText':!0x0,'class':'ck-ai-button-tertiary-filled'}),_0x219de4['on']('execute',()=>{this['resetToDefault']();}),_0x219de4;}['_setModelList'](){this['_modelSelectionDropdownItems']['clear']();const _0x47de2b=this['_check']['models'];if(this['resetToDefault'](),_0x47de2b?.['length'])for(const _0xd02d82 of _0x47de2b){const _0xba3c53=new _0x41f5d3({'label':_0xd02d82['name'],'withText':!0x0,'role':'menuitemradio','id':_0xd02d82['id'],'model':_0xd02d82});_0xba3c53['bind']('isOn')['to'](this,'modelId',_0x5cd3d0=>_0x5cd3d0===_0xd02d82['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0xba3c53,'labelView':new js(this['locale'],_0xd02d82)});}}['_createModelSelectionDropdown'](){const _0xc82055=_0x4bca22(this['locale']);return _0xc82055['set']({'panelPosition':'se','class':'ck-ai-review-mode__check-list-item-model-dropdown'}),_0xc82055['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x27ee35=>{_0x27ee35['stopPropagation']();})}}),_0xc82055['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0,'tooltip':!0x0}),this['listenTo'](_0xc82055,'execute',_0x29ad16=>{this['modelId']=_0x29ad16['source']['model']['id'],_0xc82055['buttonView']['label']=_0x29ad16['source']['label'];}),_0xc82055;}}class js extends _0x3946d3{constructor(_0x1b2c78,_0x5dc2fa){super();const _0x2ef07d=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x2ef07d['to']('style'),'id':_0x2ef07d['to']('id')},'children':[{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-model-dropdown-name']},'children':[{'text':_0x2ef07d['to']('text')}]},{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-model-dropdown-description']},'children':[{'tag':'span','children':[{'text':_0x5dc2fa['description']}]}]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xefe19=_0x2b2a;(function(_0x5793e8,_0x2c2267){const _0x31fa55=_0x2b2a,_0x3d4169=_0x5793e8();while(!![]){try{const _0x242459=parseInt(_0x31fa55(0xff))/0x1+parseInt(_0x31fa55(0xed))/0x2+parseInt(_0x31fa55(0xf5))/0x3+parseInt(_0x31fa55(0x107))/0x4*(parseInt(_0x31fa55(0x103))/0x5)+parseInt(_0x31fa55(0xfe))/0x6*(parseInt(_0x31fa55(0xfd))/0x7)+parseInt(_0x31fa55(0xee))/0x8+-parseInt(_0x31fa55(0x102))/0x9;if(_0x242459===_0x2c2267)break;else _0x3d4169['push'](_0x3d4169['shift']());}catch(_0x2c6f6f){_0x3d4169['push'](_0x3d4169['shift']());}}}(_0x4a18,0xaee26));function _0x4a18(){const _0x26c4a5=['1174608RCrjQM','runReviewCheck','delegate','setChecks','resetToDefault','add','resetAllParameterizedChecks','3702579KIPMql','isVisible','ck-hidden','hasChecks','entries','bindTemplate','locale','div','21EvDqjy','1007718NJzPxJ','83428SRDjWH','_checkViews','ck-ai-review-mode__check-list','20775384CIsygJ','1517530dMdFZO','clear','length','setTemplate','4jabPhC','1505780MAYjqW'];_0x4a18=function(){return _0x26c4a5;};return _0x4a18();}function _0x2b2a(_0x199507,_0x459347){const _0x4a187b=_0x4a18();return _0x2b2a=function(_0x2b2a21,_0x5907c1){_0x2b2a21=_0x2b2a21-0xed;let _0x42bf62=_0x4a187b[_0x2b2a21];return _0x42bf62;},_0x2b2a(_0x199507,_0x459347);}import{ListItemView as _0x185878,ViewCollection as _0x17106c}from'ckeditor5/src/ui.js';import{AIReviewModeReviewCommandListItemView as _0x590e40}from'./aireviewmodereviewcommandlistitemview.js';import'../../../theme/aireviewmode/aireviewmode-check-list.css';export class AIReviewModeReviewCheckListView extends _0x185878{[_0xefe19(0x100)];constructor(_0x2eb93f){const _0xd6695=_0xefe19;super(_0x2eb93f),this[_0xd6695(0x100)]=new _0x17106c();const _0x55503b=this[_0xd6695(0xfa)];this[_0xd6695(0x106)]({'tag':_0xd6695(0xfc),'attributes':{'class':[_0xd6695(0x101),_0x55503b['if'](_0xd6695(0xf6),_0xd6695(0xf7),_0x2ef9ab=>!_0x2ef9ab)]},'children':this[_0xd6695(0x100)]});}[_0xefe19(0xf1)](_0x69cc39){const _0x4a3ed0=_0xefe19;this[_0x4a3ed0(0x100)][_0x4a3ed0(0x104)]();for(const [_0xeb5da6,_0x4686df]of _0x69cc39[_0x4a3ed0(0xf9)]()){const _0x34207b=new _0x590e40(this[_0x4a3ed0(0xfb)],_0x4686df,_0xeb5da6);_0x34207b[_0x4a3ed0(0xf0)](_0x4a3ed0(0xef))['to'](this),this[_0x4a3ed0(0x100)][_0x4a3ed0(0xf3)](_0x34207b);}}[_0xefe19(0xf8)](){const _0x16a288=_0xefe19;return this[_0x16a288(0x100)][_0x16a288(0x105)]>0x0;}[_0xefe19(0xf4)](){const _0x30a21c=_0xefe19;for(const _0x14431d of this[_0x30a21c(0x100)])_0x14431d instanceof _0x590e40&&_0x14431d[_0x30a21c(0xf2)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ListItemView as
|
|
23
|
+
import{ListItemView as _0x123d61,View as _0x14cfe5,ViewCollection as _0xef5f9f,ButtonView as _0x133c26}from'ckeditor5/src/ui.js';import{IconStop as _0x56b24a,IconEye as _0x279569,IconEyeCrossedOut as _0x40ec8a}from'ckeditor5/src/icons.js';import{AIReviewModeReviewCheckListItemResultsView as _0x29b4a0}from'./aireviewmodechecklistitemresultview.js';import{AISkeletonView as _0x54752d,SKELETON_DEFINITIONS as _0x303582}from'../../aicore/ui/aiskeleton.js';import{AIDisclaimerView as _0x2256e2}from'../../aicore/ui/aidisclaimerview.js';import{getTranslation as _0x555bb7}from'../../aicore/utils/common-translations.js';import{AISpinnerView as _0x2c984a}from'../../aicore/ui/aispinner.js';import'../../../theme/aireviewmode/aireviewmode-check-run.css';import'../../../theme/aireviewmode/aireviewmode-check-run-result.css';export class AIReviewModeReviewCheckResultsView extends _0x123d61{['_resultViews'];['resultsHeader'];['reviewDisclaimer'];['_cancelButtonView'];['_acceptAllButtonView'];['_exitReviewButtonView'];['_toggleDiffButtonView'];['_errorMessageView'];constructor(_0x26369f){super(_0x26369f),this['_resultViews']=new _0xef5f9f(),this['_cancelButtonView']=this['_createCancelButtonView'](),this['_acceptAllButtonView']=this['_createAcceptAllButtonView'](),this['_exitReviewButtonView']=this['_createExitReviewButtonView'](),this['_toggleDiffButtonView']=this['_createToggleDiffButtonView'](),this['resultsHeader']=this['_createResultHeaderView'](),this['_errorMessageView']=this['_createErrorView'](),this['reviewDisclaimer']=new _0x2256e2(_0x26369f),this['set']('isLoading',!0x1),this['set']('isToggleDiffOn',!0x1),this['set']('isResultReady',!0x1),this['set']('headerTitle',''),this['set']('isError',!0x1),this['set']('showErrorMessage',!0x1),this['set']('errorType','general');const _0x4ee017=this['_createCombinedSkeletonLoader'](),_0x3d87a7=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run',_0x3d87a7['if']('isVisible','ck-hidden',_0x65cac=>!_0x65cac)]},'children':[this['resultsHeader'],{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-wrapper']},'children':[this['_errorMessageView'],{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x455919=>_0x455919)]},'children':this['_resultViews']},_0x4ee017]},this['reviewDisclaimer']]});}['clearResults'](){this['_resultViews']['clear']();}['getResults'](){return this['_resultViews'];}['addResult'](_0x38089c){const _0x505ad5=new _0x29b4a0(this['locale'],_0x38089c['id']);_0x505ad5['delegate']('acceptChange','dismissChange','activateChange')['to'](this),this['_resultViews']['add'](_0x505ad5),_0x505ad5['resultResponseView']['element']['innerHTML']=_0x38089c['contentDiffed'];}['hideResult'](_0x5c6210){const _0x5f1fa4=this['_resultViews']['find'](_0x334102=>_0x334102['id']===_0x5c6210);_0x5f1fa4&&(_0x5f1fa4['element']?.['classList']['add']('ck-ai-review-mode__check-run-result_removing'),_0x5f1fa4['element']?.['addEventListener']('animationend',()=>{this['_resultViews']['remove'](_0x5f1fa4),_0x5f1fa4['destroy']();},{'once':!0x0}));}['setTitle'](_0x4ae8a2){this['headerTitle']=_0x4ae8a2;}['showChunkErrorMessage'](){this['errorType']='chunk',this['showErrorMessage']=!0x0;}['showGeneralErrorMessage'](){this['isError']=!0x0,this['errorType']='general',this['showErrorMessage']=!0x0;}['resetErrorState'](){this['isError']=!0x1,this['errorType']='general',this['showErrorMessage']=!0x1;}['_createSkeletonLoader'](){return new _0x54752d(this['locale'],_0x303582['aiReviewChecks']);}['_createCombinedSkeletonLoader'](){const _0x286142=new _0x14cfe5(this['locale']),_0x368b5e=[];for(let _0x312951=0x0;_0x312951<0x10;_0x312951++){const _0x5881d5=this['_createSkeletonLoader']();_0x5881d5['extendTemplate']({'attributes':{'class':['ck-ai-review-mode__check-run-skeleton-item']}}),_0x368b5e['push'](_0x5881d5);}return _0x286142['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-skeleton-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x33b4bf=>!_0x33b4bf)]},'children':_0x368b5e}),_0x286142;}['_createErrorView'](){const _0x78f76d=new _0x14cfe5(this['locale']),_0xe9e8aa=new _0x133c26(this['locale']),t=this['locale']['t'];return _0x78f76d['delegate']('retryReview')['to'](this),_0xe9e8aa['set']({'label':t('Try\x20again'),'withText':!0x0,'class':'ck-ai-button-secondary\x20ck-ai-review-mode__check-run-error-retry-button'}),_0xe9e8aa['on']('execute',()=>{this['fire']('retryReview');}),_0x78f76d['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-error-container',this['bindTemplate']['if']('showErrorMessage','ck-hidden',_0x4a6395=>!_0x4a6395),this['bindTemplate']['if']('errorType','ck-ai-review-mode__check-run-error-container_border-bottom',_0x4ba76d=>'chunk'===_0x4ba76d)]},'children':[{'tag':'div','attributes':{'class':['ck','ck-ai-chat-error','ck-ai-chat-error_full-width','ck-ai-review-mode__check-run-error-message',this['bindTemplate']['if']('errorType','ck-ai-chat-error_warning',_0x41b7d0=>'chunk'===_0x41b7d0)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-chat-error__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x547812=>'general'!==_0x547812)]},'children':[{'text':_0x555bb7(this['locale'],'AI_REVIEW_MODE_GENERAL_ERROR_MESSAGE')}]},{'tag':'p','attributes':{'class':['ck-ai-chat-error__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x1d1a6c=>'chunk'!==_0x1d1a6c)]},'children':[{'text':_0x555bb7(this['locale'],'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE')}]}]},_0xe9e8aa]}),_0x78f76d;}['_createCancelButtonView'](){const _0x5856d8=new _0x133c26(this['locale']);return _0x5856d8['set']({'label':_0x555bb7(this['locale'],'AI_REVIEW_MODE_STOP_GENERATING'),'withText':!0x0,'class':['ai-chat-controls-loader__cancel-button'],'icon':_0x56b24a}),_0x5856d8['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isResultReady','ck-hidden',_0x1ec953=>_0x1ec953)]}}),_0x5856d8['on']('execute',()=>{this['fire']('abortReviewStream');}),_0x5856d8;}['_createToggleDiffButtonView'](){const _0x1c7a43=new _0x133c26(this['locale']);_0x1c7a43['set']({'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox'}),_0x1c7a43['bind']('isEnabled')['to'](this,'isError',_0x748edd=>!_0x748edd),_0x1c7a43['extendTemplate']({'attributes':{'class':['ck-ai-button-secondary','ck-ai-review-mode__check-run-toggle-diff-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x482c96=>!_0x482c96)]}});const _0x20bd22=_0x555bb7(this['locale'],'AI_REVIEW_MODE_HIDE_CHANGES'),_0xd99826=_0x555bb7(this['locale'],'AI_REVIEW_MODE_SHOW_CHANGES');return _0x1c7a43['bind']('isOn')['to'](this,'isToggleDiffOn',_0x5bbab6=>_0x5bbab6),_0x1c7a43['bind']('icon')['to'](this,'isToggleDiffOn',_0x1c2c96=>_0x1c2c96?_0x279569:_0x40ec8a),_0x1c7a43['bind']('label')['to'](this,'isToggleDiffOn',_0xa0695e=>_0xa0695e?_0x20bd22:_0xd99826),_0x1c7a43['on']('execute',()=>{this['isToggleDiffOn']=!this['isToggleDiffOn'],this['fire']('toggleDiff',{'on':this['isToggleDiffOn']});}),_0x1c7a43;}['_createAcceptAllButtonView'](){const _0x4f04fc=new _0x133c26(this['locale']);return _0x4f04fc['set']({'label':_0x555bb7(this['locale'],'AI_REVIEW_MODE_ACCEPT_ALL'),'withText':!0x0}),_0x4f04fc['bind']('isEnabled')['to'](this,'isError',_0x5b4130=>!_0x5b4130),_0x4f04fc['extendTemplate']({'attributes':{'class':['ck-ai-button-primary','ck-ai-review-mode__check-run-accept-all-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x4847b1=>!_0x4847b1)]}}),_0x4f04fc['on']('execute',()=>{this['fire']('acceptAllChanges');}),_0x4f04fc;}['_createExitReviewButtonView'](){const _0x168777=new _0x133c26(this['locale']);return _0x168777['set']({'label':_0x555bb7(this['locale'],'AI_REVIEW_MODE_EXIT_REVIEW'),'withText':!0x0}),_0x168777['extendTemplate']({'attributes':{'class':['ck-ai-button-tertiary-filled','ck-ai-review-mode__check-run-exit-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x552f0a=>!_0x552f0a)]}}),_0x168777['on']('execute',()=>{this['fire']('leaveReviewModeResultList');}),_0x168777;}['_createResultHeaderView'](){const _0x2ad28b=new _0x14cfe5(this['locale']),_0x4da218=new _0x2c984a();return _0x4da218['bind']('isVisible')['to'](this,'isResultReady',_0x213617=>!_0x213617),_0x2ad28b['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-header']},'children':[{'tag':'span','attributes':{'class':['ck-ai-review-mode__check-run-results-header-title']},'children':[{'text':this['bindTemplate']['to']('headerTitle')}]},{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-header-buttons']},'children':[_0x4da218,this['_cancelButtonView'],this['_acceptAllButtonView'],this['_exitReviewButtonView'],this['_toggleDiffButtonView']]}]}),_0x2ad28b;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ListItemView as
|
|
23
|
+
import{ListItemView as _0x152277,IconView as _0x5bc9f5,View as _0x2874eb,ViewCollection as _0x190a6b,ButtonView as _0x35cdc4,clickOutsideHandler as _0x33cd6c}from'ckeditor5/src/ui.js';import{IconChevronRight as _0x35eec7}from'ckeditor5/src/icons.js';import{AIReviewModeFormManagerView as _0x4f47b0}from'./form/aireviewmodeformmanager.js';import{AIReviewModeCustomCheckView as _0x575ce6}from'./aireviewmodecustomcheckview.js';export class AIReviewModeReviewCommandListItemView extends _0x152277{['_formItemsCollection']=new _0x190a6b();['_customCheckView']=null;constructor(_0x27a53d,_0x4f4529,_0x33b660){super(_0x27a53d),this['set']('isParametrizedViewOpen',!0x1),this['set']('isListItemRendered',!0x1),this['set']('isItemParametrized',_0x4f4529['isParameterized']);const _0x5f4c7a=this['_createIconView']();this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item',this['bindTemplate']['if']('isParametrizedViewOpen','ck-ai-review-mode__check-list-item_selected',_0x5da116=>_0x5da116),this['bindTemplate']['if']('isListItemRendered','ck-ai-review-mode__check-list-item_rendered',_0x79c484=>_0x79c484)],'style':{'--ck-ai-check-list-item-index':_0x33b660}},'on':{'click':this['bindTemplate']['to']('click')},'children':[{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-content']},'children':[{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-main-content']},'children':[{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-title']},'children':[{'tag':'span','attributes':{'class':['ck-ai-review-mode__check-list-item-title-text']},'children':[{'text':_0x4f4529['title']}]},_0x5f4c7a]},{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-description']},'children':[{'text':_0x4f4529['description']}]}]}]},..._0x4f4529['isParameterized']?[this['_createParameterizedView'](_0x4f4529)]:[],...'custom'===_0x4f4529['id']?[this['_createCustomView'](_0x4f4529)]:[]]}),this['on']('click',()=>{_0x4f4529['isParameterized']?this['isParametrizedViewOpen']=!0x0:this['fire']('runReviewCheck',{'id':_0x4f4529['id']});}),requestAnimationFrame(()=>{this['isListItemRendered']=!0x0;});}['render'](){super['render'](),this['isItemParametrized']&&_0x33cd6c({'emitter':this,'activator':()=>!0x0===this['isParametrizedViewOpen'],'contextElements':[this['element']],'callback':()=>{this['isParametrizedViewOpen']=!0x1;}});}['resetToDefault'](){this['isParametrizedViewOpen']=!0x1,this['_formItemsCollection']['forEach'](_0x42397d=>{_0x42397d['resetToDefault']();}),this['_customCheckView']&&this['_customCheckView']['resetToDefault']();}['_createIconView'](){const _0x31fdc8=new _0x5bc9f5();return _0x31fdc8['content']=_0x35eec7,_0x31fdc8['extendTemplate']({'attributes':{'class':['ck-ai-review-mode__check-list-item-title-icon']}}),_0x31fdc8;}['_createParameterizedView'](_0x5ae7eb){const _0x5354fe=new _0x2874eb(),_0x4eb9cd=this['_createFormView'](_0x5ae7eb);return _0x5354fe['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-parameterized',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x18be95=>!_0x18be95)]},'children':[_0x4eb9cd]}),_0x5354fe;}['_createFormView'](_0x2059a0){const _0x3b782b=new _0x2874eb(),_0x16e41d=Array['isArray'](_0x2059a0['options'])?_0x2059a0['options']:[],_0x1c0095=new _0x35cdc4(this['locale']),t=this['locale']['t'];_0x1c0095['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x1c0095['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x3e253b=>{_0x3e253b['stopPropagation']();})}}),_0x1c0095['on']('execute',()=>{const _0x506978=[],_0x51e9c6={};this['_formItemsCollection']['forEach'](_0x506a1c=>{_0x506978['push'](_0x506a1c['value']),_0x2059a0['useArgs']&&_0x2059a0['options']&&(_0x51e9c6[_0x506a1c['argsKey']]=_0x506a1c['value']);}),this['fire']('runReviewCheck',{'id':_0x2059a0['id'],'params':_0x506978['length']?_0x506978:void 0x0,'args':Object['keys'](_0x51e9c6)['length']?_0x51e9c6:void 0x0});});const _0x4175de=_0x16e41d['length'];return _0x16e41d['forEach']((_0x1fe9d3,_0x323455)=>{const _0x43536b=_0x323455===_0x4175de-0x1;this['_formItemsCollection']['add'](new _0x4f47b0(this['locale'],_0x1fe9d3,_0x43536b?_0x1c0095:null));}),_0x3b782b['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-parameterized-form']},'children':this['_formItemsCollection']}),_0x3b782b;}['_createCustomView'](_0x27eac0){return this['_customCheckView']=new _0x575ce6(this['locale'],_0x27eac0),this['_customCheckView']['extendTemplate']({'attributes':{'class':['ck-ai-review-mode__check-list-item-parameterized','ck-ai-review-mode__check-list-item-parameterized_custom',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x20224a=>!_0x20224a)]}}),this['_customCheckView']['delegate']('runReviewCheck')['to'](this),this['_customCheckView'];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x220626=_0x74b9;function _0x74b9(_0x33ae85,_0x21dafc){const _0x2d4302=_0x2d43();return _0x74b9=function(_0x74b9e8,_0xd3538d){_0x74b9e8=_0x74b9e8-0x14b;let _0x198f51=_0x2d4302[_0x74b9e8];return _0x198f51;},_0x74b9(_0x33ae85,_0x21dafc);}function _0x2d43(){const _0x3e576b=['942ZufIin','3224456TTcnDu','finishReview','152302znjfDX','ck-hidden','_createResultHeaderView','ck-ai-review-mode__review-completed-header-title','AI_REVIEW_MODE_EMPTY_RESULTS_TEXT','11427680RTjPJF','9zUUPvL','_createFinishReviewButtonView','resultsHeader','locale','ck-ai-review-mode__review-completed-header','span','setTemplate','1808855eDvmbS','viewType','AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL','ck-ai-review-mode__review-completed-content-icon','ck-ai-button-primary','div','ck-ai-review-mode__review-completed','AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE','11FldCPC','_finishReviewButtonView','ck-ai-review-mode__review-completed-header-buttons','AI_REVIEW_MODE_COMPLETED_TEXT','4dmYtas','isVisible','bindTemplate','5726Braduz','completed','fire','ck-ai-review-mode__review-completed-content-text','1GHpbFz','2289747SqUaVF','execute','set','3989844YWQjQI','ck-ai-review-mode__review-completed-content'];_0x2d43=function(){return _0x3e576b;};return _0x2d43();}(function(_0x3ad540,_0x272a40){const _0x325fd1=_0x74b9,_0x3c279b=_0x3ad540();while(!![]){try{const _0x4079f4=-parseInt(_0x325fd1(0x164))/0x1*(parseInt(_0x325fd1(0x16d))/0x2)+parseInt(_0x325fd1(0x165))/0x3+parseInt(_0x325fd1(0x15d))/0x4*(-parseInt(_0x325fd1(0x151))/0x5)+parseInt(_0x325fd1(0x16a))/0x6*(-parseInt(_0x325fd1(0x160))/0x7)+parseInt(_0x325fd1(0x16b))/0x8*(-parseInt(_0x325fd1(0x173))/0x9)+parseInt(_0x325fd1(0x172))/0xa+-parseInt(_0x325fd1(0x159))/0xb*(parseInt(_0x325fd1(0x168))/0xc);if(_0x4079f4===_0x272a40)break;else _0x3c279b['push'](_0x3c279b['shift']());}catch(_0x27dd9f){_0x3c279b['push'](_0x3c279b['shift']());}}}(_0x2d43,0x937dd));import{ListItemView as _0x7ecd14,View as _0x407e6d,ButtonView as _0x3f92c3}from'ckeditor5/src/ui.js';import{getTranslation as _0x25ef6e}from'../../aicore/utils/common-translations.js';import'../../../theme/aireviewmode/aireviewmode-review-completed.css';export class AIReviewModeReviewCompletedView extends _0x7ecd14{[_0x220626(0x14c)];[_0x220626(0x15a)];constructor(_0x37ef34){const _0x59b133=_0x220626;super(_0x37ef34),this[_0x59b133(0x15a)]=this[_0x59b133(0x14b)](),this[_0x59b133(0x14c)]=this[_0x59b133(0x16f)](),this[_0x59b133(0x167)](_0x59b133(0x152),_0x59b133(0x161));const _0x5be5fc=this[_0x59b133(0x15f)];this[_0x59b133(0x150)]({'tag':_0x59b133(0x156),'attributes':{'class':[_0x59b133(0x157),_0x5be5fc['if'](_0x59b133(0x15e),_0x59b133(0x16e),_0x56e8af=>!_0x56e8af)]},'children':[this[_0x59b133(0x14c)],{'tag':_0x59b133(0x156),'attributes':{'class':[_0x59b133(0x169)]},'children':[{'tag':_0x59b133(0x14f),'attributes':{'class':[_0x59b133(0x154)]},'children':[{'text':_0x5be5fc['to'](_0x59b133(0x152),_0x44e3ae=>_0x59b133(0x161)===_0x44e3ae?'🎉':'👍')}]},{'tag':'p','attributes':{'class':[_0x59b133(0x163)]},'children':[{'text':_0x5be5fc['to'](_0x59b133(0x152),_0x269ffa=>_0x25ef6e(_0x37ef34,_0x59b133(0x161)===_0x269ffa?_0x59b133(0x15c):_0x59b133(0x171)))}]}]}]});}[_0x220626(0x14b)](){const _0x50ceff=_0x220626,_0x28700c=new _0x3f92c3(this[_0x50ceff(0x14d)]);return _0x28700c[_0x50ceff(0x167)]({'label':_0x25ef6e(this[_0x50ceff(0x14d)],_0x50ceff(0x153)),'withText':!0x0,'class':_0x50ceff(0x155)}),_0x28700c['on'](_0x50ceff(0x166),()=>{const _0x3b69e1=_0x50ceff;this[_0x3b69e1(0x162)](_0x3b69e1(0x16c));}),_0x28700c;}[_0x220626(0x16f)](){const _0x54f8d9=_0x220626,_0x383ee5=new _0x407e6d(this[_0x54f8d9(0x14d)]);return _0x383ee5[_0x54f8d9(0x150)]({'tag':_0x54f8d9(0x156),'attributes':{'class':[_0x54f8d9(0x14e)]},'children':[{'tag':_0x54f8d9(0x14f),'attributes':{'class':[_0x54f8d9(0x170)]},'children':[{'text':_0x25ef6e(this[_0x54f8d9(0x14d)],_0x54f8d9(0x158))}]},{'tag':_0x54f8d9(0x156),'attributes':{'class':[_0x54f8d9(0x15b)]},'children':[this[_0x54f8d9(0x15a)]]}]}),_0x383ee5;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x2af7e7=_0x2134;(function(_0x636510,_0x4ece2a){var _0x4be5c0=_0x2134,_0x2b0a17=_0x636510();while(!![]){try{var _0x4e7f95=-parseInt(_0x4be5c0(0x101))/0x1+parseInt(_0x4be5c0(0x110))/0x2*(parseInt(_0x4be5c0(0x10a))/0x3)+parseInt(_0x4be5c0(0x113))/0x4+-parseInt(_0x4be5c0(0x11a))/0x5*(-parseInt(_0x4be5c0(0x10b))/0x6)+-parseInt(_0x4be5c0(0xfb))/0x7*(parseInt(_0x4be5c0(0x106))/0x8)+parseInt(_0x4be5c0(0x111))/0x9*(-parseInt(_0x4be5c0(0x127))/0xa)+parseInt(_0x4be5c0(0x120))/0xb*(parseInt(_0x4be5c0(0x11b))/0xc);if(_0x4e7f95===_0x4ece2a)break;else _0x2b0a17['push'](_0x2b0a17['shift']());}catch(_0x4a4121){_0x2b0a17['push'](_0x2b0a17['shift']());}}}(_0x310d,0x3c05c));import{View as _0x140133,FormHeaderView as _0xed024c}from'ckeditor5/src/ui.js';import{IconAIReview as _0x4cc032}from'ckeditor5/src/icons.js';import{AIReviewModeReviewCheckListView as _0x95a32c}from'./aireviewmodereviewchecklistview.js';function _0x310d(){var _0x45861a=['ck-ai-header\x20ck-ai-header_review-mode','set','hideActionsWhenResultIsReady','ck-ai-review-mode','86119RJFlwH','addResult','ck-rounded-corners','div','showGeneralErrorMessage','finishReview','showChunkErrorMessage','13070FGxrDq','reviewModeHeader','isResultReady','showReviewCheckResultsView','7iWlMOQ','ltr','AI_REVIEW_MODE','resetAllParameterizedChecks','completed','reviewCheckResultsView','68418aiHfCV','ck-reset_all','showNoChangesView','viewType','setTemplate','2552808GTCXgC','reviewCompletedView','showActionsWhenResultIsReady','clearResults','320007OktgQJ','87546BTQWeg','showReviewCompletedView','addCheckRunResult','reviewCheckListView','isVisible','2BBioet','396BrxYHd','resetErrorState','464924puUtHK','showChunkErrorView','delegate','showGeneralErrorView','showReviewCheckListView','unmodified','isLoading','155aIgxPN','24riQxvr'];_0x310d=function(){return _0x45861a;};return _0x310d();}import{AI_REVIEW_MODE_UI_EVENT_NAMES as _0x46eeec}from'../aireviewmodeui.js';function _0x2134(_0x135c0e,_0x2175b5){var _0x310d38=_0x310d();return _0x2134=function(_0x2134b6,_0x41a7cf){_0x2134b6=_0x2134b6-0xfb;var _0x71b41b=_0x310d38[_0x2134b6];return _0x71b41b;},_0x2134(_0x135c0e,_0x2175b5);}import{AIReviewModeReviewCheckResultsView as _0xfa7e0f}from'./aireviewmodereviewcheckresultsview.js';import{AIReviewModeReviewCompletedView as _0x1fb738}from'./aireviewmodereviewcompletedview.js';import{getTranslation as _0x33fd50}from'../../aicore/utils/common-translations.js';export class AIReviewModeView extends _0x140133{[_0x2af7e7(0x128)];[_0x2af7e7(0x10e)];[_0x2af7e7(0x100)];[_0x2af7e7(0x107)];constructor(_0x4b2f62){var _0x4e4435=_0x2af7e7;super(_0x4b2f62),this[_0x4e4435(0x128)]=new _0xed024c(_0x4b2f62,{'label':_0x33fd50(_0x4b2f62,_0x4e4435(0xfd)),'icon':_0x4cc032,'class':_0x4e4435(0x11c)}),this[_0x4e4435(0x10e)]=new _0x95a32c(_0x4b2f62),this[_0x4e4435(0x10e)][_0x4e4435(0x115)](..._0x46eeec)['to'](this),this[_0x4e4435(0x100)]=new _0xfa7e0f(_0x4b2f62),this[_0x4e4435(0x100)][_0x4e4435(0x115)](..._0x46eeec)['to'](this),this[_0x4e4435(0x107)]=new _0x1fb738(_0x4b2f62),this[_0x4e4435(0x107)][_0x4e4435(0x115)](_0x4e4435(0x125))['to'](this),this[_0x4e4435(0x10e)][_0x4e4435(0x11d)](_0x4e4435(0x10f),!0x1),this[_0x4e4435(0x100)][_0x4e4435(0x11d)](_0x4e4435(0x10f),!0x1),this[_0x4e4435(0x100)][_0x4e4435(0x11d)](_0x4e4435(0x119),!0x1),this[_0x4e4435(0x100)][_0x4e4435(0x11d)](_0x4e4435(0x129),!0x1),this[_0x4e4435(0x107)][_0x4e4435(0x11d)](_0x4e4435(0x10f),!0x1),this[_0x4e4435(0x105)]({'tag':_0x4e4435(0x123),'attributes':{'class':['ck',_0x4e4435(0x102),_0x4e4435(0x11f),_0x4e4435(0x122)],'dir':_0x4e4435(0xfc)},'children':[this[_0x4e4435(0x128)],this[_0x4e4435(0x10e)],this[_0x4e4435(0x100)],this[_0x4e4435(0x107)]]});}[_0x2af7e7(0x117)](){var _0xd645ad=_0x2af7e7;this[_0xd645ad(0x10e)][_0xd645ad(0xfe)](),this[_0xd645ad(0x10e)][_0xd645ad(0x11d)](_0xd645ad(0x10f),!0x0),this[_0xd645ad(0x100)][_0xd645ad(0x11d)](_0xd645ad(0x10f),!0x1),this[_0xd645ad(0x107)][_0xd645ad(0x11d)](_0xd645ad(0x10f),!0x1);}[_0x2af7e7(0x12a)](){var _0x152010=_0x2af7e7;this[_0x152010(0x11e)](),this[_0x152010(0x100)][_0x152010(0x112)](),this[_0x152010(0x10e)][_0x152010(0x11d)](_0x152010(0x10f),!0x1),this[_0x152010(0x100)][_0x152010(0x11d)](_0x152010(0x10f),!0x0),this[_0x152010(0x100)][_0x152010(0x109)](),this[_0x152010(0x100)][_0x152010(0x11d)](_0x152010(0x119),!0x0);}[_0x2af7e7(0x10d)](_0x446fd7){var _0x424a9e=_0x2af7e7;this[_0x424a9e(0x100)][_0x424a9e(0x121)](_0x446fd7),this[_0x424a9e(0x100)][_0x424a9e(0x11d)](_0x424a9e(0x119),!0x1);}[_0x2af7e7(0x10c)](){var _0x43643f=_0x2af7e7;this[_0x43643f(0x10e)][_0x43643f(0x11d)](_0x43643f(0x10f),!0x1),this[_0x43643f(0x100)][_0x43643f(0x11d)](_0x43643f(0x10f),!0x1),this[_0x43643f(0x107)][_0x43643f(0x11d)](_0x43643f(0x104),_0x43643f(0xff)),this[_0x43643f(0x107)][_0x43643f(0x11d)](_0x43643f(0x10f),!0x0);}[_0x2af7e7(0x108)](){var _0x29430a=_0x2af7e7;this[_0x29430a(0x100)][_0x29430a(0x129)]=!0x0;}[_0x2af7e7(0x103)](){var _0x206d30=_0x2af7e7;this[_0x206d30(0x10e)][_0x206d30(0x11d)](_0x206d30(0x10f),!0x1),this[_0x206d30(0x100)][_0x206d30(0x11d)](_0x206d30(0x10f),!0x1),this[_0x206d30(0x107)][_0x206d30(0x11d)](_0x206d30(0x104),_0x206d30(0x118)),this[_0x206d30(0x107)][_0x206d30(0x11d)](_0x206d30(0x10f),!0x0);}[_0x2af7e7(0x11e)](){var _0x2adef7=_0x2af7e7;this[_0x2adef7(0x100)][_0x2adef7(0x129)]=!0x1;}[_0x2af7e7(0x116)](){var _0x410c40=_0x2af7e7;this[_0x410c40(0x100)][_0x410c40(0x11d)](_0x410c40(0x119),!0x1),this[_0x410c40(0x108)](),this[_0x410c40(0x100)][_0x410c40(0x124)]();}[_0x2af7e7(0x114)](){var _0x53eb60=_0x2af7e7;this[_0x53eb60(0x100)][_0x53eb60(0x11d)](_0x53eb60(0x119),!0x1),this[_0x53eb60(0x108)](),this[_0x53eb60(0x100)][_0x53eb60(0x126)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5815cd=_0x1350;(function(_0x57ba2d,_0x3b1195){const _0x37dbac=_0x1350,_0x13ac14=_0x57ba2d();while(!![]){try{const _0x1a62c8=parseInt(_0x37dbac(0x18e))/0x1*(-parseInt(_0x37dbac(0x188))/0x2)+-parseInt(_0x37dbac(0x187))/0x3*(-parseInt(_0x37dbac(0x195))/0x4)+-parseInt(_0x37dbac(0x196))/0x5*(parseInt(_0x37dbac(0x183))/0x6)+-parseInt(_0x37dbac(0x191))/0x7+parseInt(_0x37dbac(0x18c))/0x8*(-parseInt(_0x37dbac(0x18d))/0x9)+parseInt(_0x37dbac(0x185))/0xa+-parseInt(_0x37dbac(0x181))/0xb*(-parseInt(_0x37dbac(0x18b))/0xc);if(_0x1a62c8===_0x3b1195)break;else _0x13ac14['push'](_0x13ac14['shift']());}catch(_0x4e61a4){_0x13ac14['push'](_0x13ac14['shift']());}}}(_0x1194,0x6efd1));import{FormRowView as _0x394388,ListItemView as _0x5dc23f}from'ckeditor5/src/ui.js';import{AIReviewModeFormDropdownView as _0x3833e0}from'./aireviewmodeformdropdown.js';export class AIReviewModeFormManagerView extends _0x5dc23f{[_0x5815cd(0x184)]=null;constructor(_0x44d645,_0xf41108,_0x5c4847){const _0x25c54d=_0x5815cd;super(_0x44d645),this[_0x25c54d(0x19a)]=_0xf41108?.[_0x25c54d(0x19a)];if(_0x25c54d(0x193)===_0xf41108[_0x25c54d(0x189)])this[_0x25c54d(0x184)]=new _0x3833e0(this[_0x25c54d(0x17f)],_0xf41108);this[_0x25c54d(0x199)](_0x25c54d(0x186),''),this[_0x25c54d(0x197)](_0x25c54d(0x186))['to'](this[_0x25c54d(0x184)],_0x25c54d(0x194));const _0x3bb48a=new _0x394388(this[_0x25c54d(0x17f)],{'children':[this[_0x25c54d(0x184)]],'class':[_0x5c4847?_0x25c54d(0x192):'']});_0x5c4847&&_0x3bb48a[_0x25c54d(0x180)][_0x25c54d(0x182)](_0x5c4847),this[_0x25c54d(0x18f)]({'tag':_0x25c54d(0x17e),'attributes':{'class':['ck',_0x25c54d(0x198),_0x25c54d(0x190)]},'children':[_0x3bb48a]});}[_0x5815cd(0x18a)](){const _0x40d797=_0x5815cd;this[_0x40d797(0x184)][_0x40d797(0x18a)]();}}function _0x1350(_0x2bf52b,_0x40e6b1){const _0x119480=_0x1194();return _0x1350=function(_0x13509e,_0x56674e){_0x13509e=_0x13509e-0x17e;let _0xe3969c=_0x119480[_0x13509e];return _0xe3969c;},_0x1350(_0x2bf52b,_0x40e6b1);}function _0x1194(){const _0x2bea48=['dropdown','formValue','1105172SwSWch','44325WSdern','bind','ck-ai-review-mode__form-item','set','argsKey','div','locale','children','22682Yuormj','add','474lAlkSD','_formItem','5253480VoMBGY','value','9FlrCjd','600590LDFhRd','formType','resetToDefault','5532AxvGaJ','8qjVlUQ','45621SUFSnC','2JeeCxT','setTemplate','ck-reset_all','3809442IfXKWj','ck-form__row_with-submit'];_0x1194=function(){return _0x2bea48;};return _0x1194();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x572f72=_0xf5c6;function _0x3a75(){const _0x3697f4=['9YkPExE','buttonView','menuitemradio','ck-ai-review-mode__check-list-item-parameterized-form-element','8783pekfNA','16SeKDTy','14xOkPmz','390HDobfi','model','1255645EmmjYV','ck-ai-review-mode__check-list-item-parameterized-form-element_dropdown','formValue','ck-reset_all','add','_defaultLabel','stopPropagation','set','70191UuLorC','setTemplate','178rOTXBI','button','7499856zYVMWr','resetToDefault','24024egqpBS','2281867joprvT','_dropdownView','isOn','execute','extendTemplate','18BVDXuC','find','703196sIThke','4235BPAFZU','listenTo','source','_prepareListOptions','bind','bindTemplate','locale','data','label','default','length','menu','_defaultValue','div'];_0x3a75=function(){return _0x3697f4;};return _0x3a75();}function _0xf5c6(_0x1a3bd1,_0x34946a){const _0x3a7594=_0x3a75();return _0xf5c6=function(_0xf5c62c,_0x5027d4){_0xf5c62c=_0xf5c62c-0x1c4;let _0x387c4d=_0x3a7594[_0xf5c62c];return _0x387c4d;},_0xf5c6(_0x1a3bd1,_0x34946a);}(function(_0x25cbe2,_0x132730){const _0x454249=_0xf5c6,_0x397017=_0x25cbe2();while(!![]){try{const _0xcbde92=-parseInt(_0x454249(0x1ec))/0x1*(-parseInt(_0x454249(0x1cd))/0x2)+-parseInt(_0x454249(0x1e8))/0x3*(-parseInt(_0x454249(0x1d9))/0x4)+parseInt(_0x454249(0x1f1))/0x5*(-parseInt(_0x454249(0x1d7))/0x6)+-parseInt(_0x454249(0x1d2))/0x7*(parseInt(_0x454249(0x1ed))/0x8)+-parseInt(_0x454249(0x1cb))/0x9*(-parseInt(_0x454249(0x1ef))/0xa)+parseInt(_0x454249(0x1da))/0xb*(parseInt(_0x454249(0x1d1))/0xc)+parseInt(_0x454249(0x1cf))/0xd*(-parseInt(_0x454249(0x1ee))/0xe);if(_0xcbde92===_0x132730)break;else _0x397017['push'](_0x397017['shift']());}catch(_0x7a30bc){_0x397017['push'](_0x397017['shift']());}}}(_0x3a75,0x6215a));import{Collection as _0xb8b6af}from'ckeditor5/src/utils.js';import{View as _0x265a9e,createDropdown as _0x5b14f2,addListToDropdown as _0x1b950f,UIModel as _0x1e66cb}from'ckeditor5/src/ui.js';export class AIReviewModeFormDropdownView extends _0x265a9e{[_0x572f72(0x1d3)];[_0x572f72(0x1e6)];[_0x572f72(0x1c8)];constructor(_0x37c6b7,_0x10db32){const _0x40dc7e=_0x572f72;super(_0x37c6b7),this[_0x40dc7e(0x1e6)]=_0x10db32[_0x40dc7e(0x1e3)]||(_0x10db32[_0x40dc7e(0x1e1)][_0x40dc7e(0x1e4)]>0x0?_0x10db32[_0x40dc7e(0x1e1)][0x0]['id']:''),this[_0x40dc7e(0x1c8)]=_0x10db32[_0x40dc7e(0x1e1)][_0x40dc7e(0x1d8)](_0x53e98e=>_0x53e98e['id']===this[_0x40dc7e(0x1e6)])?.[_0x40dc7e(0x1e2)]||'',this[_0x40dc7e(0x1ca)](_0x40dc7e(0x1c5),''),this[_0x40dc7e(0x1d3)]=_0x5b14f2(this[_0x40dc7e(0x1e0)]);const _0x41579b=this[_0x40dc7e(0x1dd)](_0x10db32[_0x40dc7e(0x1e1)]);_0x1b950f(this[_0x40dc7e(0x1d3)],_0x41579b,{'role':_0x40dc7e(0x1e5),'ariaLabel':_0x10db32[_0x40dc7e(0x1e2)]}),this[_0x40dc7e(0x1d3)][_0x40dc7e(0x1e9)][_0x40dc7e(0x1ca)]({'label':this[_0x40dc7e(0x1c8)],'withText':!0x0}),this[_0x40dc7e(0x1d3)][_0x40dc7e(0x1d6)]({'on':{'click':this[_0x40dc7e(0x1df)]['to'](_0x1230f2=>{const _0x5ca6cd=_0x40dc7e;_0x1230f2[_0x5ca6cd(0x1c9)]();})}}),this[_0x40dc7e(0x1db)](this[_0x40dc7e(0x1d3)],_0x40dc7e(0x1d5),_0x108d76=>{const _0x497485=_0x40dc7e;this[_0x497485(0x1c5)]=_0x108d76[_0x497485(0x1dc)][_0x497485(0x1f0)]['id'],this[_0x497485(0x1d3)][_0x497485(0x1e9)][_0x497485(0x1e2)]=_0x108d76[_0x497485(0x1dc)][_0x497485(0x1f0)][_0x497485(0x1e2)];}),this[_0x40dc7e(0x1cc)]({'tag':_0x40dc7e(0x1e7),'attributes':{'class':['ck',_0x40dc7e(0x1c6),_0x40dc7e(0x1eb),_0x40dc7e(0x1c4)]},'children':[this[_0x40dc7e(0x1d3)]]});}[_0x572f72(0x1d0)](){const _0x441a0d=_0x572f72;this[_0x441a0d(0x1c5)]=this[_0x441a0d(0x1e6)],this[_0x441a0d(0x1d3)][_0x441a0d(0x1e9)][_0x441a0d(0x1e2)]=this[_0x441a0d(0x1c8)];}[_0x572f72(0x1dd)](_0x290049=[]){const _0xee2ada=_0x572f72,_0x248e02=new _0xb8b6af();this[_0xee2ada(0x1d0)]();for(const _0x33704c of _0x290049){const _0x195ea2=new _0x1e66cb({'label':_0x33704c[_0xee2ada(0x1e2)],'withText':!0x0,'role':_0xee2ada(0x1ea),'id':_0x33704c['id'],'model':_0x33704c});_0x195ea2[_0xee2ada(0x1de)](_0xee2ada(0x1d4))['to'](this,_0xee2ada(0x1c5),_0x40eba2=>_0x40eba2===_0x195ea2['id']);const _0x4298bf={'type':_0xee2ada(0x1ce),'model':_0x195ea2};_0x248e02[_0xee2ada(0x1c7)](_0x4298bf);}return _0x248e02;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5815cd=_0x1350;(function(_0x57ba2d,_0x3b1195){const _0x37dbac=_0x1350,_0x13ac14=_0x57ba2d();while(!![]){try{const _0x1a62c8=parseInt(_0x37dbac(0x18e))/0x1*(-parseInt(_0x37dbac(0x188))/0x2)+-parseInt(_0x37dbac(0x187))/0x3*(-parseInt(_0x37dbac(0x195))/0x4)+-parseInt(_0x37dbac(0x196))/0x5*(parseInt(_0x37dbac(0x183))/0x6)+-parseInt(_0x37dbac(0x191))/0x7+parseInt(_0x37dbac(0x18c))/0x8*(-parseInt(_0x37dbac(0x18d))/0x9)+parseInt(_0x37dbac(0x185))/0xa+-parseInt(_0x37dbac(0x181))/0xb*(-parseInt(_0x37dbac(0x18b))/0xc);if(_0x1a62c8===_0x3b1195)break;else _0x13ac14['push'](_0x13ac14['shift']());}catch(_0x4e61a4){_0x13ac14['push'](_0x13ac14['shift']());}}}(_0x1194,0x6efd1));import{FormRowView as _0x394388,ListItemView as _0x5dc23f}from'ckeditor5/src/ui.js';import{AIReviewModeFormDropdownView as _0x3833e0}from'./aireviewmodeformdropdown.js';export class AIReviewModeFormManagerView extends _0x5dc23f{[_0x5815cd(0x184)]=null;constructor(_0x44d645,_0xf41108,_0x5c4847){const _0x25c54d=_0x5815cd;super(_0x44d645),this[_0x25c54d(0x19a)]=_0xf41108?.[_0x25c54d(0x19a)];if(_0x25c54d(0x193)===_0xf41108[_0x25c54d(0x189)])this[_0x25c54d(0x184)]=new _0x3833e0(this[_0x25c54d(0x17f)],_0xf41108);this[_0x25c54d(0x199)](_0x25c54d(0x186),''),this[_0x25c54d(0x197)](_0x25c54d(0x186))['to'](this[_0x25c54d(0x184)],_0x25c54d(0x194));const _0x3bb48a=new _0x394388(this[_0x25c54d(0x17f)],{'children':[this[_0x25c54d(0x184)]],'class':[_0x5c4847?_0x25c54d(0x192):'']});_0x5c4847&&_0x3bb48a[_0x25c54d(0x180)][_0x25c54d(0x182)](_0x5c4847),this[_0x25c54d(0x18f)]({'tag':_0x25c54d(0x17e),'attributes':{'class':['ck',_0x25c54d(0x198),_0x25c54d(0x190)]},'children':[_0x3bb48a]});}[_0x5815cd(0x18a)](){const _0x40d797=_0x5815cd;this[_0x40d797(0x184)][_0x40d797(0x18a)]();}}function _0x1350(_0x2bf52b,_0x40e6b1){const _0x119480=_0x1194();return _0x1350=function(_0x13509e,_0x56674e){_0x13509e=_0x13509e-0x17e;let _0xe3969c=_0x119480[_0x13509e];return _0xe3969c;},_0x1350(_0x2bf52b,_0x40e6b1);}function _0x1194(){const _0x2bea48=['dropdown','formValue','1105172SwSWch','44325WSdern','bind','ck-ai-review-mode__form-item','set','argsKey','div','locale','children','22682Yuormj','add','474lAlkSD','_formItem','5253480VoMBGY','value','9FlrCjd','600590LDFhRd','formType','resetToDefault','5532AxvGaJ','8qjVlUQ','45621SUFSnC','2JeeCxT','setTemplate','ck-reset_all','3809442IfXKWj','ck-form__row_with-submit'];_0x1194=function(){return _0x2bea48;};return _0x1194();}
|
package/src/aitabs/aitabs.d.ts
CHANGED
|
@@ -10,9 +10,13 @@ import { type Context, ContextPlugin, Editor } from 'ckeditor5/src/core.js';
|
|
|
10
10
|
import { AITabsMainView } from './aitabsmainview.js';
|
|
11
11
|
import { type AIContainerSide, type AIContainerType } from '../aiconfig.js';
|
|
12
12
|
/**
|
|
13
|
-
* The AI Tabs plugin. It delivers the tabs view that hosts AI-powered features in the editor
|
|
13
|
+
* The AI Tabs plugin. It delivers the tabs view that hosts AI-powered features in the editor
|
|
14
|
+
* such as {@link module:ai/aichat/aichat~AIChat AI Chat}, {@link module:ai/aiquickactions/aiquickactions~AIQuickActions AI Quick Actions},
|
|
15
|
+
* and {@link module:ai/aireviewmode/aireviewmode~AIReviewMode AI Review Mode}.
|
|
14
16
|
*
|
|
15
|
-
*
|
|
17
|
+
* The feature is configured via the {@link module:ai/aiconfig~AIConfig#container `config.ai.container`} property.
|
|
18
|
+
*
|
|
19
|
+
* Learn more about AI features in CKEditor in the {@glink features/ai/ckeditor-ai-overview AI Overview} documentation.
|
|
16
20
|
*/
|
|
17
21
|
export declare class AITabs extends ContextPlugin {
|
|
18
22
|
/**
|
|
@@ -76,17 +80,3 @@ export declare class AITabs extends ContextPlugin {
|
|
|
76
80
|
*/
|
|
77
81
|
destroy(): void;
|
|
78
82
|
}
|
|
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
|
-
};
|
package/src/aitabs/aitabs.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x157018=_0x6aa4;(function(_0x44b01d,_0x43fdce){const _0x300163=_0x6aa4,_0x1e9625=_0x44b01d();while(!![]){try{const _0x30c2e0=-parseInt(_0x300163(0x16c))/0x1*(-parseInt(_0x300163(0x175))/0x2)+-parseInt(_0x300163(0x171))/0x3*(-parseInt(_0x300163(0x15d))/0x4)+parseInt(_0x300163(0x16b))/0x5*(parseInt(_0x300163(0x157))/0x6)+-parseInt(_0x300163(0x154))/0x7+parseInt(_0x300163(0x168))/0x8*(-parseInt(_0x300163(0x15b))/0x9)+parseInt(_0x300163(0x176))/0xa+parseInt(_0x300163(0x145))/0xb*(-parseInt(_0x300163(0x158))/0xc);if(_0x30c2e0===_0x43fdce)break;else _0x1e9625['push'](_0x1e9625['shift']());}catch(_0x338f91){_0x1e9625['push'](_0x1e9625['shift']());}}}(_0x8020,0xc0ace));import{ContextPlugin as _0x307c54,Editor as _0xe45bef}from'ckeditor5/src/core.js';function _0x6aa4(_0x2a07ee,_0x430e8d){const _0x802045=_0x8020();return _0x6aa4=function(_0x6aa441,_0x570c65){_0x6aa441=_0x6aa441-0x145;let _0x3ef13a=_0x802045[_0x6aa441];return _0x3ef13a;},_0x6aa4(_0x2a07ee,_0x430e8d);}import{CKEditorError as _0x1429c0}from'ckeditor5/src/utils.js';import{AITabsMainView as _0x354563,AI_TABS_VIEW_SIDES as _0x18ed4d,AI_TABS_VIEW_TYPES as _0x4d9087}from'./aitabsmainview.js';export class AITabs extends _0x307c54{[_0x157018(0x159)];[_0x157018(0x15f)]=null;[_0x157018(0x173)]=!0x0;static get[_0x157018(0x16a)](){const _0x4f42af=_0x157018;return _0x4f42af(0x16e);}static get[_0x157018(0x148)](){return!0x0;}static get[_0x157018(0x15e)](){return!0x0;}constructor(_0x5d01a3){const _0x55ebe7=_0x157018;super(_0x5d01a3);const _0x54930c=this[_0x55ebe7(0x14e)][_0x55ebe7(0x160)][_0x55ebe7(0x14a)](_0x55ebe7(0x14f));if(this[_0x55ebe7(0x177)](_0x55ebe7(0x152),_0x55ebe7(0x16f)),!_0x54930c)throw new _0x1429c0(_0x55ebe7(0x153));if(void 0x0!==_0x54930c[_0x55ebe7(0x173)]&&(this[_0x55ebe7(0x173)]=_0x54930c[_0x55ebe7(0x173)]),_0x55ebe7(0x164)!==_0x54930c[_0x55ebe7(0x172)]&&_0x55ebe7(0x165)!==_0x54930c[_0x55ebe7(0x172)]||_0x54930c[_0x55ebe7(0x152)]&&(this[_0x55ebe7(0x152)]=_0x54930c[_0x55ebe7(0x152)]),_0x55ebe7(0x164)===_0x54930c[_0x55ebe7(0x172)]){if(this[_0x55ebe7(0x15f)]=_0x54930c[_0x55ebe7(0x15a)],this[_0x55ebe7(0x177)](_0x55ebe7(0x172),_0x55ebe7(0x164)),!this[_0x55ebe7(0x15f)])throw new _0x1429c0(_0x55ebe7(0x166));}else _0x55ebe7(0x165)===_0x54930c[_0x55ebe7(0x172)]?(this[_0x55ebe7(0x15f)]=document[_0x55ebe7(0x169)],this[_0x55ebe7(0x177)](_0x55ebe7(0x172),_0x55ebe7(0x165))):(this[_0x55ebe7(0x15f)]=null,this[_0x55ebe7(0x177)](_0x55ebe7(0x172),_0x55ebe7(0x14d)));this[_0x55ebe7(0x159)]=new _0x354563(this[_0x55ebe7(0x14e)][_0x55ebe7(0x16d)],{'side':this[_0x55ebe7(0x152)],'type':this[_0x55ebe7(0x172)]}),this[_0x55ebe7(0x159)][_0x55ebe7(0x170)](),this[_0x55ebe7(0x159)][_0x55ebe7(0x163)](_0x55ebe7(0x152))['to'](this,_0x55ebe7(0x152)),this[_0x55ebe7(0x159)][_0x55ebe7(0x163)](_0x55ebe7(0x172))['to'](this,_0x55ebe7(0x172)),this[_0x55ebe7(0x15f)]&&this[_0x55ebe7(0x15f)][_0x55ebe7(0x162)](this[_0x55ebe7(0x159)][_0x55ebe7(0x15a)]),this[_0x55ebe7(0x14e)]instanceof _0xe45bef&&this[_0x55ebe7(0x14e)]['ui'][_0x55ebe7(0x167)][_0x55ebe7(0x156)](this[_0x55ebe7(0x159)][_0x55ebe7(0x15a)]);}[_0x157018(0x151)](_0x3c24db){const _0x312ab2=_0x157018;if(_0x3c24db&&this[_0x312ab2(0x172)]!==_0x3c24db){if(!_0x4d9087[_0x312ab2(0x15c)](_0x3c24db))throw new _0x1429c0(_0x312ab2(0x161));this[_0x312ab2(0x172)]=_0x3c24db;}}[_0x157018(0x149)](_0x46735b){const _0x178154=_0x157018;if(_0x46735b&&this[_0x178154(0x152)]!==_0x46735b){if(!_0x18ed4d[_0x178154(0x15c)](_0x46735b))throw new _0x1429c0(_0x178154(0x14b));this[_0x178154(0x152)]=_0x46735b;}}[_0x157018(0x14c)](){const _0x1e2c93=_0x157018;this[_0x1e2c93(0x159)][_0x1e2c93(0x150)]=!this[_0x1e2c93(0x159)][_0x1e2c93(0x150)],this[_0x1e2c93(0x174)](_0x1e2c93(0x146),this[_0x1e2c93(0x159)][_0x1e2c93(0x150)]);}[_0x157018(0x155)](){const _0x32a58e=_0x157018;super[_0x32a58e(0x155)](),this[_0x32a58e(0x159)][_0x32a58e(0x155)](),this[_0x32a58e(0x159)][_0x32a58e(0x15a)]&&this[_0x32a58e(0x159)][_0x32a58e(0x15a)][_0x32a58e(0x147)]();}}function _0x8020(){const _0x350483=['bind','sidebar','overlay','ai-tabs-sidebar-container-element-not-found','focusTracker','240672wpKwBL','body','pluginName','37575Xebsyg','1761fXttwZ','locale','AITabs','right','render','177dVuztw','type','showResizeButton','fire','1042KbYEgq','10218210hLjfix','set','25935107fBwywB','resizedTabs','remove','isOfficialPlugin','switchSide','get','ai-tabs-unsupported-ui-side','resize','custom','context','ai.container','isMaximized','switchType','side','ai-tabs-configuration-not-found','4488876FeMDiJ','destroy','add','1092azOBBz','12tWlixe','view','element','216OmiVJC','includes','81572YpFUvt','isPremiumPlugin','container','config','ai-tabs-unsupported-ui-type','appendChild'];_0x8020=function(){return _0x350483;};return _0x8020();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x20f9(){const _0x80c765=['add','ck-ai-tabs','sidebar','516519panfvT','isVisible','buttonViews','withText','type','left','12fBWBUZ','side','644124pBCQxW','right','bindTemplate','ck-ai-tabs__overlay','overlay','extendTemplate','ck-ai-tabs__sidebar','1161fNQUBF','ck-hidden','custom','6936NsSkYv','380366FlrhaX','44864VmamJj','493466DFeyIn','319575ZvQjlx','set'];_0x20f9=function(){return _0x80c765;};return _0x20f9();}const _0x21c1f0=_0x5786;function _0x5786(_0x4381f1,_0x3c0a9e){const _0x20f940=_0x20f9();return _0x5786=function(_0x578686,_0x31125c){_0x578686=_0x578686-0xec;let _0x9fe63=_0x20f940[_0x578686];return _0x9fe63;},_0x5786(_0x4381f1,_0x3c0a9e);}(function(_0xbc939d,_0x368d5b){const _0x387ad2=_0x5786,_0x44ae0d=_0xbc939d();while(!![]){try{const _0x4dd60f=parseInt(_0x387ad2(0xef))/0x1+parseInt(_0x387ad2(0xf0))/0x2+-parseInt(_0x387ad2(0xf6))/0x3+-parseInt(_0x387ad2(0xfc))/0x4*(-parseInt(_0x387ad2(0xf1))/0x5)+-parseInt(_0x387ad2(0xfe))/0x6+parseInt(_0x387ad2(0xee))/0x7+parseInt(_0x387ad2(0xed))/0x8*(-parseInt(_0x387ad2(0x105))/0x9);if(_0x4dd60f===_0x368d5b)break;else _0x44ae0d['push'](_0x44ae0d['shift']());}catch(_0x30890f){_0x44ae0d['push'](_0x44ae0d['shift']());}}}(_0x20f9,0x23b86));import{AITabsView as _0xc12813}from'./tabs/aitabsview.js';import'../../theme/aitabs/aitabsview.css';export const AI_TABS_VIEW_TYPES=[_0x21c1f0(0x102),_0x21c1f0(0xf5),_0x21c1f0(0xec)];export const AI_TABS_VIEW_SIDES=[_0x21c1f0(0xfb),_0x21c1f0(0xff)];export class AITabsMainView extends _0xc12813{constructor(_0xcb2517,_0x2ab56f={}){const _0x19b389=_0x21c1f0;super(_0xcb2517,_0x2ab56f),this[_0x19b389(0xf2)](_0x19b389(0xfa),_0x2ab56f[_0x19b389(0xfa)]||_0x19b389(0xf5)),this[_0x19b389(0xf2)](_0x19b389(0xfd),_0x2ab56f[_0x19b389(0xfd)]||_0x19b389(0xff)),this[_0x19b389(0xf2)](_0x19b389(0xf7),!0x0);const _0x20fe6c=this[_0x19b389(0x100)];this[_0x19b389(0x103)]({'attributes':{'class':[_0x19b389(0xf4),_0x20fe6c['if'](_0x19b389(0xfa),_0x19b389(0x101),_0x5d3623=>_0x19b389(0x102)===_0x5d3623),_0x20fe6c['if'](_0x19b389(0xfa),_0x19b389(0x104),_0x5430ed=>_0x19b389(0xf5)===_0x5430ed),_0x20fe6c['if'](_0x19b389(0xf7),_0x19b389(0x106),_0x23a083=>!_0x23a083)]}}),this[_0x19b389(0xf8)]['on'](_0x19b389(0xf3),(_0x3d69f4,_0x38a1cf)=>{const _0x44ceb2=_0x19b389;_0x38a1cf[_0x44ceb2(0xf2)](_0x44ceb2(0xf9),!0x1);});}}
|