@ckeditor/ckeditor5-ai 47.1.0 → 47.2.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +2 -2
- package/build/translations/af.js +1 -1
- package/build/translations/ar.js +1 -1
- package/build/translations/ast.js +1 -1
- package/build/translations/az.js +1 -1
- package/build/translations/be.js +1 -1
- package/build/translations/bg.js +1 -1
- package/build/translations/bn.js +1 -1
- package/build/translations/bs.js +1 -1
- package/build/translations/ca.js +1 -1
- package/build/translations/cs.js +1 -1
- package/build/translations/da.js +1 -1
- package/build/translations/de-ch.js +1 -1
- package/build/translations/de.js +1 -1
- package/build/translations/el.js +1 -1
- package/build/translations/en-au.js +1 -1
- package/build/translations/en-gb.js +1 -1
- package/build/translations/eo.js +1 -1
- package/build/translations/es-co.js +1 -1
- package/build/translations/es.js +1 -1
- package/build/translations/et.js +1 -1
- package/build/translations/eu.js +1 -1
- package/build/translations/fa.js +1 -1
- package/build/translations/fi.js +1 -1
- package/build/translations/fr.js +1 -1
- package/build/translations/gl.js +1 -1
- package/build/translations/gu.js +1 -1
- package/build/translations/he.js +1 -1
- package/build/translations/hi.js +1 -1
- package/build/translations/hr.js +1 -1
- package/build/translations/hu.js +1 -1
- package/build/translations/hy.js +1 -1
- package/build/translations/id.js +1 -1
- package/build/translations/it.js +1 -1
- package/build/translations/ja.js +1 -1
- package/build/translations/jv.js +1 -1
- package/build/translations/kk.js +1 -1
- package/build/translations/km.js +1 -1
- package/build/translations/kn.js +1 -1
- package/build/translations/ko.js +1 -1
- package/build/translations/ku.js +1 -1
- package/build/translations/lt.js +1 -1
- package/build/translations/lv.js +1 -1
- package/build/translations/ms.js +1 -1
- package/build/translations/nb.js +1 -1
- package/build/translations/ne.js +1 -1
- package/build/translations/nl.js +1 -1
- package/build/translations/no.js +1 -1
- package/build/translations/oc.js +1 -1
- package/build/translations/pl.js +1 -1
- package/build/translations/pt-br.js +1 -1
- package/build/translations/pt.js +1 -1
- package/build/translations/ro.js +1 -1
- package/build/translations/ru.js +1 -1
- package/build/translations/si.js +1 -1
- package/build/translations/sk.js +1 -1
- package/build/translations/sl.js +1 -1
- package/build/translations/sq.js +1 -1
- package/build/translations/sr-latn.js +1 -1
- package/build/translations/sr.js +1 -1
- package/build/translations/sv.js +1 -1
- package/build/translations/th.js +1 -1
- package/build/translations/ti.js +1 -1
- package/build/translations/tk.js +1 -1
- package/build/translations/tr.js +1 -1
- package/build/translations/tt.js +1 -1
- package/build/translations/ug.js +1 -1
- package/build/translations/uk.js +1 -1
- package/build/translations/ur.js +1 -1
- package/build/translations/uz.js +1 -1
- package/build/translations/vi.js +1 -1
- package/build/translations/zh-cn.js +1 -1
- package/build/translations/zh.js +1 -1
- package/dist/index-editor.css +573 -203
- package/dist/index.css +627 -204
- package/dist/index.js +5 -4
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/lang/contexts.json +8 -1
- package/lang/translations/af.po +52 -4
- package/lang/translations/ar.po +52 -4
- package/lang/translations/ast.po +52 -4
- package/lang/translations/az.po +52 -4
- package/lang/translations/be.po +52 -4
- package/lang/translations/bg.po +52 -4
- package/lang/translations/bn.po +52 -4
- package/lang/translations/bs.po +52 -4
- package/lang/translations/ca.po +52 -4
- package/lang/translations/cs.po +52 -4
- package/lang/translations/da.po +52 -4
- package/lang/translations/de-ch.po +52 -4
- package/lang/translations/de.po +52 -4
- package/lang/translations/el.po +52 -4
- package/lang/translations/en-au.po +52 -4
- package/lang/translations/en-gb.po +52 -4
- package/lang/translations/en.po +52 -4
- package/lang/translations/eo.po +52 -4
- package/lang/translations/es-co.po +52 -4
- package/lang/translations/es.po +52 -4
- package/lang/translations/et.po +52 -4
- package/lang/translations/eu.po +52 -4
- package/lang/translations/fa.po +52 -4
- package/lang/translations/fi.po +52 -4
- package/lang/translations/fr.po +52 -4
- package/lang/translations/gl.po +52 -4
- package/lang/translations/gu.po +52 -4
- package/lang/translations/he.po +52 -4
- package/lang/translations/hi.po +52 -4
- package/lang/translations/hr.po +52 -4
- package/lang/translations/hu.po +52 -4
- package/lang/translations/hy.po +52 -4
- package/lang/translations/id.po +52 -4
- package/lang/translations/it.po +52 -4
- package/lang/translations/ja.po +52 -4
- package/lang/translations/jv.po +52 -4
- package/lang/translations/kk.po +52 -4
- package/lang/translations/km.po +52 -4
- package/lang/translations/kn.po +52 -4
- package/lang/translations/ko.po +52 -4
- package/lang/translations/ku.po +52 -4
- package/lang/translations/lt.po +52 -4
- package/lang/translations/lv.po +52 -4
- package/lang/translations/ms.po +52 -4
- package/lang/translations/nb.po +52 -4
- package/lang/translations/ne.po +52 -4
- package/lang/translations/nl.po +52 -4
- package/lang/translations/no.po +52 -4
- package/lang/translations/oc.po +52 -4
- package/lang/translations/pl.po +52 -4
- package/lang/translations/pt-br.po +52 -4
- package/lang/translations/pt.po +52 -4
- package/lang/translations/ro.po +52 -4
- package/lang/translations/ru.po +52 -4
- package/lang/translations/si.po +52 -4
- package/lang/translations/sk.po +52 -4
- package/lang/translations/sl.po +52 -4
- package/lang/translations/sq.po +52 -4
- package/lang/translations/sr-latn.po +52 -4
- package/lang/translations/sr.po +52 -4
- package/lang/translations/sv.po +52 -4
- package/lang/translations/th.po +52 -4
- package/lang/translations/ti.po +52 -4
- package/lang/translations/tk.po +52 -4
- package/lang/translations/tr.po +52 -4
- package/lang/translations/tt.po +52 -4
- package/lang/translations/ug.po +52 -4
- package/lang/translations/uk.po +52 -4
- package/lang/translations/ur.po +52 -4
- package/lang/translations/uz.po +52 -4
- package/lang/translations/vi.po +52 -4
- package/lang/translations/zh-cn.po +52 -4
- package/lang/translations/zh.po +52 -4
- package/package.json +15 -15
- package/src/aiactions/aiactions.d.ts +1 -1
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.d.ts +5 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
- package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
- package/src/aiballoon/ui/aiballoonview.d.ts +40 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatcontroller.d.ts +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.d.ts +1 -0
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.d.ts +4 -0
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/model/aichatmodels.d.ts +8 -29
- package/src/aichat/model/aichatmodels.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.d.ts +4 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.d.ts +2 -2
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.d.ts +4 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.d.ts +4 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/{aichatresourceslistview.d.ts → aichatcontextresourceslistview.d.ts} +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +23 -0
- package/src/aichat/ui/controls/resources/{aichatresourcesview.d.ts → aichatcontextresourcesview.d.ts} +5 -2
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +23 -0
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.d.ts +4 -0
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.d.ts +3 -3
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.d.ts +3 -3
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichat/utils/scrollmanager.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.d.ts +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +2 -1
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aiconfig.d.ts +28 -7
- package/src/aicore/aiconnector.d.ts +1 -0
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aicapabilities.js +1 -1
- package/src/aicore/model/aicontext.js +1 -1
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aimodels.d.ts +66 -0
- package/src/aicore/model/aimodels.js +23 -0
- package/src/aicore/model/aireply.d.ts +9 -1
- package/src/aicore/model/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/aidisclaimerview.js +1 -1
- package/src/aicore/ui/aiskeleton.js +1 -1
- package/src/aicore/ui/aispinner.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.d.ts +5 -2
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.d.ts +3 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.d.ts +6 -2
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/utils/common-translations.js +1 -1
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/documentposition.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/eventnames.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.d.ts +2 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aieditorintegration/aieditorintegration.d.ts +2 -1
- package/src/aieditorintegration/aieditorintegration.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
- package/src/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeediting.d.ts +18 -0
- package/src/aireviewmode/aireviewmodeediting.js +1 -1
- package/src/aireviewmode/aireviewmodeui.d.ts +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheck.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.d.ts +3 -3
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewchecklist.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresultchange.d.ts +1 -1
- package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewmode/model/aireviewcheckrun.d.ts +9 -10
- package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.d.ts +6 -0
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.d.ts +13 -0
- package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +23 -0
- package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.d.ts +9 -1
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.d.ts +0 -4
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/aitabsmainview.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
- package/src/errors.js +1 -1
- package/src/index.d.ts +1 -0
- package/src/index.js +1 -1
- package/theme/aiballoon/aiballoon.css +12 -0
- package/theme/aichat/aichat-controls/aichat-context-chip.css +1 -1
- package/theme/aichat/aichat-controls/aichat-context-controls-balloon-panels.css +52 -43
- package/theme/aichat/aichat-controls/aichat-controls-button.css +8 -6
- package/theme/aichat/aichat-controls/aichat-controls-loader.css +36 -52
- package/theme/aichat/aichat-controls/prompt-capabilities.css +0 -1
- package/theme/aichat/aichat-controls.css +11 -27
- package/theme/aichat/aichat.css +2 -3
- package/theme/aichat/aichatfeed.css +1 -27
- package/theme/aichat/aichathistory.css +12 -0
- package/theme/aichat/aisuggestioncontainer.css +5 -0
- package/theme/aireviewmode/aireviewmode-check-list.css +25 -23
- package/theme/aireviewmode/aireviewmode-check-run-result.css +45 -0
- package/theme/aireviewmode/aireviewmode-check-run.css +28 -5
- package/theme/aireviewmode/aireviewmode.css +17 -7
- package/theme/aitabs/aitabsview.css +1 -1
- package/theme/aitabs/tabs/tabbuttonview.css +1 -0
- package/theme/aitabs/tabs/tabsview.css +1 -0
- package/theme/common/aibutton.css +27 -0
- package/theme/common/aiheader.css +14 -4
- package/theme/common/aitrackchanges.css +8 -1
- package/src/aichat/ui/controls/resources/aichatresourceslistview.js +0 -23
- package/src/aichat/ui/controls/resources/aichatresourcesview.js +0 -23
- package/src/aireviewmode/model/aireviewmodels.d.ts +0 -26
- package/src/aireviewmode/model/aireviewmodels.js +0 -23
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x5f19a1=_0x28f6;function _0x2fee(){var _0x2b3fc2=['24288720bYSNZj','custom','120vDMXkD','140BubOdc','22UGzRID','543Akjclr','12001970DfzotK','2AHcjgH','309678oWDxZJ','_mapCheckDefinitions','find','15348hZiJpN','getCheckById','_checks','867144echYTB','320440BSUiIn','13998159ZlJZcz','checks','map'];_0x2fee=function(){return _0x2b3fc2;};return _0x2fee();}(function(_0x1a2975,_0x2d2144){var _0x316857=_0x28f6,_0x3c301b=_0x1a2975();while(!![]){try{var _0x57103e=-parseInt(_0x316857(0x163))/0x1*(-parseInt(_0x316857(0x16a))/0x2)+-parseInt(_0x316857(0x161))/0x3*(-parseInt(_0x316857(0x167))/0x4)+parseInt(_0x316857(0x171))/0x5*(-parseInt(_0x316857(0x164))/0x6)+-parseInt(_0x316857(0x172))/0x7*(parseInt(_0x316857(0x16b))/0x8)+-parseInt(_0x316857(0x16c))/0x9+-parseInt(_0x316857(0x162))/0xa+-parseInt(_0x316857(0x173))/0xb*(-parseInt(_0x316857(0x16f))/0xc);if(_0x57103e===_0x2d2144)break;else _0x3c301b['push'](_0x3c301b['shift']());}catch(_0x247a68){_0x3c301b['push'](_0x3c301b['shift']());}}}(_0x2fee,0xc6d41));function _0x28f6(_0x2cb3cd,_0x103c93){var _0x2fee36=_0x2fee();return _0x28f6=function(_0x28f662,_0x3b7aa3){_0x28f662=_0x28f662-0x161;var _0x389531=_0x2fee36[_0x28f662];return _0x389531;},_0x28f6(_0x2cb3cd,_0x103c93);}import{ObservableMixin as _0x4e81dd}from'ckeditor5/src/utils.js';import{AIReviewCheck as _0x4f6090}from'./aireviewcheck.js';import{AIReviewCheckCustom as _0x54511a}from'./aireviewcheckcustom.js';export class AIReviewCheckList extends _0x4e81dd(){[_0x5f19a1(0x169)];constructor(_0x599567){var _0x5eafbe=_0x5f19a1;super(),this[_0x5eafbe(0x169)]=this[_0x5eafbe(0x165)](_0x599567);}get[_0x5f19a1(0x16d)](){var _0x3dc1d8=_0x5f19a1;return this[_0x3dc1d8(0x169)];}[_0x5f19a1(0x168)](_0x59c21c){var _0x9ab17=_0x5f19a1;return this[_0x9ab17(0x16d)][_0x9ab17(0x166)](_0x4f9ccc=>_0x4f9ccc['id']===_0x59c21c);}[_0x5f19a1(0x165)](_0x46fb92){var _0x516747=_0x5f19a1;return _0x46fb92[_0x516747(0x16e)](_0x29d93b=>_0x516747(0x170)===_0x29d93b['id']?new _0x54511a(_0x29d93b):new _0x4f6090(_0x29d93b));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
var _0x1df77c=_0x1f0c;function _0x1f0c(_0x57f15c,_0x4398cc){var _0x5b74b9=_0x5b74();return _0x1f0c=function(_0x1f0c52,_0x2cce21){_0x1f0c52=_0x1f0c52-0x197;var _0x5ca73e=_0x5b74b9[_0x1f0c52];return _0x5ca73e;},_0x1f0c(_0x57f15c,_0x4398cc);}function _0x5b74(){var _0x444136=['2085783IXYDDG','contentInitial','782850CxZQpf','107471WMJbOD','19UbYUFQ','2200eyoKWa','documentVersion','contentNew','2586648mbXfcs','234luxjfM','9ZmHVmo','25700cHmHLc','2223836FFxaeD','20228yLQZPT'];_0x5b74=function(){return _0x444136;};return _0x5b74();}(function(_0x3249e1,_0x5c2748){var _0x53c99f=_0x1f0c,_0x5956db=_0x3249e1();while(!![]){try{var _0x149083=parseInt(_0x53c99f(0x197))/0x1*(parseInt(_0x53c99f(0x1a0))/0x2)+parseInt(_0x53c99f(0x1a1))/0x3+-parseInt(_0x53c99f(0x19f))/0x4+-parseInt(_0x53c99f(0x1a3))/0x5+-parseInt(_0x53c99f(0x19c))/0x6*(parseInt(_0x53c99f(0x1a4))/0x7)+-parseInt(_0x53c99f(0x19b))/0x8*(-parseInt(_0x53c99f(0x19d))/0x9)+parseInt(_0x53c99f(0x19e))/0xa*(parseInt(_0x53c99f(0x198))/0xb);if(_0x149083===_0x5c2748)break;else _0x5956db['push'](_0x5956db['shift']());}catch(_0x1822b4){_0x5956db['push'](_0x5956db['shift']());}}}(_0x5b74,0x64f16));import{EmitterMixin as _0x44c9a6}from'ckeditor5/src/utils.js';export class AIReviewCheckResult extends _0x44c9a6(){['id'];[_0x1df77c(0x19a)];[_0x1df77c(0x1a2)];[_0x1df77c(0x199)];constructor({id:_0x3ff166,contentNew:_0x4e3e72,contentInitial:_0x4c5eaf,documentVersion:_0x15e287}){var _0x3ffc97=_0x1df77c;super(),this['id']=_0x3ff166,this[_0x3ffc97(0x19a)]=_0x4e3e72,this[_0x3ffc97(0x1a2)]=_0x4c5eaf,this[_0x3ffc97(0x199)]=_0x15e287;}}
|
|
@@ -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
|
-
|
|
23
|
+
var _0x59b352=_0x42c7;function _0x1bb2(){var _0x76e3ac=['isRated','8117823ykWLLU','252685pMAmND','operations','1756432PZNHHg','11225yxTWkD','contentDiffed','isActivated','parent','context','set','pending','_editorOperations','operationsIsolated','11ZzPjht','1352319kZXTxk','5222385GABIvI','68dOmqpm','status','174OcEFDz','4VyCIGl','change:status','_data','25402970JUgFIN'];_0x1bb2=function(){return _0x76e3ac;};return _0x1bb2();}function _0x42c7(_0x13dcac,_0x2c2779){var _0x1bb2f9=_0x1bb2();return _0x42c7=function(_0x42c7f4,_0x1d0fe8){_0x42c7f4=_0x42c7f4-0x1c2;var _0x21aaa5=_0x1bb2f9[_0x42c7f4];return _0x21aaa5;},_0x42c7(_0x13dcac,_0x2c2779);}(function(_0x10dfca,_0x570bea){var _0x4f11af=_0x42c7,_0x2f8420=_0x10dfca();while(!![]){try{var _0x302d98=parseInt(_0x4f11af(0x1cc))/0x1*(-parseInt(_0x4f11af(0x1d8))/0x2)+-parseInt(_0x4f11af(0x1d6))/0x3*(-parseInt(_0x4f11af(0x1c3))/0x4)+-parseInt(_0x4f11af(0x1c9))/0x5*(parseInt(_0x4f11af(0x1c2))/0x6)+-parseInt(_0x4f11af(0x1c8))/0x7+parseInt(_0x4f11af(0x1cb))/0x8+parseInt(_0x4f11af(0x1d7))/0x9+-parseInt(_0x4f11af(0x1c6))/0xa*(-parseInt(_0x4f11af(0x1d5))/0xb);if(_0x302d98===_0x570bea)break;else _0x2f8420['push'](_0x2f8420['shift']());}catch(_0xa4f0c1){_0x2f8420['push'](_0x2f8420['shift']());}}}(_0x1bb2,0xbf669));import{ObservableMixin as _0x13c6e6}from'ckeditor5/src/utils.js';export class AIReviewCheckResultChange extends _0x13c6e6(){['id'];[_0x59b352(0x1cf)];[_0x59b352(0x1c5)];[_0x59b352(0x1d3)]=[];constructor(_0x33ae0c,_0x1891d,_0x2491b5){var _0x2d8e62=_0x59b352;super(),this['id']=_0x33ae0c,this[_0x2d8e62(0x1cf)]=_0x2491b5,this[_0x2d8e62(0x1c5)]=_0x1891d,this[_0x2d8e62(0x1d1)](_0x2d8e62(0x1ce),!0x1),this[_0x2d8e62(0x1d1)](_0x2d8e62(0x1c7),!0x1),this[_0x2d8e62(0x1d1)](_0x2d8e62(0x1d9),_0x2d8e62(0x1d2)),this['on'](_0x2d8e62(0x1c4),()=>{var _0x276ab1=_0x2d8e62;_0x276ab1(0x1d2)!==this[_0x276ab1(0x1d9)]&&this[_0x276ab1(0x1ce)]&&(this[_0x276ab1(0x1ce)]=!0x1);});}get[_0x59b352(0x1cd)](){var _0x1b7fe4=_0x59b352;return this[_0x1b7fe4(0x1c5)][_0x1b7fe4(0x1d0)]();}get[_0x59b352(0x1ca)](){var _0x2d11bb=_0x59b352;return this[_0x2d11bb(0x1c5)][_0x2d11bb(0x1ca)];}get[_0x59b352(0x1d4)](){var _0x2f19c4=_0x59b352;return this[_0x2f19c4(0x1c5)][_0x2f19c4(0x1d4)];}}
|
|
@@ -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
|
+
function _0x471a(){const _0x4b6291=['_reviewParams','_checkIfFinished','17647XQWqmV','error-chunk','pending','change:isActivated','rejected','isActivated','message','activateChange','textDelta','outdated','ai-request-aborted','operation','event','1056566TkSmPP','fire','parent','19151ERViPU','2072585XUEazJ','1089476MhgMeD','dataId','getContent','abort','markChangeAsOutdated','initialized','616653NsyBNc','finished','reviewCheckRunUpdated','reviewName','markAllChangesAsAccepted','every','clear','reviewCheckResultDeactivated','hasModifications','_documentData','documentData','markChangeAsAccepted','4562568jxmdje','reviewCheckResultActivated','error-general','start','_createApiRequest','markChangeAsPending','_reviewArgs','deactivateChange','72cjdXaW','filter','addResultChanges','getActiveChanges','10370RhhbVL','currentError','3SYvWtA','includes','processedResultsCount','reviewCheckResultChangeStatusUpdated','aborted','markChangeAsRejected','_addReviewCheckResult','isChangeActive','abortController','version','forceReadyState','size','_changes','_currentError','callId','data','change:status','_aiConnector','reviewCheckResultReady','106CZhheP','accepted','error','unmodified','push','get','review-metadata','forEach','ready','sendRating','_results','title','_sendRatingRequest','_sourceCheck','status','loading','restart','subTitle','elements','getStream','reviewCheckResultAdded','set','_activeRequest','isRated','length','find'];_0x471a=function(){return _0x4b6291;};return _0x471a();}const _0x280a6c=_0x56e9;(function(_0x26a39b,_0x4beab4){const _0x1065a=_0x56e9,_0x498b7e=_0x26a39b();while(!![]){try{const _0x5b6a74=parseInt(_0x1065a(0x7d))/0x1*(parseInt(_0x1065a(0xc2))/0x2)+parseInt(_0x1065a(0xaf))/0x3*(-parseInt(_0x1065a(0x8f))/0x4)+-parseInt(_0x1065a(0x8e))/0x5+-parseInt(_0x1065a(0xa1))/0x6+parseInt(_0x1065a(0x8a))/0x7+parseInt(_0x1065a(0xa9))/0x8*(-parseInt(_0x1065a(0x95))/0x9)+-parseInt(_0x1065a(0xad))/0xa*(-parseInt(_0x1065a(0x8d))/0xb);if(_0x5b6a74===_0x4beab4)break;else _0x498b7e['push'](_0x498b7e['shift']());}catch(_0xbe83d3){_0x498b7e['push'](_0x498b7e['shift']());}}}(_0x471a,0xca11f));import{ObservableMixin as _0x3f345c,uid as _0x8c422f}from'ckeditor5/src/utils.js';function _0x56e9(_0x2bbd1e,_0x1e10dc){const _0x471a21=_0x471a();return _0x56e9=function(_0x56e97e,_0x4f9418){_0x56e97e=_0x56e97e-0x67;let _0x50b265=_0x471a21[_0x56e97e];return _0x50b265;},_0x56e9(_0x2bbd1e,_0x1e10dc);}import{AIReviewCheckResult as _0x41e75b}from'./aireviewcheckresult.js';import{AIReviewCheckResultChange as _0x541cd0}from'./aireviewcheckresultchange.js';export class AIReviewCheckRun extends _0x3f345c(){['id']=_0x8c422f();[_0x280a6c(0xbd)];[_0x280a6c(0x6b)]=new Map();[_0x280a6c(0xbb)]=[];[_0x280a6c(0x9e)];[_0x280a6c(0x6e)];[_0x280a6c(0xc0)];[_0x280a6c(0x7b)];[_0x280a6c(0xa7)];[_0x280a6c(0x77)]=null;[_0x280a6c(0xbc)];constructor(_0x5872e9,_0x183e18,_0x2bd708,_0x179cd9,_0x3b73b5){const _0x2195c9=_0x280a6c;super(),this[_0x2195c9(0x9e)]=_0x5872e9,this[_0x2195c9(0x6e)]=_0x183e18,this[_0x2195c9(0xc0)]=_0x2bd708,this[_0x2195c9(0x7b)]=_0x179cd9,this[_0x2195c9(0xa7)]=_0x3b73b5,this['on'](_0x2195c9(0xbf),(_0x8b9fde,_0x21fc53,_0x6f7107)=>{const _0x2ae383=_0x2195c9;this[_0x2ae383(0x8b)](_0x2ae383(0x97),{'status':_0x6f7107,'run':this,'error':this[_0x2ae383(0xbc)]});}),this[_0x2195c9(0x76)](_0x2195c9(0x6f),_0x2195c9(0x94));}get[_0x280a6c(0x9f)](){const _0x227d36=_0x280a6c;return this[_0x227d36(0x9e)];}get[_0x280a6c(0xb1)](){const _0x4b83ee=_0x280a6c;return this[_0x4b83ee(0x6b)][_0x4b83ee(0xba)];}get[_0x280a6c(0x6c)](){const _0x6f2037=_0x280a6c;return this[_0x6f2037(0x6e)][_0x6f2037(0x6c)];}get[_0x280a6c(0x72)](){return'';}get[_0x280a6c(0x98)](){const _0x35e430=_0x280a6c;return this[_0x35e430(0x6e)]['id'];}get[_0x280a6c(0x9d)](){const _0x3b05a4=_0x280a6c;return!this[_0x3b05a4(0xbb)][_0x3b05a4(0x9a)](_0x53c80a=>_0x3b05a4(0x7f)===_0x53c80a[_0x3b05a4(0x6f)]);}get[_0x280a6c(0xae)](){const _0x1b2a59=_0x280a6c;return this[_0x1b2a59(0xbc)];}async[_0x280a6c(0xa4)](){const _0x2b7661=_0x280a6c;this[_0x2b7661(0x6f)]=_0x2b7661(0x70),this[_0x2b7661(0xbc)]=void 0x0;try{this[_0x2b7661(0x77)]=this[_0x2b7661(0xa5)]();const _0x3cc294=await this[_0x2b7661(0x77)][_0x2b7661(0x74)]();this[_0x2b7661(0x6f)]=_0x2b7661(0xbe);for await(const _0x136a92 of _0x3cc294)_0x2b7661(0xc5)!==_0x136a92[_0x2b7661(0xbe)][_0x2b7661(0x88)]&&(_0x2b7661(0xc4)!==_0x136a92[_0x2b7661(0xbe)][_0x2b7661(0x88)]?_0x2b7661(0x67)!==_0x136a92[_0x2b7661(0x89)]?this[_0x2b7661(0xb5)](_0x136a92[_0x2b7661(0xbe)][_0x2b7661(0x90)],_0x136a92[_0x2b7661(0xbe)][_0x2b7661(0x85)]):this[_0x2b7661(0xbd)]=_0x136a92[_0x2b7661(0xbe)][_0x2b7661(0xbd)]:this[_0x2b7661(0x6f)]=_0x2b7661(0x7e));_0x2b7661(0x7e)!==this[_0x2b7661(0x6f)]&&(0x0===this[_0x2b7661(0x6b)][_0x2b7661(0xba)]?this[_0x2b7661(0x6f)]=_0x2b7661(0xc5):this[_0x2b7661(0x6f)]=_0x2b7661(0x69));}catch(_0x5abc46){this[_0x2b7661(0xbc)]=_0x5abc46,_0x5abc46 instanceof Error&&_0x5abc46[_0x2b7661(0x83)][_0x2b7661(0xb0)](_0x2b7661(0x87))?this[_0x2b7661(0x6f)]=_0x2b7661(0xb3):this[_0x2b7661(0x6f)]=_0x2b7661(0xa3);}finally{this[_0x2b7661(0x77)]=null;}}async[_0x280a6c(0x71)](){const _0x4caabb=_0x280a6c;this[_0x4caabb(0x6b)][_0x4caabb(0x9b)](),this[_0x4caabb(0xbb)][_0x4caabb(0x79)]=0x0,this[_0x4caabb(0xbc)]=void 0x0,await this[_0x4caabb(0xa4)]();}[_0x280a6c(0xab)](_0x498074,_0x105986){const _0x4d7b54=_0x280a6c,_0xd5c4a5=this[_0x4d7b54(0x6b)][_0x4d7b54(0xc7)](_0x498074);if(!_0xd5c4a5)return;const _0x354ea3=[];_0x105986[_0x4d7b54(0x68)]((_0x53ba32,_0x68f183)=>{const _0x4745aa=_0x4d7b54,_0x45bdde=new _0x541cd0(_0xd5c4a5['id']+'-'+_0x68f183,_0x53ba32,_0xd5c4a5);_0x45bdde['on'](_0x4745aa(0xbf),()=>{const _0x40904c=_0x4745aa;this[_0x40904c(0x8b)](_0x40904c(0xb2),{'change':_0x45bdde,'status':_0x45bdde[_0x40904c(0x6f)]});}),_0x45bdde['on'](_0x4745aa(0x80),()=>{const _0x4517a6=_0x4745aa;_0x45bdde[_0x4517a6(0x82)]?this[_0x4517a6(0x8b)](_0x4517a6(0xa2),{'change':_0x45bdde}):this[_0x4517a6(0x8b)](_0x4517a6(0x9c),{'change':_0x45bdde});}),this[_0x4745aa(0xbb)][_0x4745aa(0xc6)](_0x45bdde),_0x354ea3[_0x4745aa(0xc6)](_0x45bdde);}),this[_0x4d7b54(0x8b)](_0x4d7b54(0xc1),{'changes':_0x354ea3,'result':_0xd5c4a5,'source':this});}[_0x280a6c(0x92)](){const _0x2c39ad=_0x280a6c;this[_0x2c39ad(0x77)]&&(this[_0x2c39ad(0x77)][_0x2c39ad(0xb7)][_0x2c39ad(0x92)](),this[_0x2c39ad(0x77)]=null,this[_0x2c39ad(0x6f)]=_0x2c39ad(0xb3));}[_0x280a6c(0xb6)](_0x3c8966){const _0x1ea948=_0x280a6c,_0xb62df5=this[_0x1ea948(0xbb)][_0x1ea948(0x7a)](_0x38002e=>_0x38002e['id']===_0x3c8966);return!(!_0xb62df5||_0x1ea948(0x7f)!==_0xb62df5[_0x1ea948(0x6f)]);}[_0x280a6c(0xac)](){const _0x2bb084=_0x280a6c;return this[_0x2bb084(0xbb)][_0x2bb084(0xaa)](_0x53dea8=>_0x2bb084(0x7f)===_0x53dea8[_0x2bb084(0x6f)]);}[_0x280a6c(0x99)](){const _0x13d0bb=_0x280a6c;for(const _0x4e237e of this[_0x13d0bb(0xbb)])_0x13d0bb(0x7f)===_0x4e237e[_0x13d0bb(0x6f)]&&(_0x4e237e[_0x13d0bb(0x6f)]=_0x13d0bb(0xc3));this[_0x13d0bb(0x7c)]();}[_0x280a6c(0xa0)](_0x4f4823){const _0x2d62cb=_0x280a6c,_0x4591ce=this[_0x2d62cb(0xbb)][_0x2d62cb(0x7a)](_0x337914=>_0x337914['id']===_0x4f4823);_0x4591ce&&_0x2d62cb(0x7f)===_0x4591ce[_0x2d62cb(0x6f)]&&(_0x4591ce[_0x2d62cb(0x6f)]=_0x2d62cb(0xc3)),this[_0x2d62cb(0x7c)]();}[_0x280a6c(0xb4)](_0x4351e0){const _0x277dd7=_0x280a6c,_0x352117=this[_0x277dd7(0xbb)][_0x277dd7(0x7a)](_0x2c4e29=>_0x2c4e29['id']===_0x4351e0);_0x352117&&_0x277dd7(0x7f)===_0x352117[_0x277dd7(0x6f)]&&(_0x352117[_0x277dd7(0x6f)]=_0x277dd7(0x81)),this[_0x277dd7(0x7c)]();}[_0x280a6c(0x93)](_0x471afc){const _0x581c8d=_0x280a6c,_0x1b105f=this[_0x581c8d(0xbb)][_0x581c8d(0x7a)](_0x5e05d7=>_0x5e05d7['id']===_0x471afc);_0x1b105f&&_0x581c8d(0x7f)===_0x1b105f[_0x581c8d(0x6f)]&&(_0x1b105f[_0x581c8d(0x6f)]=_0x581c8d(0x86)),this[_0x581c8d(0x7c)]();}[_0x280a6c(0xa6)](_0xd744b1){const _0x20eb8d=_0x280a6c,_0x35864e=this[_0x20eb8d(0xbb)][_0x20eb8d(0x7a)](_0x5c1226=>_0x5c1226['id']===_0xd744b1);_0x35864e&&_0x20eb8d(0x86)===_0x35864e[_0x20eb8d(0x6f)]&&(_0x35864e[_0x20eb8d(0x6f)]=_0x20eb8d(0x7f)),this[_0x20eb8d(0x7c)]();}[_0x280a6c(0x84)](_0x586e09){const _0x4cc439=_0x280a6c;this[_0x4cc439(0xbb)][_0x4cc439(0xaa)](_0x144a29=>_0x144a29[_0x4cc439(0x82)]&&_0x144a29['id']!==_0x586e09)[_0x4cc439(0x68)](_0x348b3f=>{const _0x3d20cb=_0x4cc439;_0x348b3f[_0x3d20cb(0x82)]=!0x1;});const _0x309619=this[_0x4cc439(0xbb)][_0x4cc439(0x7a)](_0x5bf310=>_0x5bf310['id']===_0x586e09);_0x309619&&_0x4cc439(0x7f)===_0x309619[_0x4cc439(0x6f)]&&(_0x309619[_0x4cc439(0x82)]=!0x0);}[_0x280a6c(0xa8)](){const _0x32d0eb=_0x280a6c;this[_0x32d0eb(0xbb)][_0x32d0eb(0xaa)](_0x1a155f=>_0x1a155f[_0x32d0eb(0x82)])[_0x32d0eb(0x68)](_0x270c9e=>{const _0x2a58e4=_0x32d0eb;_0x270c9e[_0x2a58e4(0x82)]=!0x1;});}[_0x280a6c(0xb9)](){const _0x1ce869=_0x280a6c;this[_0x1ce869(0x6f)]=_0x1ce869(0x69);}async[_0x280a6c(0x6a)](_0x18e95b){const _0x461ed0=_0x280a6c;if(_0x461ed0(0x94)===this[_0x461ed0(0x6f)]||_0x461ed0(0x70)===this[_0x461ed0(0x6f)]||_0x461ed0(0xbe)===this[_0x461ed0(0x6f)])return;if(!this[_0x461ed0(0xbd)]||0x0===this[_0x461ed0(0xbb)][_0x461ed0(0x79)])return;let _0x198f82;if(_0x18e95b){const _0x5987e2=this[_0x461ed0(0xbb)][_0x461ed0(0x7a)](_0x4ec401=>_0x4ec401['id']===_0x18e95b);if(_0x5987e2&&_0x5987e2[_0x461ed0(0x78)])return;_0x5987e2&&(_0x198f82=_0x5987e2[_0x461ed0(0x8c)]['id'],_0x5987e2[_0x461ed0(0x78)]=!0x0);}const _0x234ff1={'positiveCount':this[_0x461ed0(0xbb)][_0x461ed0(0xaa)](_0x25a39c=>_0x461ed0(0xc3)===_0x25a39c[_0x461ed0(0x6f)])[_0x461ed0(0x79)],'totalCount':this[_0x461ed0(0xbb)][_0x461ed0(0x79)]};this[_0x461ed0(0x6d)](_0x234ff1,this[_0x461ed0(0xbd)],_0x198f82);}[_0x280a6c(0xb5)](_0x507e79,_0x61b4a9){const _0x9123af=_0x280a6c,_0x36cab0=this[_0x9123af(0x9e)][_0x9123af(0x73)][_0x9123af(0xc7)](_0x507e79);if(!_0x36cab0)return;const _0x433030=_0x36cab0[_0x9123af(0x91)]();if(_0x433030===_0x61b4a9)return;const _0xdc2c03=new _0x41e75b({'id':_0x507e79,'contentInitial':_0x433030,'contentNew':_0x61b4a9,'documentVersion':this[_0x9123af(0x9e)][_0x9123af(0xb8)]});this[_0x9123af(0x6b)][_0x9123af(0x76)](_0xdc2c03['id'],_0xdc2c03),this[_0x9123af(0x8b)](_0x9123af(0x75),{'result':_0xdc2c03,'source':this});}[_0x280a6c(0x7c)](){const _0x1dd64c=_0x280a6c;_0x1dd64c(0x96)===this[_0x1dd64c(0x6f)]&&(this[_0x1dd64c(0xbb)][_0x1dd64c(0xaa)](_0x5f23f5=>_0x1dd64c(0x7f)===_0x5f23f5[_0x1dd64c(0x6f)])[_0x1dd64c(0x79)]>0x0&&(this[_0x1dd64c(0x6f)]=_0x1dd64c(0x69))),_0x1dd64c(0x69)===this[_0x1dd64c(0x6f)]&&(0x0===this[_0x1dd64c(0xbb)][_0x1dd64c(0xaa)](_0x2b9431=>_0x1dd64c(0x7f)===_0x2b9431[_0x1dd64c(0x6f)])[_0x1dd64c(0x79)]&&(this[_0x1dd64c(0x6f)]=_0x1dd64c(0x96)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x4dbab9=_0x50d4;function _0x68a3(){var _0x2123a1=['10566yeqEfp','170ypiSmC','504tGFExa','_sendRatingRequest','_aiConnector','722984QTfIae','callCustomReview','_createApiRequest','_model','2589900HjGzdG','_prompt','48588pYbqOQ','845gFBnXP','2136nuiNDC','content','14044QgUQlT','_documentData','739387LLoDax','subTitle','1736814VlPrvU','upsertCustomAIReviewRating'];_0x68a3=function(){return _0x2123a1;};return _0x68a3();}function _0x50d4(_0x20d25a,_0x18643e){var _0x68a35f=_0x68a3();return _0x50d4=function(_0x50d440,_0x1698cb){_0x50d440=_0x50d440-0x8b;var _0x4787cf=_0x68a35f[_0x50d440];return _0x4787cf;},_0x50d4(_0x20d25a,_0x18643e);}(function(_0x56a973,_0x3750de){var _0x33d59a=_0x50d4,_0x4d1b2a=_0x56a973();while(!![]){try{var _0x59904e=parseInt(_0x33d59a(0x93))/0x1+-parseInt(_0x33d59a(0x8c))/0x2+-parseInt(_0x33d59a(0x97))/0x3+-parseInt(_0x33d59a(0x9d))/0x4*(parseInt(_0x33d59a(0x9a))/0x5)+-parseInt(_0x33d59a(0x99))/0x6*(-parseInt(_0x33d59a(0x90))/0x7)+-parseInt(_0x33d59a(0x9b))/0x8*(-parseInt(_0x33d59a(0x8e))/0x9)+-parseInt(_0x33d59a(0x8f))/0xa*(-parseInt(_0x33d59a(0x9f))/0xb);if(_0x59904e===_0x3750de)break;else _0x4d1b2a['push'](_0x4d1b2a['shift']());}catch(_0x313ab0){_0x4d1b2a['push'](_0x4d1b2a['shift']());}}}(_0x68a3,0x6ab81));import{AIReviewCheckRun as _0x50f246}from'./aireviewcheckrun.js';export class AIReviewCustomCheckRun extends _0x50f246{[_0x4dbab9(0x98)];[_0x4dbab9(0x96)];constructor(_0x4f36a3,_0x22d679,_0xbfa954,_0x120530,_0x3412d6){var _0x59e295=_0x4dbab9;super(_0xbfa954,_0x120530,_0x3412d6),this[_0x59e295(0x98)]=_0x4f36a3,this[_0x59e295(0x96)]=_0x22d679;}get[_0x4dbab9(0x8b)](){var _0x191b5=_0x4dbab9;return this[_0x191b5(0x98)];}[_0x4dbab9(0x95)](){var _0x5ef602=_0x4dbab9;return this[_0x5ef602(0x92)][_0x5ef602(0x94)]({'content':this[_0x5ef602(0x9e)][_0x5ef602(0x9c)],'prompt':this[_0x5ef602(0x98)],'model':this[_0x5ef602(0x96)]});}[_0x4dbab9(0x91)](_0x19b3a9,_0xe3b8d,_0x5ba53c){var _0x1d636c=_0x4dbab9;return this[_0x1d636c(0x92)][_0x1d636c(0x8d)](_0xe3b8d,_0x19b3a9,_0x5ba53c);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x3c92(_0x5bba12,_0x5bdbd0){const _0x39988d=_0x3998();return _0x3c92=function(_0x3c92ae,_0x36d09e){_0x3c92ae=_0x3c92ae-0x13e;let _0x748bcc=_0x39988d[_0x3c92ae];return _0x748bcc;},_0x3c92(_0x5bba12,_0x5bdbd0);}function _0x3998(){const _0xfead71=['push','callSystemReview','34047310SkyAfZ','options','1059569LaUeAL','upsertAIReviewRating','_reviewArgs','56sXAAls','4667142oCrRGK','length','_createApiRequest','_sendRatingRequest','reviewName','useArgs','content','_composeReviewName','label','data','14ZZHckt','_sourceCheck','_reviewParams','4162950oicHwx','subTitle','882764KXNPCQ','2492585aDcbDP','_aiConnector','join','_documentData','find','87185nSNwSw','18yhDBJC'];_0x3998=function(){return _0xfead71;};return _0x3998();}const _0x36f46d=_0x3c92;(function(_0x46aecc,_0x16f32e){const _0x364956=_0x3c92,_0x19d9c9=_0x46aecc();while(!![]){try{const _0x1f29d4=-parseInt(_0x364956(0x144))/0x1*(parseInt(_0x364956(0x158))/0x2)+-parseInt(_0x364956(0x14e))/0x3+-parseInt(_0x364956(0x13e))/0x4+-parseInt(_0x364956(0x13f))/0x5*(-parseInt(_0x364956(0x145))/0x6)+parseInt(_0x364956(0x14a))/0x7*(-parseInt(_0x364956(0x14d))/0x8)+-parseInt(_0x364956(0x15b))/0x9+parseInt(_0x364956(0x148))/0xa;if(_0x1f29d4===_0x16f32e)break;else _0x19d9c9['push'](_0x19d9c9['shift']());}catch(_0x137816){_0x19d9c9['push'](_0x19d9c9['shift']());}}}(_0x3998,0xf20e7));import{AIReviewCheckRun as _0x5f209a}from'./aireviewcheckrun.js';export class AIReviewSystemCheckRun extends _0x5f209a{get[_0x36f46d(0x15c)](){const _0x1e1809=_0x36f46d;if(!this[_0x1e1809(0x15a)]||0x0===this[_0x1e1809(0x15a)][_0x1e1809(0x14f)])return'';const _0x11200a=[];if(this[_0x1e1809(0x15a)][_0x1e1809(0x14f)]>0x0&&this[_0x1e1809(0x159)][_0x1e1809(0x149)])for(let _0x4fdb8d=0x0;_0x4fdb8d<this[_0x1e1809(0x15a)][_0x1e1809(0x14f)];_0x4fdb8d++){if(!this[_0x1e1809(0x15a)][_0x4fdb8d]||!this[_0x1e1809(0x159)][_0x1e1809(0x149)][_0x4fdb8d])continue;const _0x3f3db8=this[_0x1e1809(0x159)][_0x1e1809(0x149)][_0x4fdb8d],_0x4068f5=_0x3f3db8[_0x1e1809(0x157)]?.[_0x1e1809(0x143)](_0x5b7cab=>_0x5b7cab['id']===this[_0x1e1809(0x15a)][_0x4fdb8d]);_0x4068f5&&_0x11200a[_0x1e1809(0x146)](_0x4068f5[_0x1e1809(0x156)]);}return _0x11200a[_0x1e1809(0x141)](',\x20');}get[_0x36f46d(0x152)](){const _0x35910c=_0x36f46d;return this[_0x35910c(0x155)]();}[_0x36f46d(0x150)](){const _0x565710=_0x36f46d;return this[_0x565710(0x140)][_0x565710(0x147)]({'reviewName':this[_0x565710(0x155)](),'content':this[_0x565710(0x142)][_0x565710(0x154)],'args':this[_0x565710(0x14c)]});}[_0x36f46d(0x151)](_0xb95aa2,_0x140e35,_0x59d7fe){const _0x512d73=_0x36f46d;return this[_0x512d73(0x140)][_0x512d73(0x14b)](this[_0x512d73(0x152)],_0x140e35,_0xb95aa2,_0x59d7fe);}[_0x36f46d(0x155)](){const _0x103430=_0x36f46d;return!this[_0x103430(0x15a)]||0x0===this[_0x103430(0x15a)][_0x103430(0x14f)]||this[_0x103430(0x159)][_0x103430(0x153)]?this[_0x103430(0x159)]['id']:[this[_0x103430(0x159)]['id'],...this[_0x103430(0x15a)]][_0x103430(0x141)]('-');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x6cb5(_0x3f16de,_0x26368d){var _0x2af597=_0x2af5();return _0x6cb5=function(_0x6cb589,_0x529d04){_0x6cb589=_0x6cb589-0x1e4;var _0x48cbde=_0x2af597[_0x6cb589];return _0x48cbde;},_0x6cb5(_0x3f16de,_0x26368d);}var _0x16879d=_0x6cb5;(function(_0x1bef57,_0x3ea7f2){var _0x5300e4=_0x6cb5,_0x4de3e5=_0x1bef57();while(!![]){try{var _0x6e65c2=-parseInt(_0x5300e4(0x1fd))/0x1*(parseInt(_0x5300e4(0x1e7))/0x2)+-parseInt(_0x5300e4(0x1e8))/0x3*(parseInt(_0x5300e4(0x1f5))/0x4)+-parseInt(_0x5300e4(0x1ea))/0x5+-parseInt(_0x5300e4(0x1f0))/0x6+parseInt(_0x5300e4(0x1ec))/0x7*(-parseInt(_0x5300e4(0x1fa))/0x8)+-parseInt(_0x5300e4(0x1e6))/0x9+parseInt(_0x5300e4(0x1e5))/0xa;if(_0x6e65c2===_0x3ea7f2)break;else _0x4de3e5['push'](_0x4de3e5['shift']());}catch(_0x63b192){_0x4de3e5['push'](_0x4de3e5['shift']());}}}(_0x2af5,0xd47fe));import{TextareaView as _0x5d0b74}from'ckeditor5/src/ui.js';function _0x2af5(){var _0x4eac4d=['render','710AfZvuU','MIN_ROWS','77285990RkgtMO','13409478IQhjGb','2122NOBSlB','3oqqPWe','element','2297610ZhiqOa','ck-review-mode__prompt-input','10871abebdo','set','isEmpty','listenTo','7432560bTOseW','keystrokes','update','value','MAX_ROWS','5075736YVjAqt','minRows','maxRows','extendTemplate','trim','8488wMnxur','ai-review-mode-prompt-input'];_0x2af5=function(){return _0x4eac4d;};return _0x2af5();}import{KeystrokeHandler as _0x51a973}from'ckeditor5/src/utils.js';export class AIReviewModePromptInputView extends _0x5d0b74{[_0x16879d(0x1f1)];static [_0x16879d(0x1e4)]=0x1;static [_0x16879d(0x1f4)]=0xc;constructor(_0x186ed1){var _0x32ea2c=_0x16879d;super(_0x186ed1),this[_0x32ea2c(0x1ed)](_0x32ea2c(0x1ee),!0x0),this[_0x32ea2c(0x1f1)]=new _0x51a973(),this[_0x32ea2c(0x1f6)]=AIReviewModePromptInputView[_0x32ea2c(0x1e4)],this[_0x32ea2c(0x1f7)]=AIReviewModePromptInputView[_0x32ea2c(0x1f4)],this[_0x32ea2c(0x1f8)]({'attributes':{'id':_0x32ea2c(0x1fb),'class':['ck',_0x32ea2c(0x1eb)]}});}[_0x16879d(0x1fc)](){var _0x57abec=_0x16879d;super[_0x57abec(0x1fc)](),this['on'](_0x57abec(0x1f2),()=>{var _0x259394=_0x57abec;this[_0x259394(0x1ee)]=''===this[_0x259394(0x1e9)][_0x259394(0x1f3)]?.[_0x259394(0x1f9)]();}),this[_0x57abec(0x1f1)][_0x57abec(0x1ef)](this[_0x57abec(0x1e9)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x13581b=_0x2dbe;(function(_0x11ebfb,_0x426de2){const _0x5b2b9e=_0x2dbe,_0x46ff20=_0x11ebfb();while(!![]){try{const _0x2bc774=-parseInt(_0x5b2b9e(0xdc))/0x1+-parseInt(_0x5b2b9e(0xfc))/0x2*(parseInt(_0x5b2b9e(0xfe))/0x3)+parseInt(_0x5b2b9e(0xf0))/0x4+parseInt(_0x5b2b9e(0xe5))/0x5+parseInt(_0x5b2b9e(0xf4))/0x6*(-parseInt(_0x5b2b9e(0xe0))/0x7)+-parseInt(_0x5b2b9e(0xe8))/0x8+parseInt(_0x5b2b9e(0xd7))/0x9;if(_0x2bc774===_0x426de2)break;else _0x46ff20['push'](_0x46ff20['shift']());}catch(_0x191670){_0x46ff20['push'](_0x46ff20['shift']());}}}(_0x5e11,0x3fed4));import{BalloonPanelView as _0x3297db,View as _0x4cc832,clickOutsideHandler as _0xe0fcd9}from'ckeditor5/src/ui.js';import{AIReviewModeReviewCheckListItemResultsView as _0x5736d2}from'./aireviewmodechecklistitemresultview.js';function _0x2dbe(_0x15f4dc,_0x3173ee){const _0x5e119d=_0x5e11();return _0x2dbe=function(_0x2dbef0,_0x33729a){_0x2dbef0=_0x2dbef0-0xd4;let _0x30b56b=_0x5e119d[_0x2dbef0];return _0x30b56b;},_0x2dbe(_0x15f4dc,_0x3173ee);}function _0x5e11(){const _0x2fc5cb=['acceptChange','ck-ai-review-mode-balloon-panel-suggestion','20716yzhgNU','hide','changeId','add','1139820gcwHto','fire','ck-reset','showBalloon','isVisible','innerHTML','set','element','2fZisza','showDiff','267519NaDxKE','contentDiffed','resultResponseView','ck-content','getClientRects','_setupClickOutsideHandler','render','setTemplate','pin','div','resultItemView','from','3862134hkwGQK','find','width','_getBestRectPosition','extendTemplate','143377rjnvxb','showDiffInBalloon','locale','_createContentView','7UgFqLp','updateContent','arrow_se','hideDiffInBalloon','hideBalloon','1867100tGFkrd','ck-ai-review-mode__suggestion-text','dismissChange','986888khMXeX','deactivateChange','show','content','unpin','delegate'];_0x5e11=function(){return _0x2fc5cb;};return _0x5e11();}import'../../../theme/aireviewmode/aireviewmode-balloon-panel-suggestion.css';import'../../../theme/aireviewmode/aireviewmode-check-run-result.css';export class AIReviewModeBalloonSuggestionItemView extends _0x3297db{[_0x13581b(0xd5)];constructor(_0x19b479,_0x51d2a0){const _0x180735=_0x13581b;super(_0x19b479),this[_0x180735(0xfa)]({'isVisible':!0x1,'position':_0x180735(0xe2),'class':null,'top':0x0,'left':0x0}),this[_0x180735(0xdb)]({'tag':_0x180735(0xd4),'attributes':{'class':[_0x180735(0xf6)],'tabindex':'-1'}}),this[_0x180735(0xeb)][_0x180735(0xf3)](this[_0x180735(0xdf)]()),_0x51d2a0[_0x180735(0xf3)](this);}[_0x13581b(0x104)](){const _0x5e9d14=_0x13581b;super[_0x5e9d14(0x104)](),this[_0x5e9d14(0x103)]();}[_0x13581b(0xe1)](_0x26bbdd){const _0x2bf934=_0x13581b;this[_0x2bf934(0xd5)][_0x2bf934(0xf2)]=_0x26bbdd['id'],this[_0x2bf934(0xd5)][_0x2bf934(0x100)][_0x2bf934(0xfb)][_0x2bf934(0xf9)]=_0x26bbdd[_0x2bf934(0xff)];}[_0x13581b(0xf7)](_0x12ab10,_0x649c38){const _0x1916cd=_0x13581b;this[_0x1916cd(0xe1)](_0x12ab10),this[_0x1916cd(0xea)](),this[_0x1916cd(0x106)]({'target':()=>this[_0x1916cd(0xda)](_0x649c38)});}[_0x13581b(0xe4)](){const _0x32e95f=_0x13581b;this[_0x32e95f(0xf1)](),this[_0x32e95f(0xec)]();}[_0x13581b(0xe3)](){const _0x43bf3b=_0x13581b;this[_0x43bf3b(0xd5)][_0x43bf3b(0xfd)]=!0x1;}[_0x13581b(0xdd)](){const _0x343cc8=_0x13581b;this[_0x343cc8(0xd5)][_0x343cc8(0xfd)]=!0x0;}[_0x13581b(0xe9)](){const _0x188d43=_0x13581b;this[_0x188d43(0xf5)](_0x188d43(0xe9));}[_0x13581b(0x103)](){const _0x342993=_0x13581b;_0xe0fcd9({'emitter':this,'activator':()=>this[_0x342993(0xf8)],'contextElements':[this[_0x342993(0xfb)]],'callback':()=>{const _0x2508b0=_0x342993;this[_0x2508b0(0xe4)](),this[_0x2508b0(0xe9)]();}});}[_0x13581b(0xdf)](){const _0x248be7=_0x13581b,_0x566ad9=new _0x4cc832();return this[_0x248be7(0xd5)]=new _0x5736d2(this[_0x248be7(0xde)],''),this[_0x248be7(0xd5)][_0x248be7(0x100)][_0x248be7(0xdb)]({'attributes':{'class':[_0x248be7(0x101)]}}),this[_0x248be7(0xd5)][_0x248be7(0xed)](_0x248be7(0xee),_0x248be7(0xe7))['to'](this),_0x566ad9[_0x248be7(0x105)]({'tag':_0x248be7(0xd4),'attributes':{'class':[_0x248be7(0xf6),_0x248be7(0xef)]},'children':[{'tag':'p','attributes':{'class':[_0x248be7(0xe6)]},'children':[this[_0x248be7(0xd5)]]}]}),_0x566ad9;}[_0x13581b(0xda)](_0x5c7fed){const _0x2390b5=_0x13581b,_0xe9bc73=Array[_0x2390b5(0xd6)](_0x5c7fed[_0x2390b5(0x102)]());return _0xe9bc73[_0x2390b5(0xd8)](_0x47a522=>_0x47a522[_0x2390b5(0xd9)]>0x0)||_0xe9bc73[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 _0x50142c=_0x189b;(function(_0x303c4b,_0x3a4706){const _0x58c694=_0x189b,_0x2b9c16=_0x303c4b();while(!![]){try{const _0x4c771b=-parseInt(_0x58c694(0x1bc))/0x1*(parseInt(_0x58c694(0x1b4))/0x2)+parseInt(_0x58c694(0x1c0))/0x3+parseInt(_0x58c694(0x18f))/0x4+-parseInt(_0x58c694(0x1ca))/0x5+parseInt(_0x58c694(0x1b2))/0x6*(-parseInt(_0x58c694(0x18b))/0x7)+parseInt(_0x58c694(0x197))/0x8+parseInt(_0x58c694(0x1a4))/0x9;if(_0x4c771b===_0x3a4706)break;else _0x2b9c16['push'](_0x2b9c16['shift']());}catch(_0x39c45b){_0x2b9c16['push'](_0x2b9c16['shift']());}}}(_0x23fa,0x7dfca));function _0x23fa(){const _0x187bce=['dismissChange','ck-hidden','ck-ai-review-mode__check-run-result-status-button','bind','REJECTED','execute','toUpperCase','activateChange','label','6sMcrVP','setItemAsInactive','279394TrUGyz','extendTemplate','setItemAsActive','isOn','icon','_createResultResponseView','set','ACCEPTED','5iEMlor','ck-ai-review-mode__check-run-result-action-buttons','acceptButtonView','stopPropagation','1946112ItTGfi','_createStatusButtonView','infoButtonView','AI_REVIEW_MODE_DISMISS_CHANGE','isActive','ck-ai-review-mode__check-run-result-footer','_createAcceptButtonView','ck-content','ck-ai-review-mode__check-run-result_active','status','4264075yZluJC','fire','ck-ai-review-mode__check-run-result-dismiss-button','isInfoToggleOn','1470399tTJoib','showDiff','statusButtonView','AI_REVIEW_MODE_CHECK_STATUS_','2926484UEkmwj','disabled','resultResponseView','AI_REVIEW_MODE_ACCEPT_CHANGE','bindTemplate','_createDismissButtonView','ck-ai-review-mode__check-run-result-response','dismissButtonView','2687904vuJjXr','ck-ai-review-mode__check-run-result-accept-button','menuitemcheckbox','AI_REVIEW_MODE_LEARN_MORE','setTemplate','ck-ai-review-mode__check-run-result','pending','ck-ai-button-secondary','changeId','click','ck-ai-button-tertiary-filled','ck-content-direct-excluded','acceptChange','5049774HxPHem','locale','_createInfoButtonView','ck-ai-button-tertiary-filled\x20ck-ai-review-mode__check-run-result-info-button\x20ck-hidden','div'];_0x23fa=function(){return _0x187bce;};return _0x23fa();}function _0x189b(_0xb73e3c,_0x3f3358){const _0x23fa19=_0x23fa();return _0x189b=function(_0x189bbd,_0xa02cae){_0x189bbd=_0x189bbd-0x18a;let _0x1aa61a=_0x23fa19[_0x189bbd];return _0x1aa61a;},_0x189b(_0xb73e3c,_0x3f3358);}import{View as _0x2bdfad,ButtonView as _0x10234e}from'ckeditor5/src/ui.js';import{IconInfo as _0x3eeabd,IconCheck as _0x152bd6,IconCancel as _0x508e20,IconOutdated as _0x3dba38}from'ckeditor5/src/icons.js';import{getTranslation as _0x5cb817}from'../../aicore/utils/common-translations.js';export class AIReviewModeReviewCheckListItemResultsView extends _0x2bdfad{[_0x50142c(0x191)];[_0x50142c(0x1be)];[_0x50142c(0x196)];[_0x50142c(0x1c2)];[_0x50142c(0x18d)];constructor(_0x5d445d,_0x49d088){const _0x2d736b=_0x50142c;super(_0x5d445d),this['id']=_0x49d088,this[_0x2d736b(0x1ba)](_0x2d736b(0x1c9),_0x2d736b(0x19d)),this[_0x2d736b(0x1ba)](_0x2d736b(0x19f),_0x49d088),this[_0x2d736b(0x191)]=this[_0x2d736b(0x1b9)](),this[_0x2d736b(0x1be)]=this[_0x2d736b(0x1c6)](),this[_0x2d736b(0x196)]=this[_0x2d736b(0x194)](),this[_0x2d736b(0x1c2)]=this[_0x2d736b(0x1a6)](),this[_0x2d736b(0x18d)]=this[_0x2d736b(0x1c1)](),this[_0x2d736b(0x1ba)](_0x2d736b(0x18a),!0x1),this[_0x2d736b(0x1ba)](_0x2d736b(0x1c4),!0x1),this[_0x2d736b(0x1ba)](_0x2d736b(0x18c),!0x0),this[_0x2d736b(0x19b)]({'tag':_0x2d736b(0x1a8),'attributes':{'class':[_0x2d736b(0x19c),this[_0x2d736b(0x193)]['if'](_0x2d736b(0x1c4),_0x2d736b(0x1c8))]},'on':{'click':this[_0x2d736b(0x193)]['to'](_0x2d736b(0x1a0))},'children':[this[_0x2d736b(0x191)],{'tag':_0x2d736b(0x1a8),'attributes':{'class':[_0x2d736b(0x1c5)]},'children':[{'tag':_0x2d736b(0x1a8),'attributes':{'class':[_0x2d736b(0x1bd)]},'children':[this[_0x2d736b(0x1be)],this[_0x2d736b(0x196)],this[_0x2d736b(0x18d)]]},this[_0x2d736b(0x1c2)]]}]}),this['on'](_0x2d736b(0x1a0),()=>{const _0x2475b4=_0x2d736b;this[_0x2475b4(0x1cb)](_0x2475b4(0x1b0),{'id':_0x49d088,'source':this});});}[_0x50142c(0x1b6)](){const _0x4e27cc=_0x50142c;this[_0x4e27cc(0x1c4)]=!0x0;}[_0x50142c(0x1b3)](){const _0x2b9190=_0x50142c;this[_0x2b9190(0x1c4)]=!0x1;}[_0x50142c(0x1b9)](){const _0xf6e7b3=_0x50142c,_0x3ba5cb=new _0x2bdfad(this[_0xf6e7b3(0x1a5)]);return _0x3ba5cb[_0xf6e7b3(0x19b)]({'tag':_0xf6e7b3(0x1a8),'attributes':{'class':['ck',_0xf6e7b3(0x1c7),_0xf6e7b3(0x1a2),_0xf6e7b3(0x195),this[_0xf6e7b3(0x193)]['if'](_0xf6e7b3(0x18c),_0xf6e7b3(0x1aa),_0x5dbe38=>!_0x5dbe38)]}}),_0x3ba5cb;}[_0x50142c(0x1c6)](){const _0x541ec0=_0x50142c,_0x221544=new _0x10234e(this[_0x541ec0(0x1a5)]);return _0x221544[_0x541ec0(0x1ba)]({'label':_0x5cb817(this[_0x541ec0(0x1a5)],_0x541ec0(0x192)),'withText':!0x0}),_0x221544[_0x541ec0(0x1b5)]({'on':{'click':this[_0x541ec0(0x193)]['to'](_0x3fec20=>{const _0x26fd92=_0x541ec0;this[_0x26fd92(0x1cb)](_0x26fd92(0x1a3),{'id':this[_0x26fd92(0x19f)]}),_0x3fec20[_0x26fd92(0x1bf)]();})},'attributes':{'class':[_0x541ec0(0x19e),_0x541ec0(0x198),this[_0x541ec0(0x193)]['if'](_0x541ec0(0x1c9),_0x541ec0(0x1aa),_0x6dd3b8=>_0x541ec0(0x19d)!==_0x6dd3b8)]}}),_0x221544;}[_0x50142c(0x194)](){const _0x314b9a=_0x50142c,_0x2098f5=new _0x10234e(this[_0x314b9a(0x1a5)]);return _0x2098f5[_0x314b9a(0x1ba)]({'label':_0x5cb817(this[_0x314b9a(0x1a5)],_0x314b9a(0x1c3)),'withText':!0x0}),_0x2098f5[_0x314b9a(0x1b5)]({'on':{'click':this[_0x314b9a(0x193)]['to'](_0x5cebfa=>{const _0x57ea64=_0x314b9a;this[_0x57ea64(0x1cb)](_0x57ea64(0x1a9),{'id':this[_0x57ea64(0x19f)]}),_0x5cebfa[_0x57ea64(0x1bf)]();})},'attributes':{'class':[_0x314b9a(0x1a1),_0x314b9a(0x1cc),this[_0x314b9a(0x193)]['if'](_0x314b9a(0x1c9),_0x314b9a(0x1aa),_0x1c774c=>_0x314b9a(0x19d)!==_0x1c774c)]}}),_0x2098f5;}[_0x50142c(0x1a6)](){const _0x131f16=_0x50142c,_0x1d0fc5=new _0x10234e(this[_0x131f16(0x1a5)]);return _0x1d0fc5[_0x131f16(0x1ba)]({'label':_0x5cb817(this[_0x131f16(0x1a5)],_0x131f16(0x19a)),'icon':_0x3eeabd,'tooltip':!0x0,'isToggleable':!0x0,'role':_0x131f16(0x199),'class':_0x131f16(0x1a7)}),_0x1d0fc5[_0x131f16(0x1ac)](_0x131f16(0x1b7))['to'](this,_0x131f16(0x18a),_0x4f59c1=>_0x4f59c1),_0x1d0fc5['on'](_0x131f16(0x1ae),()=>{const _0x510b20=_0x131f16;this[_0x510b20(0x18a)]=!this[_0x510b20(0x18a)];}),_0x1d0fc5;}[_0x50142c(0x1c1)](){const _0xc3afc9=_0x50142c,_0x3297bf=new _0x10234e(this[_0xc3afc9(0x1a5)]);return _0x3297bf[_0xc3afc9(0x1ba)]({'withText':!0x0,'isEnabled':!0x1}),_0x3297bf[_0xc3afc9(0x1ac)](_0xc3afc9(0x1b1))['to'](this,_0xc3afc9(0x1c9),_0x5e4fab=>_0x5cb817(this[_0xc3afc9(0x1a5)],_0xc3afc9(0x18e)+_0x5e4fab[_0xc3afc9(0x1af)]())),_0x3297bf[_0xc3afc9(0x1ac)](_0xc3afc9(0x1b8))['to'](this,_0xc3afc9(0x1c9),_0xb14d7d=>_0xc3afc9(0x1bb)===_0xb14d7d[_0xc3afc9(0x1af)]()?_0x152bd6:_0xc3afc9(0x1ad)===_0xb14d7d[_0xc3afc9(0x1af)]()?_0x508e20:_0x3dba38),_0x3297bf[_0xc3afc9(0x1b5)]({'attributes':{'class':[_0xc3afc9(0x19e),_0xc3afc9(0x1ab),this[_0xc3afc9(0x193)]['if'](_0xc3afc9(0x1c9),_0xc3afc9(0x1aa),_0x4eaffa=>_0xc3afc9(0x19d)===_0x4eaffa)],'disabled':_0xc3afc9(0x190)}}),_0x3297bf;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Collection as
|
|
23
|
+
import{Collection as _0x274474,KeystrokeHandler as _0x5f4ac8,FocusTracker as _0x2daccf}from'ckeditor5/src/utils.js';import{View as _0x5151c7,ViewCollection as _0x578b60,ButtonView as _0x1307a3,FormRowView as _0x35c11a,createDropdown as _0x2bff2c,addListToDropdown as _0x203239,UIModel as _0xdf198e,ButtonLabelView as _0xa9f8a1,LabeledFieldView as _0x418e61,FocusCycler as _0x578b6b}from'ckeditor5/src/ui.js';import{AIReviewModePromptInputView as _0x39984c}from'./aireviemodepromptinputview.js';import{getTranslation as _0x3eedcb}from'../../aicore/utils/common-translations.js';import{AIModels as _0x345479}from'../../aicore/model/aimodels.js';export class AIReviewModeCustomCheckView extends _0x5151c7{['focusTracker']=new _0x2daccf();['keystrokes']=new _0x5f4ac8();['focusCycler'];['_focusables']=new _0x578b60();['submitButtonView'];['cancelButtonView'];['promptInputView'];['actionsFooterView'];['_modelSelectionDropdown'];['_modelSelectionDropdownItems'];['_check'];['_defaultValue'];['_defaultLabel'];constructor(_0xa3ae27,_0x5ba14d){super(_0xa3ae27),this['_check']=_0x5ba14d,this['set']('prompt',''),this['set']('modelId',''),this['_defaultValue']=_0x5ba14d['models']&&_0x5ba14d['models']['length']>0x0?_0x5ba14d['models'][0x0]['id']:'',this['_defaultLabel']=_0x5ba14d['models']&&_0x5ba14d['models']['length']>0x0?_0x5ba14d['models'][0x0]['name']:'',this['submitButtonView']=this['_createSubmitButtonView'](),this['cancelButtonView']=this['_createCancelButtonView'](),(this['promptInputView']=new _0x418e61(this['locale'],()=>new _0x39984c(_0xa3ae27)),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 _0x274474(),this['_setModelList'](),_0x203239(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 _0x35c11a(this['locale'],{'children':[this['promptInputView']]}),new _0x35c11a(this['locale'],{'children':[this['actionsFooterView']]})]}),this['promptInputView']['fieldView']['keystrokes']['set']('Enter',(_0x541335,_0x89105c)=>{this['_isValid']()?(this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0}),_0x89105c()):_0x89105c();}),this['focusCycler']=new _0x578b6b({'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'](_0x92820e=>{this['_focusables']['add'](_0x92820e),this['focusTracker']['add'](_0x92820e['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 _0x4c58aa of this['_getFormValidators']()){const _0x56e583=_0x4c58aa();if(_0x56e583)return this['promptInputView']['errorText']=_0x56e583,!0x1;}return!0x0;}['_getFormValidators'](){return[()=>{if(0x0===this['promptInputView']['fieldView']['value']?.['trim']()['length'])return _0x3eedcb(this['locale'],'AI_REVIEW_MODE_PROMPT_EMPTY_ERROR');}];}['_createSubmitButtonView'](){const _0x533572=new _0x1307a3(this['locale']),t=this['locale']['t'];return _0x533572['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x533572['on']('execute',()=>{this['_isValid']()&&this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0});}),_0x533572;}['_createCancelButtonView'](){const _0x396a29=new _0x1307a3(this['locale']),t=this['locale']['t'];return _0x396a29['set']({'label':t('Cancel'),'withText':!0x0,'class':'ck-ai-button-tertiary-filled'}),_0x396a29['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x6e2169=>{_0x6e2169['stopPropagation']();})}}),_0x396a29['on']('execute',()=>{this['resetToDefault'](),this['fire']('closeCustomCheck');}),_0x396a29;}['_setModelList'](){this['_modelSelectionDropdownItems']['clear']();const _0x54b897=this['_check']['models'];if(this['resetToDefault'](),_0x54b897?.['length']){const _0x2c80d3=_0x345479['getLocalized'](this['locale'],_0x54b897);for(const _0xe6b928 of _0x2c80d3){const _0x19d7b3=new _0xdf198e({'label':_0xe6b928['name'],'withText':!0x0,'role':'menuitemradio','id':_0xe6b928['id'],'model':_0xe6b928});_0x19d7b3['bind']('isOn')['to'](this,'modelId',_0x44a39c=>_0x44a39c===_0xe6b928['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0x19d7b3,'labelView':new Ws(this['locale'],_0xe6b928)});}}}['_createModelSelectionDropdown'](){const _0x49bb47=_0x2bff2c(this['locale']);return _0x49bb47['set']({'panelPosition':'se','class':'ck-ai-review-mode__check-list-item-model-dropdown'}),_0x49bb47['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0,'tooltip':!0x0}),this['listenTo'](_0x49bb47,'execute',_0x2711a2=>{this['modelId']=_0x2711a2['source']['model']['id'],_0x49bb47['buttonView']['label']=_0x2711a2['source']['label'];}),_0x49bb47;}['_createActionsFooterView'](){const _0x3f9f02=new _0x5151c7(this['locale']);return _0x3f9f02['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']]}]}),_0x3f9f02;}}class Ws extends _0xa9f8a1{constructor(_0x31041b,_0x589139){super();const _0x5235c8=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x5235c8['to']('style'),'id':_0x5235c8['to']('id')},'children':[{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-model-dropdown-name']},'children':[{'tag':'span','children':[{'text':_0x5235c8['to']('text')}]}]},{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-model-dropdown-description']},'children':[{'tag':'span','children':[_0x589139['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(_0x327072,_0x44427b){var _0x1fc1fd=_0x45f9,_0x1feda3=_0x327072();while(!![]){try{var _0x193da6=-parseInt(_0x1fc1fd(0x6d))/0x1*(-parseInt(_0x1fc1fd(0x73))/0x2)+-parseInt(_0x1fc1fd(0x6c))/0x3+-parseInt(_0x1fc1fd(0x77))/0x4+parseInt(_0x1fc1fd(0x75))/0x5*(-parseInt(_0x1fc1fd(0x71))/0x6)+-parseInt(_0x1fc1fd(0x6e))/0x7*(-parseInt(_0x1fc1fd(0x79))/0x8)+-parseInt(_0x1fc1fd(0x6a))/0x9+-parseInt(_0x1fc1fd(0x78))/0xa*(-parseInt(_0x1fc1fd(0x74))/0xb);if(_0x193da6===_0x44427b)break;else _0x1feda3['push'](_0x1feda3['shift']());}catch(_0x22239c){_0x1feda3['push'](_0x1feda3['shift']());}}}(_0x409f,0xc9e75));import{ButtonView as _0x29b69d}from'ckeditor5/src/ui.js';import{getTranslation as _0x2d008a}from'../../aicore/utils/common-translations.js';function _0x45f9(_0x3089d2,_0x5ab51b){var _0x409fa0=_0x409f();return _0x45f9=function(_0x45f94a,_0x21d56b){_0x45f94a=_0x45f94a-0x69;var _0x477c53=_0x409fa0[_0x45f94a];return _0x477c53;},_0x45f9(_0x3089d2,_0x5ab51b);}function _0x409f(){var _0x2b3b4e=['16ynNCrE','finishReview','AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL','755388cbPfNF','locale','237966qUpYmC','23jXPoxs','1654513dPpqPZ','execute','ck-ai-button-primary','12fkjDxF','fire','58436qFcAfO','33qKJADl','1402895LaYlWM','set','2536392waczAT','3469250lDoVsE'];_0x409f=function(){return _0x2b3b4e;};return _0x409f();}import'../../../theme/aireviewmode/aireviewmode-review-completed.css';export class AIReviewModeFinishReviewButtonView extends _0x29b69d{constructor(_0xb3e564){var _0x5df9cf=_0x45f9;super(_0xb3e564),this[_0x5df9cf(0x76)]({'label':_0x2d008a(this[_0x5df9cf(0x6b)],_0x5df9cf(0x69)),'withText':!0x0,'class':_0x5df9cf(0x70)}),this['on'](_0x5df9cf(0x6f),()=>{var _0x11bbae=_0x5df9cf;this[_0x11bbae(0x72)](_0x11bbae(0x7a));});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3ed545=_0x27b7;function _0x27b7(_0x2bee06,_0x2c0bc6){const _0x58ebab=_0x58eb();return _0x27b7=function(_0x27b78a,_0x3a3dc5){_0x27b78a=_0x27b78a-0x1e5;let _0x2da6dd=_0x58ebab[_0x27b78a];return _0x2da6dd;},_0x27b7(_0x2bee06,_0x2c0bc6);}(function(_0x15dd19,_0x1e73f2){const _0x480e1a=_0x27b7,_0x147697=_0x15dd19();while(!![]){try{const _0x50efab=-parseInt(_0x480e1a(0x200))/0x1+parseInt(_0x480e1a(0x1ee))/0x2+-parseInt(_0x480e1a(0x1fc))/0x3*(parseInt(_0x480e1a(0x1e7))/0x4)+parseInt(_0x480e1a(0x1eb))/0x5*(-parseInt(_0x480e1a(0x1f1))/0x6)+-parseInt(_0x480e1a(0x1f7))/0x7+-parseInt(_0x480e1a(0x1f3))/0x8*(-parseInt(_0x480e1a(0x1ea))/0x9)+parseInt(_0x480e1a(0x1fa))/0xa*(parseInt(_0x480e1a(0x1f4))/0xb);if(_0x50efab===_0x1e73f2)break;else _0x147697['push'](_0x147697['shift']());}catch(_0x33f79c){_0x147697['push'](_0x147697['shift']());}}}(_0x58eb,0xf2bf8));import{ListItemView as _0x4431a7,ViewCollection as _0x1ecf49}from'ckeditor5/src/ui.js';import{AIReviewModeReviewCommandListItemView as _0x843e74}from'./aireviewmodereviewcommandlistitemview.js';function _0x58eb(){const _0x1fffcf=['8ATgBJi','187sgUCME','resetToDefault','setChecks','5194434sSuoln','entries','delegate','312740xHXYOf','ck-hidden','519BhjHvo','div','resetAllParameterizedChecks','add','99090ygJQWy','runReviewCheck','bindTemplate','locale','31088hWDteS','setTemplate','hasChecks','12966858WAiOZX','5NWVChb','_checkViews','clear','3647306sKfgcS','ck-ai-review-mode__check-list','isVisible','3696414fdUnuG','length'];_0x58eb=function(){return _0x1fffcf;};return _0x58eb();}import'../../../theme/aireviewmode/aireviewmode-check-list.css';export class AIReviewModeReviewCheckListView extends _0x4431a7{[_0x3ed545(0x1ec)];constructor(_0x333588){const _0x201dc9=_0x3ed545;super(_0x333588),this[_0x201dc9(0x1ec)]=new _0x1ecf49();const _0x47153b=this[_0x201dc9(0x1e5)];this[_0x201dc9(0x1e8)]({'tag':_0x201dc9(0x1fd),'attributes':{'class':[_0x201dc9(0x1ef),_0x47153b['if'](_0x201dc9(0x1f0),_0x201dc9(0x1fb),_0x304719=>!_0x304719)]},'children':this[_0x201dc9(0x1ec)]});}[_0x3ed545(0x1f6)](_0x264676){const _0x32f7cf=_0x3ed545;this[_0x32f7cf(0x1ec)][_0x32f7cf(0x1ed)]();for(const [_0x444fb5,_0x4a784b]of _0x264676[_0x32f7cf(0x1f8)]()){const _0x2c5c71=new _0x843e74(this[_0x32f7cf(0x1e6)],_0x4a784b,_0x444fb5);_0x2c5c71[_0x32f7cf(0x1f9)](_0x32f7cf(0x201))['to'](this),this[_0x32f7cf(0x1ec)][_0x32f7cf(0x1ff)](_0x2c5c71);}}[_0x3ed545(0x1e9)](){const _0x26ba84=_0x3ed545;return this[_0x26ba84(0x1ec)][_0x26ba84(0x1f2)]>0x0;}[_0x3ed545(0x1fe)](){const _0x2913d2=_0x3ed545;for(const _0x1de7bd of this[_0x2913d2(0x1ec)])_0x1de7bd instanceof _0x843e74&&_0x1de7bd[_0x2913d2(0x1f5)]();}}
|
|
@@ -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
|
*
|