@ckeditor/ckeditor5-ai 47.0.0-alpha.2 → 47.0.0-alpha.4
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 +1 -1
- package/build/translations/ar.js +1 -1
- package/build/translations/bg.js +1 -1
- package/build/translations/bn.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.js +1 -1
- package/build/translations/el.js +1 -1
- package/build/translations/es.js +1 -1
- package/build/translations/et.js +1 -1
- package/build/translations/fi.js +1 -1
- package/build/translations/fr.js +1 -1
- package/build/translations/he.js +1 -1
- package/build/translations/hi.js +1 -1
- package/build/translations/hu.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/ko.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/nl.js +1 -1
- package/build/translations/no.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/sk.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/tr.js +1 -1
- package/build/translations/uk.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 +50 -37
- package/dist/index.css +68 -38
- package/dist/index.js +4 -4
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/lang/contexts.json +5 -0
- package/lang/translations/ar.po +171 -171
- package/lang/translations/bg.po +155 -155
- package/lang/translations/bn.po +155 -155
- package/lang/translations/ca.po +155 -155
- package/lang/translations/cs.po +159 -159
- package/lang/translations/da.po +155 -155
- package/lang/translations/de.po +155 -155
- package/lang/translations/el.po +155 -155
- package/lang/translations/es.po +155 -155
- package/lang/translations/et.po +155 -155
- package/lang/translations/fi.po +155 -155
- package/lang/translations/fr.po +155 -155
- package/lang/translations/he.po +155 -155
- package/lang/translations/hi.po +155 -155
- package/lang/translations/hu.po +155 -155
- package/lang/translations/id.po +151 -151
- package/lang/translations/it.po +155 -155
- package/lang/translations/ja.po +151 -151
- package/lang/translations/ko.po +151 -151
- package/lang/translations/lt.po +159 -159
- package/lang/translations/lv.po +159 -159
- package/lang/translations/ms.po +151 -151
- package/lang/translations/nl.po +155 -155
- package/lang/translations/no.po +155 -155
- package/lang/translations/pl.po +159 -159
- package/lang/translations/pt-br.po +155 -155
- package/lang/translations/pt.po +155 -155
- package/lang/translations/ro.po +159 -159
- package/lang/translations/ru.po +159 -159
- package/lang/translations/sk.po +159 -159
- package/lang/translations/sr.po +159 -159
- package/lang/translations/sv.po +155 -155
- package/lang/translations/th.po +151 -151
- package/lang/translations/tr.po +155 -155
- package/lang/translations/uk.po +159 -159
- package/lang/translations/vi.po +151 -151
- package/lang/translations/zh-cn.po +151 -151
- package/lang/translations/zh.po +151 -151
- package/package.json +16 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.d.ts +2 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
- package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- 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.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.d.ts +2 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichat/utils/scrollmanager.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.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.js +1 -1
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/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/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 +2 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.d.ts +2 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.d.ts +2 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/utils/common-translations.js +1 -1
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/documentposition.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/eventnames.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.d.ts +2 -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/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/aiquickactions/utils/common-translations.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 +24 -8
- package/src/aireviewmode/aireviewmodeediting.js +1 -1
- package/src/aireviewmode/aireviewmodeui.d.ts +12 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheck.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewchecklist.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresultchange.d.ts +6 -0
- package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewmode/model/aireviewcheckrun.d.ts +19 -1
- package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewmodels.js +1 -1
- package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.d.ts +30 -0
- package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +23 -0
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.d.ts +12 -2
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.d.ts +1 -0
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.d.ts +4 -0
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeview.d.ts +1 -0
- package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformamanager.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/aitabsmainview.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
- package/src/index.js +1 -1
- package/theme/aichat/aichatfeed.css +6 -2
- package/theme/aireviewmode/aireviewmode-balloon-panel-suggestion.css +19 -0
- package/theme/aireviewmode/aireviewmode-check-run-result.css +45 -0
- package/theme/aireviewmode/aireviewmode-check-run.css +0 -35
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
const _0x300db0=_0x36ac;(function(_0x381954,_0x2e4d04){const _0x1bc02b=_0x36ac,_0x25faa8=_0x381954();while(!![]){try{const _0x2451bb=-parseInt(_0x1bc02b(0x81))/0x1+parseInt(_0x1bc02b(0x88))/0x2*(-parseInt(_0x1bc02b(0x89))/0x3)+-parseInt(_0x1bc02b(0x87))/0x4*(-parseInt(_0x1bc02b(0x74))/0x5)+-parseInt(_0x1bc02b(0x8d))/0x6+-parseInt(_0x1bc02b(0x85))/0x7+-parseInt(_0x1bc02b(0x94))/0x8*(-parseInt(_0x1bc02b(0x80))/0x9)+parseInt(_0x1bc02b(0x7d))/0xa;if(_0x2451bb===_0x2e4d04)break;else _0x25faa8['push'](_0x25faa8['shift']());}catch(_0x39d056){_0x25faa8['push'](_0x25faa8['shift']());}}}(_0x2841,0xe6e87));function _0x36ac(_0x35b6c2,_0xd6776b){const _0x2841fa=_0x2841();return _0x36ac=function(_0x36acb7,_0x48a350){_0x36acb7=_0x36acb7-0x6e;let _0x4dc2ea=_0x2841fa[_0x36acb7];return _0x4dc2ea;},_0x36ac(_0x35b6c2,_0xd6776b);}function _0x2841(){const _0x5080d9=['innerHTML','show','840ryfFcP','ck-content','locale','ck-ai-review-mode__suggestion-text','isVisible','div','updateContent','setTemplate','element','1196280ceEseF','unpin','dismissChange','resultResponseView','changeId','extendTemplate','ck-reset','_createContentView','delegate','51473950YSExXA','hideBalloon','ck-ai-review-mode-balloon-panel-suggestion','2637BtdyQt','1291324tDKLSM','hide','contentDiffed','content','11152960mLMsKc','deactivateChange','8zfxtTB','45114RFNHnD','171tcDVit','acceptChange','pin','add','3243120Aebujb','resultItemView','fire','set','showBalloon'];_0x2841=function(){return _0x5080d9;};return _0x2841();}import{BalloonPanelView as _0x4a47e4,View as _0x328e79,clickOutsideHandler as _0x50ee47}from'ckeditor5/src/ui.js';import{AIReviewModeReviewCheckListItemResultsView as _0x2a9515}from'./aireviewmodechecklistitemresultview.js';import'../../../theme/aireviewmode/aireviewmode-balloon-panel-suggestion.css';import'../../../theme/aireviewmode/aireviewmode-check-run-result.css';export class AIReviewModeBalloonSuggestionItemView extends _0x4a47e4{[_0x300db0(0x8e)];constructor(_0x4136ea,_0x3680a8){const _0x4cef13=_0x300db0;super(_0x4136ea),this[_0x4cef13(0x90)]({'isVisible':!0x1,'position':'se','class':null,'top':0x0,'left':0x0}),this[_0x4cef13(0x79)]({'tag':_0x4cef13(0x70),'attributes':{'class':[_0x4cef13(0x7a)],'tabindex':'-1'}}),this[_0x4cef13(0x84)][_0x4cef13(0x8c)](this[_0x4cef13(0x7b)]()),_0x3680a8[_0x4cef13(0x8c)](this),_0x50ee47({'emitter':this,'activator':()=>this[_0x4cef13(0x6f)],'contextElements':[this[_0x4cef13(0x73)]],'callback':()=>{const _0x35d229=_0x4cef13;this[_0x35d229(0x7e)](),this[_0x35d229(0x86)]();}});}[_0x300db0(0x71)](_0x118341){const _0x979ed5=_0x300db0;this[_0x979ed5(0x8e)][_0x979ed5(0x78)]=_0x118341['id'],this[_0x979ed5(0x8e)][_0x979ed5(0x77)][_0x979ed5(0x73)][_0x979ed5(0x92)]=_0x118341[_0x979ed5(0x83)];}[_0x300db0(0x91)](_0x33f63e,_0x2ea0b0){const _0x3a5f8c=_0x300db0;this[_0x3a5f8c(0x71)](_0x33f63e),this[_0x3a5f8c(0x93)](),this[_0x3a5f8c(0x8b)]({'target':_0x2ea0b0});}[_0x300db0(0x7e)](){const _0x5cb908=_0x300db0;this[_0x5cb908(0x82)](),this[_0x5cb908(0x75)]();}[_0x300db0(0x86)](){const _0xa18d00=_0x300db0;this[_0xa18d00(0x8f)](_0xa18d00(0x86));}[_0x300db0(0x7b)](){const _0x20005c=_0x300db0,_0x5e1c1b=new _0x328e79();return this[_0x20005c(0x8e)]=new _0x2a9515(this[_0x20005c(0x96)],''),this[_0x20005c(0x8e)][_0x20005c(0x77)][_0x20005c(0x79)]({'attributes':{'class':[_0x20005c(0x95)]}}),this[_0x20005c(0x8e)][_0x20005c(0x7c)](_0x20005c(0x8a),_0x20005c(0x76))['to'](this),_0x5e1c1b[_0x20005c(0x72)]({'tag':_0x20005c(0x70),'attributes':{'class':[_0x20005c(0x7a),_0x20005c(0x7f)]},'children':[{'tag':'p','attributes':{'class':[_0x20005c(0x6e)]},'children':[this[_0x20005c(0x8e)]]}]}),_0x5e1c1b;}}
|
|
@@ -12,15 +12,25 @@ export declare class AIReviewModeReviewCheckListItemResultsView extends View {
|
|
|
12
12
|
acceptButtonView: ButtonView;
|
|
13
13
|
dismissButtonView: ButtonView;
|
|
14
14
|
infoButtonView: ButtonView;
|
|
15
|
+
/**
|
|
16
|
+
* @observable
|
|
17
|
+
*/
|
|
18
|
+
changeId: string;
|
|
19
|
+
/**
|
|
20
|
+
* @observable
|
|
21
|
+
*/
|
|
15
22
|
isInfoToggleOn: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* @observable
|
|
25
|
+
*/
|
|
16
26
|
isActive: boolean;
|
|
17
27
|
readonly id: string;
|
|
18
28
|
constructor(locale: Locale, id: string);
|
|
19
29
|
setItemAsActive(): void;
|
|
20
30
|
setItemAsInactive(): void;
|
|
21
31
|
}
|
|
22
|
-
export type
|
|
23
|
-
name: '
|
|
32
|
+
export type AIReviewModeActivateChangeEvent = {
|
|
33
|
+
name: 'activateChange';
|
|
24
34
|
args: [
|
|
25
35
|
{
|
|
26
36
|
id: string;
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x3735(_0x38a37b,_0x4e5230){const _0x475529=_0x4755();return _0x3735=function(_0x373596,_0x3932a1){_0x373596=_0x373596-0x1c5;let _0x1ddc26=_0x475529[_0x373596];return _0x1ddc26;},_0x3735(_0x38a37b,_0x4e5230);}const _0x1c33ee=_0x3735;(function(_0xd20df6,_0x1ac984){const _0x154ba8=_0x3735,_0x2b66b9=_0xd20df6();while(!![]){try{const _0x4d2537=-parseInt(_0x154ba8(0x1c5))/0x1+-parseInt(_0x154ba8(0x1d6))/0x2+-parseInt(_0x154ba8(0x1ef))/0x3+-parseInt(_0x154ba8(0x1e5))/0x4+parseInt(_0x154ba8(0x1e6))/0x5+parseInt(_0x154ba8(0x1c9))/0x6+parseInt(_0x154ba8(0x1c6))/0x7;if(_0x4d2537===_0x1ac984)break;else _0x2b66b9['push'](_0x2b66b9['shift']());}catch(_0x2f7c79){_0x2b66b9['push'](_0x2b66b9['shift']());}}}(_0x4755,0x4bdd7));import{View as _0x2fce92,ButtonView as _0x526e47}from'ckeditor5/src/ui.js';import{IconInfo as _0x4a01df}from'ckeditor5/src/icons.js';import{getTranslation as _0x644bcf}from'../../aicore/utils/common-translations.js';export class AIReviewModeReviewCheckListItemResultsView extends _0x2fce92{[_0x1c33ee(0x1d3)];[_0x1c33ee(0x1ed)];[_0x1c33ee(0x1c7)];[_0x1c33ee(0x1d8)];constructor(_0x3d192f,_0x4137e5){const _0x4d8135=_0x1c33ee;super(_0x3d192f),this['id']=_0x4137e5,this[_0x4d8135(0x1ce)](_0x4d8135(0x1de),_0x4137e5),this[_0x4d8135(0x1d3)]=this[_0x4d8135(0x1d9)](),this[_0x4d8135(0x1ed)]=this[_0x4d8135(0x1d2)](),this[_0x4d8135(0x1c7)]=this[_0x4d8135(0x1e4)](),this[_0x4d8135(0x1d8)]=this[_0x4d8135(0x1dd)](),this[_0x4d8135(0x1ce)](_0x4d8135(0x1dc),!0x1),this[_0x4d8135(0x1ce)](_0x4d8135(0x1cb),!0x1),this[_0x4d8135(0x1ca)]({'tag':_0x4d8135(0x1f2),'attributes':{'class':[_0x4d8135(0x1d1),this[_0x4d8135(0x1cf)]['if'](_0x4d8135(0x1cb),_0x4d8135(0x1f4))]},'on':{'click':this[_0x4d8135(0x1cf)]['to'](_0x4d8135(0x1ee))},'children':[this[_0x4d8135(0x1d3)],{'tag':_0x4d8135(0x1f2),'attributes':{'class':[_0x4d8135(0x1f1)]},'children':[{'tag':_0x4d8135(0x1f2),'attributes':{'class':[_0x4d8135(0x1ec)]},'children':[this[_0x4d8135(0x1ed)],this[_0x4d8135(0x1c7)]]},this[_0x4d8135(0x1d8)]]}]}),this['on'](_0x4d8135(0x1ee),()=>{const _0x23dcd3=_0x4d8135;this[_0x23dcd3(0x1d7)](_0x23dcd3(0x1e7),{'id':_0x4137e5,'source':this});});}[_0x1c33ee(0x1f5)](){const _0x5263d3=_0x1c33ee;this[_0x5263d3(0x1cb)]=!0x0;}[_0x1c33ee(0x1d5)](){const _0x1d0db4=_0x1c33ee;this[_0x1d0db4(0x1cb)]=!0x1;}[_0x1c33ee(0x1d9)](){const _0x130c87=_0x1c33ee,_0x5ec792=new _0x2fce92(this[_0x130c87(0x1c8)]);return _0x5ec792[_0x130c87(0x1ca)]({'tag':_0x130c87(0x1f2),'attributes':{'class':['ck',_0x130c87(0x1ea),_0x130c87(0x1da)]}}),_0x5ec792;}[_0x1c33ee(0x1d2)](){const _0x2222c7=_0x1c33ee,_0xf41c6=new _0x526e47(this[_0x2222c7(0x1c8)]);return _0xf41c6[_0x2222c7(0x1ce)]({'label':_0x644bcf(this[_0x2222c7(0x1c8)],_0x2222c7(0x1e9)),'withText':!0x0,'class':_0x2222c7(0x1df)}),_0xf41c6[_0x2222c7(0x1eb)]({'on':{'click':this[_0x2222c7(0x1cf)]['to'](_0x4e76b5=>{const _0x13a141=_0x2222c7;this[_0x13a141(0x1d7)](_0x13a141(0x1f3),{'id':this[_0x13a141(0x1de)]}),_0x4e76b5[_0x13a141(0x1db)]();})}}),_0xf41c6;}[_0x1c33ee(0x1e4)](){const _0x5a73de=_0x1c33ee,_0x38d9d5=new _0x526e47(this[_0x5a73de(0x1c8)]);return _0x38d9d5[_0x5a73de(0x1ce)]({'label':_0x644bcf(this[_0x5a73de(0x1c8)],_0x5a73de(0x1cc)),'withText':!0x0,'class':_0x5a73de(0x1f0)}),_0x38d9d5[_0x5a73de(0x1eb)]({'on':{'click':this[_0x5a73de(0x1cf)]['to'](_0x3e7e87=>{const _0x13a145=_0x5a73de;this[_0x13a145(0x1d7)](_0x13a145(0x1e8),{'id':this[_0x13a145(0x1de)]}),_0x3e7e87[_0x13a145(0x1db)]();})}}),_0x38d9d5;}[_0x1c33ee(0x1dd)](){const _0x68415b=_0x1c33ee,_0x12cebd=new _0x526e47(this[_0x68415b(0x1c8)]);return _0x12cebd[_0x68415b(0x1ce)]({'label':_0x644bcf(this[_0x68415b(0x1c8)],_0x68415b(0x1e3)),'icon':_0x4a01df,'tooltip':!0x0,'isToggleable':!0x0,'role':_0x68415b(0x1d4),'class':_0x68415b(0x1e2)}),_0x12cebd[_0x68415b(0x1cd)](_0x68415b(0x1e0))['to'](this,_0x68415b(0x1dc),_0x207bd9=>_0x207bd9),_0x12cebd['on'](_0x68415b(0x1e1),()=>{const _0x3c66c4=_0x68415b;console[_0x3c66c4(0x1f6)](_0x3c66c4(0x1d0)),this[_0x3c66c4(0x1dc)]=!this[_0x3c66c4(0x1dc)];}),_0x12cebd;}}function _0x4755(){const _0xa69463=['135072NblCuc','setTemplate','isActive','AI_REVIEW_MODE_DISMISS_CHANGE','bind','set','bindTemplate','Toggle\x20info\x20view','ck-ai-review-mode__check-run-result','_createAcceptButtonView','resultResponseView','menuitemcheckbox','setItemAsInactive','598280nBHbPg','fire','infoButtonView','_createResultResponseView','ck-ai-review-mode__check-run-result-response','stopPropagation','isInfoToggleOn','_createInfoButtonView','changeId','ck-ai-button-secondary\x20ck-ai-review-mode__check-run-result-accept-button','isOn','execute','ck-ai-button-tertiary-filled\x20ck-ai-review-mode__check-run-result-info-button\x20ck-hidden','AI_REVIEW_MODE_LEARN_MORE','_createDismissButtonView','2448804ieElKi','1747510ahDHlz','activateChange','dismissChange','AI_REVIEW_MODE_ACCEPT_CHANGE','ck-content','extendTemplate','ck-ai-review-mode__check-run-result-action-buttons','acceptButtonView','click','822180EZfzyQ','ck-ai-button-tertiary-filled\x20ck-ai-review-mode__check-run-result-dismiss-button','ck-ai-review-mode__check-run-result-footer','div','acceptChange','ck-ai-review-mode__check-run-result_active','setItemAsActive','log','111387wgFYLz','8648619rDfKAY','dismissButtonView','locale'];_0x4755=function(){return _0xa69463;};return _0x4755();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Collection as
|
|
23
|
+
import{Collection as _0x45ba23}from'ckeditor5/src/utils.js';import{View as _0x5c3256,ButtonView as _0xf155c3,FormRowView as _0x61393d,createDropdown as _0x24cb76,addListToDropdown as _0x1cde8c,UIModel as _0x2f604e,ButtonLabelView as _0x541c0}from'ckeditor5/src/ui.js';import{AIReviewModePromptInputView as _0x47696b}from'./aireviemodepromptinputview.js';export class AIReviewModeCustomCheckView extends _0x5c3256{['submitButtonView'];['cancelButtonView'];['promptInputView'];['_modelSelectionDropdown'];['_modelSelectionDropdownItems'];['_check'];['_defaultValue'];['_defaultLabel'];constructor(_0x1e74c2,_0x311874){super(_0x1e74c2),this['_check']=_0x311874,this['set']('prompt',''),this['set']('modelId',''),this['_defaultValue']=_0x311874['models']&&_0x311874['models']['length']>0x0?_0x311874['models'][0x0]['id']:'',this['_defaultLabel']=_0x311874['models']&&_0x311874['models']['length']>0x0?_0x311874['models'][0x0]['name']:'',this['submitButtonView']=this['_createSubmitButtonView'](),this['cancelButtonView']=this['_createCancelButtonView'](),this['promptInputView']=new _0x47696b(_0x1e74c2),this['promptInputView']['bind']('value')['to'](this,'prompt'),this['promptInputView']['on']('input',()=>{this['prompt']=this['promptInputView']['element']['value'];}),this['_modelSelectionDropdown']=this['_createModelSelectionDropdown'](),this['_modelSelectionDropdownItems']=new _0x45ba23(),this['_setModelList'](),_0x1cde8c(this['_modelSelectionDropdown'],this['_modelSelectionDropdownItems']);const _0x5ea20d=new _0x5c3256(_0x1e74c2);_0x5ea20d['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-custom-actions-footer']},'children':[this['_modelSelectionDropdown'],{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-parameterized-custom-actions-buttons']},'children':[this['cancelButtonView'],this['submitButtonView']]}]}),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-custom-actions']},'children':[new _0x61393d(this['locale'],{'children':[this['promptInputView']]}),new _0x61393d(this['locale'],{'children':[_0x5ea20d]})]});}['resetToDefault'](){this['prompt']='',this['modelId']=this['_defaultValue'],this['_modelSelectionDropdown']['buttonView']['label']=this['_defaultLabel'];}['_createSubmitButtonView'](){const _0x252756=new _0xf155c3(this['locale']),t=this['locale']['t'];return _0x252756['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x252756['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x11640b=>{_0x11640b['stopPropagation']();})}}),_0x252756['on']('execute',()=>{this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0});}),_0x252756;}['_createCancelButtonView'](){const _0x1890d6=new _0xf155c3(this['locale']),t=this['locale']['t'];return _0x1890d6['set']({'label':t('Cancel'),'withText':!0x0,'class':'ck-ai-button-tertiary-filled'}),_0x1890d6['on']('execute',()=>{this['resetToDefault']();}),_0x1890d6;}['_setModelList'](){this['_modelSelectionDropdownItems']['clear']();const _0x473b00=this['_check']['models'];if(this['resetToDefault'](),_0x473b00?.['length'])for(const _0x4750be of _0x473b00){const _0x519da2=new _0x2f604e({'label':_0x4750be['name'],'withText':!0x0,'role':'menuitemradio','id':_0x4750be['id'],'model':_0x4750be});_0x519da2['bind']('isOn')['to'](this,'modelId',_0x59016f=>_0x59016f===_0x4750be['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0x519da2,'labelView':new Ms(this['locale'],_0x4750be)});}}['_createModelSelectionDropdown'](){const _0x45e265=_0x24cb76(this['locale']);return _0x45e265['set']({'panelPosition':'se','class':'ck-ai-review-mode__check-list-item-model-dropdown'}),_0x45e265['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x214256=>{_0x214256['stopPropagation']();})}}),_0x45e265['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0,'tooltip':!0x0}),this['listenTo'](_0x45e265,'execute',_0x814a85=>{this['modelId']=_0x814a85['source']['model']['id'],_0x45e265['buttonView']['label']=_0x814a85['source']['label'];}),_0x45e265;}}class Ms extends _0x541c0{constructor(_0x4fc9a1,_0x1bd3eb){super();const _0x3a3fd7=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x3a3fd7['to']('style'),'id':_0x3a3fd7['to']('id')},'children':[{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-model-dropdown-name']},'children':[{'text':_0x3a3fd7['to']('text')}]},{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-model-dropdown-description']},'children':[{'tag':'span','children':[{'text':_0x1bd3eb['description']}]}]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1a8f5f=_0x1d74;(function(_0x10dfd9,_0x224279){const _0x2b651e=_0x1d74,_0x16f44c=_0x10dfd9();while(!![]){try{const _0x49bc26=parseInt(_0x2b651e(0xcd))/0x1+parseInt(_0x2b651e(0xe4))/0x2*(-parseInt(_0x2b651e(0xe2))/0x3)+parseInt(_0x2b651e(0xdf))/0x4*(parseInt(_0x2b651e(0xcf))/0x5)+-parseInt(_0x2b651e(0xe1))/0x6+-parseInt(_0x2b651e(0xe5))/0x7*(parseInt(_0x2b651e(0xd0))/0x8)+-parseInt(_0x2b651e(0xe3))/0x9+parseInt(_0x2b651e(0xde))/0xa;if(_0x49bc26===_0x224279)break;else _0x16f44c['push'](_0x16f44c['shift']());}catch(_0x15f1c8){_0x16f44c['push'](_0x16f44c['shift']());}}}(_0x1e2a,0x98bab));function _0x1e2a(){const _0x303e04=['437999fkMstP','delegate','269085ZXbgET','568VkZhiX','add','div','clear','_checkViews','ck-hidden','resetToDefault','entries','setTemplate','hasChecks','length','runReviewCheck','isVisible','locale','24924380ypfWxY','56lvPiVT','resetAllParameterizedChecks','6239886MdOuYq','186XRoZZK','6891966BuoIZk','33316MLAuzG','21665iwwniu','bindTemplate','setChecks','ck-ai-review-mode__check-list'];_0x1e2a=function(){return _0x303e04;};return _0x1e2a();}function _0x1d74(_0x17cbab,_0x56794b){const _0x1e2adf=_0x1e2a();return _0x1d74=function(_0x1d7476,_0x23422e){_0x1d7476=_0x1d7476-0xca;let _0x1c252e=_0x1e2adf[_0x1d7476];return _0x1c252e;},_0x1d74(_0x17cbab,_0x56794b);}import{ListItemView as _0x1980e8,ViewCollection as _0x363e86}from'ckeditor5/src/ui.js';import{AIReviewModeReviewCommandListItemView as _0xc2c2a8}from'./aireviewmodereviewcommandlistitemview.js';import'../../../theme/aireviewmode/aireviewmode-check-list.css';export class AIReviewModeReviewCheckListView extends _0x1980e8{[_0x1a8f5f(0xd4)];constructor(_0x197516){const _0xa159a0=_0x1a8f5f;super(_0x197516),this[_0xa159a0(0xd4)]=new _0x363e86();const _0x27591d=this[_0xa159a0(0xca)];this[_0xa159a0(0xd8)]({'tag':_0xa159a0(0xd2),'attributes':{'class':[_0xa159a0(0xcc),_0x27591d['if'](_0xa159a0(0xdc),_0xa159a0(0xd5),_0x20716d=>!_0x20716d)]},'children':this[_0xa159a0(0xd4)]});}[_0x1a8f5f(0xcb)](_0xf0574a){const _0x75a76b=_0x1a8f5f;this[_0x75a76b(0xd4)][_0x75a76b(0xd3)]();for(const [_0x38ee66,_0x412ef4]of _0xf0574a[_0x75a76b(0xd7)]()){const _0x506173=new _0xc2c2a8(this[_0x75a76b(0xdd)],_0x412ef4,_0x38ee66);_0x506173[_0x75a76b(0xce)](_0x75a76b(0xdb))['to'](this),this[_0x75a76b(0xd4)][_0x75a76b(0xd1)](_0x506173);}}[_0x1a8f5f(0xd9)](){const _0x12a492=_0x1a8f5f;return this[_0x12a492(0xd4)][_0x12a492(0xda)]>0x0;}[_0x1a8f5f(0xe0)](){const _0x5116f9=_0x1a8f5f;for(const _0x382c63 of this[_0x5116f9(0xd4)])_0x382c63 instanceof _0xc2c2a8&&_0x382c63[_0x5116f9(0xd6)]();}}
|
|
@@ -10,6 +10,7 @@ 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
12
|
import '../../../theme/aireviewmode/aireviewmode-check-run.css';
|
|
13
|
+
import '../../../theme/aireviewmode/aireviewmode-check-run-result.css';
|
|
13
14
|
export declare class AIReviewModeReviewCheckResultsView extends ListItemView {
|
|
14
15
|
resultsHeader: View;
|
|
15
16
|
reviewDisclaimer: AIDisclaimerView;
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ListItemView as
|
|
23
|
+
import{ListItemView as _0x65ce4,View as _0x39e6b7,ViewCollection as _0x189098,ButtonView as _0x2aef51}from'ckeditor5/src/ui.js';import{IconStop as _0x4723ed,IconEye as _0x2e1705,IconEyeCrossedOut as _0x111c6a}from'ckeditor5/src/icons.js';import{AIReviewModeReviewCheckListItemResultsView as _0x33fac9}from'./aireviewmodechecklistitemresultview.js';import{AISkeletonView as _0x356dba,SKELETON_DEFINITIONS as _0x210553}from'../../aicore/ui/aiskeleton.js';import{AIDisclaimerView as _0x211bc5}from'../../aicore/ui/aidisclaimerview.js';import{getTranslation as _0x4d8bf5}from'../../aicore/utils/common-translations.js';import{AISpinnerView as _0x25aab9}from'../../aicore/ui/aispinner.js';import'../../../theme/aireviewmode/aireviewmode-check-run.css';import'../../../theme/aireviewmode/aireviewmode-check-run-result.css';export class AIReviewModeReviewCheckResultsView extends _0x65ce4{['_resultViews'];['resultsHeader'];['reviewDisclaimer'];['_cancelButtonView'];['_acceptAllButtonView'];['_exitReviewButtonView'];['_toggleDiffButtonView'];['_errorMessageView'];constructor(_0x5178e2){super(_0x5178e2),this['_resultViews']=new _0x189098(),this['_cancelButtonView']=this['_createCancelButtonView'](),this['_acceptAllButtonView']=this['_createAcceptAllButtonView'](),this['_exitReviewButtonView']=this['_createExitReviewButtonView'](),this['_toggleDiffButtonView']=this['_createToggleDiffButtonView'](),this['resultsHeader']=this['_createResultHeaderView'](),this['_errorMessageView']=this['_createErrorView'](),this['reviewDisclaimer']=new _0x211bc5(_0x5178e2),this['set']('isLoading',!0x1),this['set']('isToggleDiffOn',!0x1),this['set']('isResultReady',!0x1),this['set']('headerTitle',''),this['set']('isError',!0x1),this['set']('showErrorMessage',!0x1),this['set']('errorType','general');const _0x74a278=this['_createCombinedSkeletonLoader'](),_0x511961=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run',_0x511961['if']('isVisible','ck-hidden',_0x21a3ae=>!_0x21a3ae)]},'children':[this['resultsHeader'],{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-wrapper']},'children':[this['_errorMessageView'],{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x2a612d=>_0x2a612d)]},'children':this['_resultViews']},_0x74a278]},this['reviewDisclaimer']]});}['clearResults'](){this['_resultViews']['clear']();}['getResults'](){return this['_resultViews'];}['addResult'](_0xd6096a){const _0x105680=new _0x33fac9(this['locale'],_0xd6096a['id']);_0x105680['delegate']('acceptChange','dismissChange','activateChange')['to'](this),this['_resultViews']['add'](_0x105680),_0x105680['resultResponseView']['element']['innerHTML']=_0xd6096a['contentDiffed'];}['hideResult'](_0x3a3267){const _0x49d97a=this['_resultViews']['find'](_0x4efa18=>_0x4efa18['id']===_0x3a3267);_0x49d97a&&(_0x49d97a['element']?.['classList']['add']('ck-ai-review-mode__check-run-result_removing'),_0x49d97a['element']?.['addEventListener']('animationend',()=>{this['_resultViews']['remove'](_0x49d97a),_0x49d97a['destroy']();},{'once':!0x0}));}['setTitle'](_0x5f17c0){this['headerTitle']=_0x5f17c0;}['showChunkErrorMessage'](){this['errorType']='chunk',this['showErrorMessage']=!0x0;}['showGeneralErrorMessage'](){this['isError']=!0x0,this['errorType']='general',this['showErrorMessage']=!0x0;}['resetErrorState'](){this['isError']=!0x1,this['errorType']='general',this['showErrorMessage']=!0x1;}['_createSkeletonLoader'](){return new _0x356dba(this['locale'],_0x210553['aiReviewChecks']);}['_createCombinedSkeletonLoader'](){const _0x53a6e4=new _0x39e6b7(this['locale']),_0xf3d38f=[];for(let _0x233719=0x0;_0x233719<0x10;_0x233719++){const _0x10ecac=this['_createSkeletonLoader']();_0x10ecac['extendTemplate']({'attributes':{'class':['ck-ai-review-mode__check-run-skeleton-item']}}),_0xf3d38f['push'](_0x10ecac);}return _0x53a6e4['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-skeleton-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x3926a9=>!_0x3926a9)]},'children':_0xf3d38f}),_0x53a6e4;}['_createErrorView'](){const _0x5c4af8=new _0x39e6b7(this['locale']),_0x541319=new _0x2aef51(this['locale']),t=this['locale']['t'];return _0x5c4af8['delegate']('retryReview')['to'](this),_0x541319['set']({'label':t('Try\x20again'),'withText':!0x0,'class':'ck-ai-button-secondary\x20ck-ai-review-mode__check-run-error-retry-button'}),_0x541319['on']('execute',()=>{this['fire']('retryReview');}),_0x5c4af8['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-error-container',this['bindTemplate']['if']('showErrorMessage','ck-hidden',_0x564c85=>!_0x564c85),this['bindTemplate']['if']('errorType','ck-ai-review-mode__check-run-error-container_border-bottom',_0x331a5b=>'chunk'===_0x331a5b)]},'children':[{'tag':'div','attributes':{'class':['ck','ck-ai-chat-error','ck-ai-chat-error_full-width','ck-ai-review-mode__check-run-error-message',this['bindTemplate']['if']('errorType','ck-ai-chat-error_warning',_0x188a59=>'chunk'===_0x188a59)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-chat-error__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x55f7c4=>'general'!==_0x55f7c4)]},'children':[{'text':_0x4d8bf5(this['locale'],'AI_REVIEW_MODE_GENERAL_ERROR_MESSAGE')}]},{'tag':'p','attributes':{'class':['ck-ai-chat-error__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x392447=>'chunk'!==_0x392447)]},'children':[{'text':_0x4d8bf5(this['locale'],'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE')}]}]},_0x541319]}),_0x5c4af8;}['_createCancelButtonView'](){const _0x6fb56=new _0x2aef51(this['locale']);return _0x6fb56['set']({'label':_0x4d8bf5(this['locale'],'AI_REVIEW_MODE_STOP_GENERATING'),'withText':!0x0,'class':['ai-chat-controls-loader__cancel-button'],'icon':_0x4723ed}),_0x6fb56['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isResultReady','ck-hidden',_0x56d208=>_0x56d208)]}}),_0x6fb56['on']('execute',()=>{this['fire']('abortReviewStream');}),_0x6fb56;}['_createToggleDiffButtonView'](){const _0x384f97=new _0x2aef51(this['locale']);_0x384f97['set']({'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox'}),_0x384f97['bind']('isEnabled')['to'](this,'isError',_0x59908c=>!_0x59908c),_0x384f97['extendTemplate']({'attributes':{'class':['ck-ai-button-secondary','ck-ai-review-mode__check-run-toggle-diff-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x1189d0=>!_0x1189d0)]}});const _0x3ca088=_0x4d8bf5(this['locale'],'AI_REVIEW_MODE_HIDE_CHANGES'),_0x1c1a37=_0x4d8bf5(this['locale'],'AI_REVIEW_MODE_SHOW_CHANGES');return _0x384f97['bind']('isOn')['to'](this,'isToggleDiffOn',_0x116fc7=>_0x116fc7),_0x384f97['bind']('icon')['to'](this,'isToggleDiffOn',_0x2a574a=>_0x2a574a?_0x2e1705:_0x111c6a),_0x384f97['bind']('label')['to'](this,'isToggleDiffOn',_0x4ca2b3=>_0x4ca2b3?_0x3ca088:_0x1c1a37),_0x384f97['on']('execute',()=>{this['isToggleDiffOn']=!this['isToggleDiffOn'],this['fire']('toggleDiff',{'on':this['isToggleDiffOn']});}),_0x384f97;}['_createAcceptAllButtonView'](){const _0x17d208=new _0x2aef51(this['locale']);return _0x17d208['set']({'label':_0x4d8bf5(this['locale'],'AI_REVIEW_MODE_ACCEPT_ALL'),'withText':!0x0}),_0x17d208['bind']('isEnabled')['to'](this,'isError',_0x1a61c3=>!_0x1a61c3),_0x17d208['extendTemplate']({'attributes':{'class':['ck-ai-button-primary','ck-ai-review-mode__check-run-accept-all-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x4535ae=>!_0x4535ae)]}}),_0x17d208['on']('execute',()=>{this['fire']('acceptAllChanges');}),_0x17d208;}['_createExitReviewButtonView'](){const _0x2f62f4=new _0x2aef51(this['locale']);return _0x2f62f4['set']({'label':_0x4d8bf5(this['locale'],'AI_REVIEW_MODE_EXIT_REVIEW'),'withText':!0x0}),_0x2f62f4['extendTemplate']({'attributes':{'class':['ck-ai-button-tertiary-filled','ck-ai-review-mode__check-run-exit-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x36ef35=>!_0x36ef35)]}}),_0x2f62f4['on']('execute',()=>{this['fire']('leaveReviewModeResultList');}),_0x2f62f4;}['_createResultHeaderView'](){const _0x4d9c48=new _0x39e6b7(this['locale']),_0x4c8ebb=new _0x25aab9();return _0x4c8ebb['bind']('isVisible')['to'](this,'isResultReady',_0x2cb20f=>!_0x2cb20f),_0x4d9c48['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-header']},'children':[{'tag':'span','attributes':{'class':['ck-ai-review-mode__check-run-results-header-title']},'children':[{'text':this['bindTemplate']['to']('headerTitle')}]},{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-header-buttons']},'children':[_0x4c8ebb,this['_cancelButtonView'],this['_acceptAllButtonView'],this['_exitReviewButtonView'],this['_toggleDiffButtonView']]}]}),_0x4d9c48;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ListItemView as
|
|
23
|
+
import{ListItemView as _0x4d8b72,IconView as _0xe96de0,View as _0x4f8fc4,ViewCollection as _0x9d1d78,ButtonView as _0x4d8c2e,clickOutsideHandler as _0x44cabd}from'ckeditor5/src/ui.js';import{IconChevronRight as _0x554ca9}from'ckeditor5/src/icons.js';import{AIReviewModeFormManagerView as _0x49b1f8}from'./form/aireviewmodeformmanager.js';import{AIReviewModeCustomCheckView as _0x48ba99}from'./aireviewmodecustomcheckview.js';export class AIReviewModeReviewCommandListItemView extends _0x4d8b72{['_formItemsCollection']=new _0x9d1d78();['_customCheckView']=null;constructor(_0x24f8a2,_0x442729,_0x275d25){super(_0x24f8a2),this['set']('isParametrizedViewOpen',!0x1),this['set']('isListItemRendered',!0x1),this['set']('isItemParametrized',_0x442729['isParameterized']);const _0x13cbf0=this['_createIconView']();this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item',this['bindTemplate']['if']('isParametrizedViewOpen','ck-ai-review-mode__check-list-item_selected',_0x49a677=>_0x49a677),this['bindTemplate']['if']('isListItemRendered','ck-ai-review-mode__check-list-item_rendered',_0x2bbf51=>_0x2bbf51)],'style':{'--ck-ai-check-list-item-index':_0x275d25}},'on':{'click':this['bindTemplate']['to']('click')},'children':[{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-content']},'children':[{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-main-content']},'children':[{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-title']},'children':[{'tag':'span','attributes':{'class':['ck-ai-review-mode__check-list-item-title-text']},'children':[{'text':_0x442729['title']}]},_0x13cbf0]},{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-description']},'children':[{'text':_0x442729['description']}]}]}]},..._0x442729['isParameterized']?[this['_createParameterizedView'](_0x442729)]:[],...'custom'===_0x442729['id']?[this['_createCustomView'](_0x442729)]:[]]}),this['on']('click',()=>{_0x442729['isParameterized']?this['isParametrizedViewOpen']=!0x0:this['fire']('runReviewCheck',{'id':_0x442729['id']});}),requestAnimationFrame(()=>{this['isListItemRendered']=!0x0;});}['render'](){super['render'](),this['isItemParametrized']&&_0x44cabd({'emitter':this,'activator':()=>!0x0===this['isParametrizedViewOpen'],'contextElements':[this['element']],'callback':()=>{this['isParametrizedViewOpen']=!0x1;}});}['resetToDefault'](){this['isParametrizedViewOpen']=!0x1,this['_formItemsCollection']['forEach'](_0x7f099d=>{_0x7f099d['resetToDefault']();}),this['_customCheckView']&&this['_customCheckView']['resetToDefault']();}['_createIconView'](){const _0x2bd39e=new _0xe96de0();return _0x2bd39e['content']=_0x554ca9,_0x2bd39e['extendTemplate']({'attributes':{'class':['ck-ai-review-mode__check-list-item-title-icon']}}),_0x2bd39e;}['_createParameterizedView'](_0x256625){const _0x456324=new _0x4f8fc4(),_0x3c4695=this['_createFormView'](_0x256625);return _0x456324['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-parameterized',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x5ae3f7=>!_0x5ae3f7)]},'children':[_0x3c4695]}),_0x456324;}['_createFormView'](_0x5875a2){const _0x365256=new _0x4f8fc4(),_0x3a8303=Array['isArray'](_0x5875a2['options'])?_0x5875a2['options']:[],_0xc917b0=new _0x4d8c2e(this['locale']),t=this['locale']['t'];_0xc917b0['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0xc917b0['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x516936=>{_0x516936['stopPropagation']();})}}),_0xc917b0['on']('execute',()=>{const _0x53944a=[],_0x5dfdab={};this['_formItemsCollection']['forEach'](_0x573c30=>{_0x53944a['push'](_0x573c30['value']),_0x5875a2['useArgs']&&_0x5875a2['options']&&(_0x5dfdab[_0x573c30['argsKey']]=_0x573c30['value']);}),this['fire']('runReviewCheck',{'id':_0x5875a2['id'],'params':_0x53944a['length']?_0x53944a:void 0x0,'args':Object['keys'](_0x5dfdab)['length']?_0x5dfdab:void 0x0});});const _0x26c467=_0x3a8303['length'];return _0x3a8303['forEach']((_0x4e0f0f,_0x571e11)=>{const _0x1b9d76=_0x571e11===_0x26c467-0x1;this['_formItemsCollection']['add'](new _0x49b1f8(this['locale'],_0x4e0f0f,_0x1b9d76?_0xc917b0:null));}),_0x365256['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-parameterized-form']},'children':this['_formItemsCollection']}),_0x365256;}['_createCustomView'](_0x1afec5){return this['_customCheckView']=new _0x48ba99(this['locale'],_0x1afec5),this['_customCheckView']['extendTemplate']({'attributes':{'class':['ck-ai-review-mode__check-list-item-parameterized','ck-ai-review-mode__check-list-item-parameterized_custom',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x5aeba0=>!_0x5aeba0)]}}),this['_customCheckView']['delegate']('runReviewCheck')['to'](this),this['_customCheckView'];}}
|
|
@@ -10,6 +10,10 @@ import { ListItemView, View } from 'ckeditor5/src/ui.js';
|
|
|
10
10
|
import '../../../theme/aireviewmode/aireviewmode-review-completed.css';
|
|
11
11
|
export declare class AIReviewModeReviewCompletedView extends ListItemView {
|
|
12
12
|
resultsHeader: View;
|
|
13
|
+
/**
|
|
14
|
+
* @observable
|
|
15
|
+
*/
|
|
16
|
+
viewType: 'completed' | 'unmodified';
|
|
13
17
|
constructor(locale: Locale);
|
|
14
18
|
}
|
|
15
19
|
export type AIReviewModeFinishReviewEvent = {
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3b46d1=_0x1a4e;(function(_0x381994,_0xf3d8d9){const _0x4687a0=_0x1a4e,_0x1a0350=_0x381994();while(!![]){try{const _0x3151a7=-parseInt(_0x4687a0(0xcf))/0x1*(parseInt(_0x4687a0(0xbf))/0x2)+parseInt(_0x4687a0(0xcd))/0x3+-parseInt(_0x4687a0(0xd0))/0x4+parseInt(_0x4687a0(0xbe))/0x5*(parseInt(_0x4687a0(0xd3))/0x6)+-parseInt(_0x4687a0(0xca))/0x7+parseInt(_0x4687a0(0xc9))/0x8*(-parseInt(_0x4687a0(0xd6))/0x9)+parseInt(_0x4687a0(0xd5))/0xa*(parseInt(_0x4687a0(0xb9))/0xb);if(_0x3151a7===_0xf3d8d9)break;else _0x1a0350['push'](_0x1a0350['shift']());}catch(_0x26671b){_0x1a0350['push'](_0x1a0350['shift']());}}}(_0x1c10,0x97721));import{ListItemView as _0x1d2eb2,View as _0x35e079,ButtonView as _0x30367f}from'ckeditor5/src/ui.js';function _0x1a4e(_0x43258d,_0x46fce3){const _0x1c100d=_0x1c10();return _0x1a4e=function(_0x1a4ec3,_0x1060f2){_0x1a4ec3=_0x1a4ec3-0xb1;let _0xd4538c=_0x1c100d[_0x1a4ec3];return _0xd4538c;},_0x1a4e(_0x43258d,_0x46fce3);}import{getTranslation as _0x3f76ac}from'../../aicore/utils/common-translations.js';import'../../../theme/aireviewmode/aireviewmode-review-completed.css';function _0x1c10(){const _0xaa92b3=['ck-ai-review-mode__review-completed-header','_createResultHeaderView','9955kPUCel','AI_REVIEW_MODE_COMPLETED_TEXT','ck-hidden','set','execute','1255xcyYNU','3694ZNDFKH','bindTemplate','ck-ai-review-mode__review-completed-content-text','locale','AI_REVIEW_MODE_EMPTY_RESULTS_TEXT','resultsHeader','span','ck-ai-review-mode__review-completed-header-buttons','ck-ai-review-mode__review-completed-content-icon','ck-ai-review-mode__review-completed','11512irkYfl','4789176bnIvOI','ck-ai-review-mode__review-completed-content','ck-ai-button-primary','3159351CGUrJM','isVisible','187zeitHK','1926156wGIZEs','ck-ai-review-mode__review-completed-header-title','viewType','28902uHJbOR','_finishReviewButtonView','5440UsgaMa','3897WaKTyN','_createFinishReviewButtonView','div','setTemplate','completed','AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL','finishReview','AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE','fire'];_0x1c10=function(){return _0xaa92b3;};return _0x1c10();}export class AIReviewModeReviewCompletedView extends _0x1d2eb2{[_0x3b46d1(0xc4)];[_0x3b46d1(0xd4)];constructor(_0x407c18){const _0x30839e=_0x3b46d1;super(_0x407c18),this[_0x30839e(0xd4)]=this[_0x30839e(0xd7)](),this[_0x30839e(0xc4)]=this[_0x30839e(0xb8)](),this[_0x30839e(0xbc)](_0x30839e(0xd2),_0x30839e(0xb2));const _0x499e34=this[_0x30839e(0xc0)];this[_0x30839e(0xb1)]({'tag':_0x30839e(0xd8),'attributes':{'class':[_0x30839e(0xc8),_0x499e34['if'](_0x30839e(0xce),_0x30839e(0xbb),_0x47cde1=>!_0x47cde1)]},'children':[this[_0x30839e(0xc4)],{'tag':_0x30839e(0xd8),'attributes':{'class':[_0x30839e(0xcb)]},'children':[{'tag':_0x30839e(0xc5),'attributes':{'class':[_0x30839e(0xc7)]},'children':[{'text':'🎉'}]},{'tag':'p','attributes':{'class':[_0x30839e(0xc1)]},'children':[{'text':_0x499e34['to'](_0x30839e(0xd2),_0x3e09c7=>_0x3f76ac(_0x407c18,_0x30839e(0xb2)===_0x3e09c7?_0x30839e(0xba):_0x30839e(0xc3)))}]}]}]});}[_0x3b46d1(0xd7)](){const _0x20b5fc=_0x3b46d1,_0x270228=new _0x30367f(this[_0x20b5fc(0xc2)]);return _0x270228[_0x20b5fc(0xbc)]({'label':_0x3f76ac(this[_0x20b5fc(0xc2)],_0x20b5fc(0xb3)),'withText':!0x0,'class':_0x20b5fc(0xcc)}),_0x270228['on'](_0x20b5fc(0xbd),()=>{const _0x2794ed=_0x20b5fc;this[_0x2794ed(0xb6)](_0x2794ed(0xb4));}),_0x270228;}[_0x3b46d1(0xb8)](){const _0x101444=_0x3b46d1,_0x570d62=new _0x35e079(this[_0x101444(0xc2)]);return _0x570d62[_0x101444(0xb1)]({'tag':_0x101444(0xd8),'attributes':{'class':[_0x101444(0xb7)]},'children':[{'tag':_0x101444(0xc5),'attributes':{'class':[_0x101444(0xd1)]},'children':[{'text':_0x3f76ac(this[_0x101444(0xc2)],_0x101444(0xb5))}]},{'tag':_0x101444(0xd8),'attributes':{'class':[_0x101444(0xc6)]},'children':[this[_0x101444(0xd4)]]}]}),_0x570d62;}}
|
|
@@ -36,6 +36,7 @@ export declare class AIReviewModeView extends View {
|
|
|
36
36
|
}): void;
|
|
37
37
|
showReviewCompletedView(): void;
|
|
38
38
|
showActionsWhenResultIsReady(): void;
|
|
39
|
+
showNoChangesView(): void;
|
|
39
40
|
hideActionsWhenResultIsReady(): void;
|
|
40
41
|
showGeneralErrorView(): void;
|
|
41
42
|
showChunkErrorView(): void;
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x58a3f6=_0x57d6;(function(_0x2d2424,_0x596f24){var _0x4d46fe=_0x57d6,_0x48af0c=_0x2d2424();while(!![]){try{var _0x5a1b1d=-parseInt(_0x4d46fe(0x1b0))/0x1+-parseInt(_0x4d46fe(0x1be))/0x2+-parseInt(_0x4d46fe(0x19b))/0x3*(parseInt(_0x4d46fe(0x1af))/0x4)+parseInt(_0x4d46fe(0x1b9))/0x5+parseInt(_0x4d46fe(0x1b8))/0x6*(-parseInt(_0x4d46fe(0x1a7))/0x7)+parseInt(_0x4d46fe(0x19d))/0x8+parseInt(_0x4d46fe(0x1b2))/0x9;if(_0x5a1b1d===_0x596f24)break;else _0x48af0c['push'](_0x48af0c['shift']());}catch(_0x31768e){_0x48af0c['push'](_0x48af0c['shift']());}}}(_0x31f4,0x19231));import{View as _0x40f81d,FormHeaderView as _0x4f0d6a}from'ckeditor5/src/ui.js';import{IconAIReview as _0x56c17f}from'ckeditor5/src/icons.js';import{AIReviewModeReviewCheckListView as _0x4ea541}from'./aireviewmodereviewchecklistview.js';function _0x31f4(){var _0x2a8f9f=['div','699769VpoxOf','reviewCheckResultsView','showReviewCheckListView','hideActionsWhenResultIsReady','reviewCompletedView','showReviewCompletedView','showChunkErrorView','isVisible','4IgpVbG','193506hlPcnC','resetErrorState','3740535lwwgFg','resetAllParameterizedChecks','ck-ai-header\x20ck-ai-header_review-mode','showActionsWhenResultIsReady','delegate','reviewModeHeader','12arCSOB','500415qBJSaq','showNoChangesView','ck-reset_all','viewType','finishReview','83370RLzChe','set','reviewCheckListView','showChunkErrorMessage','addCheckRunResult','completed','isLoading','showReviewCheckResultsView','ck-ai-review-mode','showGeneralErrorMessage','202326jdflZi','isResultReady','718640KqAHWG','clearResults','setTemplate','ltr','AI_REVIEW_MODE','showGeneralErrorView','ck-rounded-corners','unmodified','addResult'];_0x31f4=function(){return _0x2a8f9f;};return _0x31f4();}function _0x57d6(_0x3fd69f,_0xef48f4){var _0x31f4b9=_0x31f4();return _0x57d6=function(_0x57d6e9,_0x1318c5){_0x57d6e9=_0x57d6e9-0x195;var _0x167b1a=_0x31f4b9[_0x57d6e9];return _0x167b1a;},_0x57d6(_0x3fd69f,_0xef48f4);}import{AI_REVIEW_MODE_UI_EVENT_NAMES as _0x304e67}from'../aireviewmodeui.js';import{AIReviewModeReviewCheckResultsView as _0x1debbf}from'./aireviewmodereviewcheckresultsview.js';import{AIReviewModeReviewCompletedView as _0x4b087a}from'./aireviewmodereviewcompletedview.js';import{getTranslation as _0x7ad71b}from'../../aicore/utils/common-translations.js';export class AIReviewModeView extends _0x40f81d{[_0x58a3f6(0x1b7)];[_0x58a3f6(0x1c0)];[_0x58a3f6(0x1a8)];[_0x58a3f6(0x1ab)];constructor(_0x44e968){var _0x4db4ee=_0x58a3f6;super(_0x44e968),this[_0x4db4ee(0x1b7)]=new _0x4f0d6a(_0x44e968,{'label':_0x7ad71b(_0x44e968,_0x4db4ee(0x1a1)),'icon':_0x56c17f,'class':_0x4db4ee(0x1b4)}),this[_0x4db4ee(0x1c0)]=new _0x4ea541(_0x44e968),this[_0x4db4ee(0x1c0)][_0x4db4ee(0x1b6)](..._0x304e67)['to'](this),this[_0x4db4ee(0x1a8)]=new _0x1debbf(_0x44e968),this[_0x4db4ee(0x1a8)][_0x4db4ee(0x1b6)](..._0x304e67)['to'](this),this[_0x4db4ee(0x1ab)]=new _0x4b087a(_0x44e968),this[_0x4db4ee(0x1ab)][_0x4db4ee(0x1b6)](_0x4db4ee(0x1bd))['to'](this),this[_0x4db4ee(0x1c0)][_0x4db4ee(0x1bf)](_0x4db4ee(0x1ae),!0x1),this[_0x4db4ee(0x1a8)][_0x4db4ee(0x1bf)](_0x4db4ee(0x1ae),!0x1),this[_0x4db4ee(0x1a8)][_0x4db4ee(0x1bf)](_0x4db4ee(0x197),!0x1),this[_0x4db4ee(0x1a8)][_0x4db4ee(0x1bf)](_0x4db4ee(0x19c),!0x1),this[_0x4db4ee(0x1ab)][_0x4db4ee(0x1bf)](_0x4db4ee(0x1ae),!0x1),this[_0x4db4ee(0x19f)]({'tag':_0x4db4ee(0x1a6),'attributes':{'class':['ck',_0x4db4ee(0x1bb),_0x4db4ee(0x199),_0x4db4ee(0x1a3)],'dir':_0x4db4ee(0x1a0)},'children':[this[_0x4db4ee(0x1b7)],this[_0x4db4ee(0x1c0)],this[_0x4db4ee(0x1a8)],this[_0x4db4ee(0x1ab)]]});}[_0x58a3f6(0x1a9)](){var _0x3f62be=_0x58a3f6;this[_0x3f62be(0x1c0)][_0x3f62be(0x1b3)](),this[_0x3f62be(0x1c0)][_0x3f62be(0x1bf)](_0x3f62be(0x1ae),!0x0),this[_0x3f62be(0x1a8)][_0x3f62be(0x1bf)](_0x3f62be(0x1ae),!0x1),this[_0x3f62be(0x1ab)][_0x3f62be(0x1bf)](_0x3f62be(0x1ae),!0x1);}[_0x58a3f6(0x198)](){var _0x1f884a=_0x58a3f6;this[_0x1f884a(0x1aa)](),this[_0x1f884a(0x1a8)][_0x1f884a(0x1b1)](),this[_0x1f884a(0x1c0)][_0x1f884a(0x1bf)](_0x1f884a(0x1ae),!0x1),this[_0x1f884a(0x1a8)][_0x1f884a(0x1bf)](_0x1f884a(0x1ae),!0x0),this[_0x1f884a(0x1a8)][_0x1f884a(0x19e)](),this[_0x1f884a(0x1a8)][_0x1f884a(0x1bf)](_0x1f884a(0x197),!0x0);}[_0x58a3f6(0x195)](_0x2c823e){var _0x29c01f=_0x58a3f6;this[_0x29c01f(0x1a8)][_0x29c01f(0x1a5)](_0x2c823e),this[_0x29c01f(0x1a8)][_0x29c01f(0x1bf)](_0x29c01f(0x197),!0x1);}[_0x58a3f6(0x1ac)](){var _0x59d1b6=_0x58a3f6;this[_0x59d1b6(0x1c0)][_0x59d1b6(0x1bf)](_0x59d1b6(0x1ae),!0x1),this[_0x59d1b6(0x1a8)][_0x59d1b6(0x1bf)](_0x59d1b6(0x1ae),!0x1),this[_0x59d1b6(0x1ab)][_0x59d1b6(0x1bf)](_0x59d1b6(0x1bc),_0x59d1b6(0x196)),this[_0x59d1b6(0x1ab)][_0x59d1b6(0x1bf)](_0x59d1b6(0x1ae),!0x0);}[_0x58a3f6(0x1b5)](){var _0x4647dc=_0x58a3f6;this[_0x4647dc(0x1a8)][_0x4647dc(0x19c)]=!0x0;}[_0x58a3f6(0x1ba)](){var _0x426820=_0x58a3f6;this[_0x426820(0x1c0)][_0x426820(0x1bf)](_0x426820(0x1ae),!0x1),this[_0x426820(0x1a8)][_0x426820(0x1bf)](_0x426820(0x1ae),!0x1),this[_0x426820(0x1ab)][_0x426820(0x1bf)](_0x426820(0x1bc),_0x426820(0x1a4)),this[_0x426820(0x1ab)][_0x426820(0x1bf)](_0x426820(0x1ae),!0x0);}[_0x58a3f6(0x1aa)](){var _0x25807d=_0x58a3f6;this[_0x25807d(0x1a8)][_0x25807d(0x19c)]=!0x1;}[_0x58a3f6(0x1a2)](){var _0x3ebe56=_0x58a3f6;this[_0x3ebe56(0x1a8)][_0x3ebe56(0x1bf)](_0x3ebe56(0x197),!0x1),this[_0x3ebe56(0x1b5)](),this[_0x3ebe56(0x1a8)][_0x3ebe56(0x19a)]();}[_0x58a3f6(0x1ad)](){var _0x454d8e=_0x58a3f6;this[_0x454d8e(0x1a8)][_0x454d8e(0x1bf)](_0x454d8e(0x197),!0x1),this[_0x454d8e(0x1b5)](),this[_0x454d8e(0x1a8)][_0x454d8e(0x1c1)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x392fb7=_0x1a5e;(function(_0x705f3a,_0x86b10a){const _0x2bba9d=_0x1a5e,_0x43168a=_0x705f3a();while(!![]){try{const _0xc9d86c=parseInt(_0x2bba9d(0x1cc))/0x1+-parseInt(_0x2bba9d(0x1d6))/0x2*(-parseInt(_0x2bba9d(0x1e1))/0x3)+parseInt(_0x2bba9d(0x1d9))/0x4*(-parseInt(_0x2bba9d(0x1de))/0x5)+-parseInt(_0x2bba9d(0x1e4))/0x6+-parseInt(_0x2bba9d(0x1dd))/0x7+-parseInt(_0x2bba9d(0x1ce))/0x8+-parseInt(_0x2bba9d(0x1d2))/0x9*(-parseInt(_0x2bba9d(0x1cf))/0xa);if(_0xc9d86c===_0x86b10a)break;else _0x43168a['push'](_0x43168a['shift']());}catch(_0x3bdb6c){_0x43168a['push'](_0x43168a['shift']());}}}(_0x54e2,0xb7ec3));import{FormRowView as _0x4274a6,ListItemView as _0x5a4a13}from'ckeditor5/src/ui.js';function _0x1a5e(_0xf09a4c,_0x465cdd){const _0x54e266=_0x54e2();return _0x1a5e=function(_0x1a5e50,_0x5680f5){_0x1a5e50=_0x1a5e50-0x1ca;let _0x1b9452=_0x54e266[_0x1a5e50];return _0x1b9452;},_0x1a5e(_0xf09a4c,_0x465cdd);}import{AIReviewModeFormDropdownView as _0x151744}from'./aireviewmodeformdropdown.js';function _0x54e2(){const _0x2e24a7=['3789168WhZAdi','12944380kYZoQH','formValue','ck-form__row_with-submit','9mvSjix','locale','_formItem','div','6JVCrsU','add','ck-ai-review-mode__form-item','15772siCuuQ','ck-reset_all','resetToDefault','formType','211015KHgklx','1535yZCCNE','set','value','1452576oXEESW','setTemplate','bind','4515888SqHzYa','children','dropdown','473273QAlieK','argsKey'];_0x54e2=function(){return _0x2e24a7;};return _0x54e2();}export class AIReviewModeFormManagerView extends _0x5a4a13{[_0x392fb7(0x1d4)]=null;constructor(_0x535f0e,_0x5baa75,_0x3f8a9e){const _0xcfeece=_0x392fb7;super(_0x535f0e),this[_0xcfeece(0x1cd)]=_0x5baa75?.[_0xcfeece(0x1cd)];if(_0xcfeece(0x1cb)===_0x5baa75[_0xcfeece(0x1dc)])this[_0xcfeece(0x1d4)]=new _0x151744(this[_0xcfeece(0x1d3)],_0x5baa75);this[_0xcfeece(0x1df)](_0xcfeece(0x1e0),''),this[_0xcfeece(0x1e3)](_0xcfeece(0x1e0))['to'](this[_0xcfeece(0x1d4)],_0xcfeece(0x1d0));const _0x247332=new _0x4274a6(this[_0xcfeece(0x1d3)],{'children':[this[_0xcfeece(0x1d4)]],'class':[_0x3f8a9e?_0xcfeece(0x1d1):'']});_0x3f8a9e&&_0x247332[_0xcfeece(0x1ca)][_0xcfeece(0x1d7)](_0x3f8a9e),this[_0xcfeece(0x1e2)]({'tag':_0xcfeece(0x1d5),'attributes':{'class':['ck',_0xcfeece(0x1d8),_0xcfeece(0x1da)]},'children':[_0x247332]});}[_0x392fb7(0x1db)](){const _0x4f6dca=_0x392fb7;this[_0x4f6dca(0x1d4)][_0x4f6dca(0x1db)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2d32ec=_0x2dab;(function(_0x412099,_0x553060){const _0x143e53=_0x2dab,_0xdf42e7=_0x412099();while(!![]){try{const _0x2ef82e=-parseInt(_0x143e53(0x1f5))/0x1*(-parseInt(_0x143e53(0x1d8))/0x2)+-parseInt(_0x143e53(0x1f2))/0x3+parseInt(_0x143e53(0x1fb))/0x4+parseInt(_0x143e53(0x1e5))/0x5*(parseInt(_0x143e53(0x1fa))/0x6)+parseInt(_0x143e53(0x1f9))/0x7+-parseInt(_0x143e53(0x1e6))/0x8*(-parseInt(_0x143e53(0x1ee))/0x9)+parseInt(_0x143e53(0x1e2))/0xa*(-parseInt(_0x143e53(0x1f7))/0xb);if(_0x2ef82e===_0x553060)break;else _0xdf42e7['push'](_0xdf42e7['shift']());}catch(_0x304aa4){_0xdf42e7['push'](_0xdf42e7['shift']());}}}(_0x172a,0x8c07d));function _0x2dab(_0x363630,_0x117f11){const _0x172a65=_0x172a();return _0x2dab=function(_0x2daba6,_0xc4f6fb){_0x2daba6=_0x2daba6-0x1d5;let _0x4eb5bb=_0x172a65[_0x2daba6];return _0x4eb5bb;},_0x2dab(_0x363630,_0x117f11);}import{Collection as _0x1836d0}from'ckeditor5/src/utils.js';import{View as _0x918392,createDropdown as _0x3f9617,addListToDropdown as _0x1dbab3,UIModel as _0x51a183}from'ckeditor5/src/ui.js';export class AIReviewModeFormDropdownView extends _0x918392{[_0x2d32ec(0x1f6)];[_0x2d32ec(0x1e9)];[_0x2d32ec(0x1e1)];constructor(_0x39b1ef,_0x49fa0d){const _0x4d37fe=_0x2d32ec;super(_0x39b1ef),this[_0x4d37fe(0x1e9)]=_0x49fa0d[_0x4d37fe(0x1e8)]||(_0x49fa0d[_0x4d37fe(0x1eb)][_0x4d37fe(0x1e7)]>0x0?_0x49fa0d[_0x4d37fe(0x1eb)][0x0]['id']:''),this[_0x4d37fe(0x1e1)]=_0x49fa0d[_0x4d37fe(0x1eb)][_0x4d37fe(0x1de)](_0x19464d=>_0x19464d['id']===this[_0x4d37fe(0x1e9)])?.[_0x4d37fe(0x1f3)]||'',this[_0x4d37fe(0x1e0)](_0x4d37fe(0x1ed),''),this[_0x4d37fe(0x1f6)]=_0x3f9617(this[_0x4d37fe(0x1ff)]);const _0x44a85c=this[_0x4d37fe(0x1df)](_0x49fa0d[_0x4d37fe(0x1eb)]);_0x1dbab3(this[_0x4d37fe(0x1f6)],_0x44a85c,{'role':_0x4d37fe(0x1d6),'ariaLabel':_0x49fa0d[_0x4d37fe(0x1f3)]}),this[_0x4d37fe(0x1f6)][_0x4d37fe(0x1d9)][_0x4d37fe(0x1e0)]({'label':this[_0x4d37fe(0x1e1)],'withText':!0x0}),this[_0x4d37fe(0x1f6)][_0x4d37fe(0x1da)]({'on':{'click':this[_0x4d37fe(0x1e3)]['to'](_0x4585ff=>{const _0x4c773a=_0x4d37fe;_0x4585ff[_0x4c773a(0x1dd)]();})}}),this[_0x4d37fe(0x1fe)](this[_0x4d37fe(0x1f6)],_0x4d37fe(0x1fd),_0x438db8=>{const _0x37b0da=_0x4d37fe;this[_0x37b0da(0x1ed)]=_0x438db8[_0x37b0da(0x1d7)][_0x37b0da(0x1db)]['id'],this[_0x37b0da(0x1f6)][_0x37b0da(0x1d9)][_0x37b0da(0x1f3)]=_0x438db8[_0x37b0da(0x1d7)][_0x37b0da(0x1db)][_0x37b0da(0x1f3)];}),this[_0x4d37fe(0x1ec)]({'tag':_0x4d37fe(0x1e4),'attributes':{'class':['ck',_0x4d37fe(0x1fc),_0x4d37fe(0x1f4),_0x4d37fe(0x1ef)]},'children':[this[_0x4d37fe(0x1f6)]]});}[_0x2d32ec(0x1d5)](){const _0x2215ef=_0x2d32ec;this[_0x2215ef(0x1ed)]=this[_0x2215ef(0x1e9)],this[_0x2215ef(0x1f6)][_0x2215ef(0x1d9)][_0x2215ef(0x1f3)]=this[_0x2215ef(0x1e1)];}[_0x2d32ec(0x1df)](_0x404700=[]){const _0x4a023a=_0x2d32ec,_0x308d65=new _0x1836d0();this[_0x4a023a(0x1d5)]();for(const _0x16fdef of _0x404700){const _0x8406e4=new _0x51a183({'label':_0x16fdef[_0x4a023a(0x1f3)],'withText':!0x0,'role':_0x4a023a(0x1dc),'id':_0x16fdef['id'],'model':_0x16fdef});_0x8406e4[_0x4a023a(0x1ea)](_0x4a023a(0x1f1))['to'](this,_0x4a023a(0x1ed),_0x72a188=>_0x72a188===_0x8406e4['id']);const _0x39d026={'type':_0x4a023a(0x1f0),'model':_0x8406e4};_0x308d65[_0x4a023a(0x1f8)](_0x39d026);}return _0x308d65;}}function _0x172a(){const _0x35dd58=['3025602RxzwTV','ck-ai-review-mode__check-list-item-parameterized-form-element_dropdown','button','isOn','3145470HIDfMD','label','ck-ai-review-mode__check-list-item-parameterized-form-element','13CTUglT','_dropdownView','66ygmGje','add','4187036cAJwyW','753114njtiSr','1314828ZXnFMx','ck-reset_all','execute','listenTo','locale','resetToDefault','menu','source','102590LUbUnW','buttonView','extendTemplate','model','menuitemradio','stopPropagation','find','_prepareListOptions','set','_defaultLabel','2261210YTiVuI','bindTemplate','div','15UNuoXJ','24Rmygrc','length','default','_defaultValue','bind','data','setTemplate','formValue'];_0x172a=function(){return _0x35dd58;};return _0x172a();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x392fb7=_0x1a5e;(function(_0x705f3a,_0x86b10a){const _0x2bba9d=_0x1a5e,_0x43168a=_0x705f3a();while(!![]){try{const _0xc9d86c=parseInt(_0x2bba9d(0x1cc))/0x1+-parseInt(_0x2bba9d(0x1d6))/0x2*(-parseInt(_0x2bba9d(0x1e1))/0x3)+parseInt(_0x2bba9d(0x1d9))/0x4*(-parseInt(_0x2bba9d(0x1de))/0x5)+-parseInt(_0x2bba9d(0x1e4))/0x6+-parseInt(_0x2bba9d(0x1dd))/0x7+-parseInt(_0x2bba9d(0x1ce))/0x8+-parseInt(_0x2bba9d(0x1d2))/0x9*(-parseInt(_0x2bba9d(0x1cf))/0xa);if(_0xc9d86c===_0x86b10a)break;else _0x43168a['push'](_0x43168a['shift']());}catch(_0x3bdb6c){_0x43168a['push'](_0x43168a['shift']());}}}(_0x54e2,0xb7ec3));import{FormRowView as _0x4274a6,ListItemView as _0x5a4a13}from'ckeditor5/src/ui.js';function _0x1a5e(_0xf09a4c,_0x465cdd){const _0x54e266=_0x54e2();return _0x1a5e=function(_0x1a5e50,_0x5680f5){_0x1a5e50=_0x1a5e50-0x1ca;let _0x1b9452=_0x54e266[_0x1a5e50];return _0x1b9452;},_0x1a5e(_0xf09a4c,_0x465cdd);}import{AIReviewModeFormDropdownView as _0x151744}from'./aireviewmodeformdropdown.js';function _0x54e2(){const _0x2e24a7=['3789168WhZAdi','12944380kYZoQH','formValue','ck-form__row_with-submit','9mvSjix','locale','_formItem','div','6JVCrsU','add','ck-ai-review-mode__form-item','15772siCuuQ','ck-reset_all','resetToDefault','formType','211015KHgklx','1535yZCCNE','set','value','1452576oXEESW','setTemplate','bind','4515888SqHzYa','children','dropdown','473273QAlieK','argsKey'];_0x54e2=function(){return _0x2e24a7;};return _0x54e2();}export class AIReviewModeFormManagerView extends _0x5a4a13{[_0x392fb7(0x1d4)]=null;constructor(_0x535f0e,_0x5baa75,_0x3f8a9e){const _0xcfeece=_0x392fb7;super(_0x535f0e),this[_0xcfeece(0x1cd)]=_0x5baa75?.[_0xcfeece(0x1cd)];if(_0xcfeece(0x1cb)===_0x5baa75[_0xcfeece(0x1dc)])this[_0xcfeece(0x1d4)]=new _0x151744(this[_0xcfeece(0x1d3)],_0x5baa75);this[_0xcfeece(0x1df)](_0xcfeece(0x1e0),''),this[_0xcfeece(0x1e3)](_0xcfeece(0x1e0))['to'](this[_0xcfeece(0x1d4)],_0xcfeece(0x1d0));const _0x247332=new _0x4274a6(this[_0xcfeece(0x1d3)],{'children':[this[_0xcfeece(0x1d4)]],'class':[_0x3f8a9e?_0xcfeece(0x1d1):'']});_0x3f8a9e&&_0x247332[_0xcfeece(0x1ca)][_0xcfeece(0x1d7)](_0x3f8a9e),this[_0xcfeece(0x1e2)]({'tag':_0xcfeece(0x1d5),'attributes':{'class':['ck',_0xcfeece(0x1d8),_0xcfeece(0x1da)]},'children':[_0x247332]});}[_0x392fb7(0x1db)](){const _0x4f6dca=_0x392fb7;this[_0x4f6dca(0x1d4)][_0x4f6dca(0x1db)]();}}
|
package/src/aitabs/aitabs.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2499fe=_0x3b19;(function(_0x585092,_0x5040d4){const _0xf8ae17=_0x3b19,_0x3dfb5c=_0x585092();while(!![]){try{const _0x4c4d54=parseInt(_0xf8ae17(0x9a))/0x1*(-parseInt(_0xf8ae17(0xbf))/0x2)+parseInt(_0xf8ae17(0xc0))/0x3+parseInt(_0xf8ae17(0xa4))/0x4+parseInt(_0xf8ae17(0xc1))/0x5+parseInt(_0xf8ae17(0xb7))/0x6*(parseInt(_0xf8ae17(0xb1))/0x7)+parseInt(_0xf8ae17(0xb9))/0x8+parseInt(_0xf8ae17(0xac))/0x9*(-parseInt(_0xf8ae17(0xbb))/0xa);if(_0x4c4d54===_0x5040d4)break;else _0x3dfb5c['push'](_0x3dfb5c['shift']());}catch(_0x2aa699){_0x3dfb5c['push'](_0x3dfb5c['shift']());}}}(_0x343d,0xdc8c2));import{ContextPlugin as _0x1b45f4,Editor as _0x20080b}from'ckeditor5/src/core.js';import{CKEditorError as _0x2cc204}from'ckeditor5/src/utils.js';function _0x3b19(_0x1e6e3b,_0x37708b){const _0x343d59=_0x343d();return _0x3b19=function(_0x3b1965,_0x42884b){_0x3b1965=_0x3b1965-0x95;let _0x308bdc=_0x343d59[_0x3b1965];return _0x308bdc;},_0x3b19(_0x1e6e3b,_0x37708b);}import{AITabsMainView as _0x2133f8,AI_TABS_VIEW_SIDES as _0x2d3a8c,AI_TABS_VIEW_TYPES as _0x1931ec}from'./aitabsmainview.js';function _0x343d(){const _0x3d5824=['locale','overlay','857712atgTiJ','resize','sidebar','config','container','element','switchSide','ai-tabs-sidebar-container-element-not-found','2855403sKLAWw','right','isMaximized','remove','pluginName','674079NsRmKD','ai-tabs-unsupported-ui-side','switchType','get','isPremiumPlugin','bind','72xrHZjh','ai-tabs-unsupported-ui-type','9260008ZKxByV','ai-tabs-configuration-not-found','130PSnkjz','destroy','AITabs','focusTracker','601648hytcGN','4033122ZuRzhG','8788070umznHW','showResizeButton','add','fire','context','set','body','render','view','includes','2bbsrHY','type','side','ai.container','isOfficialPlugin','resizedTabs','custom','appendChild'];_0x343d=function(){return _0x3d5824;};return _0x343d();}export class AITabs extends _0x1b45f4{[_0x2499fe(0x98)];[_0x2499fe(0xa8)]=null;[_0x2499fe(0xc2)]=!0x0;static get[_0x2499fe(0xb0)](){const _0x4911cf=_0x2499fe;return _0x4911cf(0xbd);}static get[_0x2499fe(0x9e)](){return!0x0;}static get[_0x2499fe(0xb5)](){return!0x0;}constructor(_0xd8654c){const _0x55faa0=_0x2499fe;super(_0xd8654c);const _0x25edf3=this[_0x55faa0(0xc5)][_0x55faa0(0xa7)][_0x55faa0(0xb4)](_0x55faa0(0x9d));if(this[_0x55faa0(0x95)](_0x55faa0(0x9c),_0x55faa0(0xad)),!_0x25edf3)throw new _0x2cc204(_0x55faa0(0xba));if(void 0x0!==_0x25edf3[_0x55faa0(0xc2)]&&(this[_0x55faa0(0xc2)]=_0x25edf3[_0x55faa0(0xc2)]),_0x55faa0(0xa6)!==_0x25edf3[_0x55faa0(0x9b)]&&_0x55faa0(0xa3)!==_0x25edf3[_0x55faa0(0x9b)]||_0x25edf3[_0x55faa0(0x9c)]&&(this[_0x55faa0(0x9c)]=_0x25edf3[_0x55faa0(0x9c)]),_0x55faa0(0xa6)===_0x25edf3[_0x55faa0(0x9b)]){if(this[_0x55faa0(0xa8)]=_0x25edf3[_0x55faa0(0xa9)],this[_0x55faa0(0x95)](_0x55faa0(0x9b),_0x55faa0(0xa6)),!this[_0x55faa0(0xa8)])throw new _0x2cc204(_0x55faa0(0xab));}else _0x55faa0(0xa3)===_0x25edf3[_0x55faa0(0x9b)]?(this[_0x55faa0(0xa8)]=document[_0x55faa0(0x96)],this[_0x55faa0(0x95)](_0x55faa0(0x9b),_0x55faa0(0xa3))):(this[_0x55faa0(0xa8)]=null,this[_0x55faa0(0x95)](_0x55faa0(0x9b),_0x55faa0(0xa0)));this[_0x55faa0(0x98)]=new _0x2133f8(this[_0x55faa0(0xc5)][_0x55faa0(0xa2)],{'side':this[_0x55faa0(0x9c)],'type':this[_0x55faa0(0x9b)]}),this[_0x55faa0(0x98)][_0x55faa0(0x97)](),this[_0x55faa0(0x98)][_0x55faa0(0xb6)](_0x55faa0(0x9c))['to'](this,_0x55faa0(0x9c)),this[_0x55faa0(0x98)][_0x55faa0(0xb6)](_0x55faa0(0x9b))['to'](this,_0x55faa0(0x9b)),this[_0x55faa0(0xa8)]&&this[_0x55faa0(0xa8)][_0x55faa0(0xa1)](this[_0x55faa0(0x98)][_0x55faa0(0xa9)]),this[_0x55faa0(0xc5)]instanceof _0x20080b&&this[_0x55faa0(0xc5)]['ui'][_0x55faa0(0xbe)][_0x55faa0(0xc3)](this[_0x55faa0(0x98)][_0x55faa0(0xa9)]);}[_0x2499fe(0xb3)](_0x264b23){const _0x33d803=_0x2499fe;if(_0x264b23&&this[_0x33d803(0x9b)]!==_0x264b23){if(!_0x1931ec[_0x33d803(0x99)](_0x264b23))throw new _0x2cc204(_0x33d803(0xb8));this[_0x33d803(0x9b)]=_0x264b23;}}[_0x2499fe(0xaa)](_0x144d70){const _0x20f084=_0x2499fe;if(_0x144d70&&this[_0x20f084(0x9c)]!==_0x144d70){if(!_0x2d3a8c[_0x20f084(0x99)](_0x144d70))throw new _0x2cc204(_0x20f084(0xb2));this[_0x20f084(0x9c)]=_0x144d70;}}[_0x2499fe(0xa5)](){const _0x14118b=_0x2499fe;this[_0x14118b(0x98)][_0x14118b(0xae)]=!this[_0x14118b(0x98)][_0x14118b(0xae)],this[_0x14118b(0xc4)](_0x14118b(0x9f),this[_0x14118b(0x98)][_0x14118b(0xae)]);}[_0x2499fe(0xbc)](){const _0x52f8e8=_0x2499fe;super[_0x52f8e8(0xbc)](),this[_0x52f8e8(0x98)][_0x52f8e8(0xbc)](),this[_0x52f8e8(0x98)][_0x52f8e8(0xa9)]&&this[_0x52f8e8(0x98)][_0x52f8e8(0xa9)][_0x52f8e8(0xaf)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x147a(){const _0x3da94c=['10341JtvKxW','6Kqpfoo','ck-ai-tabs','4474113MOjjqi','80InlDxm','withText','custom','24WLfusg','178752aqvjrD','extendTemplate','add','643XMhjQQ','bindTemplate','ck-ai-tabs__overlay','left','71195nRKTim','sidebar','set','68848JAtSCf','2886530HPKgOW','overlay','type','buttonViews','ck-ai-tabs__sidebar','side','right'];_0x147a=function(){return _0x3da94c;};return _0x147a();}function _0x3113(_0x20f62e,_0x487e88){const _0x147a6f=_0x147a();return _0x3113=function(_0x311367,_0x11d8e1){_0x311367=_0x311367-0x1ae;let _0x47f76f=_0x147a6f[_0x311367];return _0x47f76f;},_0x3113(_0x20f62e,_0x487e88);}const _0x314361=_0x3113;(function(_0x1b0ba3,_0x569bed){const _0x18dbde=_0x3113,_0x32aa98=_0x1b0ba3();while(!![]){try{const _0x5383a5=-parseInt(_0x18dbde(0x1af))/0x1*(parseInt(_0x18dbde(0x1c2))/0x2)+parseInt(_0x18dbde(0x1c6))/0x3+parseInt(_0x18dbde(0x1b6))/0x4+parseInt(_0x18dbde(0x1b3))/0x5*(-parseInt(_0x18dbde(0x1bf))/0x6)+parseInt(_0x18dbde(0x1c1))/0x7+-parseInt(_0x18dbde(0x1c5))/0x8*(parseInt(_0x18dbde(0x1be))/0x9)+-parseInt(_0x18dbde(0x1b7))/0xa;if(_0x5383a5===_0x569bed)break;else _0x32aa98['push'](_0x32aa98['shift']());}catch(_0x17fab6){_0x32aa98['push'](_0x32aa98['shift']());}}}(_0x147a,0x5db98));import{AITabsView as _0x5034e0}from'./tabs/aitabsview.js';import'../../theme/aitabs/aitabsview.css';export const AI_TABS_VIEW_TYPES=[_0x314361(0x1b8),_0x314361(0x1b4),_0x314361(0x1c4)];export const AI_TABS_VIEW_SIDES=[_0x314361(0x1b2),_0x314361(0x1bd)];export class AITabsMainView extends _0x5034e0{constructor(_0x181616,_0x420648={}){const _0x12c878=_0x314361;super(_0x181616,_0x420648),this[_0x12c878(0x1b5)](_0x12c878(0x1b9),_0x420648[_0x12c878(0x1b9)]||_0x12c878(0x1b4)),this[_0x12c878(0x1b5)](_0x12c878(0x1bc),_0x420648[_0x12c878(0x1bc)]||_0x12c878(0x1bd));const _0x2d787d=this[_0x12c878(0x1b0)];this[_0x12c878(0x1c7)]({'attributes':{'class':[_0x12c878(0x1c0),_0x2d787d['if'](_0x12c878(0x1b9),_0x12c878(0x1b1),_0x4681d8=>_0x12c878(0x1b8)===_0x4681d8),_0x2d787d['if'](_0x12c878(0x1b9),_0x12c878(0x1bb),_0x1f56a7=>_0x12c878(0x1b4)===_0x1f56a7)]}}),this[_0x12c878(0x1ba)]['on'](_0x12c878(0x1ae),(_0x26eaaf,_0x3151e4)=>{const _0x30f755=_0x12c878;_0x3151e4[_0x30f755(0x1b5)](_0x30f755(0x1c3),!0x1);});}}
|