@ckeditor/ckeditor5-ai 47.1.0 → 47.2.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +2 -2
- package/build/translations/af.js +1 -1
- package/build/translations/ar.js +1 -1
- package/build/translations/ast.js +1 -1
- package/build/translations/az.js +1 -1
- package/build/translations/be.js +1 -1
- package/build/translations/bg.js +1 -1
- package/build/translations/bn.js +1 -1
- package/build/translations/bs.js +1 -1
- package/build/translations/ca.js +1 -1
- package/build/translations/cs.js +1 -1
- package/build/translations/da.js +1 -1
- package/build/translations/de-ch.js +1 -1
- package/build/translations/de.js +1 -1
- package/build/translations/el.js +1 -1
- package/build/translations/en-au.js +1 -1
- package/build/translations/en-gb.js +1 -1
- package/build/translations/eo.js +1 -1
- package/build/translations/es-co.js +1 -1
- package/build/translations/es.js +1 -1
- package/build/translations/et.js +1 -1
- package/build/translations/eu.js +1 -1
- package/build/translations/fa.js +1 -1
- package/build/translations/fi.js +1 -1
- package/build/translations/fr.js +1 -1
- package/build/translations/gl.js +1 -1
- package/build/translations/gu.js +1 -1
- package/build/translations/he.js +1 -1
- package/build/translations/hi.js +1 -1
- package/build/translations/hr.js +1 -1
- package/build/translations/hu.js +1 -1
- package/build/translations/hy.js +1 -1
- package/build/translations/id.js +1 -1
- package/build/translations/it.js +1 -1
- package/build/translations/ja.js +1 -1
- package/build/translations/jv.js +1 -1
- package/build/translations/kk.js +1 -1
- package/build/translations/km.js +1 -1
- package/build/translations/kn.js +1 -1
- package/build/translations/ko.js +1 -1
- package/build/translations/ku.js +1 -1
- package/build/translations/lt.js +1 -1
- package/build/translations/lv.js +1 -1
- package/build/translations/ms.js +1 -1
- package/build/translations/nb.js +1 -1
- package/build/translations/ne.js +1 -1
- package/build/translations/nl.js +1 -1
- package/build/translations/no.js +1 -1
- package/build/translations/oc.js +1 -1
- package/build/translations/pl.js +1 -1
- package/build/translations/pt-br.js +1 -1
- package/build/translations/pt.js +1 -1
- package/build/translations/ro.js +1 -1
- package/build/translations/ru.js +1 -1
- package/build/translations/si.js +1 -1
- package/build/translations/sk.js +1 -1
- package/build/translations/sl.js +1 -1
- package/build/translations/sq.js +1 -1
- package/build/translations/sr-latn.js +1 -1
- package/build/translations/sr.js +1 -1
- package/build/translations/sv.js +1 -1
- package/build/translations/th.js +1 -1
- package/build/translations/ti.js +1 -1
- package/build/translations/tk.js +1 -1
- package/build/translations/tr.js +1 -1
- package/build/translations/tt.js +1 -1
- package/build/translations/ug.js +1 -1
- package/build/translations/uk.js +1 -1
- package/build/translations/ur.js +1 -1
- package/build/translations/uz.js +1 -1
- package/build/translations/vi.js +1 -1
- package/build/translations/zh-cn.js +1 -1
- package/build/translations/zh.js +1 -1
- package/dist/index-editor.css +573 -203
- package/dist/index.css +627 -204
- package/dist/index.js +5 -4
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/lang/contexts.json +8 -1
- package/lang/translations/af.po +52 -4
- package/lang/translations/ar.po +52 -4
- package/lang/translations/ast.po +52 -4
- package/lang/translations/az.po +52 -4
- package/lang/translations/be.po +52 -4
- package/lang/translations/bg.po +52 -4
- package/lang/translations/bn.po +52 -4
- package/lang/translations/bs.po +52 -4
- package/lang/translations/ca.po +52 -4
- package/lang/translations/cs.po +52 -4
- package/lang/translations/da.po +52 -4
- package/lang/translations/de-ch.po +52 -4
- package/lang/translations/de.po +52 -4
- package/lang/translations/el.po +52 -4
- package/lang/translations/en-au.po +52 -4
- package/lang/translations/en-gb.po +52 -4
- package/lang/translations/en.po +52 -4
- package/lang/translations/eo.po +52 -4
- package/lang/translations/es-co.po +52 -4
- package/lang/translations/es.po +52 -4
- package/lang/translations/et.po +52 -4
- package/lang/translations/eu.po +52 -4
- package/lang/translations/fa.po +52 -4
- package/lang/translations/fi.po +52 -4
- package/lang/translations/fr.po +52 -4
- package/lang/translations/gl.po +52 -4
- package/lang/translations/gu.po +52 -4
- package/lang/translations/he.po +52 -4
- package/lang/translations/hi.po +52 -4
- package/lang/translations/hr.po +52 -4
- package/lang/translations/hu.po +52 -4
- package/lang/translations/hy.po +52 -4
- package/lang/translations/id.po +52 -4
- package/lang/translations/it.po +52 -4
- package/lang/translations/ja.po +52 -4
- package/lang/translations/jv.po +52 -4
- package/lang/translations/kk.po +52 -4
- package/lang/translations/km.po +52 -4
- package/lang/translations/kn.po +52 -4
- package/lang/translations/ko.po +52 -4
- package/lang/translations/ku.po +52 -4
- package/lang/translations/lt.po +52 -4
- package/lang/translations/lv.po +52 -4
- package/lang/translations/ms.po +52 -4
- package/lang/translations/nb.po +52 -4
- package/lang/translations/ne.po +52 -4
- package/lang/translations/nl.po +52 -4
- package/lang/translations/no.po +52 -4
- package/lang/translations/oc.po +52 -4
- package/lang/translations/pl.po +52 -4
- package/lang/translations/pt-br.po +52 -4
- package/lang/translations/pt.po +52 -4
- package/lang/translations/ro.po +52 -4
- package/lang/translations/ru.po +52 -4
- package/lang/translations/si.po +52 -4
- package/lang/translations/sk.po +52 -4
- package/lang/translations/sl.po +52 -4
- package/lang/translations/sq.po +52 -4
- package/lang/translations/sr-latn.po +52 -4
- package/lang/translations/sr.po +52 -4
- package/lang/translations/sv.po +52 -4
- package/lang/translations/th.po +52 -4
- package/lang/translations/ti.po +52 -4
- package/lang/translations/tk.po +52 -4
- package/lang/translations/tr.po +52 -4
- package/lang/translations/tt.po +52 -4
- package/lang/translations/ug.po +52 -4
- package/lang/translations/uk.po +52 -4
- package/lang/translations/ur.po +52 -4
- package/lang/translations/uz.po +52 -4
- package/lang/translations/vi.po +52 -4
- package/lang/translations/zh-cn.po +52 -4
- package/lang/translations/zh.po +52 -4
- package/package.json +15 -15
- package/src/aiactions/aiactions.d.ts +1 -1
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.d.ts +5 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
- package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
- package/src/aiballoon/ui/aiballoonview.d.ts +40 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatcontroller.d.ts +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.d.ts +1 -0
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.d.ts +4 -0
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/model/aichatmodels.d.ts +8 -29
- package/src/aichat/model/aichatmodels.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.d.ts +4 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.d.ts +2 -2
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.d.ts +4 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.d.ts +4 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/{aichatresourceslistview.d.ts → aichatcontextresourceslistview.d.ts} +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +23 -0
- package/src/aichat/ui/controls/resources/{aichatresourcesview.d.ts → aichatcontextresourcesview.d.ts} +5 -2
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +23 -0
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.d.ts +4 -0
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.d.ts +3 -3
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.d.ts +3 -3
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichat/utils/scrollmanager.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.d.ts +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +2 -1
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aiconfig.d.ts +28 -7
- package/src/aicore/aiconnector.d.ts +1 -0
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aicapabilities.js +1 -1
- package/src/aicore/model/aicontext.js +1 -1
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aimodels.d.ts +66 -0
- package/src/aicore/model/aimodels.js +23 -0
- package/src/aicore/model/aireply.d.ts +9 -1
- package/src/aicore/model/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/aidisclaimerview.js +1 -1
- package/src/aicore/ui/aiskeleton.js +1 -1
- package/src/aicore/ui/aispinner.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.d.ts +5 -2
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.d.ts +3 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.d.ts +6 -2
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/utils/common-translations.js +1 -1
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/documentposition.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/eventnames.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.d.ts +2 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aieditorintegration/aieditorintegration.d.ts +2 -1
- package/src/aieditorintegration/aieditorintegration.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
- package/src/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeediting.d.ts +18 -0
- package/src/aireviewmode/aireviewmodeediting.js +1 -1
- package/src/aireviewmode/aireviewmodeui.d.ts +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheck.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.d.ts +3 -3
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewchecklist.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresultchange.d.ts +1 -1
- package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewmode/model/aireviewcheckrun.d.ts +9 -10
- package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.d.ts +6 -0
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.d.ts +13 -0
- package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +23 -0
- package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.d.ts +9 -1
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.d.ts +0 -4
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/aitabsmainview.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
- package/src/errors.js +1 -1
- package/src/index.d.ts +1 -0
- package/src/index.js +1 -1
- package/theme/aiballoon/aiballoon.css +12 -0
- package/theme/aichat/aichat-controls/aichat-context-chip.css +1 -1
- package/theme/aichat/aichat-controls/aichat-context-controls-balloon-panels.css +52 -43
- package/theme/aichat/aichat-controls/aichat-controls-button.css +8 -6
- package/theme/aichat/aichat-controls/aichat-controls-loader.css +36 -52
- package/theme/aichat/aichat-controls/prompt-capabilities.css +0 -1
- package/theme/aichat/aichat-controls.css +11 -27
- package/theme/aichat/aichat.css +2 -3
- package/theme/aichat/aichatfeed.css +1 -27
- package/theme/aichat/aichathistory.css +12 -0
- package/theme/aichat/aisuggestioncontainer.css +5 -0
- package/theme/aireviewmode/aireviewmode-check-list.css +25 -23
- package/theme/aireviewmode/aireviewmode-check-run-result.css +45 -0
- package/theme/aireviewmode/aireviewmode-check-run.css +28 -5
- package/theme/aireviewmode/aireviewmode.css +17 -7
- package/theme/aitabs/aitabsview.css +1 -1
- package/theme/aitabs/tabs/tabbuttonview.css +1 -0
- package/theme/aitabs/tabs/tabsview.css +1 -0
- package/theme/common/aibutton.css +27 -0
- package/theme/common/aiheader.css +14 -4
- package/theme/common/aitrackchanges.css +8 -1
- package/src/aichat/ui/controls/resources/aichatresourceslistview.js +0 -23
- package/src/aichat/ui/controls/resources/aichatresourcesview.js +0 -23
- package/src/aireviewmode/model/aireviewmodels.d.ts +0 -26
- package/src/aireviewmode/model/aireviewmodels.js +0 -23
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x17fa23=_0x2606;(function(_0x345012,_0x2f8883){var _0xf9ebc2=_0x2606,_0x570dde=_0x345012();while(!![]){try{var _0x7f6a5e=parseInt(_0xf9ebc2(0x130))/0x1+-parseInt(_0xf9ebc2(0x132))/0x2+-parseInt(_0xf9ebc2(0x133))/0x3*(-parseInt(_0xf9ebc2(0x12d))/0x4)+parseInt(_0xf9ebc2(0x134))/0x5*(-parseInt(_0xf9ebc2(0x139))/0x6)+parseInt(_0xf9ebc2(0x12f))/0x7+parseInt(_0xf9ebc2(0x136))/0x8+-parseInt(_0xf9ebc2(0x137))/0x9*(-parseInt(_0xf9ebc2(0x13c))/0xa);if(_0x7f6a5e===_0x2f8883)break;else _0x570dde['push'](_0x570dde['shift']());}catch(_0x3b7cca){_0x570dde['push'](_0x570dde['shift']());}}}(_0x5f46,0x8b333));function _0x2606(_0x268e0f,_0x5d044b){var _0x5f464e=_0x5f46();return _0x2606=function(_0x2606a8,_0x47551c){_0x2606a8=_0x2606a8-0x12c;var _0x325bd8=_0x5f464e[_0x2606a8];return _0x325bd8;},_0x2606(_0x268e0f,_0x5d044b);}function _0x5f46(){var _0x318405=['1699264fgrWzV','411215XdsOuz','find','1840282Oxbanw','33yGrPPw','85IclEyA','custom','3796600OrqdAt','56043JlENYe','_mapCheckDefinitions','220074WUAVrp','checks','_checks','20kcVPOx','map','353764eNTJpf','getCheckById'];_0x5f46=function(){return _0x318405;};return _0x5f46();}import{ObservableMixin as _0x4b2f56}from'ckeditor5/src/utils.js';import{AIReviewCheck as _0x5e147c}from'./aireviewcheck.js';import{AIReviewCheckCustom as _0x288b63}from'./aireviewcheckcustom.js';export class AIReviewCheckList extends _0x4b2f56(){[_0x17fa23(0x13b)];constructor(_0x22ae98){var _0x183e8d=_0x17fa23;super(),this[_0x183e8d(0x13b)]=this[_0x183e8d(0x138)](_0x22ae98);}get[_0x17fa23(0x13a)](){var _0x385a47=_0x17fa23;return this[_0x385a47(0x13b)];}[_0x17fa23(0x12e)](_0x19a422){var _0x889e37=_0x17fa23;return this[_0x889e37(0x13a)][_0x889e37(0x131)](_0x2f5897=>_0x2f5897['id']===_0x19a422);}[_0x17fa23(0x138)](_0x554519){var _0x5cf78f=_0x17fa23;return _0x554519[_0x5cf78f(0x12c)](_0x3f7b5b=>_0x5cf78f(0x135)===_0x3f7b5b['id']?new _0x288b63(_0x3f7b5b):new _0x5e147c(_0x3f7b5b));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
var _0x528ace=_0x2e83;function _0x2e83(_0x46196c,_0x251931){var _0x47cf36=_0x47cf();return _0x2e83=function(_0x2e8350,_0x470ac3){_0x2e8350=_0x2e8350-0x142;var _0x2e9f63=_0x47cf36[_0x2e8350];return _0x2e9f63;},_0x2e83(_0x46196c,_0x251931);}(function(_0x3fb184,_0x330658){var _0x71c16c=_0x2e83,_0xd76323=_0x3fb184();while(!![]){try{var _0x470ddf=parseInt(_0x71c16c(0x149))/0x1*(-parseInt(_0x71c16c(0x14d))/0x2)+-parseInt(_0x71c16c(0x143))/0x3*(parseInt(_0x71c16c(0x144))/0x4)+-parseInt(_0x71c16c(0x142))/0x5*(parseInt(_0x71c16c(0x14e))/0x6)+-parseInt(_0x71c16c(0x146))/0x7+parseInt(_0x71c16c(0x148))/0x8+-parseInt(_0x71c16c(0x14b))/0x9*(-parseInt(_0x71c16c(0x145))/0xa)+parseInt(_0x71c16c(0x14f))/0xb;if(_0x470ddf===_0x330658)break;else _0xd76323['push'](_0xd76323['shift']());}catch(_0x31e359){_0xd76323['push'](_0xd76323['shift']());}}}(_0x47cf,0x4af49));import{EmitterMixin as _0x2f2187}from'ckeditor5/src/utils.js';export class AIReviewCheckResult extends _0x2f2187(){['id'];[_0x528ace(0x14c)];[_0x528ace(0x147)];[_0x528ace(0x14a)];constructor({id:_0x3d7483,contentNew:_0x3c181d,contentInitial:_0x38cf4a,documentVersion:_0x18abda}){var _0x5dd516=_0x528ace;super(),this['id']=_0x3d7483,this[_0x5dd516(0x14c)]=_0x3c181d,this[_0x5dd516(0x147)]=_0x38cf4a,this[_0x5dd516(0x14a)]=_0x18abda;}}function _0x47cf(){var _0xc8bb81=['6HNwSbM','7834310CWvfNt','2045735Gfszzv','3747CssLsn','1516hOAToP','2917480hMuYFB','653737GEmtXM','contentInitial','950488sIsCqw','131591KxrmhY','documentVersion','18tTanUQ','contentNew','2oTZtrH'];_0x47cf=function(){return _0xc8bb81;};return _0x47cf();}
|
|
@@ -30,7 +30,7 @@ export declare class AIReviewCheckResultChange extends /* #__PURE__ */ AIReviewC
|
|
|
30
30
|
*
|
|
31
31
|
* @observable
|
|
32
32
|
*/
|
|
33
|
-
status: '
|
|
33
|
+
status: 'pending' | 'accepted' | 'rejected' | 'outdated';
|
|
34
34
|
/**
|
|
35
35
|
* Indicates whether the change is currently activated.
|
|
36
36
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x56ea(){var _0x35fa9c=['set','pending','1896JszkyF','isRated','change:status','operationsIsolated','context','operations','1116891DOPOdf','845SdAsAT','_data','1fEgiXg','3032744wtGVIB','_editorOperations','status','2470890jiLIMD','contentDiffed','isActivated','4348253iGkBFS','1457604lngcda','parent','1418319bROCSf'];_0x56ea=function(){return _0x35fa9c;};return _0x56ea();}var _0x564b6b=_0x3b74;(function(_0x3bcfd4,_0x4b3b5e){var _0x531507=_0x3b74,_0xe2072d=_0x3bcfd4();while(!![]){try{var _0x285dca=-parseInt(_0x531507(0x118))/0x1*(parseInt(_0x531507(0x120))/0x2)+-parseInt(_0x531507(0x115))/0x3+-parseInt(_0x531507(0x125))/0x4*(parseInt(_0x531507(0x116))/0x5)+parseInt(_0x531507(0x11c))/0x6+parseInt(_0x531507(0x11f))/0x7+parseInt(_0x531507(0x119))/0x8+parseInt(_0x531507(0x122))/0x9;if(_0x285dca===_0x4b3b5e)break;else _0xe2072d['push'](_0xe2072d['shift']());}catch(_0x8be0b0){_0xe2072d['push'](_0xe2072d['shift']());}}}(_0x56ea,0x5ed79));import{ObservableMixin as _0x2efdb0}from'ckeditor5/src/utils.js';function _0x3b74(_0x20406f,_0x513c15){var _0x56ea3a=_0x56ea();return _0x3b74=function(_0x3b74b4,_0x2cf94d){_0x3b74b4=_0x3b74b4-0x114;var _0x2c6b22=_0x56ea3a[_0x3b74b4];return _0x2c6b22;},_0x3b74(_0x20406f,_0x513c15);}export class AIReviewCheckResultChange extends _0x2efdb0(){['id'];[_0x564b6b(0x121)];[_0x564b6b(0x117)];[_0x564b6b(0x11a)]=[];constructor(_0x545301,_0x293952,_0x270f42){var _0x35c007=_0x564b6b;super(),this['id']=_0x545301,this[_0x35c007(0x121)]=_0x270f42,this[_0x35c007(0x117)]=_0x293952,this[_0x35c007(0x123)](_0x35c007(0x11e),!0x1),this[_0x35c007(0x123)](_0x35c007(0x126),!0x1),this[_0x35c007(0x123)](_0x35c007(0x11b),_0x35c007(0x124)),this['on'](_0x35c007(0x127),()=>{var _0x2dcc1c=_0x35c007;_0x2dcc1c(0x124)!==this[_0x2dcc1c(0x11b)]&&this[_0x2dcc1c(0x11e)]&&(this[_0x2dcc1c(0x11e)]=!0x1);});}get[_0x564b6b(0x11d)](){var _0x220ce1=_0x564b6b;return this[_0x220ce1(0x117)][_0x220ce1(0x129)]();}get[_0x564b6b(0x114)](){var _0x1d6286=_0x564b6b;return this[_0x1d6286(0x117)][_0x1d6286(0x114)];}get[_0x564b6b(0x128)](){var _0x3f4ed1=_0x564b6b;return this[_0x3f4ed1(0x117)][_0x3f4ed1(0x128)];}}
|
|
@@ -52,6 +52,10 @@ export declare abstract class AIReviewCheckRun extends /* #__PURE__ */ AIReviewC
|
|
|
52
52
|
* Whether the check run has any modifications (accepted or rejected changes).
|
|
53
53
|
*/
|
|
54
54
|
get hasModifications(): boolean;
|
|
55
|
+
/**
|
|
56
|
+
* Returns the current error that occurred during the check run, if any.
|
|
57
|
+
*/
|
|
58
|
+
get currentError(): Error | undefined;
|
|
55
59
|
/**
|
|
56
60
|
* Starts the check run resulting in an API call. After the call is finished, the status
|
|
57
61
|
* and list of changes are updated.
|
|
@@ -71,6 +75,8 @@ export declare abstract class AIReviewCheckRun extends /* #__PURE__ */ AIReviewC
|
|
|
71
75
|
markAllChangesAsAccepted(): void;
|
|
72
76
|
markChangeAsAccepted(changeId: string): void;
|
|
73
77
|
markChangeAsRejected(changeId: string): void;
|
|
78
|
+
markChangeAsOutdated(changeId: string): void;
|
|
79
|
+
markChangeAsPending(changeId: string): void;
|
|
74
80
|
activateChange(changeId: string): void;
|
|
75
81
|
deactivateChange(): void;
|
|
76
82
|
forceReadyState(): void;
|
|
@@ -120,19 +126,12 @@ export type AIReviewCheckResultReadyEvent = {
|
|
|
120
126
|
}
|
|
121
127
|
];
|
|
122
128
|
};
|
|
123
|
-
export type
|
|
124
|
-
name: '
|
|
125
|
-
args: [
|
|
126
|
-
{
|
|
127
|
-
change: AIReviewCheckResultChange;
|
|
128
|
-
}
|
|
129
|
-
];
|
|
130
|
-
};
|
|
131
|
-
export type AIReviewCheckResultChangeRejectedEvent = {
|
|
132
|
-
name: 'reviewCheckResultRejected';
|
|
129
|
+
export type AIReviewCheckResultChangeStatusUpdatedEvent = {
|
|
130
|
+
name: 'reviewCheckResultChangeStatusUpdated';
|
|
133
131
|
args: [
|
|
134
132
|
{
|
|
135
133
|
change: AIReviewCheckResultChange;
|
|
134
|
+
status: AIReviewCheckResultChange['status'];
|
|
136
135
|
}
|
|
137
136
|
];
|
|
138
137
|
};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x34b8(){const _0x29b97c=['aborted','815590tWIGTB','67923wEeZzk','reviewCheckResultActivated','includes','initialized','9vEQRif','reviewCheckResultReady','_createApiRequest','get','_sendRatingRequest','processedResultsCount','change:status','_checkIfFinished','9762UbivZc','_addReviewCheckResult','dataId','set','error-chunk','status','find','textDelta','24ZFFnTB','_reviewArgs','reviewName','abortController','markAllChangesAsAccepted','ai-request-aborted','operation','422002DERIdO','title','2113144RzGCue','_documentData','490ihcbnj','hasModifications','getContent','isChangeActive','reviewCheckResultAccepted','filter','10068DjmhCK','review-metadata','reviewCheckResultAdded','subTitle','abort','activateChange','sendRating','loading','ready','forceReadyState','_changes','start','elements','693875kfrwzY','parent','length','1TuYNWN','markChangeAsAccepted','_aiConnector','_activeRequest','clear','callId','finished','reviewCheckResultRejected','addResultChanges','getActiveChanges','event','restart','reviewCheckResultDeactivated','data','accepted','rejected','change:isActivated','_currentError','version','documentData','unmodified','push','fire','error-general','forEach','error','every','isRated','getStream','2915ZzDoJE','reviewCheckRunUpdated','_sourceCheck','_results','markChangeAsRejected','message','deactivateChange','active','_reviewParams','size','isActivated'];_0x34b8=function(){return _0x29b97c;};return _0x34b8();}function _0x3ebb(_0x4e5fb5,_0x478bb7){const _0x34b81f=_0x34b8();return _0x3ebb=function(_0x3ebb66,_0x54d9a5){_0x3ebb66=_0x3ebb66-0x15a;let _0x2cd2ab=_0x34b81f[_0x3ebb66];return _0x2cd2ab;},_0x3ebb(_0x4e5fb5,_0x478bb7);}const _0x34c8b5=_0x3ebb;(function(_0x35cfb1,_0x2e7ca9){const _0x5712eb=_0x3ebb,_0x540a81=_0x35cfb1();while(!![]){try{const _0xcfc13d=parseInt(_0x5712eb(0x15a))/0x1*(parseInt(_0x5712eb(0x19f))/0x2)+-parseInt(_0x5712eb(0x184))/0x3*(-parseInt(_0x5712eb(0x198))/0x4)+-parseInt(_0x5712eb(0x1b6))/0x5+parseInt(_0x5712eb(0x190))/0x6*(parseInt(_0x5712eb(0x1a3))/0x7)+parseInt(_0x5712eb(0x1a1))/0x8*(-parseInt(_0x5712eb(0x188))/0x9)+-parseInt(_0x5712eb(0x183))/0xa+-parseInt(_0x5712eb(0x177))/0xb*(-parseInt(_0x5712eb(0x1a9))/0xc);if(_0xcfc13d===_0x2e7ca9)break;else _0x540a81['push'](_0x540a81['shift']());}catch(_0x185940){_0x540a81['push'](_0x540a81['shift']());}}}(_0x34b8,0x307c3));import{ObservableMixin as _0xaa832d,uid as _0xa6000e}from'ckeditor5/src/utils.js';import{AIReviewCheckResult as _0x47c163}from'./aireviewcheckresult.js';import{AIReviewCheckResultChange as _0x1f0f1e}from'./aireviewcheckresultchange.js';export class AIReviewCheckRun extends _0xaa832d(){['id']=_0xa6000e();[_0x34c8b5(0x15f)];[_0x34c8b5(0x17a)]=new Map();[_0x34c8b5(0x1b3)]=[];[_0x34c8b5(0x1a2)];[_0x34c8b5(0x179)];[_0x34c8b5(0x15c)];[_0x34c8b5(0x17f)];[_0x34c8b5(0x199)];[_0x34c8b5(0x15d)]=null;[_0x34c8b5(0x16b)];constructor(_0x432990,_0x42816c,_0x24589c,_0x470ab,_0x371e9c){const _0xb78c05=_0x34c8b5;super(),this[_0xb78c05(0x1a2)]=_0x432990,this[_0xb78c05(0x179)]=_0x42816c,this[_0xb78c05(0x15c)]=_0x24589c,this[_0xb78c05(0x17f)]=_0x470ab,this[_0xb78c05(0x199)]=_0x371e9c,this['on'](_0xb78c05(0x18e),(_0x43392e,_0xa7f400,_0x3599ab)=>{const _0x9e802=_0xb78c05;this[_0x9e802(0x170)](_0x9e802(0x178),{'status':_0x3599ab,'run':this,'error':this[_0x9e802(0x16b)]});}),this[_0xb78c05(0x193)](_0xb78c05(0x195),_0xb78c05(0x187));}get[_0x34c8b5(0x16d)](){const _0x1491b4=_0x34c8b5;return this[_0x1491b4(0x1a2)];}get[_0x34c8b5(0x18d)](){const _0x1c1faa=_0x34c8b5;return this[_0x1c1faa(0x17a)][_0x1c1faa(0x180)];}get[_0x34c8b5(0x1a0)](){const _0x5b8f9b=_0x34c8b5;return this[_0x5b8f9b(0x179)][_0x5b8f9b(0x1a0)];}get[_0x34c8b5(0x1ac)](){return'';}get[_0x34c8b5(0x19a)](){const _0x1ed58b=_0x34c8b5;return this[_0x1ed58b(0x179)]['id'];}get[_0x34c8b5(0x1a4)](){const _0xb20ce1=_0x34c8b5;return!this[_0xb20ce1(0x1b3)][_0xb20ce1(0x174)](_0x25ca86=>_0xb20ce1(0x17e)===_0x25ca86[_0xb20ce1(0x195)]);}async[_0x34c8b5(0x1b4)](){const _0x3669bd=_0x34c8b5;this[_0x3669bd(0x195)]=_0x3669bd(0x1b0),this[_0x3669bd(0x16b)]=void 0x0;try{this[_0x3669bd(0x15d)]=this[_0x3669bd(0x18a)]();const _0x501bb8=await this[_0x3669bd(0x15d)][_0x3669bd(0x176)]();this[_0x3669bd(0x195)]=_0x3669bd(0x167);for await(const _0x1b2bc2 of _0x501bb8)_0x3669bd(0x16e)!==_0x1b2bc2[_0x3669bd(0x167)][_0x3669bd(0x19e)]&&(_0x3669bd(0x173)!==_0x1b2bc2[_0x3669bd(0x167)][_0x3669bd(0x19e)]?_0x3669bd(0x1aa)!==_0x1b2bc2[_0x3669bd(0x164)]?this[_0x3669bd(0x191)](_0x1b2bc2[_0x3669bd(0x167)][_0x3669bd(0x192)],_0x1b2bc2[_0x3669bd(0x167)][_0x3669bd(0x197)]):this[_0x3669bd(0x15f)]=_0x1b2bc2[_0x3669bd(0x167)][_0x3669bd(0x15f)]:this[_0x3669bd(0x195)]=_0x3669bd(0x194));_0x3669bd(0x194)!==this[_0x3669bd(0x195)]&&(0x0===this[_0x3669bd(0x17a)][_0x3669bd(0x180)]?this[_0x3669bd(0x195)]=_0x3669bd(0x16e):this[_0x3669bd(0x195)]=_0x3669bd(0x1b1));}catch(_0x53cd6f){this[_0x3669bd(0x16b)]=_0x53cd6f,_0x53cd6f instanceof Error&&_0x53cd6f[_0x3669bd(0x17c)][_0x3669bd(0x186)](_0x3669bd(0x19d))?this[_0x3669bd(0x195)]=_0x3669bd(0x182):this[_0x3669bd(0x195)]=_0x3669bd(0x171);}finally{this[_0x3669bd(0x15d)]=null;}}async[_0x34c8b5(0x165)](){const _0x4d1fe7=_0x34c8b5;this[_0x4d1fe7(0x17a)][_0x4d1fe7(0x15e)](),this[_0x4d1fe7(0x1b3)][_0x4d1fe7(0x1b8)]=0x0,this[_0x4d1fe7(0x16b)]=void 0x0,await this[_0x4d1fe7(0x1b4)]();}[_0x34c8b5(0x162)](_0x523639,_0x26617c){const _0x485d81=_0x34c8b5,_0x4f284a=this[_0x485d81(0x17a)][_0x485d81(0x18b)](_0x523639);if(!_0x4f284a)return;const _0x104031=[];_0x26617c[_0x485d81(0x172)]((_0xb19516,_0x105ad5)=>{const _0x967bfb=_0x485d81,_0x541e2e=new _0x1f0f1e(_0x4f284a['id']+'-'+_0x105ad5,_0xb19516,_0x4f284a);_0x541e2e['on'](_0x967bfb(0x18e),()=>{const _0x43eab0=_0x967bfb;_0x43eab0(0x168)===_0x541e2e[_0x43eab0(0x195)]?this[_0x43eab0(0x170)](_0x43eab0(0x1a7),{'change':_0x541e2e}):_0x43eab0(0x169)===_0x541e2e[_0x43eab0(0x195)]&&this[_0x43eab0(0x170)](_0x43eab0(0x161),{'change':_0x541e2e});}),_0x541e2e['on'](_0x967bfb(0x16a),()=>{const _0x598a24=_0x967bfb;_0x541e2e[_0x598a24(0x181)]?this[_0x598a24(0x170)](_0x598a24(0x185),{'change':_0x541e2e}):this[_0x598a24(0x170)](_0x598a24(0x166),{'change':_0x541e2e});}),this[_0x967bfb(0x1b3)][_0x967bfb(0x16f)](_0x541e2e),_0x104031[_0x967bfb(0x16f)](_0x541e2e);}),this[_0x485d81(0x170)](_0x485d81(0x189),{'changes':_0x104031,'result':_0x4f284a,'source':this});}[_0x34c8b5(0x1ad)](){const _0x154d5d=_0x34c8b5;this[_0x154d5d(0x15d)]&&(this[_0x154d5d(0x15d)][_0x154d5d(0x19b)][_0x154d5d(0x1ad)](),this[_0x154d5d(0x15d)]=null,this[_0x154d5d(0x195)]=_0x154d5d(0x182));}[_0x34c8b5(0x1a6)](_0x4cd151){const _0x4b5543=_0x34c8b5,_0x319cdc=this[_0x4b5543(0x1b3)][_0x4b5543(0x196)](_0xe3f32b=>_0xe3f32b['id']===_0x4cd151);return!(!_0x319cdc||_0x4b5543(0x17e)!==_0x319cdc[_0x4b5543(0x195)]);}[_0x34c8b5(0x163)](){const _0x5ca91f=_0x34c8b5;return this[_0x5ca91f(0x1b3)][_0x5ca91f(0x1a8)](_0x5dcf76=>_0x5ca91f(0x17e)===_0x5dcf76[_0x5ca91f(0x195)]);}[_0x34c8b5(0x19c)](){const _0x3fe0cd=_0x34c8b5;for(const _0x3aa8a8 of this[_0x3fe0cd(0x1b3)])_0x3fe0cd(0x17e)===_0x3aa8a8[_0x3fe0cd(0x195)]&&(_0x3aa8a8[_0x3fe0cd(0x195)]=_0x3fe0cd(0x168));this[_0x3fe0cd(0x18f)]();}[_0x34c8b5(0x15b)](_0x38a3b2){const _0x4c98b0=_0x34c8b5,_0x3dd4cf=this[_0x4c98b0(0x1b3)][_0x4c98b0(0x196)](_0x19b2be=>_0x19b2be['id']===_0x38a3b2);_0x3dd4cf&&_0x4c98b0(0x17e)===_0x3dd4cf[_0x4c98b0(0x195)]&&(_0x3dd4cf[_0x4c98b0(0x195)]=_0x4c98b0(0x168)),this[_0x4c98b0(0x18f)]();}[_0x34c8b5(0x17b)](_0x266b3d){const _0x2191fa=_0x34c8b5,_0xfb35d6=this[_0x2191fa(0x1b3)][_0x2191fa(0x196)](_0x20c09d=>_0x20c09d['id']===_0x266b3d);_0xfb35d6&&_0x2191fa(0x17e)===_0xfb35d6[_0x2191fa(0x195)]&&(_0xfb35d6[_0x2191fa(0x195)]=_0x2191fa(0x169)),this[_0x2191fa(0x18f)]();}[_0x34c8b5(0x1ae)](_0x56ece3){const _0x1a4f06=_0x34c8b5;this[_0x1a4f06(0x1b3)][_0x1a4f06(0x1a8)](_0x306560=>_0x306560[_0x1a4f06(0x181)]&&_0x306560['id']!==_0x56ece3)[_0x1a4f06(0x172)](_0x40c1e5=>{const _0x4055ad=_0x1a4f06;_0x40c1e5[_0x4055ad(0x181)]=!0x1;});const _0x2ea20c=this[_0x1a4f06(0x1b3)][_0x1a4f06(0x196)](_0x417ab1=>_0x417ab1['id']===_0x56ece3);_0x2ea20c&&(_0x2ea20c[_0x1a4f06(0x181)]=!0x0);}[_0x34c8b5(0x17d)](){const _0x91dfd=_0x34c8b5;this[_0x91dfd(0x1b3)][_0x91dfd(0x1a8)](_0x359768=>_0x359768[_0x91dfd(0x181)])[_0x91dfd(0x172)](_0x49e4b3=>{const _0x41f398=_0x91dfd;_0x49e4b3[_0x41f398(0x181)]=!0x1;});}[_0x34c8b5(0x1b2)](){const _0x2778b9=_0x34c8b5;this[_0x2778b9(0x195)]=_0x2778b9(0x1b1);}async[_0x34c8b5(0x1af)](_0x19d8ef){const _0x59f9ef=_0x34c8b5;if(_0x59f9ef(0x187)===this[_0x59f9ef(0x195)]||_0x59f9ef(0x1b0)===this[_0x59f9ef(0x195)]||_0x59f9ef(0x167)===this[_0x59f9ef(0x195)])return;if(!this[_0x59f9ef(0x15f)]||0x0===this[_0x59f9ef(0x1b3)][_0x59f9ef(0x1b8)])return;let _0x5bfb0e;if(_0x19d8ef){const _0x2a3dd7=this[_0x59f9ef(0x1b3)][_0x59f9ef(0x196)](_0x167cb9=>_0x167cb9['id']===_0x19d8ef);if(_0x2a3dd7&&_0x2a3dd7[_0x59f9ef(0x175)])return;_0x2a3dd7&&(_0x5bfb0e=_0x2a3dd7[_0x59f9ef(0x1b7)]['id'],_0x2a3dd7[_0x59f9ef(0x175)]=!0x0);}const _0x54f30e={'positiveCount':this[_0x59f9ef(0x1b3)][_0x59f9ef(0x1a8)](_0x45b4a0=>_0x59f9ef(0x168)===_0x45b4a0[_0x59f9ef(0x195)])[_0x59f9ef(0x1b8)],'totalCount':this[_0x59f9ef(0x1b3)][_0x59f9ef(0x1b8)]};this[_0x59f9ef(0x18c)](_0x54f30e,this[_0x59f9ef(0x15f)],_0x5bfb0e);}[_0x34c8b5(0x191)](_0x328890,_0x5c24d8){const _0x10cc55=_0x34c8b5,_0x1397cf=this[_0x10cc55(0x1a2)][_0x10cc55(0x1b5)][_0x10cc55(0x18b)](_0x328890);if(!_0x1397cf)return;const _0x285f96=_0x1397cf[_0x10cc55(0x1a5)]();if(_0x285f96===_0x5c24d8)return;const _0x580576=new _0x47c163({'id':_0x328890,'contentInitial':_0x285f96,'contentNew':_0x5c24d8,'documentVersion':this[_0x10cc55(0x1a2)][_0x10cc55(0x16c)]});this[_0x10cc55(0x17a)][_0x10cc55(0x193)](_0x580576['id'],_0x580576),this[_0x10cc55(0x170)](_0x10cc55(0x1ab),{'result':_0x580576,'source':this});}[_0x34c8b5(0x18f)](){const _0x4e969a=_0x34c8b5;if(_0x4e969a(0x1b1)!==this[_0x4e969a(0x195)])return;0x0===this[_0x4e969a(0x1b3)][_0x4e969a(0x1a8)](_0x1e0b4f=>_0x4e969a(0x17e)===_0x1e0b4f[_0x4e969a(0x195)])[_0x4e969a(0x1b8)]&&(this[_0x4e969a(0x195)]=_0x4e969a(0x160));}}
|
|
23
|
+
const _0x215b2d=_0x22ce;(function(_0x1404b1,_0x554fdb){const _0xb52a8c=_0x22ce,_0x33a07a=_0x1404b1();while(!![]){try{const _0x19b591=parseInt(_0xb52a8c(0x153))/0x1+parseInt(_0xb52a8c(0x190))/0x2*(parseInt(_0xb52a8c(0x16d))/0x3)+-parseInt(_0xb52a8c(0x161))/0x4+-parseInt(_0xb52a8c(0x17c))/0x5+-parseInt(_0xb52a8c(0x199))/0x6+-parseInt(_0xb52a8c(0x156))/0x7+parseInt(_0xb52a8c(0x18b))/0x8*(parseInt(_0xb52a8c(0x196))/0x9);if(_0x19b591===_0x554fdb)break;else _0x33a07a['push'](_0x33a07a['shift']());}catch(_0x1b0a88){_0x33a07a['push'](_0x33a07a['shift']());}}}(_0x16ec,0xf3786));import{ObservableMixin as _0x214a67,uid as _0x4267d6}from'ckeditor5/src/utils.js';function _0x16ec(){const _0x4d5494=['loading','_sourceCheck','hasModifications','currentError','_addReviewCheckResult','_results','markChangeAsRejected','1489707YNcScH','size','find','_documentData','error-chunk','data','restart','error','reviewCheckResultDeactivated','initialized','markChangeAsOutdated','status','_reviewParams','reviewCheckRunUpdated','_createApiRequest','647855sBlMvg','change:status','message','documentData','dataId','accepted','set','sendRating','aborted','elements','subTitle','forEach','rejected','ai-request-aborted','_aiConnector','8ahQfqI','finished','textDelta','getContent','fire','6tNEnNR','event','callId','abort','markChangeAsAccepted','length','7373610mMGHgz','parent','processedResultsCount','3124788xPXGHy','reviewCheckResultActivated','reviewCheckResultChangeStatusUpdated','includes','addResultChanges','isRated','markAllChangesAsAccepted','_sendRatingRequest','reviewCheckResultReady','clear','review-metadata','ready','markChangeAsPending','_currentError','activateChange','every','forceReadyState','reviewName','pending','filter','reviewCheckResultAdded','change:isActivated','push','deactivateChange','outdated','1019545yqymLt','error-general','unmodified','2559928IwGpCW','version','operation','start','_reviewArgs','title','get','_activeRequest','_changes','isActivated','_checkIfFinished','5260860yQBuRt','isChangeActive','abortController','getActiveChanges','getStream'];_0x16ec=function(){return _0x4d5494;};return _0x16ec();}import{AIReviewCheckResult as _0x4bf7cb}from'./aireviewcheckresult.js';import{AIReviewCheckResultChange as _0x3ebd55}from'./aireviewcheckresultchange.js';function _0x22ce(_0x3679c7,_0x87046a){const _0x16ec4f=_0x16ec();return _0x22ce=function(_0x22ce1b,_0x283823){_0x22ce1b=_0x22ce1b-0x13f;let _0x47c6d3=_0x16ec4f[_0x22ce1b];return _0x47c6d3;},_0x22ce(_0x3679c7,_0x87046a);}export class AIReviewCheckRun extends _0x214a67(){['id']=_0x4267d6();[_0x215b2d(0x192)];[_0x215b2d(0x16b)]=new Map();[_0x215b2d(0x15e)]=[];[_0x215b2d(0x170)];[_0x215b2d(0x167)];[_0x215b2d(0x18a)];[_0x215b2d(0x179)];[_0x215b2d(0x15a)];[_0x215b2d(0x15d)]=null;[_0x215b2d(0x147)];constructor(_0x407429,_0x3eaa2f,_0x2d365a,_0x29bda6,_0x1daf53){const _0x438dfe=_0x215b2d;super(),this[_0x438dfe(0x170)]=_0x407429,this[_0x438dfe(0x167)]=_0x3eaa2f,this[_0x438dfe(0x18a)]=_0x2d365a,this[_0x438dfe(0x179)]=_0x29bda6,this[_0x438dfe(0x15a)]=_0x1daf53,this['on'](_0x438dfe(0x17d),(_0x552a6f,_0x1a1c6d,_0x4c5b04)=>{const _0x5680b6=_0x438dfe;this[_0x5680b6(0x18f)](_0x5680b6(0x17a),{'status':_0x4c5b04,'run':this,'error':this[_0x5680b6(0x147)]});}),this[_0x438dfe(0x182)](_0x438dfe(0x178),_0x438dfe(0x176));}get[_0x215b2d(0x17f)](){const _0x4637ed=_0x215b2d;return this[_0x4637ed(0x170)];}get[_0x215b2d(0x198)](){const _0x12d6e9=_0x215b2d;return this[_0x12d6e9(0x16b)][_0x12d6e9(0x16e)];}get[_0x215b2d(0x15b)](){const _0x404715=_0x215b2d;return this[_0x404715(0x167)][_0x404715(0x15b)];}get[_0x215b2d(0x186)](){return'';}get[_0x215b2d(0x14b)](){const _0x15a8bf=_0x215b2d;return this[_0x15a8bf(0x167)]['id'];}get[_0x215b2d(0x168)](){const _0x1406f0=_0x215b2d;return!this[_0x1406f0(0x15e)][_0x1406f0(0x149)](_0x2d2b38=>_0x1406f0(0x14c)===_0x2d2b38[_0x1406f0(0x178)]);}get[_0x215b2d(0x169)](){const _0x497f64=_0x215b2d;return this[_0x497f64(0x147)];}async[_0x215b2d(0x159)](){const _0xa2d856=_0x215b2d;this[_0xa2d856(0x178)]=_0xa2d856(0x166),this[_0xa2d856(0x147)]=void 0x0;try{this[_0xa2d856(0x15d)]=this[_0xa2d856(0x17b)]();const _0x43b3f0=await this[_0xa2d856(0x15d)][_0xa2d856(0x165)]();this[_0xa2d856(0x178)]=_0xa2d856(0x172);for await(const _0x3ca593 of _0x43b3f0)_0xa2d856(0x155)!==_0x3ca593[_0xa2d856(0x172)][_0xa2d856(0x158)]&&(_0xa2d856(0x174)!==_0x3ca593[_0xa2d856(0x172)][_0xa2d856(0x158)]?_0xa2d856(0x144)!==_0x3ca593[_0xa2d856(0x191)]?this[_0xa2d856(0x16a)](_0x3ca593[_0xa2d856(0x172)][_0xa2d856(0x180)],_0x3ca593[_0xa2d856(0x172)][_0xa2d856(0x18d)]):this[_0xa2d856(0x192)]=_0x3ca593[_0xa2d856(0x172)][_0xa2d856(0x192)]:this[_0xa2d856(0x178)]=_0xa2d856(0x171));_0xa2d856(0x171)!==this[_0xa2d856(0x178)]&&(0x0===this[_0xa2d856(0x16b)][_0xa2d856(0x16e)]?this[_0xa2d856(0x178)]=_0xa2d856(0x155):this[_0xa2d856(0x178)]=_0xa2d856(0x145));}catch(_0x10cd8b){this[_0xa2d856(0x147)]=_0x10cd8b,_0x10cd8b instanceof Error&&_0x10cd8b[_0xa2d856(0x17e)][_0xa2d856(0x19c)](_0xa2d856(0x189))?this[_0xa2d856(0x178)]=_0xa2d856(0x184):this[_0xa2d856(0x178)]=_0xa2d856(0x154);}finally{this[_0xa2d856(0x15d)]=null;}}async[_0x215b2d(0x173)](){const _0x11a395=_0x215b2d;this[_0x11a395(0x16b)][_0x11a395(0x143)](),this[_0x11a395(0x15e)][_0x11a395(0x195)]=0x0,this[_0x11a395(0x147)]=void 0x0,await this[_0x11a395(0x159)]();}[_0x215b2d(0x19d)](_0x34aa02,_0x7b227c){const _0x33958e=_0x215b2d,_0x1b3b46=this[_0x33958e(0x16b)][_0x33958e(0x15c)](_0x34aa02);if(!_0x1b3b46)return;const _0x1fe288=[];_0x7b227c[_0x33958e(0x187)]((_0x554533,_0x527531)=>{const _0x239f1d=_0x33958e,_0x510600=new _0x3ebd55(_0x1b3b46['id']+'-'+_0x527531,_0x554533,_0x1b3b46);_0x510600['on'](_0x239f1d(0x17d),()=>{const _0x5b393c=_0x239f1d;this[_0x5b393c(0x18f)](_0x5b393c(0x19b),{'change':_0x510600,'status':_0x510600[_0x5b393c(0x178)]});}),_0x510600['on'](_0x239f1d(0x14f),()=>{const _0x20cc98=_0x239f1d;_0x510600[_0x20cc98(0x15f)]?this[_0x20cc98(0x18f)](_0x20cc98(0x19a),{'change':_0x510600}):this[_0x20cc98(0x18f)](_0x20cc98(0x175),{'change':_0x510600});}),this[_0x239f1d(0x15e)][_0x239f1d(0x150)](_0x510600),_0x1fe288[_0x239f1d(0x150)](_0x510600);}),this[_0x33958e(0x18f)](_0x33958e(0x142),{'changes':_0x1fe288,'result':_0x1b3b46,'source':this});}[_0x215b2d(0x193)](){const _0x343a07=_0x215b2d;this[_0x343a07(0x15d)]&&(this[_0x343a07(0x15d)][_0x343a07(0x163)][_0x343a07(0x193)](),this[_0x343a07(0x15d)]=null,this[_0x343a07(0x178)]=_0x343a07(0x184));}[_0x215b2d(0x162)](_0x5ad2ab){const _0x30c4a3=_0x215b2d,_0x381666=this[_0x30c4a3(0x15e)][_0x30c4a3(0x16f)](_0x15c8bc=>_0x15c8bc['id']===_0x5ad2ab);return!(!_0x381666||_0x30c4a3(0x14c)!==_0x381666[_0x30c4a3(0x178)]);}[_0x215b2d(0x164)](){const _0x1b1d4d=_0x215b2d;return this[_0x1b1d4d(0x15e)][_0x1b1d4d(0x14d)](_0x445d38=>_0x1b1d4d(0x14c)===_0x445d38[_0x1b1d4d(0x178)]);}[_0x215b2d(0x140)](){const _0x100809=_0x215b2d;for(const _0x111998 of this[_0x100809(0x15e)])_0x100809(0x14c)===_0x111998[_0x100809(0x178)]&&(_0x111998[_0x100809(0x178)]=_0x100809(0x181));this[_0x100809(0x160)]();}[_0x215b2d(0x194)](_0x47230b){const _0xf4942=_0x215b2d,_0x151677=this[_0xf4942(0x15e)][_0xf4942(0x16f)](_0x4795d3=>_0x4795d3['id']===_0x47230b);_0x151677&&_0xf4942(0x14c)===_0x151677[_0xf4942(0x178)]&&(_0x151677[_0xf4942(0x178)]=_0xf4942(0x181)),this[_0xf4942(0x160)]();}[_0x215b2d(0x16c)](_0x4e1749){const _0x4bd608=_0x215b2d,_0x3c3a17=this[_0x4bd608(0x15e)][_0x4bd608(0x16f)](_0x5f1238=>_0x5f1238['id']===_0x4e1749);_0x3c3a17&&_0x4bd608(0x14c)===_0x3c3a17[_0x4bd608(0x178)]&&(_0x3c3a17[_0x4bd608(0x178)]=_0x4bd608(0x188)),this[_0x4bd608(0x160)]();}[_0x215b2d(0x177)](_0x2ac63d){const _0x2e551c=_0x215b2d,_0x3bc329=this[_0x2e551c(0x15e)][_0x2e551c(0x16f)](_0x4ea913=>_0x4ea913['id']===_0x2ac63d);_0x3bc329&&_0x2e551c(0x14c)===_0x3bc329[_0x2e551c(0x178)]&&(_0x3bc329[_0x2e551c(0x178)]=_0x2e551c(0x152)),this[_0x2e551c(0x160)]();}[_0x215b2d(0x146)](_0x566305){const _0x213bdb=_0x215b2d,_0x3fbc39=this[_0x213bdb(0x15e)][_0x213bdb(0x16f)](_0x17cf27=>_0x17cf27['id']===_0x566305);_0x3fbc39&&_0x213bdb(0x152)===_0x3fbc39[_0x213bdb(0x178)]&&(_0x3fbc39[_0x213bdb(0x178)]=_0x213bdb(0x14c)),this[_0x213bdb(0x160)]();}[_0x215b2d(0x148)](_0x24b818){const _0x9051ef=_0x215b2d;this[_0x9051ef(0x15e)][_0x9051ef(0x14d)](_0x565d28=>_0x565d28[_0x9051ef(0x15f)]&&_0x565d28['id']!==_0x24b818)[_0x9051ef(0x187)](_0x2b160c=>{const _0x5b6827=_0x9051ef;_0x2b160c[_0x5b6827(0x15f)]=!0x1;});const _0x30e2cf=this[_0x9051ef(0x15e)][_0x9051ef(0x16f)](_0x49f06f=>_0x49f06f['id']===_0x24b818);_0x30e2cf&&_0x9051ef(0x14c)===_0x30e2cf[_0x9051ef(0x178)]&&(_0x30e2cf[_0x9051ef(0x15f)]=!0x0);}[_0x215b2d(0x151)](){const _0x20bae7=_0x215b2d;this[_0x20bae7(0x15e)][_0x20bae7(0x14d)](_0x509976=>_0x509976[_0x20bae7(0x15f)])[_0x20bae7(0x187)](_0x218141=>{const _0x5060e5=_0x20bae7;_0x218141[_0x5060e5(0x15f)]=!0x1;});}[_0x215b2d(0x14a)](){const _0x294e41=_0x215b2d;this[_0x294e41(0x178)]=_0x294e41(0x145);}async[_0x215b2d(0x183)](_0xccfaa8){const _0x2ca46c=_0x215b2d;if(_0x2ca46c(0x176)===this[_0x2ca46c(0x178)]||_0x2ca46c(0x166)===this[_0x2ca46c(0x178)]||_0x2ca46c(0x172)===this[_0x2ca46c(0x178)])return;if(!this[_0x2ca46c(0x192)]||0x0===this[_0x2ca46c(0x15e)][_0x2ca46c(0x195)])return;let _0x3b45dd;if(_0xccfaa8){const _0x124841=this[_0x2ca46c(0x15e)][_0x2ca46c(0x16f)](_0x23bbd3=>_0x23bbd3['id']===_0xccfaa8);if(_0x124841&&_0x124841[_0x2ca46c(0x13f)])return;_0x124841&&(_0x3b45dd=_0x124841[_0x2ca46c(0x197)]['id'],_0x124841[_0x2ca46c(0x13f)]=!0x0);}const _0xa8f6bc={'positiveCount':this[_0x2ca46c(0x15e)][_0x2ca46c(0x14d)](_0x445e43=>_0x2ca46c(0x181)===_0x445e43[_0x2ca46c(0x178)])[_0x2ca46c(0x195)],'totalCount':this[_0x2ca46c(0x15e)][_0x2ca46c(0x195)]};this[_0x2ca46c(0x141)](_0xa8f6bc,this[_0x2ca46c(0x192)],_0x3b45dd);}[_0x215b2d(0x16a)](_0x1eef2f,_0x42c1db){const _0x3f1199=_0x215b2d,_0x237df6=this[_0x3f1199(0x170)][_0x3f1199(0x185)][_0x3f1199(0x15c)](_0x1eef2f);if(!_0x237df6)return;const _0x2a9514=_0x237df6[_0x3f1199(0x18e)]();if(_0x2a9514===_0x42c1db)return;const _0x226b34=new _0x4bf7cb({'id':_0x1eef2f,'contentInitial':_0x2a9514,'contentNew':_0x42c1db,'documentVersion':this[_0x3f1199(0x170)][_0x3f1199(0x157)]});this[_0x3f1199(0x16b)][_0x3f1199(0x182)](_0x226b34['id'],_0x226b34),this[_0x3f1199(0x18f)](_0x3f1199(0x14e),{'result':_0x226b34,'source':this});}[_0x215b2d(0x160)](){const _0x382b6d=_0x215b2d;_0x382b6d(0x18c)===this[_0x382b6d(0x178)]&&(this[_0x382b6d(0x15e)][_0x382b6d(0x14d)](_0x3ccb67=>_0x382b6d(0x14c)===_0x3ccb67[_0x382b6d(0x178)])[_0x382b6d(0x195)]>0x0&&(this[_0x382b6d(0x178)]=_0x382b6d(0x145))),_0x382b6d(0x145)===this[_0x382b6d(0x178)]&&(0x0===this[_0x382b6d(0x15e)][_0x382b6d(0x14d)](_0x500af5=>_0x382b6d(0x14c)===_0x500af5[_0x382b6d(0x178)])[_0x382b6d(0x195)]&&(this[_0x382b6d(0x178)]=_0x382b6d(0x18c)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0xc2e149=_0x1c87;(function(_0x3f8299,_0x5d4602){var _0x4fee21=_0x1c87,_0x317555=_0x3f8299();while(!![]){try{var _0x327803=-parseInt(_0x4fee21(0x181))/0x1+parseInt(_0x4fee21(0x188))/0x2+-parseInt(_0x4fee21(0x17d))/0x3*(parseInt(_0x4fee21(0x182))/0x4)+-parseInt(_0x4fee21(0x17c))/0x5+-parseInt(_0x4fee21(0x18b))/0x6*(-parseInt(_0x4fee21(0x184))/0x7)+parseInt(_0x4fee21(0x18c))/0x8+parseInt(_0x4fee21(0x17e))/0x9;if(_0x327803===_0x5d4602)break;else _0x317555['push'](_0x317555['shift']());}catch(_0x8486cf){_0x317555['push'](_0x317555['shift']());}}}(_0x4115,0xceba0));function _0x1c87(_0x16aea8,_0x44ae73){var _0x4115e8=_0x4115();return _0x1c87=function(_0x1c87df,_0x4362bb){_0x1c87df=_0x1c87df-0x17c;var _0x4e5cc3=_0x4115e8[_0x1c87df];return _0x4e5cc3;},_0x1c87(_0x16aea8,_0x44ae73);}function _0x4115(){var _0x24c0df=['_createApiRequest','_documentData','166236Jjechi','2162184bXGSgc','subTitle','_sendRatingRequest','444905tWDFWb','119580NLmVxc','12654738jZcxEN','_prompt','_model','1550054UFqrNf','48dFgctz','content','287zKJzBK','callCustomReview','upsertCustomAIReviewRating','_aiConnector','303612myaRVs'];_0x4115=function(){return _0x24c0df;};return _0x4115();}import{AIReviewCheckRun as _0x3b7504}from'./aireviewcheckrun.js';export class AIReviewCustomCheckRun extends _0x3b7504{[_0xc2e149(0x17f)];[_0xc2e149(0x180)];constructor(_0x4ef064,_0x1a9c03,_0x1ab612,_0x21155f,_0x4c48fb){var _0x23fdff=_0xc2e149;super(_0x1ab612,_0x21155f,_0x4c48fb),this[_0x23fdff(0x17f)]=_0x4ef064,this[_0x23fdff(0x180)]=_0x1a9c03;}get[_0xc2e149(0x18d)](){var _0x1811ed=_0xc2e149;return this[_0x1811ed(0x17f)];}[_0xc2e149(0x189)](){var _0x59735c=_0xc2e149;return this[_0x59735c(0x187)][_0x59735c(0x185)]({'content':this[_0x59735c(0x18a)][_0x59735c(0x183)],'prompt':this[_0x59735c(0x17f)],'model':this[_0x59735c(0x180)]});}[_0xc2e149(0x18e)](_0x468292,_0x554137,_0x325937){var _0x740d7d=_0xc2e149;return this[_0x740d7d(0x187)][_0x740d7d(0x186)](_0x554137,_0x468292,_0x325937);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1752b=_0x44d3;(function(_0x510d98,_0x1a904b){const _0x3404fd=_0x44d3,_0x2688b6=_0x510d98();while(!![]){try{const _0xb3efbd=-parseInt(_0x3404fd(0x1ff))/0x1+parseInt(_0x3404fd(0x1f5))/0x2*(parseInt(_0x3404fd(0x207))/0x3)+-parseInt(_0x3404fd(0x20d))/0x4*(-parseInt(_0x3404fd(0x209))/0x5)+-parseInt(_0x3404fd(0x1f4))/0x6*(-parseInt(_0x3404fd(0x211))/0x7)+-parseInt(_0x3404fd(0x20a))/0x8*(-parseInt(_0x3404fd(0x208))/0x9)+parseInt(_0x3404fd(0x1f8))/0xa+-parseInt(_0x3404fd(0x200))/0xb;if(_0xb3efbd===_0x1a904b)break;else _0x2688b6['push'](_0x2688b6['shift']());}catch(_0x5eba18){_0x2688b6['push'](_0x2688b6['shift']());}}}(_0x917d,0x244e3));function _0x44d3(_0x3f4c0e,_0x59c54f){const _0x917df1=_0x917d();return _0x44d3=function(_0x44d37d,_0x2f1ae4){_0x44d37d=_0x44d37d-0x1f3;let _0x185f15=_0x917df1[_0x44d37d];return _0x185f15;},_0x44d3(_0x3f4c0e,_0x59c54f);}import{AIReviewCheckRun as _0x3d9f16}from'./aireviewcheckrun.js';export class AIReviewSystemCheckRun extends _0x3d9f16{get[_0x1752b(0x20b)](){const _0x18acf7=_0x1752b;if(!this[_0x18acf7(0x201)]||0x0===this[_0x18acf7(0x201)][_0x18acf7(0x1fe)])return'';const _0x3f417c=[];if(this[_0x18acf7(0x201)][_0x18acf7(0x1fe)]>0x0&&this[_0x18acf7(0x202)][_0x18acf7(0x1fb)])for(let _0x7a6fa0=0x0;_0x7a6fa0<this[_0x18acf7(0x201)][_0x18acf7(0x1fe)];_0x7a6fa0++){if(!this[_0x18acf7(0x201)][_0x7a6fa0]||!this[_0x18acf7(0x202)][_0x18acf7(0x1fb)][_0x7a6fa0])continue;const _0x397480=this[_0x18acf7(0x202)][_0x18acf7(0x1fb)][_0x7a6fa0],_0x3f1ce7=_0x397480[_0x18acf7(0x206)]?.[_0x18acf7(0x203)](_0x1bb741=>_0x1bb741['id']===this[_0x18acf7(0x201)][_0x7a6fa0]);_0x3f1ce7&&_0x3f417c[_0x18acf7(0x1f3)](_0x3f1ce7[_0x18acf7(0x20e)]);}return _0x3f417c[_0x18acf7(0x1f9)](',\x20');}get[_0x1752b(0x20f)](){const _0x48e1da=_0x1752b;return this[_0x48e1da(0x212)]();}[_0x1752b(0x210)](){const _0x298be0=_0x1752b;return this[_0x298be0(0x1fc)][_0x298be0(0x204)]({'reviewName':this[_0x298be0(0x212)](),'content':this[_0x298be0(0x1fa)][_0x298be0(0x1f6)],'args':this[_0x298be0(0x205)]});}[_0x1752b(0x1f7)](_0x364e36,_0x6a3581,_0x451445){const _0x10c867=_0x1752b;return this[_0x10c867(0x1fc)][_0x10c867(0x20c)](this[_0x10c867(0x20f)],_0x6a3581,_0x364e36,_0x451445);}[_0x1752b(0x212)](){const _0x267cec=_0x1752b;return!this[_0x267cec(0x201)]||0x0===this[_0x267cec(0x201)][_0x267cec(0x1fe)]||this[_0x267cec(0x202)][_0x267cec(0x1fd)]?this[_0x267cec(0x202)]['id']:[this[_0x267cec(0x202)]['id'],...this[_0x267cec(0x201)]][_0x267cec(0x1f9)]('-');}}function _0x917d(){const _0x5e5fff=['2154720bqysIV','join','_documentData','options','_aiConnector','useArgs','length','120056KUOnnu','8500184PCOuMN','_reviewParams','_sourceCheck','find','callSystemReview','_reviewArgs','data','1695WncBtb','15462nbGUvN','65yJmjad','1296DVSRHz','subTitle','upsertAIReviewRating','87284MHDQfZ','label','reviewName','_createApiRequest','59171DkHEWz','_composeReviewName','push','102zUIQdg','426gkowMj','content','_sendRatingRequest'];_0x917d=function(){return _0x5e5fff;};return _0x917d();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x18075e=_0x2ac8;(function(_0x555fd3,_0x3f5acd){var _0x188fe4=_0x2ac8,_0x146010=_0x555fd3();while(!![]){try{var _0x2a6805=-parseInt(_0x188fe4(0x76))/0x1*(parseInt(_0x188fe4(0x79))/0x2)+-parseInt(_0x188fe4(0x7f))/0x3+-parseInt(_0x188fe4(0x8a))/0x4+parseInt(_0x188fe4(0x74))/0x5+-parseInt(_0x188fe4(0x86))/0x6+parseInt(_0x188fe4(0x7a))/0x7*(-parseInt(_0x188fe4(0x83))/0x8)+parseInt(_0x188fe4(0x88))/0x9;if(_0x2a6805===_0x3f5acd)break;else _0x146010['push'](_0x146010['shift']());}catch(_0x1ae6aa){_0x146010['push'](_0x146010['shift']());}}}(_0x11d8,0x54d53));import{TextareaView as _0x43f4c3}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x450c04}from'ckeditor5/src/utils.js';function _0x2ac8(_0x2deb12,_0x1a9f4e){var _0x11d8ee=_0x11d8();return _0x2ac8=function(_0x2ac89b,_0x2a1693){_0x2ac89b=_0x2ac89b-0x72;var _0x34ec2e=_0x11d8ee[_0x2ac89b];return _0x34ec2e;},_0x2ac8(_0x2deb12,_0x1a9f4e);}function _0x11d8(){var _0x115916=['2459400QgDgTr','set','118439gNLaAa','extendTemplate','MIN_ROWS','8uRoFIz','7AYdIsm','ai-review-mode-prompt-input','ck-review-mode__prompt-input','minRows','element','812778wRbIPy','update','maxRows','render','802856NaWziT','listenTo','keystrokes','3185130xoYzbe','trim','11424132mTMWyI','isEmpty','151436BJFHNl','value','MAX_ROWS'];_0x11d8=function(){return _0x115916;};return _0x11d8();}export class AIReviewModePromptInputView extends _0x43f4c3{[_0x18075e(0x85)];static [_0x18075e(0x78)]=0x1;static [_0x18075e(0x73)]=0xc;constructor(_0x562e4e){var _0x2a2b5c=_0x18075e;super(_0x562e4e),this[_0x2a2b5c(0x75)](_0x2a2b5c(0x89),!0x0),this[_0x2a2b5c(0x85)]=new _0x450c04(),this[_0x2a2b5c(0x7d)]=AIReviewModePromptInputView[_0x2a2b5c(0x78)],this[_0x2a2b5c(0x81)]=AIReviewModePromptInputView[_0x2a2b5c(0x73)],this[_0x2a2b5c(0x77)]({'attributes':{'id':_0x2a2b5c(0x7b),'class':['ck',_0x2a2b5c(0x7c)]}});}[_0x18075e(0x82)](){var _0x6a03e3=_0x18075e;super[_0x6a03e3(0x82)](),this['on'](_0x6a03e3(0x80),()=>{var _0x57e78c=_0x6a03e3;this[_0x57e78c(0x89)]=''===this[_0x57e78c(0x7e)][_0x57e78c(0x72)]?.[_0x57e78c(0x87)]();}),this[_0x6a03e3(0x85)][_0x6a03e3(0x84)](this[_0x6a03e3(0x7e)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x4ad900=_0x27f8;(function(_0x2850dc,_0x5d2e70){const _0x4e6823=_0x27f8,_0x5d17e8=_0x2850dc();while(!![]){try{const _0x52a77e=parseInt(_0x4e6823(0x124))/0x1+-parseInt(_0x4e6823(0x122))/0x2+-parseInt(_0x4e6823(0x12a))/0x3*(-parseInt(_0x4e6823(0x114))/0x4)+-parseInt(_0x4e6823(0x10d))/0x5*(-parseInt(_0x4e6823(0x119))/0x6)+-parseInt(_0x4e6823(0x104))/0x7+parseInt(_0x4e6823(0x11b))/0x8+-parseInt(_0x4e6823(0x10e))/0x9;if(_0x52a77e===_0x5d2e70)break;else _0x5d17e8['push'](_0x5d17e8['shift']());}catch(_0xfc2a36){_0x5d17e8['push'](_0x5d17e8['shift']());}}}(_0x6f3b,0x87bc5));import{BalloonPanelView as _0x33f6e8,View as _0x366715,clickOutsideHandler as _0x3eb825}from'ckeditor5/src/ui.js';function _0x27f8(_0x22371d,_0x116cdf){const _0x6f3bcc=_0x6f3b();return _0x27f8=function(_0x27f8fd,_0x5ea75e){_0x27f8fd=_0x27f8fd-0x102;let _0xfea8f=_0x6f3bcc[_0x27f8fd];return _0xfea8f;},_0x27f8(_0x22371d,_0x116cdf);}function _0x6f3b(){const _0x1d65b5=['ck-reset','showDiffInBalloon','showDiff','content','hideDiffInBalloon','fire','_setupClickOutsideHandler','getClientRects','show','extendTemplate','updateContent','7430843OgtFBr','locale','contentDiffed','deactivateChange','set','setTemplate','ck-ai-review-mode__suggestion-text','unpin','_createContentView','655rhBEXd','2718954ICKFvW','find','element','delegate','resultItemView','render','19540blhWyB','showBalloon','dismissChange','arrow_se','ck-content','28128cyEQdF','from','184120JPzwit','isVisible','innerHTML','changeId','hide','pin','width','259274VCNYgF','resultResponseView','992012AXkzyA','div','hideBalloon','acceptChange','ck-ai-review-mode-balloon-panel-suggestion','add','258XgHTcU','_getBestRectPosition'];_0x6f3b=function(){return _0x1d65b5;};return _0x6f3b();}import{AIReviewModeReviewCheckListItemResultsView as _0x4b04d4}from'./aireviewmodechecklistitemresultview.js';import'../../../theme/aireviewmode/aireviewmode-balloon-panel-suggestion.css';import'../../../theme/aireviewmode/aireviewmode-check-run-result.css';export class AIReviewModeBalloonSuggestionItemView extends _0x33f6e8{[_0x4ad900(0x112)];constructor(_0x4730c7,_0x1507e5){const _0x107c08=_0x4ad900;super(_0x4730c7),this[_0x107c08(0x108)]({'isVisible':!0x1,'position':_0x107c08(0x117),'class':null,'top':0x0,'left':0x0}),this[_0x107c08(0x102)]({'tag':_0x107c08(0x125),'attributes':{'class':[_0x107c08(0x12c)],'tabindex':'-1'}}),this[_0x107c08(0x12f)][_0x107c08(0x129)](this[_0x107c08(0x10c)]()),_0x1507e5[_0x107c08(0x129)](this);}[_0x4ad900(0x113)](){const _0x2a00b6=_0x4ad900;super[_0x2a00b6(0x113)](),this[_0x2a00b6(0x132)]();}[_0x4ad900(0x103)](_0x4cfd6d){const _0x411856=_0x4ad900;this[_0x411856(0x112)][_0x411856(0x11e)]=_0x4cfd6d['id'],this[_0x411856(0x112)][_0x411856(0x123)][_0x411856(0x110)][_0x411856(0x11d)]=_0x4cfd6d[_0x411856(0x106)];}[_0x4ad900(0x115)](_0x309056,_0x537d30){const _0x1371d8=_0x4ad900;this[_0x1371d8(0x103)](_0x309056),this[_0x1371d8(0x134)](),this[_0x1371d8(0x120)]({'target':()=>this[_0x1371d8(0x12b)](_0x537d30)});}[_0x4ad900(0x126)](){const _0x46db8e=_0x4ad900;this[_0x46db8e(0x11f)](),this[_0x46db8e(0x10b)]();}[_0x4ad900(0x130)](){const _0x3ea298=_0x4ad900;this[_0x3ea298(0x112)][_0x3ea298(0x12e)]=!0x1;}[_0x4ad900(0x12d)](){const _0x230c5a=_0x4ad900;this[_0x230c5a(0x112)][_0x230c5a(0x12e)]=!0x0;}[_0x4ad900(0x107)](){const _0x3e20bc=_0x4ad900;this[_0x3e20bc(0x131)](_0x3e20bc(0x107));}[_0x4ad900(0x132)](){const _0x2ad152=_0x4ad900;_0x3eb825({'emitter':this,'activator':()=>this[_0x2ad152(0x11c)],'contextElements':[this[_0x2ad152(0x110)]],'callback':()=>{const _0x565983=_0x2ad152;this[_0x565983(0x126)](),this[_0x565983(0x107)]();}});}[_0x4ad900(0x10c)](){const _0x3f68a1=_0x4ad900,_0x33b6de=new _0x366715();return this[_0x3f68a1(0x112)]=new _0x4b04d4(this[_0x3f68a1(0x105)],''),this[_0x3f68a1(0x112)][_0x3f68a1(0x123)][_0x3f68a1(0x102)]({'attributes':{'class':[_0x3f68a1(0x118)]}}),this[_0x3f68a1(0x112)][_0x3f68a1(0x111)](_0x3f68a1(0x127),_0x3f68a1(0x116))['to'](this),_0x33b6de[_0x3f68a1(0x109)]({'tag':_0x3f68a1(0x125),'attributes':{'class':[_0x3f68a1(0x12c),_0x3f68a1(0x128)]},'children':[{'tag':'p','attributes':{'class':[_0x3f68a1(0x10a)]},'children':[this[_0x3f68a1(0x112)]]}]}),_0x33b6de;}[_0x4ad900(0x12b)](_0x49db65){const _0x3a831d=_0x4ad900,_0x14706e=Array[_0x3a831d(0x11a)](_0x49db65[_0x3a831d(0x133)]());return _0x14706e[_0x3a831d(0x10f)](_0x423113=>_0x423113[_0x3a831d(0x121)]>0x0)||_0x14706e[0x0];}}
|
|
@@ -7,11 +7,13 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import { type Locale } from 'ckeditor5/src/utils.js';
|
|
9
9
|
import { View, ButtonView } from 'ckeditor5/src/ui.js';
|
|
10
|
+
import { type AIReviewCheckResultChange } from '../model/aireviewcheckresultchange.js';
|
|
10
11
|
export declare class AIReviewModeReviewCheckListItemResultsView extends View {
|
|
11
12
|
resultResponseView: View;
|
|
12
13
|
acceptButtonView: ButtonView;
|
|
13
14
|
dismissButtonView: ButtonView;
|
|
14
15
|
infoButtonView: ButtonView;
|
|
16
|
+
statusButtonView: ButtonView;
|
|
15
17
|
/**
|
|
16
18
|
* @observable
|
|
17
19
|
*/
|
|
@@ -28,6 +30,10 @@ export declare class AIReviewModeReviewCheckListItemResultsView extends View {
|
|
|
28
30
|
* @observable
|
|
29
31
|
*/
|
|
30
32
|
showDiff: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* @observable
|
|
35
|
+
*/
|
|
36
|
+
status: AIReviewCheckResultChange['status'];
|
|
31
37
|
readonly id: string;
|
|
32
38
|
constructor(locale: Locale, id: string);
|
|
33
39
|
setItemAsActive(): void;
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3aed5f=_0x1bbb;(function(_0x1ea0f6,_0x16b6c1){const _0x4ac7f2=_0x1bbb,_0x770f3a=_0x1ea0f6();while(!![]){try{const _0x17f212=-parseInt(_0x4ac7f2(0x1f4))/0x1+parseInt(_0x4ac7f2(0x1fb))/0x2+-parseInt(_0x4ac7f2(0x1ca))/0x3*(parseInt(_0x4ac7f2(0x205))/0x4)+-parseInt(_0x4ac7f2(0x207))/0x5*(parseInt(_0x4ac7f2(0x1ec))/0x6)+parseInt(_0x4ac7f2(0x1f2))/0x7*(parseInt(_0x4ac7f2(0x1f1))/0x8)+parseInt(_0x4ac7f2(0x1ed))/0x9+parseInt(_0x4ac7f2(0x1e6))/0xa;if(_0x17f212===_0x16b6c1)break;else _0x770f3a['push'](_0x770f3a['shift']());}catch(_0x512f21){_0x770f3a['push'](_0x770f3a['shift']());}}}(_0x4ced,0x80f4c));import{View as _0x53c2f5,ButtonView as _0xfe63e2}from'ckeditor5/src/ui.js';function _0x1bbb(_0x3171c8,_0xefbdce){const _0x4ced5d=_0x4ced();return _0x1bbb=function(_0x1bbb0a,_0x4d7aa5){_0x1bbb0a=_0x1bbb0a-0x1c8;let _0x2cfa7d=_0x4ced5d[_0x1bbb0a];return _0x2cfa7d;},_0x1bbb(_0x3171c8,_0xefbdce);}import{IconInfo as _0xfc3154,IconCheck as _0x6d052f,IconCancel as _0x38dbfb,IconOutdated as _0x190273}from'ckeditor5/src/icons.js';function _0x4ced(){const _0x3e103e=['_createResultResponseView','setItemAsInactive','54VWoNGC','7530867aRyCnv','acceptChange','dismissButtonView','ck-content-direct-excluded','56LHlhkp','9569LrpWRU','showDiff','548084HDpKnO','extendTemplate','toUpperCase','AI_REVIEW_MODE_ACCEPT_CHANGE','isInfoToggleOn','click','REJECTED','204028ypixFh','infoButtonView','_createDismissButtonView','ck-ai-review-mode__check-run-result-action-buttons','isOn','statusButtonView','ck-ai-review-mode__check-run-result','ACCEPTED','AI_REVIEW_MODE_DISMISS_CHANGE','ck-ai-review-mode__check-run-result-accept-button','4LVAgcI','AI_REVIEW_MODE_CHECK_STATUS_','146480PXDyVz','setItemAsActive','setTemplate','dismissChange','ck-ai-button-tertiary-filled','label','ck-ai-review-mode__check-run-result-footer','2480817kEFUuv','icon','ck-ai-button-secondary','disabled','_createAcceptButtonView','ck-content','fire','ck-ai-button-tertiary-filled\x20ck-ai-review-mode__check-run-result-info-button\x20ck-hidden','div','acceptButtonView','locale','ck-ai-review-mode__check-run-result-status-button','bind','ck-ai-review-mode__check-run-result_active','menuitemcheckbox','ck-ai-review-mode__check-run-result-dismiss-button','bindTemplate','changeId','_createStatusButtonView','activateChange','ck-hidden','resultResponseView','status','execute','ck-ai-review-mode__check-run-result-response','stopPropagation','isActive','set','12185450wKftuu','pending','AI_REVIEW_MODE_LEARN_MORE','_createInfoButtonView'];_0x4ced=function(){return _0x3e103e;};return _0x4ced();}import{getTranslation as _0x4558f4}from'../../aicore/utils/common-translations.js';export class AIReviewModeReviewCheckListItemResultsView extends _0x53c2f5{[_0x3aed5f(0x1df)];[_0x3aed5f(0x1d3)];[_0x3aed5f(0x1ef)];[_0x3aed5f(0x1fc)];[_0x3aed5f(0x200)];constructor(_0x380113,_0x3fe03a){const _0x3fc360=_0x3aed5f;super(_0x380113),this['id']=_0x3fe03a,this[_0x3fc360(0x1e5)](_0x3fc360(0x1e0),_0x3fc360(0x1e7)),this[_0x3fc360(0x1e5)](_0x3fc360(0x1db),_0x3fe03a),this[_0x3fc360(0x1df)]=this[_0x3fc360(0x1ea)](),this[_0x3fc360(0x1d3)]=this[_0x3fc360(0x1ce)](),this[_0x3fc360(0x1ef)]=this[_0x3fc360(0x1fd)](),this[_0x3fc360(0x1fc)]=this[_0x3fc360(0x1e9)](),this[_0x3fc360(0x200)]=this[_0x3fc360(0x1dc)](),this[_0x3fc360(0x1e5)](_0x3fc360(0x1f8),!0x1),this[_0x3fc360(0x1e5)](_0x3fc360(0x1e4),!0x1),this[_0x3fc360(0x1e5)](_0x3fc360(0x1f3),!0x0),this[_0x3fc360(0x209)]({'tag':_0x3fc360(0x1d2),'attributes':{'class':[_0x3fc360(0x201),this[_0x3fc360(0x1da)]['if'](_0x3fc360(0x1e4),_0x3fc360(0x1d7))]},'on':{'click':this[_0x3fc360(0x1da)]['to'](_0x3fc360(0x1f9))},'children':[this[_0x3fc360(0x1df)],{'tag':_0x3fc360(0x1d2),'attributes':{'class':[_0x3fc360(0x1c9)]},'children':[{'tag':_0x3fc360(0x1d2),'attributes':{'class':[_0x3fc360(0x1fe)]},'children':[this[_0x3fc360(0x1d3)],this[_0x3fc360(0x1ef)],this[_0x3fc360(0x200)]]},this[_0x3fc360(0x1fc)]]}]}),this['on'](_0x3fc360(0x1f9),()=>{const _0x43b430=_0x3fc360;this[_0x43b430(0x1d0)](_0x43b430(0x1dd),{'id':_0x3fe03a,'source':this});});}[_0x3aed5f(0x208)](){const _0x10b5b1=_0x3aed5f;this[_0x10b5b1(0x1e4)]=!0x0;}[_0x3aed5f(0x1eb)](){const _0x22f2eb=_0x3aed5f;this[_0x22f2eb(0x1e4)]=!0x1;}[_0x3aed5f(0x1ea)](){const _0x21d7c2=_0x3aed5f,_0x226655=new _0x53c2f5(this[_0x21d7c2(0x1d4)]);return _0x226655[_0x21d7c2(0x209)]({'tag':_0x21d7c2(0x1d2),'attributes':{'class':['ck',_0x21d7c2(0x1cf),_0x21d7c2(0x1f0),_0x21d7c2(0x1e2),this[_0x21d7c2(0x1da)]['if'](_0x21d7c2(0x1f3),_0x21d7c2(0x1de),_0x590330=>!_0x590330)]}}),_0x226655;}[_0x3aed5f(0x1ce)](){const _0x3cfb50=_0x3aed5f,_0x4b4988=new _0xfe63e2(this[_0x3cfb50(0x1d4)]);return _0x4b4988[_0x3cfb50(0x1e5)]({'label':_0x4558f4(this[_0x3cfb50(0x1d4)],_0x3cfb50(0x1f7)),'withText':!0x0}),_0x4b4988[_0x3cfb50(0x1f5)]({'on':{'click':this[_0x3cfb50(0x1da)]['to'](_0x480ee2=>{const _0x3f9f8b=_0x3cfb50;this[_0x3f9f8b(0x1d0)](_0x3f9f8b(0x1ee),{'id':this[_0x3f9f8b(0x1db)]}),_0x480ee2[_0x3f9f8b(0x1e3)]();})},'attributes':{'class':[_0x3cfb50(0x1cc),_0x3cfb50(0x204),this[_0x3cfb50(0x1da)]['if'](_0x3cfb50(0x1e0),_0x3cfb50(0x1de),_0x3e1cb7=>_0x3cfb50(0x1e7)!==_0x3e1cb7)]}}),_0x4b4988;}[_0x3aed5f(0x1fd)](){const _0x221972=_0x3aed5f,_0x842d50=new _0xfe63e2(this[_0x221972(0x1d4)]);return _0x842d50[_0x221972(0x1e5)]({'label':_0x4558f4(this[_0x221972(0x1d4)],_0x221972(0x203)),'withText':!0x0}),_0x842d50[_0x221972(0x1f5)]({'on':{'click':this[_0x221972(0x1da)]['to'](_0x32f360=>{const _0x5eedb4=_0x221972;this[_0x5eedb4(0x1d0)](_0x5eedb4(0x20a),{'id':this[_0x5eedb4(0x1db)]}),_0x32f360[_0x5eedb4(0x1e3)]();})},'attributes':{'class':[_0x221972(0x20b),_0x221972(0x1d9),this[_0x221972(0x1da)]['if'](_0x221972(0x1e0),_0x221972(0x1de),_0x5440ee=>_0x221972(0x1e7)!==_0x5440ee)]}}),_0x842d50;}[_0x3aed5f(0x1e9)](){const _0x19d2c0=_0x3aed5f,_0x3da62f=new _0xfe63e2(this[_0x19d2c0(0x1d4)]);return _0x3da62f[_0x19d2c0(0x1e5)]({'label':_0x4558f4(this[_0x19d2c0(0x1d4)],_0x19d2c0(0x1e8)),'icon':_0xfc3154,'tooltip':!0x0,'isToggleable':!0x0,'role':_0x19d2c0(0x1d8),'class':_0x19d2c0(0x1d1)}),_0x3da62f[_0x19d2c0(0x1d6)](_0x19d2c0(0x1ff))['to'](this,_0x19d2c0(0x1f8),_0x2d89d2=>_0x2d89d2),_0x3da62f['on'](_0x19d2c0(0x1e1),()=>{const _0x3c5ab8=_0x19d2c0;this[_0x3c5ab8(0x1f8)]=!this[_0x3c5ab8(0x1f8)];}),_0x3da62f;}[_0x3aed5f(0x1dc)](){const _0x2a4fac=_0x3aed5f,_0x52f88f=new _0xfe63e2(this[_0x2a4fac(0x1d4)]);return _0x52f88f[_0x2a4fac(0x1e5)]({'withText':!0x0,'isEnabled':!0x1}),_0x52f88f[_0x2a4fac(0x1d6)](_0x2a4fac(0x1c8))['to'](this,_0x2a4fac(0x1e0),_0x1da0d2=>_0x4558f4(this[_0x2a4fac(0x1d4)],_0x2a4fac(0x206)+_0x1da0d2[_0x2a4fac(0x1f6)]())),_0x52f88f[_0x2a4fac(0x1d6)](_0x2a4fac(0x1cb))['to'](this,_0x2a4fac(0x1e0),_0x39cdc3=>_0x2a4fac(0x202)===_0x39cdc3[_0x2a4fac(0x1f6)]()?_0x6d052f:_0x2a4fac(0x1fa)===_0x39cdc3[_0x2a4fac(0x1f6)]()?_0x38dbfb:_0x190273),_0x52f88f[_0x2a4fac(0x1f5)]({'attributes':{'class':[_0x2a4fac(0x1cc),_0x2a4fac(0x1d5),this[_0x2a4fac(0x1da)]['if'](_0x2a4fac(0x1e0),_0x2a4fac(0x1de),_0x26b155=>_0x2a4fac(0x1e7)===_0x26b155)],'disabled':_0x2a4fac(0x1cd)}}),_0x52f88f;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Collection as
|
|
23
|
+
import{Collection as _0x14ad7b,KeystrokeHandler as _0x103622,FocusTracker as ts}from'ckeditor5/src/utils.js';import{View as _0x1a1724,ViewCollection as _0x28315d,ButtonView as _0x46edd8,FormRowView as _0x3d64f4,createDropdown as _0x247fc8,addListToDropdown as _0x24eb8d,UIModel as _0x3b1e6d,ButtonLabelView as _0x49b586,LabeledFieldView as _0x3344c1,FocusCycler as $t}from'ckeditor5/src/ui.js';import{AIReviewModePromptInputView as _0xbcd24b}from'./aireviemodepromptinputview.js';import{getTranslation as _0x481da8}from'../../aicore/utils/common-translations.js';import{AIModels as _0xdb13f2}from'../../aicore/model/aimodels.js';export class AIReviewModeCustomCheckView extends _0x1a1724{['focusTracker']=new ts();['keystrokes']=new _0x103622();['focusCycler'];['_focusables']=new _0x28315d();['submitButtonView'];['cancelButtonView'];['promptInputView'];['actionsFooterView'];['_modelSelectionDropdown'];['_modelSelectionDropdownItems'];['_check'];['_defaultValue'];['_defaultLabel'];constructor(_0x588bcc,_0x26dd3){super(_0x588bcc),this['_check']=_0x26dd3,this['set']('prompt',''),this['set']('modelId',''),this['_defaultValue']=_0x26dd3['models']&&_0x26dd3['models']['length']>0x0?_0x26dd3['models'][0x0]['id']:'',this['_defaultLabel']=_0x26dd3['models']&&_0x26dd3['models']['length']>0x0?_0x26dd3['models'][0x0]['name']:'',this['submitButtonView']=this['_createSubmitButtonView'](),this['cancelButtonView']=this['_createCancelButtonView'](),(this['promptInputView']=new _0x3344c1(this['locale'],()=>new _0xbcd24b(_0x588bcc)),this['promptInputView']['fieldView']['bind']('value')['to'](this,'prompt'),this['promptInputView']['fieldView']['on']('input',()=>{this['prompt']=this['promptInputView']['fieldView']['element']['value'];}),this['_modelSelectionDropdown']=this['_createModelSelectionDropdown'](),this['_modelSelectionDropdownItems']=new _0x14ad7b(),this['_setModelList'](),_0x24eb8d(this['_modelSelectionDropdown'],this['_modelSelectionDropdownItems']),this['actionsFooterView']=this['_createActionsFooterView'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-custom-actions']},'children':[new _0x3d64f4(this['locale'],{'children':[this['promptInputView']]}),new _0x3d64f4(this['locale'],{'children':[this['actionsFooterView']]})]}),this['promptInputView']['fieldView']['keystrokes']['set']('Enter',(_0x4c9b81,_0x347fc6)=>{this['_isValid']()?(this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0}),_0x347fc6()):_0x347fc6();}),this['focusCycler']=new $t({'focusables':this['_focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}));}['render'](){super['render'](),([this['promptInputView'],this['_modelSelectionDropdown'],this['cancelButtonView'],this['submitButtonView']]['forEach'](_0x3b89e7=>{this['_focusables']['add'](_0x3b89e7),this['focusTracker']['add'](_0x3b89e7['element']);}),this['keystrokes']['listenTo'](this['element']));}get['modelDefaultValue'](){return this['_defaultValue'];}get['modelDefaultLabel'](){return this['_defaultLabel'];}['resetToDefault'](){this['prompt']='',this['modelId']=this['modelDefaultValue'],this['_modelSelectionDropdown']['buttonView']['label']=this['modelDefaultLabel'],this['resetFormValidationStatus']();}['resetFormValidationStatus'](){this['promptInputView']['errorText']='';}['_isValid'](){this['resetFormValidationStatus']();for(const _0x4d8ba5 of this['_getFormValidators']()){const _0x4e22a1=_0x4d8ba5();if(_0x4e22a1)return this['promptInputView']['errorText']=_0x4e22a1,!0x1;}return!0x0;}['_getFormValidators'](){return[()=>{if(0x0===this['promptInputView']['fieldView']['value']?.['trim']()['length'])return _0x481da8(this['locale'],'AI_REVIEW_MODE_PROMPT_EMPTY_ERROR');}];}['_createSubmitButtonView'](){const _0x285652=new _0x46edd8(this['locale']),t=this['locale']['t'];return _0x285652['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x285652['on']('execute',()=>{this['_isValid']()&&this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0});}),_0x285652;}['_createCancelButtonView'](){const _0x22eec2=new _0x46edd8(this['locale']),t=this['locale']['t'];return _0x22eec2['set']({'label':t('Cancel'),'withText':!0x0,'class':'ck-ai-button-tertiary-filled'}),_0x22eec2['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x2e21bb=>{_0x2e21bb['stopPropagation']();})}}),_0x22eec2['on']('execute',()=>{this['resetToDefault'](),this['fire']('closeCustomCheck');}),_0x22eec2;}['_setModelList'](){this['_modelSelectionDropdownItems']['clear']();const _0x16197a=this['_check']['models'];if(this['resetToDefault'](),_0x16197a?.['length']){const _0x4e2e16=_0xdb13f2['getLocalized'](this['locale'],_0x16197a);for(const _0x59bdea of _0x4e2e16){const _0x4be839=new _0x3b1e6d({'label':_0x59bdea['name'],'withText':!0x0,'role':'menuitemradio','id':_0x59bdea['id'],'model':_0x59bdea});_0x4be839['bind']('isOn')['to'](this,'modelId',_0x192dc7=>_0x192dc7===_0x59bdea['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0x4be839,'labelView':new Ws(this['locale'],_0x59bdea)});}}}['_createModelSelectionDropdown'](){const _0x32908a=_0x247fc8(this['locale']);return _0x32908a['set']({'panelPosition':'se','class':'ck-ai-review-mode__check-list-item-model-dropdown'}),_0x32908a['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0,'tooltip':!0x0}),this['listenTo'](_0x32908a,'execute',_0x72d10=>{this['modelId']=_0x72d10['source']['model']['id'],_0x32908a['buttonView']['label']=_0x72d10['source']['label'];}),_0x32908a;}['_createActionsFooterView'](){const _0x124207=new _0x1a1724(this['locale']);return _0x124207['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']]}]}),_0x124207;}}class Ws extends _0x49b586{constructor(_0x30cf44,_0x133059){super();const _0x53732f=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x53732f['to']('style'),'id':_0x53732f['to']('id')},'children':[{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-model-dropdown-name']},'children':[{'tag':'span','children':[{'text':_0x53732f['to']('text')}]}]},{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-model-dropdown-description']},'children':[{'tag':'span','children':[_0x133059['description']||'']}]}]});}}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module ai/aireviewmode/ui/aireviewmodefinishreviewbuttonview
|
|
7
|
+
*/
|
|
8
|
+
import { type Locale } from 'ckeditor5/src/utils.js';
|
|
9
|
+
import { ButtonView } from 'ckeditor5/src/ui.js';
|
|
10
|
+
import '../../../theme/aireviewmode/aireviewmode-review-completed.css';
|
|
11
|
+
export declare class AIReviewModeFinishReviewButtonView extends ButtonView {
|
|
12
|
+
constructor(locale: Locale);
|
|
13
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
(function(_0x38d212,_0x3f6b18){var _0x291eb1=_0x6681,_0x3c2b20=_0x38d212();while(!![]){try{var _0x3d369e=parseInt(_0x291eb1(0x1a2))/0x1+parseInt(_0x291eb1(0x1ac))/0x2*(parseInt(_0x291eb1(0x1a3))/0x3)+parseInt(_0x291eb1(0x1ad))/0x4+-parseInt(_0x291eb1(0x1ae))/0x5*(parseInt(_0x291eb1(0x1a8))/0x6)+-parseInt(_0x291eb1(0x1a0))/0x7+parseInt(_0x291eb1(0x1a6))/0x8+-parseInt(_0x291eb1(0x1af))/0x9;if(_0x3d369e===_0x3f6b18)break;else _0x3c2b20['push'](_0x3c2b20['shift']());}catch(_0x469d32){_0x3c2b20['push'](_0x3c2b20['shift']());}}}(_0x504b,0x52428));function _0x6681(_0x1e4e52,_0x2eaa91){var _0x504b68=_0x504b();return _0x6681=function(_0x6681db,_0x401412){_0x6681db=_0x6681db-0x1a0;var _0x3e9af1=_0x504b68[_0x6681db];return _0x3e9af1;},_0x6681(_0x1e4e52,_0x2eaa91);}import{ButtonView as _0x3cc038}from'ckeditor5/src/ui.js';import{getTranslation as _0x56ed6f}from'../../aicore/utils/common-translations.js';import'../../../theme/aireviewmode/aireviewmode-review-completed.css';export class AIReviewModeFinishReviewButtonView extends _0x3cc038{constructor(_0x2685cf){var _0x4dacb8=_0x6681;super(_0x2685cf),this[_0x4dacb8(0x1aa)]({'label':_0x56ed6f(this[_0x4dacb8(0x1a9)],_0x4dacb8(0x1a5)),'withText':!0x0,'class':_0x4dacb8(0x1ab)}),this['on'](_0x4dacb8(0x1a4),()=>{var _0x584103=_0x4dacb8;this[_0x584103(0x1a1)](_0x584103(0x1a7));});}}function _0x504b(){var _0xf7c2b9=['171FYZZFC','execute','AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL','2081120OLDflY','finishReview','168AQSffW','locale','set','ck-ai-button-primary','1404cCWQDh','1087608QzaBNc','2175jNJAbz','371673drxTXI','2441530kbqKyb','fire','167147yrJCwx'];_0x504b=function(){return _0xf7c2b9;};return _0x504b();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x398b(_0x27e0fc,_0x3cc2ea){const _0x166f4a=_0x166f();return _0x398b=function(_0x398b71,_0x5cae34){_0x398b71=_0x398b71-0x191;let _0x45cf04=_0x166f4a[_0x398b71];return _0x45cf04;},_0x398b(_0x27e0fc,_0x3cc2ea);}const _0x1054b4=_0x398b;(function(_0xb69093,_0x51c765){const _0x4503b8=_0x398b,_0x3d3b8b=_0xb69093();while(!![]){try{const _0x543f4d=parseInt(_0x4503b8(0x1a8))/0x1+parseInt(_0x4503b8(0x196))/0x2+parseInt(_0x4503b8(0x1a3))/0x3*(-parseInt(_0x4503b8(0x195))/0x4)+-parseInt(_0x4503b8(0x1a5))/0x5+parseInt(_0x4503b8(0x1a1))/0x6*(parseInt(_0x4503b8(0x19a))/0x7)+-parseInt(_0x4503b8(0x19c))/0x8+-parseInt(_0x4503b8(0x1a2))/0x9;if(_0x543f4d===_0x51c765)break;else _0x3d3b8b['push'](_0x3d3b8b['shift']());}catch(_0x105a02){_0x3d3b8b['push'](_0x3d3b8b['shift']());}}}(_0x166f,0xa18b1));import{ListItemView as _0x277b81,ViewCollection as _0xc25d34}from'ckeditor5/src/ui.js';import{AIReviewModeReviewCommandListItemView as _0x5e4e3c}from'./aireviewmodereviewcommandlistitemview.js';function _0x166f(){const _0x1f87b3=['616joXkMu','hasChecks','5412696LUaeam','div','locale','add','resetToDefault','89748PBxbQk','761877hPzlaX','27gsJJFc','length','2959225wtvWBS','setChecks','runReviewCheck','424980uDrMzu','entries','ck-hidden','clear','delegate','setTemplate','ck-ai-review-mode__check-list','_checkViews','52432taMZjp','782908opkcbM','isVisible','bindTemplate','resetAllParameterizedChecks'];_0x166f=function(){return _0x1f87b3;};return _0x166f();}import'../../../theme/aireviewmode/aireviewmode-check-list.css';export class AIReviewModeReviewCheckListView extends _0x277b81{[_0x1054b4(0x194)];constructor(_0x19efb8){const _0x40852c=_0x1054b4;super(_0x19efb8),this[_0x40852c(0x194)]=new _0xc25d34();const _0x52c933=this[_0x40852c(0x198)];this[_0x40852c(0x192)]({'tag':_0x40852c(0x19d),'attributes':{'class':[_0x40852c(0x193),_0x52c933['if'](_0x40852c(0x197),_0x40852c(0x1aa),_0x4a9849=>!_0x4a9849)]},'children':this[_0x40852c(0x194)]});}[_0x1054b4(0x1a6)](_0x48bfb3){const _0x2ac341=_0x1054b4;this[_0x2ac341(0x194)][_0x2ac341(0x1ab)]();for(const [_0x35907c,_0x28c1d7]of _0x48bfb3[_0x2ac341(0x1a9)]()){const _0x56ce33=new _0x5e4e3c(this[_0x2ac341(0x19e)],_0x28c1d7,_0x35907c);_0x56ce33[_0x2ac341(0x191)](_0x2ac341(0x1a7))['to'](this),this[_0x2ac341(0x194)][_0x2ac341(0x19f)](_0x56ce33);}}[_0x1054b4(0x19b)](){const _0x38ce4c=_0x1054b4;return this[_0x38ce4c(0x194)][_0x38ce4c(0x1a4)]>0x0;}[_0x1054b4(0x199)](){const _0x5e7220=_0x1054b4;for(const _0x43efba of this[_0x5e7220(0x194)])_0x43efba instanceof _0x5e4e3c&&_0x43efba[_0x5e7220(0x1a0)]();}}
|
|
@@ -9,6 +9,7 @@ import { type Locale } from 'ckeditor5/src/utils.js';
|
|
|
9
9
|
import { ListItemView, View, ViewCollection } from 'ckeditor5/src/ui.js';
|
|
10
10
|
import { AIReviewModeReviewCheckListItemResultsView } from './aireviewmodechecklistitemresultview.js';
|
|
11
11
|
import { AIDisclaimerView } from '../../aicore/ui/aidisclaimerview.js';
|
|
12
|
+
import { type AIReviewCheckResultChange } from '../model/aireviewcheckresultchange.js';
|
|
12
13
|
import '../../../theme/aireviewmode/aireviewmode-check-run.css';
|
|
13
14
|
import '../../../theme/aireviewmode/aireviewmode-check-run-result.css';
|
|
14
15
|
export declare class AIReviewModeReviewCheckResultsView extends ListItemView {
|
|
@@ -44,6 +45,12 @@ export declare class AIReviewModeReviewCheckResultsView extends ListItemView {
|
|
|
44
45
|
* @observable
|
|
45
46
|
*/
|
|
46
47
|
isToggleDiffOn: boolean;
|
|
48
|
+
/**
|
|
49
|
+
* Indicates whether the review is completed.
|
|
50
|
+
*
|
|
51
|
+
* @observable
|
|
52
|
+
*/
|
|
53
|
+
isCompleted: boolean;
|
|
47
54
|
/**
|
|
48
55
|
* Indicates whether the results are ready and can be interacted with.
|
|
49
56
|
*
|
|
@@ -60,7 +67,8 @@ export declare class AIReviewModeReviewCheckResultsView extends ListItemView {
|
|
|
60
67
|
contentDiffed: string;
|
|
61
68
|
id: string;
|
|
62
69
|
}): void;
|
|
63
|
-
hideResult(id: string): void;
|
|
70
|
+
hideResult(id: string, status: AIReviewCheckResultChange['status']): void;
|
|
71
|
+
showResult(id: string, status: AIReviewCheckResultChange['status']): void;
|
|
64
72
|
/**
|
|
65
73
|
* Sets the title of the current check results.
|
|
66
74
|
*
|