@ckeditor/ckeditor5-ai 47.0.0-alpha.7 → 47.0.0-alpha.9
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 +0 -30
- 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.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 -0
- package/src/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aireviewmode/aireviewcheckdefinitions.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 -2
- 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 _0x2cd9ff=_0x29e1;(function(_0x364800,_0x2658ea){const _0xe767f2=_0x29e1,_0x4466a8=_0x364800();while(!![]){try{const _0x5ec2c1=parseInt(_0xe767f2(0x185))/0x1*(-parseInt(_0xe767f2(0x178))/0x2)+-parseInt(_0xe767f2(0x19e))/0x3*(-parseInt(_0xe767f2(0x188))/0x4)+-parseInt(_0xe767f2(0x1a1))/0x5*(parseInt(_0xe767f2(0x1a5))/0x6)+parseInt(_0xe767f2(0x19a))/0x7+parseInt(_0xe767f2(0x18d))/0x8*(-parseInt(_0xe767f2(0x198))/0x9)+-parseInt(_0xe767f2(0x179))/0xa*(-parseInt(_0xe767f2(0x180))/0xb)+parseInt(_0xe767f2(0x1aa))/0xc*(parseInt(_0xe767f2(0x1a7))/0xd);if(_0x5ec2c1===_0x2658ea)break;else _0x4466a8['push'](_0x4466a8['shift']());}catch(_0x182ca9){_0x4466a8['push'](_0x4466a8['shift']());}}}(_0x2fd8,0x2c214));import{View as _0x14ddf7,ButtonView as _0x579d81}from'ckeditor5/src/ui.js';function _0x2fd8(){const _0x113002=['17966TZtzCC','ck-ai-review-mode__check-run-result-action-buttons','AI_REVIEW_MODE_DISMISS_CHANGE','2748whALPv','ck-ai-review-mode__check-run-result-response','_createResultResponseView','_createDismissButtonView','setItemAsInactive','menuitemcheckbox','ck-content','2HeBjkV','30PcYwhz','fire','_createAcceptButtonView','ck-ai-review-mode__check-run-result','isOn','_createInfoButtonView','activateChange','117161mchoSx','setTemplate','isActive','ck-content-direct-excluded','extendTemplate','172741aRCtzr','bind','ck-ai-button-secondary\x20ck-ai-review-mode__check-run-result-accept-button','621596pzoLhe','execute','changeId','ck-ai-button-tertiary-filled\x20ck-ai-review-mode__check-run-result-dismiss-button','set','82104TEAxZD','log','dismissChange','ck-ai-review-mode__check-run-result-footer','bindTemplate','resultResponseView','ck-ai-review-mode__check-run-result_active','setItemAsActive','acceptButtonView','isInfoToggleOn','ck-ai-button-tertiary-filled\x20ck-ai-review-mode__check-run-result-info-button\x20ck-hidden','171LjnKuc','div','870576XiMhDS','acceptChange','Toggle\x20info\x20view','infoButtonView','3kERNrY','AI_REVIEW_MODE_LEARN_MORE','dismissButtonView','1080iozOaW','stopPropagation','AI_REVIEW_MODE_ACCEPT_CHANGE','locale','2214qNurnJ','click'];_0x2fd8=function(){return _0x113002;};return _0x2fd8();}import{IconInfo as _0x502f46}from'ckeditor5/src/icons.js';function _0x29e1(_0x542dd7,_0x4c06eb){const _0x2fd89f=_0x2fd8();return _0x29e1=function(_0x29e150,_0xf838f2){_0x29e150=_0x29e150-0x175;let _0x1257ee=_0x2fd89f[_0x29e150];return _0x1257ee;},_0x29e1(_0x542dd7,_0x4c06eb);}import{getTranslation as _0x4cce31}from'../../aicore/utils/common-translations.js';export class AIReviewModeReviewCheckListItemResultsView extends _0x14ddf7{[_0x2cd9ff(0x192)];[_0x2cd9ff(0x195)];[_0x2cd9ff(0x1a0)];[_0x2cd9ff(0x19d)];constructor(_0x3b7c35,_0xa8c420){const _0x202c42=_0x2cd9ff;super(_0x3b7c35),this['id']=_0xa8c420,this[_0x202c42(0x18c)](_0x202c42(0x18a),_0xa8c420),this[_0x202c42(0x192)]=this[_0x202c42(0x1ac)](),this[_0x202c42(0x195)]=this[_0x202c42(0x17b)](),this[_0x202c42(0x1a0)]=this[_0x202c42(0x1ad)](),this[_0x202c42(0x19d)]=this[_0x202c42(0x17e)](),this[_0x202c42(0x18c)](_0x202c42(0x196),!0x1),this[_0x202c42(0x18c)](_0x202c42(0x182),!0x1),this[_0x202c42(0x181)]({'tag':_0x202c42(0x199),'attributes':{'class':[_0x202c42(0x17c),this[_0x202c42(0x191)]['if'](_0x202c42(0x182),_0x202c42(0x193))]},'on':{'click':this[_0x202c42(0x191)]['to'](_0x202c42(0x1a6))},'children':[this[_0x202c42(0x192)],{'tag':_0x202c42(0x199),'attributes':{'class':[_0x202c42(0x190)]},'children':[{'tag':_0x202c42(0x199),'attributes':{'class':[_0x202c42(0x1a8)]},'children':[this[_0x202c42(0x195)],this[_0x202c42(0x1a0)]]},this[_0x202c42(0x19d)]]}]}),this['on'](_0x202c42(0x1a6),()=>{const _0x23425a=_0x202c42;this[_0x23425a(0x17a)](_0x23425a(0x17f),{'id':_0xa8c420,'source':this});});}[_0x2cd9ff(0x194)](){const _0x422451=_0x2cd9ff;this[_0x422451(0x182)]=!0x0;}[_0x2cd9ff(0x175)](){const _0x5a18fb=_0x2cd9ff;this[_0x5a18fb(0x182)]=!0x1;}[_0x2cd9ff(0x1ac)](){const _0x509343=_0x2cd9ff,_0x442ff8=new _0x14ddf7(this[_0x509343(0x1a4)]);return _0x442ff8[_0x509343(0x181)]({'tag':_0x509343(0x199),'attributes':{'class':['ck',_0x509343(0x177),_0x509343(0x183),_0x509343(0x1ab)]}}),_0x442ff8;}[_0x2cd9ff(0x17b)](){const _0x354133=_0x2cd9ff,_0x12baed=new _0x579d81(this[_0x354133(0x1a4)]);return _0x12baed[_0x354133(0x18c)]({'label':_0x4cce31(this[_0x354133(0x1a4)],_0x354133(0x1a3)),'withText':!0x0,'class':_0x354133(0x187)}),_0x12baed[_0x354133(0x184)]({'on':{'click':this[_0x354133(0x191)]['to'](_0x552fcb=>{const _0x187fb7=_0x354133;this[_0x187fb7(0x17a)](_0x187fb7(0x19b),{'id':this[_0x187fb7(0x18a)]}),_0x552fcb[_0x187fb7(0x1a2)]();})}}),_0x12baed;}[_0x2cd9ff(0x1ad)](){const _0x1d9668=_0x2cd9ff,_0x506dc5=new _0x579d81(this[_0x1d9668(0x1a4)]);return _0x506dc5[_0x1d9668(0x18c)]({'label':_0x4cce31(this[_0x1d9668(0x1a4)],_0x1d9668(0x1a9)),'withText':!0x0,'class':_0x1d9668(0x18b)}),_0x506dc5[_0x1d9668(0x184)]({'on':{'click':this[_0x1d9668(0x191)]['to'](_0x1d7640=>{const _0x260860=_0x1d9668;this[_0x260860(0x17a)](_0x260860(0x18f),{'id':this[_0x260860(0x18a)]}),_0x1d7640[_0x260860(0x1a2)]();})}}),_0x506dc5;}[_0x2cd9ff(0x17e)](){const _0x47a4f1=_0x2cd9ff,_0x4ae09e=new _0x579d81(this[_0x47a4f1(0x1a4)]);return _0x4ae09e[_0x47a4f1(0x18c)]({'label':_0x4cce31(this[_0x47a4f1(0x1a4)],_0x47a4f1(0x19f)),'icon':_0x502f46,'tooltip':!0x0,'isToggleable':!0x0,'role':_0x47a4f1(0x176),'class':_0x47a4f1(0x197)}),_0x4ae09e[_0x47a4f1(0x186)](_0x47a4f1(0x17d))['to'](this,_0x47a4f1(0x196),_0xd8d321=>_0xd8d321),_0x4ae09e['on'](_0x47a4f1(0x189),()=>{const _0xabfb1b=_0x47a4f1;console[_0xabfb1b(0x18e)](_0xabfb1b(0x19c)),this[_0xabfb1b(0x196)]=!this[_0xabfb1b(0x196)];}),_0x4ae09e;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Collection as
|
|
23
|
+
import{Collection as _0x157e5c}from'ckeditor5/src/utils.js';import{View as _0x507e89,ButtonView as _0x309568,FormRowView as _0xa8c3db,createDropdown as _0x2dd9e9,addListToDropdown as _0x142dbb,UIModel as _0x145dcb,ButtonLabelView as _0x54babb}from'ckeditor5/src/ui.js';import{AIReviewModePromptInputView as _0xc81816}from'./aireviemodepromptinputview.js';export class AIReviewModeCustomCheckView extends _0x507e89{['submitButtonView'];['cancelButtonView'];['promptInputView'];['_modelSelectionDropdown'];['_modelSelectionDropdownItems'];['_check'];['_defaultValue'];['_defaultLabel'];constructor(_0x35f5f8,_0x4fd998){super(_0x35f5f8),this['_check']=_0x4fd998,this['set']('prompt',''),this['set']('modelId',''),this['_defaultValue']=_0x4fd998['models']&&_0x4fd998['models']['length']>0x0?_0x4fd998['models'][0x0]['id']:'',this['_defaultLabel']=_0x4fd998['models']&&_0x4fd998['models']['length']>0x0?_0x4fd998['models'][0x0]['name']:'',this['submitButtonView']=this['_createSubmitButtonView'](),this['cancelButtonView']=this['_createCancelButtonView'](),this['promptInputView']=new _0xc81816(_0x35f5f8),this['promptInputView']['bind']('value')['to'](this,'prompt'),this['promptInputView']['on']('input',()=>{this['prompt']=this['promptInputView']['element']['value'];}),this['_modelSelectionDropdown']=this['_createModelSelectionDropdown'](),this['_modelSelectionDropdownItems']=new _0x157e5c(),this['_setModelList'](),_0x142dbb(this['_modelSelectionDropdown'],this['_modelSelectionDropdownItems']);const _0x3e4e42=new _0x507e89(_0x35f5f8);_0x3e4e42['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 _0xa8c3db(this['locale'],{'children':[this['promptInputView']]}),new _0xa8c3db(this['locale'],{'children':[_0x3e4e42]})]});}['resetToDefault'](){this['prompt']='',this['modelId']=this['_defaultValue'],this['_modelSelectionDropdown']['buttonView']['label']=this['_defaultLabel'];}['_createSubmitButtonView'](){const _0x2d3282=new _0x309568(this['locale']),t=this['locale']['t'];return _0x2d3282['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x2d3282['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x19ba96=>{_0x19ba96['stopPropagation']();})}}),_0x2d3282['on']('execute',()=>{this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0});}),_0x2d3282;}['_createCancelButtonView'](){const _0x90ca5=new _0x309568(this['locale']),t=this['locale']['t'];return _0x90ca5['set']({'label':t('Cancel'),'withText':!0x0,'class':'ck-ai-button-tertiary-filled'}),_0x90ca5['on']('execute',()=>{this['resetToDefault']();}),_0x90ca5;}['_setModelList'](){this['_modelSelectionDropdownItems']['clear']();const _0x59ee1d=this['_check']['models'];if(this['resetToDefault'](),_0x59ee1d?.['length'])for(const _0x2c8e40 of _0x59ee1d){const _0x4e31e6=new _0x145dcb({'label':_0x2c8e40['name'],'withText':!0x0,'role':'menuitemradio','id':_0x2c8e40['id'],'model':_0x2c8e40});_0x4e31e6['bind']('isOn')['to'](this,'modelId',_0x4066b2=>_0x4066b2===_0x2c8e40['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0x4e31e6,'labelView':new js(this['locale'],_0x2c8e40)});}}['_createModelSelectionDropdown'](){const _0x39c896=_0x2dd9e9(this['locale']);return _0x39c896['set']({'panelPosition':'se','class':'ck-ai-review-mode__check-list-item-model-dropdown'}),_0x39c896['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x581ba0=>{_0x581ba0['stopPropagation']();})}}),_0x39c896['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0,'tooltip':!0x0}),this['listenTo'](_0x39c896,'execute',_0x3e8884=>{this['modelId']=_0x3e8884['source']['model']['id'],_0x39c896['buttonView']['label']=_0x3e8884['source']['label'];}),_0x39c896;}}class js extends _0x54babb{constructor(_0x53a03f,_0x1ce8b1){super();const _0x3dfaf4=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x3dfaf4['to']('style'),'id':_0x3dfaf4['to']('id')},'children':[{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-model-dropdown-name']},'children':[{'text':_0x3dfaf4['to']('text')}]},{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-model-dropdown-description']},'children':[{'tag':'span','children':[{'text':_0x1ce8b1['description']}]}]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x495782=_0x4300;(function(_0x226b06,_0x48cb3b){const _0x5284fa=_0x4300,_0x4f0d32=_0x226b06();while(!![]){try{const _0x4c788=parseInt(_0x5284fa(0xbc))/0x1*(parseInt(_0x5284fa(0xca))/0x2)+parseInt(_0x5284fa(0xbb))/0x3*(-parseInt(_0x5284fa(0xba))/0x4)+parseInt(_0x5284fa(0xcf))/0x5*(-parseInt(_0x5284fa(0xc1))/0x6)+-parseInt(_0x5284fa(0xbf))/0x7*(parseInt(_0x5284fa(0xd4))/0x8)+parseInt(_0x5284fa(0xcc))/0x9+-parseInt(_0x5284fa(0xbd))/0xa*(-parseInt(_0x5284fa(0xd6))/0xb)+parseInt(_0x5284fa(0xd2))/0xc;if(_0x4c788===_0x48cb3b)break;else _0x4f0d32['push'](_0x4f0d32['shift']());}catch(_0x497d8b){_0x4f0d32['push'](_0x4f0d32['shift']());}}}(_0x2ddc,0xe70df));function _0x2ddc(){const _0x49496a=['10210mndgKJ','length','runReviewCheck','32525076dFidmM','ck-ai-review-mode__check-list','16mKZwgm','setChecks','14869327GzkosI','entries','2201484PXRovi','9aENLOt','2XqaylP','10iubKbL','hasChecks','5866462EQGVWp','ck-hidden','3768Aopvfm','div','isVisible','resetAllParameterizedChecks','_checkViews','delegate','clear','locale','bindTemplate','603128yKtYSG','resetToDefault','8016408sJRVcd','setTemplate','add'];_0x2ddc=function(){return _0x49496a;};return _0x2ddc();}import{ListItemView as _0x3d4abb,ViewCollection as _0x2bf4c0}from'ckeditor5/src/ui.js';import{AIReviewModeReviewCommandListItemView as _0x528f34}from'./aireviewmodereviewcommandlistitemview.js';function _0x4300(_0x157e3b,_0x36bde3){const _0x2ddc31=_0x2ddc();return _0x4300=function(_0x4300e5,_0x204015){_0x4300e5=_0x4300e5-0xba;let _0x539b05=_0x2ddc31[_0x4300e5];return _0x539b05;},_0x4300(_0x157e3b,_0x36bde3);}import'../../../theme/aireviewmode/aireviewmode-check-list.css';export class AIReviewModeReviewCheckListView extends _0x3d4abb{[_0x495782(0xc5)];constructor(_0x5815c6){const _0x1e9d45=_0x495782;super(_0x5815c6),this[_0x1e9d45(0xc5)]=new _0x2bf4c0();const _0x55042b=this[_0x1e9d45(0xc9)];this[_0x1e9d45(0xcd)]({'tag':_0x1e9d45(0xc2),'attributes':{'class':[_0x1e9d45(0xd3),_0x55042b['if'](_0x1e9d45(0xc3),_0x1e9d45(0xc0),_0x4dd7f4=>!_0x4dd7f4)]},'children':this[_0x1e9d45(0xc5)]});}[_0x495782(0xd5)](_0x188641){const _0x1bd963=_0x495782;this[_0x1bd963(0xc5)][_0x1bd963(0xc7)]();for(const [_0x533f9b,_0x2e2e0d]of _0x188641[_0x1bd963(0xd7)]()){const _0x4fabd2=new _0x528f34(this[_0x1bd963(0xc8)],_0x2e2e0d,_0x533f9b);_0x4fabd2[_0x1bd963(0xc6)](_0x1bd963(0xd1))['to'](this),this[_0x1bd963(0xc5)][_0x1bd963(0xce)](_0x4fabd2);}}[_0x495782(0xbe)](){const _0x2382da=_0x495782;return this[_0x2382da(0xc5)][_0x2382da(0xd0)]>0x0;}[_0x495782(0xc4)](){const _0x1d07ba=_0x495782;for(const _0x3a83f2 of this[_0x1d07ba(0xc5)])_0x3a83f2 instanceof _0x528f34&&_0x3a83f2[_0x1d07ba(0xcb)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ListItemView as
|
|
23
|
+
import{ListItemView as _0x7e6a16,View as _0x5e3f4,ViewCollection as _0x4f9ee1,ButtonView as _0x36d17c}from'ckeditor5/src/ui.js';import{IconStop as _0x3e99d1,IconEye as _0x24e548,IconEyeCrossedOut as _0x24276e}from'ckeditor5/src/icons.js';import{AIReviewModeReviewCheckListItemResultsView as _0x3fd954}from'./aireviewmodechecklistitemresultview.js';import{AISkeletonView as _0x15f9ca,SKELETON_DEFINITIONS as _0x339fcd}from'../../aicore/ui/aiskeleton.js';import{AIDisclaimerView as _0x15aaea}from'../../aicore/ui/aidisclaimerview.js';import{getTranslation as _0x4803ec}from'../../aicore/utils/common-translations.js';import{AISpinnerView as _0x18a725}from'../../aicore/ui/aispinner.js';import'../../../theme/aireviewmode/aireviewmode-check-run.css';import'../../../theme/aireviewmode/aireviewmode-check-run-result.css';export class AIReviewModeReviewCheckResultsView extends _0x7e6a16{['_resultViews'];['resultsHeader'];['reviewDisclaimer'];['_cancelButtonView'];['_acceptAllButtonView'];['_exitReviewButtonView'];['_toggleDiffButtonView'];['_errorMessageView'];constructor(_0x246cbf){super(_0x246cbf),this['_resultViews']=new _0x4f9ee1(),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 _0x15aaea(_0x246cbf),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 _0x1a42c2=this['_createCombinedSkeletonLoader'](),_0x24e3b1=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run',_0x24e3b1['if']('isVisible','ck-hidden',_0x2c3e2c=>!_0x2c3e2c)]},'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',_0x5c0ce4=>_0x5c0ce4)]},'children':this['_resultViews']},_0x1a42c2]},this['reviewDisclaimer']]});}['clearResults'](){this['_resultViews']['clear']();}['getResults'](){return this['_resultViews'];}['addResult'](_0x1ec743){const _0x778921=new _0x3fd954(this['locale'],_0x1ec743['id']);_0x778921['delegate']('acceptChange','dismissChange','activateChange')['to'](this),this['_resultViews']['add'](_0x778921),_0x778921['resultResponseView']['element']['innerHTML']=_0x1ec743['contentDiffed'];}['hideResult'](_0xa94aec){const _0x11a3f7=this['_resultViews']['find'](_0x42b3e7=>_0x42b3e7['id']===_0xa94aec);_0x11a3f7&&(_0x11a3f7['element']?.['classList']['add']('ck-ai-review-mode__check-run-result_removing'),_0x11a3f7['element']?.['addEventListener']('animationend',()=>{this['_resultViews']['remove'](_0x11a3f7),_0x11a3f7['destroy']();},{'once':!0x0}));}['setTitle'](_0x251116){this['headerTitle']=_0x251116;}['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 _0x15f9ca(this['locale'],_0x339fcd['aiReviewChecks']);}['_createCombinedSkeletonLoader'](){const _0x135a53=new _0x5e3f4(this['locale']),_0x3fcbd0=[];for(let _0x249db8=0x0;_0x249db8<0x10;_0x249db8++){const _0x3b4cd3=this['_createSkeletonLoader']();_0x3b4cd3['extendTemplate']({'attributes':{'class':['ck-ai-review-mode__check-run-skeleton-item']}}),_0x3fcbd0['push'](_0x3b4cd3);}return _0x135a53['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-skeleton-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x1c290f=>!_0x1c290f)]},'children':_0x3fcbd0}),_0x135a53;}['_createErrorView'](){const _0x387776=new _0x5e3f4(this['locale']),_0x347da7=new _0x36d17c(this['locale']),t=this['locale']['t'];return _0x387776['delegate']('retryReview')['to'](this),_0x347da7['set']({'label':t('Try\x20again'),'withText':!0x0,'class':'ck-ai-button-secondary\x20ck-ai-review-mode__check-run-error-retry-button'}),_0x347da7['on']('execute',()=>{this['fire']('retryReview');}),_0x387776['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-error-container',this['bindTemplate']['if']('showErrorMessage','ck-hidden',_0x24e713=>!_0x24e713),this['bindTemplate']['if']('errorType','ck-ai-review-mode__check-run-error-container_border-bottom',_0x1558bb=>'chunk'===_0x1558bb)]},'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',_0x5510ad=>'chunk'===_0x5510ad)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-chat-error__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x403298=>'general'!==_0x403298)]},'children':[{'text':_0x4803ec(this['locale'],'AI_REVIEW_MODE_GENERAL_ERROR_MESSAGE')}]},{'tag':'p','attributes':{'class':['ck-ai-chat-error__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x15a513=>'chunk'!==_0x15a513)]},'children':[{'text':_0x4803ec(this['locale'],'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE')}]}]},_0x347da7]}),_0x387776;}['_createCancelButtonView'](){const _0x59dfdc=new _0x36d17c(this['locale']);return _0x59dfdc['set']({'label':_0x4803ec(this['locale'],'AI_REVIEW_MODE_STOP_GENERATING'),'withText':!0x0,'class':['ai-chat-controls-loader__cancel-button'],'icon':_0x3e99d1}),_0x59dfdc['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isResultReady','ck-hidden',_0x5e063a=>_0x5e063a)]}}),_0x59dfdc['on']('execute',()=>{this['fire']('abortReviewStream');}),_0x59dfdc;}['_createToggleDiffButtonView'](){const _0x768448=new _0x36d17c(this['locale']);_0x768448['set']({'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox'}),_0x768448['bind']('isEnabled')['to'](this,'isError',_0x268c9f=>!_0x268c9f),_0x768448['extendTemplate']({'attributes':{'class':['ck-ai-button-secondary','ck-ai-review-mode__check-run-toggle-diff-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x571b82=>!_0x571b82)]}});const _0x37bcf2=_0x4803ec(this['locale'],'AI_REVIEW_MODE_HIDE_CHANGES'),_0x3eb141=_0x4803ec(this['locale'],'AI_REVIEW_MODE_SHOW_CHANGES');return _0x768448['bind']('isOn')['to'](this,'isToggleDiffOn',_0x58fb45=>_0x58fb45),_0x768448['bind']('icon')['to'](this,'isToggleDiffOn',_0x50bd91=>_0x50bd91?_0x24e548:_0x24276e),_0x768448['bind']('label')['to'](this,'isToggleDiffOn',_0x1781bb=>_0x1781bb?_0x37bcf2:_0x3eb141),_0x768448['on']('execute',()=>{this['isToggleDiffOn']=!this['isToggleDiffOn'],this['fire']('toggleDiff',{'on':this['isToggleDiffOn']});}),_0x768448;}['_createAcceptAllButtonView'](){const _0x368e3e=new _0x36d17c(this['locale']);return _0x368e3e['set']({'label':_0x4803ec(this['locale'],'AI_REVIEW_MODE_ACCEPT_ALL'),'withText':!0x0}),_0x368e3e['bind']('isEnabled')['to'](this,'isError',_0x1d0348=>!_0x1d0348),_0x368e3e['extendTemplate']({'attributes':{'class':['ck-ai-button-primary','ck-ai-review-mode__check-run-accept-all-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x26eaf4=>!_0x26eaf4)]}}),_0x368e3e['on']('execute',()=>{this['fire']('acceptAllChanges');}),_0x368e3e;}['_createExitReviewButtonView'](){const _0x1bd8c6=new _0x36d17c(this['locale']);return _0x1bd8c6['set']({'label':_0x4803ec(this['locale'],'AI_REVIEW_MODE_EXIT_REVIEW'),'withText':!0x0}),_0x1bd8c6['extendTemplate']({'attributes':{'class':['ck-ai-button-tertiary-filled','ck-ai-review-mode__check-run-exit-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x2b8a1d=>!_0x2b8a1d)]}}),_0x1bd8c6['on']('execute',()=>{this['fire']('leaveReviewModeResultList');}),_0x1bd8c6;}['_createResultHeaderView'](){const _0x3429db=new _0x5e3f4(this['locale']),_0x6d35ca=new _0x18a725();return _0x6d35ca['bind']('isVisible')['to'](this,'isResultReady',_0xeb09ab=>!_0xeb09ab),_0x3429db['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':[_0x6d35ca,this['_cancelButtonView'],this['_acceptAllButtonView'],this['_exitReviewButtonView'],this['_toggleDiffButtonView']]}]}),_0x3429db;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ListItemView as
|
|
23
|
+
import{ListItemView as _0x29d87e,IconView as _0x111221,View as _0x3beb5f,ViewCollection as _0xa749fb,ButtonView as _0x308dce,clickOutsideHandler as _0x87b8d4}from'ckeditor5/src/ui.js';import{IconChevronRight as _0x2d3480}from'ckeditor5/src/icons.js';import{AIReviewModeFormManagerView as _0x1d1e3d}from'./form/aireviewmodeformmanager.js';import{AIReviewModeCustomCheckView as _0x2f6393}from'./aireviewmodecustomcheckview.js';export class AIReviewModeReviewCommandListItemView extends _0x29d87e{['_formItemsCollection']=new _0xa749fb();['_customCheckView']=null;constructor(_0x54266f,_0x215c0a,_0x1214f8){super(_0x54266f),this['set']('isParametrizedViewOpen',!0x1),this['set']('isListItemRendered',!0x1),this['set']('isItemParametrized',_0x215c0a['isParameterized']);const _0x18b551=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',_0x144cea=>_0x144cea),this['bindTemplate']['if']('isListItemRendered','ck-ai-review-mode__check-list-item_rendered',_0x35cc1=>_0x35cc1)],'style':{'--ck-ai-check-list-item-index':_0x1214f8}},'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':_0x215c0a['title']}]},_0x18b551]},{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-description']},'children':[{'text':_0x215c0a['description']}]}]}]},..._0x215c0a['isParameterized']?[this['_createParameterizedView'](_0x215c0a)]:[],...'custom'===_0x215c0a['id']?[this['_createCustomView'](_0x215c0a)]:[]]}),this['on']('click',()=>{_0x215c0a['isParameterized']?this['isParametrizedViewOpen']=!0x0:this['fire']('runReviewCheck',{'id':_0x215c0a['id']});}),requestAnimationFrame(()=>{this['isListItemRendered']=!0x0;});}['render'](){super['render'](),this['isItemParametrized']&&_0x87b8d4({'emitter':this,'activator':()=>!0x0===this['isParametrizedViewOpen'],'contextElements':[this['element']],'callback':()=>{this['isParametrizedViewOpen']=!0x1;}});}['resetToDefault'](){this['isParametrizedViewOpen']=!0x1,this['_formItemsCollection']['forEach'](_0x12b4ea=>{_0x12b4ea['resetToDefault']();}),this['_customCheckView']&&this['_customCheckView']['resetToDefault']();}['_createIconView'](){const _0x6543c9=new _0x111221();return _0x6543c9['content']=_0x2d3480,_0x6543c9['extendTemplate']({'attributes':{'class':['ck-ai-review-mode__check-list-item-title-icon']}}),_0x6543c9;}['_createParameterizedView'](_0x16b6f3){const _0x53e943=new _0x3beb5f(),_0x4a20e8=this['_createFormView'](_0x16b6f3);return _0x53e943['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-parameterized',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x2df0d4=>!_0x2df0d4)]},'children':[_0x4a20e8]}),_0x53e943;}['_createFormView'](_0x4e0bde){const _0x99980e=new _0x3beb5f(),_0x29c137=Array['isArray'](_0x4e0bde['options'])?_0x4e0bde['options']:[],_0x350413=new _0x308dce(this['locale']),t=this['locale']['t'];_0x350413['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x350413['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x3c9212=>{_0x3c9212['stopPropagation']();})}}),_0x350413['on']('execute',()=>{const _0x3091ba=[],_0x122044={};this['_formItemsCollection']['forEach'](_0x222e52=>{_0x3091ba['push'](_0x222e52['value']),_0x4e0bde['useArgs']&&_0x4e0bde['options']&&(_0x122044[_0x222e52['argsKey']]=_0x222e52['value']);}),this['fire']('runReviewCheck',{'id':_0x4e0bde['id'],'params':_0x3091ba['length']?_0x3091ba:void 0x0,'args':Object['keys'](_0x122044)['length']?_0x122044:void 0x0});});const _0x1087d8=_0x29c137['length'];return _0x29c137['forEach']((_0xf4beb5,_0x2df7b3)=>{const _0x39bbdb=_0x2df7b3===_0x1087d8-0x1;this['_formItemsCollection']['add'](new _0x1d1e3d(this['locale'],_0xf4beb5,_0x39bbdb?_0x350413:null));}),_0x99980e['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-parameterized-form']},'children':this['_formItemsCollection']}),_0x99980e;}['_createCustomView'](_0x5b98de){return this['_customCheckView']=new _0x2f6393(this['locale'],_0x5b98de),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',_0x561ba8=>!_0x561ba8)]}}),this['_customCheckView']['delegate']('runReviewCheck')['to'](this),this['_customCheckView'];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x22947f=_0x26dd;(function(_0x12bf40,_0x204391){const _0x2ff529=_0x26dd,_0x5391bb=_0x12bf40();while(!![]){try{const _0x22b894=-parseInt(_0x2ff529(0x162))/0x1*(-parseInt(_0x2ff529(0x15f))/0x2)+parseInt(_0x2ff529(0x144))/0x3+-parseInt(_0x2ff529(0x160))/0x4+parseInt(_0x2ff529(0x167))/0x5+parseInt(_0x2ff529(0x166))/0x6+-parseInt(_0x2ff529(0x14b))/0x7*(-parseInt(_0x2ff529(0x154))/0x8)+-parseInt(_0x2ff529(0x165))/0x9;if(_0x22b894===_0x204391)break;else _0x5391bb['push'](_0x5391bb['shift']());}catch(_0x33028f){_0x5391bb['push'](_0x5391bb['shift']());}}}(_0x3ac9,0x3ab89));import{ListItemView as _0x508ae0,View as _0x152891,ButtonView as _0xc03798}from'ckeditor5/src/ui.js';function _0x26dd(_0x160604,_0x45e756){const _0x3ac9db=_0x3ac9();return _0x26dd=function(_0x26dd45,_0x124a75){_0x26dd45=_0x26dd45-0x144;let _0x4ab365=_0x3ac9db[_0x26dd45];return _0x4ab365;},_0x26dd(_0x160604,_0x45e756);}import{getTranslation as _0x147da5}from'../../aicore/utils/common-translations.js';function _0x3ac9(){const _0x39381b=['viewType','764742fPhWLq','ck-ai-review-mode__review-completed-content','div','fire','bindTemplate','finishReview','ck-ai-review-mode__review-completed-header-buttons','725515zaXNSQ','isVisible','AI_REVIEW_MODE_EMPTY_RESULTS_TEXT','_createFinishReviewButtonView','AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL','execute','_finishReviewButtonView','ck-ai-button-primary','span','24ixsXTN','locale','ck-ai-review-mode__review-completed','ck-ai-review-mode__review-completed-header','AI_REVIEW_MODE_COMPLETED_TEXT','ck-ai-review-mode__review-completed-header-title','_createResultHeaderView','resultsHeader','setTemplate','completed','set','4rziOny','847080cQbmro','ck-ai-review-mode__review-completed-content-icon','201514XhsYSv','ck-hidden','ck-ai-review-mode__review-completed-content-text','10209546ogRiHn','2513958viIdXT','994075nnxtnz','AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE'];_0x3ac9=function(){return _0x39381b;};return _0x3ac9();}import'../../../theme/aireviewmode/aireviewmode-review-completed.css';export class AIReviewModeReviewCompletedView extends _0x508ae0{[_0x22947f(0x15b)];[_0x22947f(0x151)];constructor(_0x3cb693){const _0x262521=_0x22947f;super(_0x3cb693),this[_0x262521(0x151)]=this[_0x262521(0x14e)](),this[_0x262521(0x15b)]=this[_0x262521(0x15a)](),this[_0x262521(0x15e)](_0x262521(0x169),_0x262521(0x15d));const _0x5266c3=this[_0x262521(0x148)];this[_0x262521(0x15c)]({'tag':_0x262521(0x146),'attributes':{'class':[_0x262521(0x156),_0x5266c3['if'](_0x262521(0x14c),_0x262521(0x163),_0x2efaa4=>!_0x2efaa4)]},'children':[this[_0x262521(0x15b)],{'tag':_0x262521(0x146),'attributes':{'class':[_0x262521(0x145)]},'children':[{'tag':_0x262521(0x153),'attributes':{'class':[_0x262521(0x161)]},'children':[{'text':_0x5266c3['to'](_0x262521(0x169),_0x40295f=>_0x262521(0x15d)===_0x40295f?'🎉':'👍')}]},{'tag':'p','attributes':{'class':[_0x262521(0x164)]},'children':[{'text':_0x5266c3['to'](_0x262521(0x169),_0x4c62cd=>_0x147da5(_0x3cb693,_0x262521(0x15d)===_0x4c62cd?_0x262521(0x158):_0x262521(0x14d)))}]}]}]});}[_0x22947f(0x14e)](){const _0x417990=_0x22947f,_0x38edde=new _0xc03798(this[_0x417990(0x155)]);return _0x38edde[_0x417990(0x15e)]({'label':_0x147da5(this[_0x417990(0x155)],_0x417990(0x14f)),'withText':!0x0,'class':_0x417990(0x152)}),_0x38edde['on'](_0x417990(0x150),()=>{const _0x28011f=_0x417990;this[_0x28011f(0x147)](_0x28011f(0x149));}),_0x38edde;}[_0x22947f(0x15a)](){const _0x3ccc13=_0x22947f,_0xff8b89=new _0x152891(this[_0x3ccc13(0x155)]);return _0xff8b89[_0x3ccc13(0x15c)]({'tag':_0x3ccc13(0x146),'attributes':{'class':[_0x3ccc13(0x157)]},'children':[{'tag':_0x3ccc13(0x153),'attributes':{'class':[_0x3ccc13(0x159)]},'children':[{'text':_0x147da5(this[_0x3ccc13(0x155)],_0x3ccc13(0x168))}]},{'tag':_0x3ccc13(0x146),'attributes':{'class':[_0x3ccc13(0x14a)]},'children':[this[_0x3ccc13(0x151)]]}]}),_0xff8b89;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x574aec=_0x2ffd;(function(_0x32dba8,_0x94c088){var _0x4d5d44=_0x2ffd,_0x15a0f0=_0x32dba8();while(!![]){try{var _0x4c835f=-parseInt(_0x4d5d44(0xf7))/0x1*(parseInt(_0x4d5d44(0xfd))/0x2)+parseInt(_0x4d5d44(0xe5))/0x3+parseInt(_0x4d5d44(0xe8))/0x4*(-parseInt(_0x4d5d44(0x10c))/0x5)+parseInt(_0x4d5d44(0x10b))/0x6*(parseInt(_0x4d5d44(0x107))/0x7)+-parseInt(_0x4d5d44(0x10e))/0x8+parseInt(_0x4d5d44(0x109))/0x9*(parseInt(_0x4d5d44(0xe7))/0xa)+-parseInt(_0x4d5d44(0x100))/0xb*(-parseInt(_0x4d5d44(0x105))/0xc);if(_0x4c835f===_0x94c088)break;else _0x15a0f0['push'](_0x15a0f0['shift']());}catch(_0x5793d7){_0x15a0f0['push'](_0x15a0f0['shift']());}}}(_0x54d4,0xe2dd1));import{View as _0x1a68e6,FormHeaderView as _0x8b70f5}from'ckeditor5/src/ui.js';import{IconAIReview as _0x1f2e14}from'ckeditor5/src/icons.js';import{AIReviewModeReviewCheckListView as _0x974281}from'./aireviewmodereviewchecklistview.js';function _0x54d4(){var _0x599401=['resetErrorState','showGeneralErrorMessage','unmodified','addResult','5087079khZdei','reviewCheckListView','329690HSppwF','28vxQXpi','set','showNoChangesView','showReviewCheckResultsView','finishReview','reviewCompletedView','setTemplate','showReviewCompletedView','showGeneralErrorView','hideActionsWhenResultIsReady','showChunkErrorMessage','isLoading','isResultReady','resetAllParameterizedChecks','viewType','4DCCDGQ','clearResults','ltr','ck-reset_all','delegate','showChunkErrorView','294774LRgsCI','reviewCheckResultsView','addCheckRunResult','11jpKkWY','ck-rounded-corners','reviewModeHeader','isVisible','showActionsWhenResultIsReady','14266596mbIVRN','AI_REVIEW_MODE','36169yxcBuV','div','72abpzis','showReviewCheckListView','480cuMyip','565055VtVBcS','ck-ai-review-mode','10014640PfVlfF','completed','ck-ai-header\x20ck-ai-header_review-mode'];_0x54d4=function(){return _0x599401;};return _0x54d4();}import{AI_REVIEW_MODE_UI_EVENT_NAMES as _0x422d48}from'../aireviewmodeui.js';function _0x2ffd(_0xc73eb2,_0x342f2c){var _0x54d450=_0x54d4();return _0x2ffd=function(_0x2ffdb6,_0x4a20fe){_0x2ffdb6=_0x2ffdb6-0xe0;var _0x5bce36=_0x54d450[_0x2ffdb6];return _0x5bce36;},_0x2ffd(_0xc73eb2,_0x342f2c);}import{AIReviewModeReviewCheckResultsView as _0x379a41}from'./aireviewmodereviewcheckresultsview.js';import{AIReviewModeReviewCompletedView as _0x45490f}from'./aireviewmodereviewcompletedview.js';import{getTranslation as _0x199c20}from'../../aicore/utils/common-translations.js';export class AIReviewModeView extends _0x1a68e6{[_0x574aec(0x102)];[_0x574aec(0xe6)];[_0x574aec(0xfe)];[_0x574aec(0xed)];constructor(_0x5ea65a){var _0xf52d02=_0x574aec;super(_0x5ea65a),this[_0xf52d02(0x102)]=new _0x8b70f5(_0x5ea65a,{'label':_0x199c20(_0x5ea65a,_0xf52d02(0x106)),'icon':_0x1f2e14,'class':_0xf52d02(0xe0)}),this[_0xf52d02(0xe6)]=new _0x974281(_0x5ea65a),this[_0xf52d02(0xe6)][_0xf52d02(0xfb)](..._0x422d48)['to'](this),this[_0xf52d02(0xfe)]=new _0x379a41(_0x5ea65a),this[_0xf52d02(0xfe)][_0xf52d02(0xfb)](..._0x422d48)['to'](this),this[_0xf52d02(0xed)]=new _0x45490f(_0x5ea65a),this[_0xf52d02(0xed)][_0xf52d02(0xfb)](_0xf52d02(0xec))['to'](this),this[_0xf52d02(0xe6)][_0xf52d02(0xe9)](_0xf52d02(0x103),!0x1),this[_0xf52d02(0xfe)][_0xf52d02(0xe9)](_0xf52d02(0x103),!0x1),this[_0xf52d02(0xfe)][_0xf52d02(0xe9)](_0xf52d02(0xf3),!0x1),this[_0xf52d02(0xfe)][_0xf52d02(0xe9)](_0xf52d02(0xf4),!0x1),this[_0xf52d02(0xed)][_0xf52d02(0xe9)](_0xf52d02(0x103),!0x1),this[_0xf52d02(0xee)]({'tag':_0xf52d02(0x108),'attributes':{'class':['ck',_0xf52d02(0xfa),_0xf52d02(0x10d),_0xf52d02(0x101)],'dir':_0xf52d02(0xf9)},'children':[this[_0xf52d02(0x102)],this[_0xf52d02(0xe6)],this[_0xf52d02(0xfe)],this[_0xf52d02(0xed)]]});}[_0x574aec(0x10a)](){var _0x59b2d3=_0x574aec;this[_0x59b2d3(0xe6)][_0x59b2d3(0xf5)](),this[_0x59b2d3(0xe6)][_0x59b2d3(0xe9)](_0x59b2d3(0x103),!0x0),this[_0x59b2d3(0xfe)][_0x59b2d3(0xe9)](_0x59b2d3(0x103),!0x1),this[_0x59b2d3(0xed)][_0x59b2d3(0xe9)](_0x59b2d3(0x103),!0x1);}[_0x574aec(0xeb)](){var _0x236d01=_0x574aec;this[_0x236d01(0xf1)](),this[_0x236d01(0xfe)][_0x236d01(0xe1)](),this[_0x236d01(0xe6)][_0x236d01(0xe9)](_0x236d01(0x103),!0x1),this[_0x236d01(0xfe)][_0x236d01(0xe9)](_0x236d01(0x103),!0x0),this[_0x236d01(0xfe)][_0x236d01(0xf8)](),this[_0x236d01(0xfe)][_0x236d01(0xe9)](_0x236d01(0xf3),!0x0);}[_0x574aec(0xff)](_0x4d9d0b){var _0x35be1c=_0x574aec;this[_0x35be1c(0xfe)][_0x35be1c(0xe4)](_0x4d9d0b),this[_0x35be1c(0xfe)][_0x35be1c(0xe9)](_0x35be1c(0xf3),!0x1);}[_0x574aec(0xef)](){var _0x218a16=_0x574aec;this[_0x218a16(0xe6)][_0x218a16(0xe9)](_0x218a16(0x103),!0x1),this[_0x218a16(0xfe)][_0x218a16(0xe9)](_0x218a16(0x103),!0x1),this[_0x218a16(0xed)][_0x218a16(0xe9)](_0x218a16(0xf6),_0x218a16(0x10f)),this[_0x218a16(0xed)][_0x218a16(0xe9)](_0x218a16(0x103),!0x0);}[_0x574aec(0x104)](){var _0x22c789=_0x574aec;this[_0x22c789(0xfe)][_0x22c789(0xf4)]=!0x0;}[_0x574aec(0xea)](){var _0x140cf7=_0x574aec;this[_0x140cf7(0xe6)][_0x140cf7(0xe9)](_0x140cf7(0x103),!0x1),this[_0x140cf7(0xfe)][_0x140cf7(0xe9)](_0x140cf7(0x103),!0x1),this[_0x140cf7(0xed)][_0x140cf7(0xe9)](_0x140cf7(0xf6),_0x140cf7(0xe3)),this[_0x140cf7(0xed)][_0x140cf7(0xe9)](_0x140cf7(0x103),!0x0);}[_0x574aec(0xf1)](){var _0x46568c=_0x574aec;this[_0x46568c(0xfe)][_0x46568c(0xf4)]=!0x1;}[_0x574aec(0xf0)](){var _0x5714cf=_0x574aec;this[_0x5714cf(0xfe)][_0x5714cf(0xe9)](_0x5714cf(0xf3),!0x1),this[_0x5714cf(0x104)](),this[_0x5714cf(0xfe)][_0x5714cf(0xe2)]();}[_0x574aec(0xfc)](){var _0x1d8dbd=_0x574aec;this[_0x1d8dbd(0xfe)][_0x1d8dbd(0xe9)](_0x1d8dbd(0xf3),!0x1),this[_0x1d8dbd(0x104)](),this[_0x1d8dbd(0xfe)][_0x1d8dbd(0xf2)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1335b5=_0x3828;(function(_0x286ddc,_0x34f370){const _0x257354=_0x3828,_0x48c2b9=_0x286ddc();while(!![]){try{const _0x47a0e6=-parseInt(_0x257354(0x10a))/0x1*(parseInt(_0x257354(0x11f))/0x2)+-parseInt(_0x257354(0x120))/0x3*(parseInt(_0x257354(0x11b))/0x4)+parseInt(_0x257354(0x10f))/0x5*(parseInt(_0x257354(0x111))/0x6)+parseInt(_0x257354(0x113))/0x7*(-parseInt(_0x257354(0x11d))/0x8)+-parseInt(_0x257354(0x126))/0x9*(parseInt(_0x257354(0x125))/0xa)+-parseInt(_0x257354(0x10d))/0xb+-parseInt(_0x257354(0x119))/0xc*(-parseInt(_0x257354(0x10b))/0xd);if(_0x47a0e6===_0x34f370)break;else _0x48c2b9['push'](_0x48c2b9['shift']());}catch(_0x1e08b7){_0x48c2b9['push'](_0x48c2b9['shift']());}}}(_0x9fa5,0xb9577));function _0x3828(_0x5179f5,_0x4e7118){const _0x9fa526=_0x9fa5();return _0x3828=function(_0x382849,_0x56e019){_0x382849=_0x382849-0x10a;let _0x421fe1=_0x9fa526[_0x382849];return _0x421fe1;},_0x3828(_0x5179f5,_0x4e7118);}import{FormRowView as _0x52473c,ListItemView as _0x2efabc}from'ckeditor5/src/ui.js';import{AIReviewModeFormDropdownView as _0x2bd8fa}from'./aireviewmodeformdropdown.js';export class AIReviewModeFormManagerView extends _0x2efabc{[_0x1335b5(0x10c)]=null;constructor(_0x55c90b,_0x5dfb97,_0x4bf613){const _0x291048=_0x1335b5;super(_0x55c90b),this[_0x291048(0x10e)]=_0x5dfb97?.[_0x291048(0x10e)];if(_0x291048(0x112)===_0x5dfb97[_0x291048(0x11e)])this[_0x291048(0x10c)]=new _0x2bd8fa(this[_0x291048(0x127)],_0x5dfb97);this[_0x291048(0x117)](_0x291048(0x11a),''),this[_0x291048(0x116)](_0x291048(0x11a))['to'](this[_0x291048(0x10c)],_0x291048(0x115));const _0x5157dc=new _0x52473c(this[_0x291048(0x127)],{'children':[this[_0x291048(0x10c)]],'class':[_0x4bf613?_0x291048(0x118):'']});_0x4bf613&&_0x5157dc[_0x291048(0x124)][_0x291048(0x110)](_0x4bf613),this[_0x291048(0x122)]({'tag':_0x291048(0x121),'attributes':{'class':['ck',_0x291048(0x123),_0x291048(0x114)]},'children':[_0x5157dc]});}[_0x1335b5(0x11c)](){const _0x56b07d=_0x1335b5;this[_0x56b07d(0x10c)][_0x56b07d(0x11c)]();}}function _0x9fa5(){const _0x35767d=['167974zfTmDY','671082CYOCdU','div','setTemplate','ck-ai-review-mode__form-item','children','6772210VnkIon','18HnuveK','locale','3fLhGKI','33475IbVMsl','_formItem','14945997JUzhle','argsKey','3904085oaVkzW','add','6vifJvc','dropdown','232729POgSaa','ck-reset_all','formValue','bind','set','ck-form__row_with-submit','24972RHgybP','value','20myvoRp','resetToDefault','312rHLtHK','formType'];_0x9fa5=function(){return _0x35767d;};return _0x9fa5();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x182c(){const _0x1a1b98=['_defaultValue','execute','2559021wRDtSz','ck-ai-review-mode__check-list-item-parameterized-form-element_dropdown','793896ZIdlyJ','buttonView','model','746886SbLuiP','925356sEeOnB','menuitemradio','find','set','add','isOn','_dropdownView','length','bindTemplate','setTemplate','data','default','ck-ai-review-mode__check-list-item-parameterized-form-element','ck-reset_all','button','extendTemplate','menu','_prepareListOptions','stopPropagation','locale','resetToDefault','div','formValue','2207444lcLlUK','22562145XwKqOQ','35ZaFdxj','label','bind','_defaultLabel','listenTo','source','4CunyFY','2684665OPRjHc'];_0x182c=function(){return _0x1a1b98;};return _0x182c();}function _0x2979(_0x389bca,_0x194de4){const _0x182c5a=_0x182c();return _0x2979=function(_0x2979b2,_0x124e42){_0x2979b2=_0x2979b2-0x1d7;let _0x232611=_0x182c5a[_0x2979b2];return _0x232611;},_0x2979(_0x389bca,_0x194de4);}const _0x163831=_0x2979;(function(_0x11d6b7,_0x1adad4){const _0x1246bb=_0x2979,_0x6503ff=_0x11d6b7();while(!![]){try{const _0x27f066=-parseInt(_0x1246bb(0x1f7))/0x1+parseInt(_0x1246bb(0x1e5))/0x2+parseInt(_0x1246bb(0x1f1))/0x3*(-parseInt(_0x1246bb(0x1ed))/0x4)+-parseInt(_0x1246bb(0x1ee))/0x5+parseInt(_0x1246bb(0x1f6))/0x6*(-parseInt(_0x1246bb(0x1e7))/0x7)+-parseInt(_0x1246bb(0x1f3))/0x8+parseInt(_0x1246bb(0x1e6))/0x9;if(_0x27f066===_0x1adad4)break;else _0x6503ff['push'](_0x6503ff['shift']());}catch(_0x40c93f){_0x6503ff['push'](_0x6503ff['shift']());}}}(_0x182c,0x8c0f9));import{Collection as _0x3cc2b2}from'ckeditor5/src/utils.js';import{View as _0x6461f2,createDropdown as _0x208b3c,addListToDropdown as _0xf13747,UIModel as _0x2fefe6}from'ckeditor5/src/ui.js';export class AIReviewModeFormDropdownView extends _0x6461f2{[_0x163831(0x1fd)];[_0x163831(0x1ef)];[_0x163831(0x1ea)];constructor(_0x18568c,_0x6922b1){const _0xa5f67=_0x163831;super(_0x18568c),this[_0xa5f67(0x1ef)]=_0x6922b1[_0xa5f67(0x1d9)]||(_0x6922b1[_0xa5f67(0x1d8)][_0xa5f67(0x1fe)]>0x0?_0x6922b1[_0xa5f67(0x1d8)][0x0]['id']:''),this[_0xa5f67(0x1ea)]=_0x6922b1[_0xa5f67(0x1d8)][_0xa5f67(0x1f9)](_0x50f39f=>_0x50f39f['id']===this[_0xa5f67(0x1ef)])?.[_0xa5f67(0x1e8)]||'',this[_0xa5f67(0x1fa)](_0xa5f67(0x1e4),''),this[_0xa5f67(0x1fd)]=_0x208b3c(this[_0xa5f67(0x1e1)]);const _0x1607ac=this[_0xa5f67(0x1df)](_0x6922b1[_0xa5f67(0x1d8)]);_0xf13747(this[_0xa5f67(0x1fd)],_0x1607ac,{'role':_0xa5f67(0x1de),'ariaLabel':_0x6922b1[_0xa5f67(0x1e8)]}),this[_0xa5f67(0x1fd)][_0xa5f67(0x1f4)][_0xa5f67(0x1fa)]({'label':this[_0xa5f67(0x1ea)],'withText':!0x0}),this[_0xa5f67(0x1fd)][_0xa5f67(0x1dd)]({'on':{'click':this[_0xa5f67(0x1ff)]['to'](_0x2b6b8a=>{const _0x582101=_0xa5f67;_0x2b6b8a[_0x582101(0x1e0)]();})}}),this[_0xa5f67(0x1eb)](this[_0xa5f67(0x1fd)],_0xa5f67(0x1f0),_0x1f46a6=>{const _0x2a3db2=_0xa5f67;this[_0x2a3db2(0x1e4)]=_0x1f46a6[_0x2a3db2(0x1ec)][_0x2a3db2(0x1f5)]['id'],this[_0x2a3db2(0x1fd)][_0x2a3db2(0x1f4)][_0x2a3db2(0x1e8)]=_0x1f46a6[_0x2a3db2(0x1ec)][_0x2a3db2(0x1f5)][_0x2a3db2(0x1e8)];}),this[_0xa5f67(0x1d7)]({'tag':_0xa5f67(0x1e3),'attributes':{'class':['ck',_0xa5f67(0x1db),_0xa5f67(0x1da),_0xa5f67(0x1f2)]},'children':[this[_0xa5f67(0x1fd)]]});}[_0x163831(0x1e2)](){const _0x2dbc9d=_0x163831;this[_0x2dbc9d(0x1e4)]=this[_0x2dbc9d(0x1ef)],this[_0x2dbc9d(0x1fd)][_0x2dbc9d(0x1f4)][_0x2dbc9d(0x1e8)]=this[_0x2dbc9d(0x1ea)];}[_0x163831(0x1df)](_0x148f36=[]){const _0xbf2b8d=_0x163831,_0x42fd18=new _0x3cc2b2();this[_0xbf2b8d(0x1e2)]();for(const _0x337ff1 of _0x148f36){const _0x1b5667=new _0x2fefe6({'label':_0x337ff1[_0xbf2b8d(0x1e8)],'withText':!0x0,'role':_0xbf2b8d(0x1f8),'id':_0x337ff1['id'],'model':_0x337ff1});_0x1b5667[_0xbf2b8d(0x1e9)](_0xbf2b8d(0x1fc))['to'](this,_0xbf2b8d(0x1e4),_0x115ca3=>_0x115ca3===_0x1b5667['id']);const _0x5e23e5={'type':_0xbf2b8d(0x1dc),'model':_0x1b5667};_0x42fd18[_0xbf2b8d(0x1fb)](_0x5e23e5);}return _0x42fd18;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1335b5=_0x3828;(function(_0x286ddc,_0x34f370){const _0x257354=_0x3828,_0x48c2b9=_0x286ddc();while(!![]){try{const _0x47a0e6=-parseInt(_0x257354(0x10a))/0x1*(parseInt(_0x257354(0x11f))/0x2)+-parseInt(_0x257354(0x120))/0x3*(parseInt(_0x257354(0x11b))/0x4)+parseInt(_0x257354(0x10f))/0x5*(parseInt(_0x257354(0x111))/0x6)+parseInt(_0x257354(0x113))/0x7*(-parseInt(_0x257354(0x11d))/0x8)+-parseInt(_0x257354(0x126))/0x9*(parseInt(_0x257354(0x125))/0xa)+-parseInt(_0x257354(0x10d))/0xb+-parseInt(_0x257354(0x119))/0xc*(-parseInt(_0x257354(0x10b))/0xd);if(_0x47a0e6===_0x34f370)break;else _0x48c2b9['push'](_0x48c2b9['shift']());}catch(_0x1e08b7){_0x48c2b9['push'](_0x48c2b9['shift']());}}}(_0x9fa5,0xb9577));function _0x3828(_0x5179f5,_0x4e7118){const _0x9fa526=_0x9fa5();return _0x3828=function(_0x382849,_0x56e019){_0x382849=_0x382849-0x10a;let _0x421fe1=_0x9fa526[_0x382849];return _0x421fe1;},_0x3828(_0x5179f5,_0x4e7118);}import{FormRowView as _0x52473c,ListItemView as _0x2efabc}from'ckeditor5/src/ui.js';import{AIReviewModeFormDropdownView as _0x2bd8fa}from'./aireviewmodeformdropdown.js';export class AIReviewModeFormManagerView extends _0x2efabc{[_0x1335b5(0x10c)]=null;constructor(_0x55c90b,_0x5dfb97,_0x4bf613){const _0x291048=_0x1335b5;super(_0x55c90b),this[_0x291048(0x10e)]=_0x5dfb97?.[_0x291048(0x10e)];if(_0x291048(0x112)===_0x5dfb97[_0x291048(0x11e)])this[_0x291048(0x10c)]=new _0x2bd8fa(this[_0x291048(0x127)],_0x5dfb97);this[_0x291048(0x117)](_0x291048(0x11a),''),this[_0x291048(0x116)](_0x291048(0x11a))['to'](this[_0x291048(0x10c)],_0x291048(0x115));const _0x5157dc=new _0x52473c(this[_0x291048(0x127)],{'children':[this[_0x291048(0x10c)]],'class':[_0x4bf613?_0x291048(0x118):'']});_0x4bf613&&_0x5157dc[_0x291048(0x124)][_0x291048(0x110)](_0x4bf613),this[_0x291048(0x122)]({'tag':_0x291048(0x121),'attributes':{'class':['ck',_0x291048(0x123),_0x291048(0x114)]},'children':[_0x5157dc]});}[_0x1335b5(0x11c)](){const _0x56b07d=_0x1335b5;this[_0x56b07d(0x10c)][_0x56b07d(0x11c)]();}}function _0x9fa5(){const _0x35767d=['167974zfTmDY','671082CYOCdU','div','setTemplate','ck-ai-review-mode__form-item','children','6772210VnkIon','18HnuveK','locale','3fLhGKI','33475IbVMsl','_formItem','14945997JUzhle','argsKey','3904085oaVkzW','add','6vifJvc','dropdown','232729POgSaa','ck-reset_all','formValue','bind','set','ck-form__row_with-submit','24972RHgybP','value','20myvoRp','resetToDefault','312rHLtHK','formType'];_0x9fa5=function(){return _0x35767d;};return _0x9fa5();}
|
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
|
/**
|
package/src/aitabs/aitabs.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1c8fa1=_0x4fb1;(function(_0x268924,_0x185d38){const _0xbd6454=_0x4fb1,_0x4ff836=_0x268924();while(!![]){try{const _0x185e97=-parseInt(_0xbd6454(0x14c))/0x1*(parseInt(_0xbd6454(0x152))/0x2)+-parseInt(_0xbd6454(0x130))/0x3*(parseInt(_0xbd6454(0x148))/0x4)+parseInt(_0xbd6454(0x153))/0x5+parseInt(_0xbd6454(0x139))/0x6*(parseInt(_0xbd6454(0x131))/0x7)+-parseInt(_0xbd6454(0x135))/0x8*(-parseInt(_0xbd6454(0x150))/0x9)+parseInt(_0xbd6454(0x14f))/0xa+parseInt(_0xbd6454(0x142))/0xb*(-parseInt(_0xbd6454(0x144))/0xc);if(_0x185e97===_0x185d38)break;else _0x4ff836['push'](_0x4ff836['shift']());}catch(_0x276e73){_0x4ff836['push'](_0x4ff836['shift']());}}}(_0x3918,0x57357));import{ContextPlugin as _0x3dddef,Editor as _0x58b170}from'ckeditor5/src/core.js';import{CKEditorError as _0x5304bc}from'ckeditor5/src/utils.js';function _0x3918(){const _0x1f3c81=['AITabs','408160EvdXAv','remove','bind','ai-tabs-unsupported-ui-type','67IOPBuS','overlay','render','4451230Ofrecn','29907NUUDdS','resize','3734xoXrPz','1693510KdInRp','view','container','body','element','showResizeButton','get','custom','set','isMaximized','isOfficialPlugin','add','ai-tabs-unsupported-ui-side','appendChild','side','focusTracker','15XmJGue','7gxpbZm','ai-tabs-sidebar-container-element-not-found','pluginName','locale','1544kNRygi','resizedTabs','ai-tabs-configuration-not-found','isPremiumPlugin','657066usLmJb','context','config','includes','destroy','fire','right','switchSide','type','5963969SVWEqx','sidebar','12VOeDzN','ai.container','switchType'];_0x3918=function(){return _0x1f3c81;};return _0x3918();}function _0x4fb1(_0x228a0c,_0x4ba682){const _0x3918e4=_0x3918();return _0x4fb1=function(_0x4fb182,_0x3b89a0){_0x4fb182=_0x4fb182-0x12d;let _0x27e1e4=_0x3918e4[_0x4fb182];return _0x27e1e4;},_0x4fb1(_0x228a0c,_0x4ba682);}import{AITabsMainView as _0x1a30e6,AI_TABS_VIEW_SIDES as _0x3864a8,AI_TABS_VIEW_TYPES as _0x164e77}from'./aitabsmainview.js';export class AITabs extends _0x3dddef{[_0x1c8fa1(0x154)];[_0x1c8fa1(0x155)]=null;[_0x1c8fa1(0x158)]=!0x0;static get[_0x1c8fa1(0x133)](){const _0xa6ff65=_0x1c8fa1;return _0xa6ff65(0x147);}static get[_0x1c8fa1(0x15d)](){return!0x0;}static get[_0x1c8fa1(0x138)](){return!0x0;}constructor(_0x2b95d3){const _0x2e7a0d=_0x1c8fa1;super(_0x2b95d3);const _0x256d30=this[_0x2e7a0d(0x13a)][_0x2e7a0d(0x13b)][_0x2e7a0d(0x159)](_0x2e7a0d(0x145));if(this[_0x2e7a0d(0x15b)](_0x2e7a0d(0x12e),_0x2e7a0d(0x13f)),!_0x256d30)throw new _0x5304bc(_0x2e7a0d(0x137));if(void 0x0!==_0x256d30[_0x2e7a0d(0x158)]&&(this[_0x2e7a0d(0x158)]=_0x256d30[_0x2e7a0d(0x158)]),_0x2e7a0d(0x143)!==_0x256d30[_0x2e7a0d(0x141)]&&_0x2e7a0d(0x14d)!==_0x256d30[_0x2e7a0d(0x141)]||_0x256d30[_0x2e7a0d(0x12e)]&&(this[_0x2e7a0d(0x12e)]=_0x256d30[_0x2e7a0d(0x12e)]),_0x2e7a0d(0x143)===_0x256d30[_0x2e7a0d(0x141)]){if(this[_0x2e7a0d(0x155)]=_0x256d30[_0x2e7a0d(0x157)],this[_0x2e7a0d(0x15b)](_0x2e7a0d(0x141),_0x2e7a0d(0x143)),!this[_0x2e7a0d(0x155)])throw new _0x5304bc(_0x2e7a0d(0x132));}else _0x2e7a0d(0x14d)===_0x256d30[_0x2e7a0d(0x141)]?(this[_0x2e7a0d(0x155)]=document[_0x2e7a0d(0x156)],this[_0x2e7a0d(0x15b)](_0x2e7a0d(0x141),_0x2e7a0d(0x14d))):(this[_0x2e7a0d(0x155)]=null,this[_0x2e7a0d(0x15b)](_0x2e7a0d(0x141),_0x2e7a0d(0x15a)));this[_0x2e7a0d(0x154)]=new _0x1a30e6(this[_0x2e7a0d(0x13a)][_0x2e7a0d(0x134)],{'side':this[_0x2e7a0d(0x12e)],'type':this[_0x2e7a0d(0x141)]}),this[_0x2e7a0d(0x154)][_0x2e7a0d(0x14e)](),this[_0x2e7a0d(0x154)][_0x2e7a0d(0x14a)](_0x2e7a0d(0x12e))['to'](this,_0x2e7a0d(0x12e)),this[_0x2e7a0d(0x154)][_0x2e7a0d(0x14a)](_0x2e7a0d(0x141))['to'](this,_0x2e7a0d(0x141)),this[_0x2e7a0d(0x155)]&&this[_0x2e7a0d(0x155)][_0x2e7a0d(0x12d)](this[_0x2e7a0d(0x154)][_0x2e7a0d(0x157)]),this[_0x2e7a0d(0x13a)]instanceof _0x58b170&&this[_0x2e7a0d(0x13a)]['ui'][_0x2e7a0d(0x12f)][_0x2e7a0d(0x15e)](this[_0x2e7a0d(0x154)][_0x2e7a0d(0x157)]);}[_0x1c8fa1(0x146)](_0x310e90){const _0xab83d2=_0x1c8fa1;if(_0x310e90&&this[_0xab83d2(0x141)]!==_0x310e90){if(!_0x164e77[_0xab83d2(0x13c)](_0x310e90))throw new _0x5304bc(_0xab83d2(0x14b));this[_0xab83d2(0x141)]=_0x310e90;}}[_0x1c8fa1(0x140)](_0x368d62){const _0x350304=_0x1c8fa1;if(_0x368d62&&this[_0x350304(0x12e)]!==_0x368d62){if(!_0x3864a8[_0x350304(0x13c)](_0x368d62))throw new _0x5304bc(_0x350304(0x15f));this[_0x350304(0x12e)]=_0x368d62;}}[_0x1c8fa1(0x151)](){const _0x4efe43=_0x1c8fa1;this[_0x4efe43(0x154)][_0x4efe43(0x15c)]=!this[_0x4efe43(0x154)][_0x4efe43(0x15c)],this[_0x4efe43(0x13e)](_0x4efe43(0x136),this[_0x4efe43(0x154)][_0x4efe43(0x15c)]);}[_0x1c8fa1(0x13d)](){const _0x268f28=_0x1c8fa1;super[_0x268f28(0x13d)](),this[_0x268f28(0x154)][_0x268f28(0x13d)](),this[_0x268f28(0x154)][_0x268f28(0x157)]&&this[_0x268f28(0x154)][_0x268f28(0x157)][_0x268f28(0x149)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x511a(_0x3dae6f,_0x5022c1){const _0x483bae=_0x483b();return _0x511a=function(_0x511a34,_0x102268){_0x511a34=_0x511a34-0x9b;let _0x58fce9=_0x483bae[_0x511a34];return _0x58fce9;},_0x511a(_0x3dae6f,_0x5022c1);}function _0x483b(){const _0x2551c0=['114gkFiPW','ck-hidden','ck-ai-tabs__sidebar','2400WDcQEc','set','buttonViews','2140YAfIjQ','side','isVisible','160816mmcDmI','custom','728FNglyI','right','add','withText','ck-ai-tabs','bindTemplate','sidebar','435561fVhfUO','left','type','639JxfYjQ','3865uQlQnP','extendTemplate','overlay','11860hXAcKn','6754AKJkwn','ck-ai-tabs__overlay','1204RJZcIv'];_0x483b=function(){return _0x2551c0;};return _0x483b();}const _0x29ac78=_0x511a;(function(_0x134656,_0xd05f74){const _0x49fea9=_0x511a,_0x23293b=_0x134656();while(!![]){try{const _0x2d4692=-parseInt(_0x49fea9(0xad))/0x1+-parseInt(_0x49fea9(0x9d))/0x2+parseInt(_0x49fea9(0xa6))/0x3+parseInt(_0x49fea9(0xb0))/0x4*(parseInt(_0x49fea9(0xaa))/0x5)+-parseInt(_0x49fea9(0xb1))/0x6*(parseInt(_0x49fea9(0x9f))/0x7)+-parseInt(_0x49fea9(0xb4))/0x8*(parseInt(_0x49fea9(0xa9))/0x9)+-parseInt(_0x49fea9(0xb7))/0xa*(parseInt(_0x49fea9(0xae))/0xb);if(_0x2d4692===_0xd05f74)break;else _0x23293b['push'](_0x23293b['shift']());}catch(_0x3f8d3a){_0x23293b['push'](_0x23293b['shift']());}}}(_0x483b,0x1ff68));import{AITabsView as _0x1e06be}from'./tabs/aitabsview.js';import'../../theme/aitabs/aitabsview.css';export const AI_TABS_VIEW_TYPES=[_0x29ac78(0xac),_0x29ac78(0xa5),_0x29ac78(0x9e)];export const AI_TABS_VIEW_SIDES=[_0x29ac78(0xa7),_0x29ac78(0xa0)];export class AITabsMainView extends _0x1e06be{constructor(_0x54621a,_0x118e67={}){const _0x11d3c4=_0x29ac78;super(_0x54621a,_0x118e67),this[_0x11d3c4(0xb5)](_0x11d3c4(0xa8),_0x118e67[_0x11d3c4(0xa8)]||_0x11d3c4(0xa5)),this[_0x11d3c4(0xb5)](_0x11d3c4(0x9b),_0x118e67[_0x11d3c4(0x9b)]||_0x11d3c4(0xa0)),this[_0x11d3c4(0xb5)](_0x11d3c4(0x9c),!0x0);const _0x2e757f=this[_0x11d3c4(0xa4)];this[_0x11d3c4(0xab)]({'attributes':{'class':[_0x11d3c4(0xa3),_0x2e757f['if'](_0x11d3c4(0xa8),_0x11d3c4(0xaf),_0x34d679=>_0x11d3c4(0xac)===_0x34d679),_0x2e757f['if'](_0x11d3c4(0xa8),_0x11d3c4(0xb3),_0x36d05a=>_0x11d3c4(0xa5)===_0x36d05a),_0x2e757f['if'](_0x11d3c4(0x9c),_0x11d3c4(0xb2),_0x441be6=>!_0x441be6)]}}),this[_0x11d3c4(0xb6)]['on'](_0x11d3c4(0xa1),(_0x5233f9,_0x5d03a2)=>{const _0x1e2435=_0x11d3c4;_0x5d03a2[_0x1e2435(0xb5)](_0x1e2435(0xa2),!0x1);});}}
|