@ckeditor/ckeditor5-ai 47.2.0-alpha.0 → 47.2.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +5 -5
- 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/package.json +15 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
- package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.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/aichatcontextresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.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/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.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 +2 -2
- 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/aimodels.js +1 -1
- package/src/aicore/model/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/aidisclaimerview.js +1 -1
- package/src/aicore/ui/aiskeleton.js +1 -1
- package/src/aicore/ui/aispinner.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/utils/common-translations.js +1 -1
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/documentposition.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/eventnames.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aieditorintegration/aieditorintegration.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.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.js +1 -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.js +1 -1
- 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.js +1 -1
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
- package/src/aireviewmode/ui/form/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.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ListItemView as _0x3577c7,View as _0x39d6ad,ViewCollection as _0x3ff340,ButtonView as _0x3610af}from'ckeditor5/src/ui.js';import{IconStop as _0x47a5f5,IconEye as _0x4a9e12,IconEyeCrossedOut as _0x1511a9}from'ckeditor5/src/icons.js';import{AIReviewModeReviewCheckListItemResultsView as _0x1629d0}from'./aireviewmodechecklistitemresultview.js';import{AIReviewModeFinishReviewButtonView as _0x6fa3dd}from'./aireviewmodefinishreviewbuttonview.js';import{AISkeletonView as _0x23a195,SKELETON_DEFINITIONS as _0x18e257}from'../../aicore/ui/aiskeleton.js';import{AIDisclaimerView as _0x3ea72e}from'../../aicore/ui/aidisclaimerview.js';import{getTranslation as _0x359a0e}from'../../aicore/utils/common-translations.js';import{AISpinnerView as _0x50d7ea}from'../../aicore/ui/aispinner.js';import'../../../theme/aireviewmode/aireviewmode-check-run.css';import'../../../theme/aireviewmode/aireviewmode-check-run-result.css';export class AIReviewModeReviewCheckResultsView extends _0x3577c7{['_resultViews'];['resultsHeader'];['reviewDisclaimer'];['_cancelButtonView'];['_acceptAllButtonView'];['_exitReviewButtonView'];['_toggleDiffButtonView'];['_errorMessageView'];['_finishReviewButtonView'];constructor(_0x27dedf){super(_0x27dedf),this['_resultViews']=new _0x3ff340(),this['_cancelButtonView']=this['_createCancelButtonView'](),this['_acceptAllButtonView']=this['_createAcceptAllButtonView'](),this['_exitReviewButtonView']=this['_createExitReviewButtonView'](),this['_toggleDiffButtonView']=this['_createToggleDiffButtonView'](),this['_finishReviewButtonView']=this['_createFinishReviewButtonView'](),this['resultsHeader']=this['_createResultHeaderView'](),this['_errorMessageView']=this['_createErrorView'](),this['reviewDisclaimer']=new _0x3ea72e(_0x27dedf),this['set']('isLoading',!0x1),this['set']('isToggleDiffOn',!0x1),this['set']('isResultReady',!0x1),this['set']('headerTitle',''),this['set']('headerSubtitle',''),this['set']('isError',!0x1),this['set']('showErrorMessage',!0x1),this['set']('errorType','general'),this['set']('isCompleted',!0x1);const _0x5ee6b8=this['_createCombinedSkeletonLoader'](),_0x2719eb=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run',_0x2719eb['if']('isVisible','ck-hidden',_0x567d77=>!_0x567d77)]},'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',_0x51560c=>_0x51560c)]},'children':this['_resultViews']},_0x5ee6b8]},this['reviewDisclaimer']]});}['clearResults'](){this['_resultViews']['clear']();}['getResults'](){return this['_resultViews'];}['addResult'](_0x2deefd){const _0x5f1c9d=new _0x1629d0(this['locale'],_0x2deefd['id']);_0x5f1c9d['delegate']('acceptChange','dismissChange','activateChange')['to'](this),this['_resultViews']['add'](_0x5f1c9d),_0x5f1c9d['resultResponseView']['element']['innerHTML']=_0x2deefd['contentDiffed'];}['hideResult'](_0x11cadf,_0x1eea1e){if('pending'===_0x1eea1e)return;const _0xb6eca0=this['_resultViews']['find'](_0x9066f6=>_0x9066f6['id']===_0x11cadf);_0xb6eca0&&(_0xb6eca0['status']=_0x1eea1e,_0xb6eca0['element']?.['classList']['add']('ck-ai-review-mode__check-run-result_grayout'));}['showResult'](_0x1388b1,_0x5b2d9f){if('pending'!==_0x5b2d9f)return;const _0x57104=this['_resultViews']['find'](_0x37bb15=>_0x37bb15['id']===_0x1388b1);_0x57104&&(_0x57104['status']=_0x5b2d9f,_0x57104['element']?.['classList']['remove']('ck-ai-review-mode__check-run-result_grayout'));}['setTitle'](_0x5b9bc1,_0x3fb0b4){this['headerTitle']=_0x5b9bc1,this['headerSubtitle']=_0x3fb0b4||'';}['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 _0x23a195(this['locale'],_0x18e257['aiReviewChecks']);}['_createCombinedSkeletonLoader'](){const _0x137787=new _0x39d6ad(this['locale']),_0x193562=[];for(let _0x2ef2e1=0x0;_0x2ef2e1<0x10;_0x2ef2e1++){const _0x23b8b7=this['_createSkeletonLoader']();_0x23b8b7['extendTemplate']({'attributes':{'class':['ck-ai-review-mode__check-run-skeleton-item']}}),_0x193562['push'](_0x23b8b7);}return _0x137787['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-skeleton-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x15a2ed=>!_0x15a2ed)]},'children':_0x193562}),_0x137787;}['_createErrorView'](){const _0x4aafce=new _0x39d6ad(this['locale']),_0x10d877=new _0x3610af(this['locale']),t=this['locale']['t'];return _0x4aafce['delegate']('retryReview')['to'](this),_0x10d877['set']({'label':t('Try\x20again'),'withText':!0x0,'class':'ck-ai-button-secondary\x20ck-ai-review-mode__check-run-error-retry-button'}),_0x10d877['on']('execute',()=>{this['fire']('retryReview');}),_0x4aafce['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-error-container',this['bindTemplate']['if']('showErrorMessage','ck-hidden',_0x38b83d=>!_0x38b83d),this['bindTemplate']['if']('errorType','ck-ai-review-mode__check-run-error-container_border-bottom',_0x54763a=>'chunk'===_0x54763a)]},'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',_0xed3cb0=>'chunk'===_0xed3cb0)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-chat-error__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x1425a8=>'general'!==_0x1425a8)]},'children':[{'text':_0x359a0e(this['locale'],'AI_REVIEW_MODE_GENERAL_ERROR_MESSAGE')}]},{'tag':'p','attributes':{'class':['ck-ai-chat-error__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x491f47=>'chunk'!==_0x491f47)]},'children':[{'text':_0x359a0e(this['locale'],'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE')}]}]},_0x10d877]}),_0x4aafce;}['_createCancelButtonView'](){const _0x44d40f=new _0x3610af(this['locale']);return _0x44d40f['set']({'label':_0x359a0e(this['locale'],'AI_REVIEW_MODE_STOP_GENERATING'),'withText':!0x0,'class':['ck-ai-button-secondary\x20ck-ai-button-stop-generating'],'icon':_0x47a5f5}),_0x44d40f['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isResultReady','ck-hidden',_0x45b10e=>_0x45b10e),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x2158b8=>_0x2158b8)]}}),_0x44d40f['on']('execute',()=>{this['fire']('abortReviewStream');}),_0x44d40f;}['_createToggleDiffButtonView'](){const _0x57aba3=new _0x3610af(this['locale']);_0x57aba3['set']({'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox'}),_0x57aba3['bind']('isEnabled')['to'](this,'isError',_0x1c1a01=>!_0x1c1a01),_0x57aba3['extendTemplate']({'attributes':{'class':['ck-ai-button-secondary','ck-ai-review-mode__check-run-toggle-diff-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x484cf6=>!_0x484cf6),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x4c02ca=>_0x4c02ca)]}});const _0x1fd4d9=_0x359a0e(this['locale'],'AI_REVIEW_MODE_HIDE_CHANGES'),_0x46a2ae=_0x359a0e(this['locale'],'AI_REVIEW_MODE_SHOW_CHANGES');return _0x57aba3['bind']('isOn')['to'](this,'isToggleDiffOn',_0xe86e17=>_0xe86e17),_0x57aba3['bind']('icon')['to'](this,'isToggleDiffOn',_0x49ed3f=>_0x49ed3f?_0x4a9e12:_0x1511a9),_0x57aba3['bind']('label')['to'](this,'isToggleDiffOn',_0x230a6d=>_0x230a6d?_0x1fd4d9:_0x46a2ae),_0x57aba3['on']('execute',()=>{this['isToggleDiffOn']=!this['isToggleDiffOn'],this['fire']('toggleDiff',{'on':this['isToggleDiffOn']});}),_0x57aba3;}['_createAcceptAllButtonView'](){const _0x5bd9bd=new _0x3610af(this['locale']);return _0x5bd9bd['set']({'label':_0x359a0e(this['locale'],'AI_REVIEW_MODE_ACCEPT_ALL'),'withText':!0x0}),_0x5bd9bd['bind']('isEnabled')['to'](this,'isError',_0x553b98=>!_0x553b98),_0x5bd9bd['extendTemplate']({'attributes':{'class':['ck-ai-button-primary','ck-ai-review-mode__check-run-accept-all-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x5c9704=>!_0x5c9704),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x5c332f=>_0x5c332f)]}}),_0x5bd9bd['on']('execute',()=>{this['fire']('acceptAllChanges');}),_0x5bd9bd;}['_createExitReviewButtonView'](){const _0x227b48=new _0x3610af(this['locale']);return _0x227b48['set']({'label':_0x359a0e(this['locale'],'AI_REVIEW_MODE_EXIT_REVIEW'),'withText':!0x0}),_0x227b48['extendTemplate']({'attributes':{'class':['ck-ai-button-tertiary-filled','ck-ai-review-mode__check-run-exit-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0xbbe82a=>!_0xbbe82a),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x319d55=>_0x319d55)]}}),_0x227b48['on']('execute',()=>{this['fire']('leaveReviewModeResultList');}),_0x227b48;}['_createResultHeaderView'](){const _0x35b67c=new _0x39d6ad(this['locale']),_0xe9c26f=this['_createTitleView']();return _0x35b67c['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-header',this['bindTemplate']['if']('isCompleted','ck-ai-review-mode__review-completed-header',_0x26d04e=>_0x26d04e)]},'children':[_0xe9c26f,{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-header-buttons']},'children':[this['_cancelButtonView'],this['_acceptAllButtonView'],this['_exitReviewButtonView'],this['_toggleDiffButtonView'],this['_finishReviewButtonView']]}]}),_0x35b67c;}['_createTitleView'](){const _0x34432a=new _0x39d6ad(this['locale']),_0x560b16=new _0x50d7ea();return _0x560b16['bind']('isVisible')['to'](this,'isResultReady',_0xca4456=>!_0xca4456),_0x34432a['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-header-title-wrapper']},'children':[_0x560b16,{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-header-title-content',this['bindTemplate']['if']('isCompleted','ck-hidden',_0x4a3f11=>_0x4a3f11)]},'children':[{'tag':'span','attributes':{'class':['ck-ai-review-mode__check-run-results-header-title']},'children':[{'text':this['bindTemplate']['to']('headerTitle')}]},{'tag':'span','attributes':{'class':['ck-ai-review-mode__check-run-results-header-subtitle']},'children':[{'text':this['bindTemplate']['to']('headerSubtitle')}]}]},{'tag':'span','attributes':{'class':['ck-ai-review-mode__review-completed-header-title',this['bindTemplate']['if']('isCompleted','ck-hidden',_0x287f7a=>!_0x287f7a)]},'children':[{'text':_0x359a0e(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE')}]}]}),_0x34432a;}['_createFinishReviewButtonView'](){const _0x19f61e=new _0x6fa3dd(this['locale']);return _0x19f61e['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isCompleted','ck-hidden',_0x5ba21d=>!_0x5ba21d)]}}),_0x19f61e['delegate']('finishReview')['to'](this),_0x19f61e;}}
|
|
23
|
+
import{ListItemView as _0x1f096c,View as _0x5f499b,ViewCollection as _0xd71c8e,ButtonView as _0x449443}from'ckeditor5/src/ui.js';import{IconStop as _0x23f48f,IconEye as _0x438286,IconEyeCrossedOut as _0x3bece4}from'ckeditor5/src/icons.js';import{AIReviewModeReviewCheckListItemResultsView as _0x478142}from'./aireviewmodechecklistitemresultview.js';import{AIReviewModeFinishReviewButtonView as _0x3da4f6}from'./aireviewmodefinishreviewbuttonview.js';import{AISkeletonView as _0x4bce08,SKELETON_DEFINITIONS as _0x2bfea2}from'../../aicore/ui/aiskeleton.js';import{AIDisclaimerView as _0x36d373}from'../../aicore/ui/aidisclaimerview.js';import{getTranslation as _0x1e4328}from'../../aicore/utils/common-translations.js';import{AISpinnerView as _0x3f632c}from'../../aicore/ui/aispinner.js';import'../../../theme/aireviewmode/aireviewmode-check-run.css';import'../../../theme/aireviewmode/aireviewmode-check-run-result.css';export class AIReviewModeReviewCheckResultsView extends _0x1f096c{['_resultViews'];['resultsHeader'];['reviewDisclaimer'];['_cancelButtonView'];['_acceptAllButtonView'];['_exitReviewButtonView'];['_toggleDiffButtonView'];['_errorMessageView'];['_finishReviewButtonView'];constructor(_0x146547){super(_0x146547),this['_resultViews']=new _0xd71c8e(),this['_cancelButtonView']=this['_createCancelButtonView'](),this['_acceptAllButtonView']=this['_createAcceptAllButtonView'](),this['_exitReviewButtonView']=this['_createExitReviewButtonView'](),this['_toggleDiffButtonView']=this['_createToggleDiffButtonView'](),this['_finishReviewButtonView']=this['_createFinishReviewButtonView'](),this['resultsHeader']=this['_createResultHeaderView'](),this['_errorMessageView']=this['_createErrorView'](),this['reviewDisclaimer']=new _0x36d373(_0x146547),this['set']('isLoading',!0x1),this['set']('isToggleDiffOn',!0x1),this['set']('isResultReady',!0x1),this['set']('headerTitle',''),this['set']('headerSubtitle',''),this['set']('isError',!0x1),this['set']('showErrorMessage',!0x1),this['set']('errorType','general'),this['set']('isCompleted',!0x1);const _0x4a1526=this['_createCombinedSkeletonLoader'](),_0x46b077=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run',_0x46b077['if']('isVisible','ck-hidden',_0x3def78=>!_0x3def78)]},'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',_0x3d92c0=>_0x3d92c0)]},'children':this['_resultViews']},_0x4a1526]},this['reviewDisclaimer']]});}['clearResults'](){this['_resultViews']['clear']();}['getResults'](){return this['_resultViews'];}['addResult'](_0x3b8ff9){const _0x67fce8=new _0x478142(this['locale'],_0x3b8ff9['id']);_0x67fce8['delegate']('acceptChange','dismissChange','activateChange')['to'](this),this['_resultViews']['add'](_0x67fce8),_0x67fce8['resultResponseView']['element']['innerHTML']=_0x3b8ff9['contentDiffed'];}['hideResult'](_0x391994,_0x331527){if('pending'===_0x331527)return;const _0x83129a=this['_resultViews']['find'](_0x4406a8=>_0x4406a8['id']===_0x391994);_0x83129a&&(_0x83129a['status']=_0x331527,_0x83129a['element']?.['classList']['add']('ck-ai-review-mode__check-run-result_grayout'));}['showResult'](_0x4b8e98,_0x3df287){if('pending'!==_0x3df287)return;const _0x231af1=this['_resultViews']['find'](_0x336400=>_0x336400['id']===_0x4b8e98);_0x231af1&&(_0x231af1['status']=_0x3df287,_0x231af1['element']?.['classList']['remove']('ck-ai-review-mode__check-run-result_grayout'));}['setTitle'](_0x8c50bf,_0x543d98){this['headerTitle']=_0x8c50bf,this['headerSubtitle']=_0x543d98||'';}['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 _0x4bce08(this['locale'],_0x2bfea2['aiReviewChecks']);}['_createCombinedSkeletonLoader'](){const _0x226451=new _0x5f499b(this['locale']),_0x235909=[];for(let _0xba3627=0x0;_0xba3627<0x10;_0xba3627++){const _0xea84e4=this['_createSkeletonLoader']();_0xea84e4['extendTemplate']({'attributes':{'class':['ck-ai-review-mode__check-run-skeleton-item']}}),_0x235909['push'](_0xea84e4);}return _0x226451['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-skeleton-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x2de3c4=>!_0x2de3c4)]},'children':_0x235909}),_0x226451;}['_createErrorView'](){const _0x559569=new _0x5f499b(this['locale']),_0x378c63=new _0x449443(this['locale']),t=this['locale']['t'];return _0x559569['delegate']('retryReview')['to'](this),_0x378c63['set']({'label':t('Try\x20again'),'withText':!0x0,'class':'ck-ai-button-secondary\x20ck-ai-review-mode__check-run-error-retry-button'}),_0x378c63['on']('execute',()=>{this['fire']('retryReview');}),_0x559569['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-error-container',this['bindTemplate']['if']('showErrorMessage','ck-hidden',_0x5ba95a=>!_0x5ba95a),this['bindTemplate']['if']('errorType','ck-ai-review-mode__check-run-error-container_border-bottom',_0x17c4d8=>'chunk'===_0x17c4d8)]},'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',_0x286be9=>'chunk'===_0x286be9)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-chat-error__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x4df6b3=>'general'!==_0x4df6b3)]},'children':[{'text':_0x1e4328(this['locale'],'AI_REVIEW_MODE_GENERAL_ERROR_MESSAGE')}]},{'tag':'p','attributes':{'class':['ck-ai-chat-error__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x4ad4f5=>'chunk'!==_0x4ad4f5)]},'children':[{'text':_0x1e4328(this['locale'],'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE')}]}]},_0x378c63]}),_0x559569;}['_createCancelButtonView'](){const _0x587576=new _0x449443(this['locale']);return _0x587576['set']({'label':_0x1e4328(this['locale'],'AI_REVIEW_MODE_STOP_GENERATING'),'withText':!0x0,'class':['ck-ai-button-secondary\x20ck-ai-button-stop-generating'],'icon':_0x23f48f}),_0x587576['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isResultReady','ck-hidden',_0x5f4258=>_0x5f4258),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x1bc9dd=>_0x1bc9dd)]}}),_0x587576['on']('execute',()=>{this['fire']('abortReviewStream');}),_0x587576;}['_createToggleDiffButtonView'](){const _0x5ac928=new _0x449443(this['locale']);_0x5ac928['set']({'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox'}),_0x5ac928['bind']('isEnabled')['to'](this,'isError',_0x37e34c=>!_0x37e34c),_0x5ac928['extendTemplate']({'attributes':{'class':['ck-ai-button-secondary','ck-ai-review-mode__check-run-toggle-diff-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x448ab4=>!_0x448ab4),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x43a52e=>_0x43a52e)]}});const _0x3d27dc=_0x1e4328(this['locale'],'AI_REVIEW_MODE_HIDE_CHANGES'),_0xa3a3f0=_0x1e4328(this['locale'],'AI_REVIEW_MODE_SHOW_CHANGES');return _0x5ac928['bind']('isOn')['to'](this,'isToggleDiffOn',_0x27731b=>_0x27731b),_0x5ac928['bind']('icon')['to'](this,'isToggleDiffOn',_0x35b159=>_0x35b159?_0x438286:_0x3bece4),_0x5ac928['bind']('label')['to'](this,'isToggleDiffOn',_0xaa26d8=>_0xaa26d8?_0x3d27dc:_0xa3a3f0),_0x5ac928['on']('execute',()=>{this['isToggleDiffOn']=!this['isToggleDiffOn'],this['fire']('toggleDiff',{'on':this['isToggleDiffOn']});}),_0x5ac928;}['_createAcceptAllButtonView'](){const _0x1db762=new _0x449443(this['locale']);return _0x1db762['set']({'label':_0x1e4328(this['locale'],'AI_REVIEW_MODE_ACCEPT_ALL'),'withText':!0x0}),_0x1db762['bind']('isEnabled')['to'](this,'isError',_0x195a1a=>!_0x195a1a),_0x1db762['extendTemplate']({'attributes':{'class':['ck-ai-button-primary','ck-ai-review-mode__check-run-accept-all-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x44ea5c=>!_0x44ea5c),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x478d54=>_0x478d54)]}}),_0x1db762['on']('execute',()=>{this['fire']('acceptAllChanges');}),_0x1db762;}['_createExitReviewButtonView'](){const _0x20e8b1=new _0x449443(this['locale']);return _0x20e8b1['set']({'label':_0x1e4328(this['locale'],'AI_REVIEW_MODE_EXIT_REVIEW'),'withText':!0x0}),_0x20e8b1['extendTemplate']({'attributes':{'class':['ck-ai-button-tertiary-filled','ck-ai-review-mode__check-run-exit-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x3cac9e=>!_0x3cac9e),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x3ec907=>_0x3ec907)]}}),_0x20e8b1['on']('execute',()=>{this['fire']('leaveReviewModeResultList');}),_0x20e8b1;}['_createResultHeaderView'](){const _0xa542b6=new _0x5f499b(this['locale']),_0x3e31e2=this['_createTitleView']();return _0xa542b6['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-header',this['bindTemplate']['if']('isCompleted','ck-ai-review-mode__review-completed-header',_0x36de04=>_0x36de04)]},'children':[_0x3e31e2,{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-header-buttons']},'children':[this['_cancelButtonView'],this['_acceptAllButtonView'],this['_exitReviewButtonView'],this['_toggleDiffButtonView'],this['_finishReviewButtonView']]}]}),_0xa542b6;}['_createTitleView'](){const _0x2197ae=new _0x5f499b(this['locale']),_0x209e53=new _0x3f632c();return _0x209e53['bind']('isVisible')['to'](this,'isResultReady',_0x52f778=>!_0x52f778),_0x2197ae['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-header-title-wrapper']},'children':[_0x209e53,{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-header-title-content',this['bindTemplate']['if']('isCompleted','ck-hidden',_0x1045cb=>_0x1045cb)]},'children':[{'tag':'span','attributes':{'class':['ck-ai-review-mode__check-run-results-header-title']},'children':[{'text':this['bindTemplate']['to']('headerTitle')}]},{'tag':'span','attributes':{'class':['ck-ai-review-mode__check-run-results-header-subtitle']},'children':[{'text':this['bindTemplate']['to']('headerSubtitle')}]}]},{'tag':'span','attributes':{'class':['ck-ai-review-mode__review-completed-header-title',this['bindTemplate']['if']('isCompleted','ck-hidden',_0x10f4d1=>!_0x10f4d1)]},'children':[{'text':_0x1e4328(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE')}]}]}),_0x2197ae;}['_createFinishReviewButtonView'](){const _0x2c39d4=new _0x3da4f6(this['locale']);return _0x2c39d4['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isCompleted','ck-hidden',_0x229792=>!_0x229792)]}}),_0x2c39d4['delegate']('finishReview')['to'](this),_0x2c39d4;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ListItemView as
|
|
23
|
+
import{ListItemView as _0x1fa896,IconView as _0x4c4c95,View as _0x3b0ce8,ViewCollection as _0x2a2b0d,ButtonView as _0x586aef,clickOutsideHandler as _0x11313d}from'ckeditor5/src/ui.js';import{IconChevronRight as _0x52f116}from'ckeditor5/src/icons.js';import{AIReviewModeFormManagerView as _0xfcfb3a}from'./form/aireviewmodeformmanager.js';import{AIReviewModeCustomCheckView as _0x5baf4d}from'./aireviewmodecustomcheckview.js';export class AIReviewModeReviewCommandListItemView extends _0x1fa896{['_formItemsCollection']=new _0x2a2b0d();['_customCheckView']=null;constructor(_0x305a03,_0x556793,_0x4d7763){super(_0x305a03),this['set']('isParametrizedViewOpen',!0x1),this['set']('isListItemRendered',!0x1),this['set']('isItemParametrized',_0x556793['isParameterized']);const _0x2427a1=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',_0x4c3574=>_0x4c3574),this['bindTemplate']['if']('isListItemRendered','ck-ai-review-mode__check-list-item_rendered',_0x19d5d6=>_0x19d5d6)],'style':{'--ck-ai-review-check-list-item-index':_0x4d7763}},'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':_0x556793['title']}]},_0x2427a1]},{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-description']},'children':[{'text':_0x556793['description']}]}]}]},..._0x556793['isParameterized']?[this['_createParameterizedView'](_0x556793)]:[],...'custom'===_0x556793['id']?[this['_createCustomView'](_0x556793)]:[]]}),this['on']('click',()=>{_0x556793['isParameterized']?this['isParametrizedViewOpen']=!0x0:this['fire']('runReviewCheck',{'id':_0x556793['id']});}),requestAnimationFrame(()=>{this['isListItemRendered']=!0x0;});}['render'](){super['render'](),this['isItemParametrized']&&_0x11313d({'emitter':this,'activator':()=>!0x0===this['isParametrizedViewOpen'],'contextElements':[this['element']],'callback':()=>{this['isParametrizedViewOpen']=!0x1;}});}['resetToDefault'](){this['isParametrizedViewOpen']=!0x1,this['_formItemsCollection']['forEach'](_0x262afc=>{_0x262afc['resetToDefault']();}),this['_customCheckView']&&this['_customCheckView']['resetToDefault']();}['_createIconView'](){const _0x1ff957=new _0x4c4c95();return _0x1ff957['content']=_0x52f116,_0x1ff957['extendTemplate']({'attributes':{'class':['ck-ai-review-mode__check-list-item-title-icon']}}),_0x1ff957;}['_createParameterizedView'](_0x3aa847){const _0x41da8a=new _0x3b0ce8(),_0xfe8ce4=this['_createFormView'](_0x3aa847);return _0x41da8a['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-parameterized',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x576a5c=>!_0x576a5c)]},'children':[_0xfe8ce4]}),_0x41da8a;}['_createFormView'](_0x3aa979){const _0x5f2dc8=new _0x3b0ce8(),_0x1e331a=Array['isArray'](_0x3aa979['options'])?_0x3aa979['options']:[],_0x218831=new _0x586aef(this['locale']),t=this['locale']['t'];_0x218831['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x218831['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x5a745e=>{_0x5a745e['stopPropagation']();})}}),_0x218831['on']('execute',()=>{const _0x4a79c7=[],_0x2087d5={};this['_formItemsCollection']['forEach'](_0x38d344=>{_0x4a79c7['push'](_0x38d344['value']),_0x3aa979['useArgs']&&_0x3aa979['options']&&(_0x2087d5[_0x38d344['argsKey']]=_0x38d344['value']);}),this['fire']('runReviewCheck',{'id':_0x3aa979['id'],'params':_0x4a79c7['length']?_0x4a79c7:void 0x0,'args':Object['keys'](_0x2087d5)['length']?_0x2087d5:void 0x0});});const _0x1d18be=_0x1e331a['length'];return _0x1e331a['forEach']((_0x1861a1,_0x345f5c)=>{const _0x5195e3=_0x345f5c===_0x1d18be-0x1;this['_formItemsCollection']['add'](new _0xfcfb3a(this['locale'],_0x1861a1,_0x5195e3?_0x218831:null));}),_0x5f2dc8['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-parameterized-form']},'children':this['_formItemsCollection']}),_0x5f2dc8;}['_createCustomView'](_0x2e9eee){return this['_customCheckView']=new _0x5baf4d(this['locale'],_0x2e9eee),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',_0x104b09=>!_0x104b09)]}}),this['_customCheckView']['delegate']('runReviewCheck')['to'](this),this['listenTo'](this['_customCheckView'],'closeCustomCheck',()=>{this['isParametrizedViewOpen']=!0x1;}),this['on']('change:isParametrizedViewOpen',(_0x57f885,_0xbab56e,_0x2e9395)=>{_0x2e9395||this['_customCheckView']['resetFormValidationStatus']();}),this['_customCheckView'];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x5b26(){const _0x1bd8e3=['span','AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE','locale','_createResultHeaderView','isVisible','ck-ai-review-mode__review-completed-header','AI_REVIEW_MODE_EMPTY_RESULTS_TEXT','304796qSSTmX','33138frXqmO','_finishReviewButtonView','6AbRGOt','30CHvkKl','finishReview','ck-ai-review-mode__review-completed-header-title','setTemplate','bindTemplate','ck-hidden','5VaZGVu','resultsHeader','ck-ai-review-mode__review-completed-header-buttons','3860835mePALa','ck-ai-review-mode__review-completed-content-icon','ck-ai-review-mode__review-completed','div','2773730TShauh','59357RWbhjt','186669UvFGaF','356022SZPVLI','_createFinishReviewButtonView','136jHSTZM','ck-ai-review-mode__review-completed-content-text','delegate','ck-ai-review-mode__review-completed-content'];_0x5b26=function(){return _0x1bd8e3;};return _0x5b26();}const _0x463033=_0x2ab4;(function(_0x198664,_0x45946d){const _0x49b0ec=_0x2ab4,_0x5cc901=_0x198664();while(!![]){try{const _0x23213f=-parseInt(_0x49b0ec(0xa1))/0x1*(parseInt(_0x49b0ec(0xb3))/0x2)+-parseInt(_0x49b0ec(0xa3))/0x3+-parseInt(_0x49b0ec(0xb0))/0x4*(parseInt(_0x49b0ec(0x99))/0x5)+parseInt(_0x49b0ec(0x93))/0x6*(-parseInt(_0x49b0ec(0xa2))/0x7)+parseInt(_0x49b0ec(0xa5))/0x8*(parseInt(_0x49b0ec(0xb1))/0x9)+parseInt(_0x49b0ec(0xa0))/0xa+parseInt(_0x49b0ec(0x9c))/0xb;if(_0x23213f===_0x45946d)break;else _0x5cc901['push'](_0x5cc901['shift']());}catch(_0x2b6e1b){_0x5cc901['push'](_0x5cc901['shift']());}}}(_0x5b26,0x2d161));import{ListItemView as _0x3ee1d9,View as _0x5d32c4}from'ckeditor5/src/ui.js';import{AIReviewModeFinishReviewButtonView as _0x731433}from'./aireviewmodefinishreviewbuttonview.js';function _0x2ab4(_0x2164d8,_0x2227e0){const _0x5b26ae=_0x5b26();return _0x2ab4=function(_0x2ab405,_0x59b7cc){_0x2ab405=_0x2ab405-0x93;let _0xc4ad86=_0x5b26ae[_0x2ab405];return _0xc4ad86;},_0x2ab4(_0x2164d8,_0x2227e0);}import{getTranslation as _0xbc28ec}from'../../aicore/utils/common-translations.js';import'../../../theme/aireviewmode/aireviewmode-review-completed.css';export class AIReviewModeReviewCompletedView extends _0x3ee1d9{[_0x463033(0x9a)];[_0x463033(0xb2)];constructor(_0x46bc36){const _0x5aa24e=_0x463033;super(_0x46bc36),this[_0x5aa24e(0xb2)]=this[_0x5aa24e(0xa4)](),this[_0x5aa24e(0x9a)]=this[_0x5aa24e(0xac)]();const _0x4aa425=this[_0x5aa24e(0x97)];this[_0x5aa24e(0x96)]({'tag':_0x5aa24e(0x9f),'attributes':{'class':[_0x5aa24e(0x9e),_0x4aa425['if'](_0x5aa24e(0xad),_0x5aa24e(0x98),_0x316b10=>!_0x316b10)]},'children':[this[_0x5aa24e(0x9a)],{'tag':_0x5aa24e(0x9f),'attributes':{'class':[_0x5aa24e(0xa8)]},'children':[{'tag':_0x5aa24e(0xa9),'attributes':{'class':[_0x5aa24e(0x9d)]},'children':[{'text':'👍'}]},{'tag':'p','attributes':{'class':[_0x5aa24e(0xa6)]},'children':[{'text':_0xbc28ec(_0x46bc36,_0x5aa24e(0xaf))}]}]}]});}[_0x463033(0xa4)](){const _0x521a9c=_0x463033,_0x4d58ba=new _0x731433(this[_0x521a9c(0xab)]);return _0x4d58ba[_0x521a9c(0xa7)](_0x521a9c(0x94))['to'](this),_0x4d58ba;}[_0x463033(0xac)](){const _0xb8721=_0x463033,_0x48b0e9=new _0x5d32c4(this[_0xb8721(0xab)]);return _0x48b0e9[_0xb8721(0x96)]({'tag':_0xb8721(0x9f),'attributes':{'class':[_0xb8721(0xae)]},'children':[{'tag':_0xb8721(0xa9),'attributes':{'class':[_0xb8721(0x95)]},'children':[{'text':_0xbc28ec(this[_0xb8721(0xab)],_0xb8721(0xaa))}]},{'tag':_0xb8721(0x9f),'attributes':{'class':[_0xb8721(0x9b)]},'children':[this[_0xb8721(0xb2)]]}]}),_0x48b0e9;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x1e1518=_0x5504;(function(_0x882c3b,_0x174661){var _0xaa7247=_0x5504,_0x33929c=_0x882c3b();while(!![]){try{var _0x3582be=parseInt(_0xaa7247(0x143))/0x1*(parseInt(_0xaa7247(0x167))/0x2)+parseInt(_0xaa7247(0x15c))/0x3*(parseInt(_0xaa7247(0x142))/0x4)+-parseInt(_0xaa7247(0x13e))/0x5+-parseInt(_0xaa7247(0x147))/0x6*(parseInt(_0xaa7247(0x14a))/0x7)+parseInt(_0xaa7247(0x14c))/0x8*(parseInt(_0xaa7247(0x14b))/0x9)+-parseInt(_0xaa7247(0x152))/0xa+parseInt(_0xaa7247(0x16a))/0xb*(parseInt(_0xaa7247(0x165))/0xc);if(_0x3582be===_0x174661)break;else _0x33929c['push'](_0x33929c['shift']());}catch(_0x828f6f){_0x33929c['push'](_0x33929c['shift']());}}}(_0x58e6,0xe8faa));import{View as _0x377859,FormHeaderView as _0x31c428}from'ckeditor5/src/ui.js';import{IconAIReview as _0x3093de}from'ckeditor5/src/icons.js';import{AIReviewModeReviewCheckListView as _0x382d19}from'./aireviewmodereviewchecklistview.js';import{AI_REVIEW_MODE_UI_EVENT_NAMES as _0x20d348}from'../aireviewmodeui.js';import{AIReviewModeReviewCheckResultsView as _0x137c27}from'./aireviewmodereviewcheckresultsview.js';import{AIReviewModeReviewCompletedView as _0x55823b}from'./aireviewmodereviewcompletedview.js';function _0x5504(_0x1441e9,_0x438664){var _0x58e64e=_0x58e6();return _0x5504=function(_0x550400,_0x36685e){_0x550400=_0x550400-0x13e;var _0x39dc0e=_0x58e64e[_0x550400];return _0x39dc0e;},_0x5504(_0x1441e9,_0x438664);}import{getTranslation as _0x1ef039}from'../../aicore/utils/common-translations.js';function _0x58e6(){var _0x4a0acc=['resetErrorState','showReviewCheckResultsView','isCompleted','reviewModeHeader','showReviewCheckListView','ck-ai-header\x20ck-ai-header_review-mode','reviewCheckListView','hideActionsWhenResultIsReady','clearResults','40122FwPhjP','showNoChangesView','finishReview','set','delegate','isResultReady','showActionsWhenResultIsReady','showChunkErrorMessage','showGeneralErrorView','5316444PfymkH','AI_REVIEW_MODE','562eHzCEi','setTemplate','showReviewCompletedView','44iCmSrH','ltr','9493300NBYBki','ck-reset_all','addResult','isVisible','436UeaIsH','850CVbidg','isLoading','ck-rounded-corners','showChunkErrorView','6lHUDPy','div','reviewCompletedView','5409362tpGxIC','1903563LHKSQM','8PnvERP','reviewCheckResultsView','addCheckRunResult','ck-ai-review-mode','resetAllParameterizedChecks','showGeneralErrorMessage','545630SiPdnB'];_0x58e6=function(){return _0x4a0acc;};return _0x58e6();}export class AIReviewModeView extends _0x377859{[_0x1e1518(0x156)];[_0x1e1518(0x159)];[_0x1e1518(0x14d)];[_0x1e1518(0x149)];constructor(_0x4ac1ba){var _0x8dad6=_0x1e1518;super(_0x4ac1ba),this[_0x8dad6(0x156)]=new _0x31c428(_0x4ac1ba,{'label':_0x1ef039(_0x4ac1ba,_0x8dad6(0x166)),'icon':_0x3093de,'class':_0x8dad6(0x158)}),this[_0x8dad6(0x159)]=new _0x382d19(_0x4ac1ba),this[_0x8dad6(0x159)][_0x8dad6(0x160)](..._0x20d348)['to'](this),this[_0x8dad6(0x14d)]=new _0x137c27(_0x4ac1ba),this[_0x8dad6(0x14d)][_0x8dad6(0x160)](..._0x20d348)['to'](this),this[_0x8dad6(0x149)]=new _0x55823b(_0x4ac1ba),this[_0x8dad6(0x149)][_0x8dad6(0x160)](_0x8dad6(0x15e))['to'](this),this[_0x8dad6(0x159)][_0x8dad6(0x15f)](_0x8dad6(0x141),!0x1),this[_0x8dad6(0x14d)][_0x8dad6(0x15f)](_0x8dad6(0x141),!0x1),this[_0x8dad6(0x14d)][_0x8dad6(0x15f)](_0x8dad6(0x144),!0x1),this[_0x8dad6(0x14d)][_0x8dad6(0x15f)](_0x8dad6(0x161),!0x1),this[_0x8dad6(0x149)][_0x8dad6(0x15f)](_0x8dad6(0x141),!0x1),this[_0x8dad6(0x168)]({'tag':_0x8dad6(0x148),'attributes':{'class':['ck',_0x8dad6(0x13f),_0x8dad6(0x14f),_0x8dad6(0x145)],'dir':_0x8dad6(0x16b)},'children':[this[_0x8dad6(0x156)],this[_0x8dad6(0x159)],this[_0x8dad6(0x14d)],this[_0x8dad6(0x149)]]});}[_0x1e1518(0x157)](){var _0x263407=_0x1e1518;this[_0x263407(0x159)][_0x263407(0x150)](),this[_0x263407(0x159)][_0x263407(0x15f)](_0x263407(0x141),!0x0),this[_0x263407(0x14d)][_0x263407(0x15f)](_0x263407(0x141),!0x1),this[_0x263407(0x149)][_0x263407(0x15f)](_0x263407(0x141),!0x1);}[_0x1e1518(0x154)](){var _0x307a59=_0x1e1518;this[_0x307a59(0x15a)](),this[_0x307a59(0x14d)][_0x307a59(0x153)](),this[_0x307a59(0x159)][_0x307a59(0x15f)](_0x307a59(0x141),!0x1),this[_0x307a59(0x14d)][_0x307a59(0x15f)](_0x307a59(0x141),!0x0),this[_0x307a59(0x14d)][_0x307a59(0x15b)](),this[_0x307a59(0x14d)][_0x307a59(0x15f)](_0x307a59(0x144),!0x0);}[_0x1e1518(0x14e)](_0x70cef1){var _0x244e3b=_0x1e1518;this[_0x244e3b(0x14d)][_0x244e3b(0x140)](_0x70cef1),this[_0x244e3b(0x14d)][_0x244e3b(0x15f)](_0x244e3b(0x144),!0x1);}[_0x1e1518(0x169)](){var _0x17a8ae=_0x1e1518;this[_0x17a8ae(0x14d)][_0x17a8ae(0x15f)](_0x17a8ae(0x141),!0x0),this[_0x17a8ae(0x149)][_0x17a8ae(0x15f)](_0x17a8ae(0x141),!0x1),this[_0x17a8ae(0x14d)][_0x17a8ae(0x15f)](_0x17a8ae(0x155),!0x0),this[_0x17a8ae(0x159)][_0x17a8ae(0x15f)](_0x17a8ae(0x141),!0x1);}[_0x1e1518(0x162)](){var _0x1d0645=_0x1e1518;this[_0x1d0645(0x14d)][_0x1d0645(0x161)]?(this[_0x1d0645(0x159)][_0x1d0645(0x15f)](_0x1d0645(0x141),!0x1),this[_0x1d0645(0x14d)][_0x1d0645(0x15f)](_0x1d0645(0x141),!0x0),this[_0x1d0645(0x149)][_0x1d0645(0x15f)](_0x1d0645(0x141),!0x1)):this[_0x1d0645(0x14d)][_0x1d0645(0x161)]=!0x0;}[_0x1e1518(0x15d)](){var _0xa51472=_0x1e1518;this[_0xa51472(0x159)][_0xa51472(0x15f)](_0xa51472(0x141),!0x1),this[_0xa51472(0x14d)][_0xa51472(0x15f)](_0xa51472(0x141),!0x1),this[_0xa51472(0x149)][_0xa51472(0x15f)](_0xa51472(0x141),!0x0);}[_0x1e1518(0x15a)](){var _0x26d8dd=_0x1e1518;this[_0x26d8dd(0x14d)][_0x26d8dd(0x161)]=!0x1;}[_0x1e1518(0x164)](){var _0x4a7ad2=_0x1e1518;this[_0x4a7ad2(0x14d)][_0x4a7ad2(0x15f)](_0x4a7ad2(0x144),!0x1),this[_0x4a7ad2(0x162)](),this[_0x4a7ad2(0x14d)][_0x4a7ad2(0x151)]();}[_0x1e1518(0x146)](){var _0x3726a5=_0x1e1518;this[_0x3726a5(0x14d)][_0x3726a5(0x15f)](_0x3726a5(0x144),!0x1),this[_0x3726a5(0x162)](),this[_0x3726a5(0x14d)][_0x3726a5(0x163)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3a91a3=_0x1f80;function _0x1f80(_0x280d52,_0x310d06){const _0x34d114=_0x34d1();return _0x1f80=function(_0x1f80be,_0x2a90a0){_0x1f80be=_0x1f80be-0xdc;let _0x51838f=_0x34d114[_0x1f80be];return _0x51838f;},_0x1f80(_0x280d52,_0x310d06);}(function(_0x57d4ba,_0x26b957){const _0x20cab1=_0x1f80,_0x4c405c=_0x57d4ba();while(!![]){try{const _0x544fef=parseInt(_0x20cab1(0xff))/0x1+parseInt(_0x20cab1(0xe6))/0x2*(-parseInt(_0x20cab1(0xf8))/0x3)+-parseInt(_0x20cab1(0xe5))/0x4+-parseInt(_0x20cab1(0xe8))/0x5+parseInt(_0x20cab1(0x101))/0x6+-parseInt(_0x20cab1(0xdf))/0x7*(-parseInt(_0x20cab1(0xe4))/0x8)+parseInt(_0x20cab1(0xef))/0x9;if(_0x544fef===_0x26b957)break;else _0x4c405c['push'](_0x4c405c['shift']());}catch(_0x2b6239){_0x4c405c['push'](_0x4c405c['shift']());}}}(_0x34d1,0x3b245));import{Collection as _0x14d8c7}from'ckeditor5/src/utils.js';import{View as _0x4c34c3,createDropdown as _0x30d980,addListToDropdown as _0x1b2962,UIModel as _0x51edf5}from'ckeditor5/src/ui.js';function _0x34d1(){const _0x3b7172=['model','execute','formValue','73366QacwGZ','_defaultValue','1806390TXJAzS','buttonView','label','stopPropagation','data','set','_dropdownView','1897aZBFaA','default','ck-reset_all','_defaultLabel','isOn','8464DJCJri','228288Mlmopj','12baFVTf','locale','1124195OibNto','button','bindTemplate','ck-ai-review-mode__check-list-item-parameterized-form-element','source','find','bind','574767WJJoBv','listenTo','setTemplate','menuitemradio','menu','resetToDefault','extendTemplate','length','_prepareListOptions','100428ZTjrtU','ck-ai-review-mode__check-list-item-parameterized-form-element_dropdown','div','add'];_0x34d1=function(){return _0x3b7172;};return _0x34d1();}export class AIReviewModeFormDropdownView extends _0x4c34c3{[_0x3a91a3(0xde)];[_0x3a91a3(0x100)];[_0x3a91a3(0xe2)];constructor(_0x245460,_0x3efa05){const _0x2a6cdf=_0x3a91a3;super(_0x245460),this[_0x2a6cdf(0x100)]=_0x3efa05[_0x2a6cdf(0xe0)]||(_0x3efa05[_0x2a6cdf(0xdc)][_0x2a6cdf(0xf6)]>0x0?_0x3efa05[_0x2a6cdf(0xdc)][0x0]['id']:''),this[_0x2a6cdf(0xe2)]=_0x3efa05[_0x2a6cdf(0xdc)][_0x2a6cdf(0xed)](_0x2df198=>_0x2df198['id']===this[_0x2a6cdf(0x100)])?.[_0x2a6cdf(0x103)]||'',this[_0x2a6cdf(0xdd)](_0x2a6cdf(0xfe),''),this[_0x2a6cdf(0xde)]=_0x30d980(this[_0x2a6cdf(0xe7)]);const _0x43216b=this[_0x2a6cdf(0xf7)](_0x3efa05[_0x2a6cdf(0xdc)]);_0x1b2962(this[_0x2a6cdf(0xde)],_0x43216b,{'role':_0x2a6cdf(0xf3),'ariaLabel':_0x3efa05[_0x2a6cdf(0x103)]}),this[_0x2a6cdf(0xde)][_0x2a6cdf(0x102)][_0x2a6cdf(0xdd)]({'label':this[_0x2a6cdf(0xe2)],'withText':!0x0}),this[_0x2a6cdf(0xde)][_0x2a6cdf(0xf5)]({'on':{'click':this[_0x2a6cdf(0xea)]['to'](_0x4c1d48=>{const _0x3fcad0=_0x2a6cdf;_0x4c1d48[_0x3fcad0(0x104)]();})}}),this[_0x2a6cdf(0xf0)](this[_0x2a6cdf(0xde)],_0x2a6cdf(0xfd),_0x3aaeda=>{const _0x5c4ab6=_0x2a6cdf;this[_0x5c4ab6(0xfe)]=_0x3aaeda[_0x5c4ab6(0xec)][_0x5c4ab6(0xfc)]['id'],this[_0x5c4ab6(0xde)][_0x5c4ab6(0x102)][_0x5c4ab6(0x103)]=_0x3aaeda[_0x5c4ab6(0xec)][_0x5c4ab6(0xfc)][_0x5c4ab6(0x103)];}),this[_0x2a6cdf(0xf1)]({'tag':_0x2a6cdf(0xfa),'attributes':{'class':['ck',_0x2a6cdf(0xe1),_0x2a6cdf(0xeb),_0x2a6cdf(0xf9)]},'children':[this[_0x2a6cdf(0xde)]]});}[_0x3a91a3(0xf4)](){const _0x137e0d=_0x3a91a3;this[_0x137e0d(0xfe)]=this[_0x137e0d(0x100)],this[_0x137e0d(0xde)][_0x137e0d(0x102)][_0x137e0d(0x103)]=this[_0x137e0d(0xe2)];}[_0x3a91a3(0xf7)](_0x514c64=[]){const _0x4246cc=_0x3a91a3,_0xabf093=new _0x14d8c7();this[_0x4246cc(0xf4)]();for(const _0x5b9779 of _0x514c64){const _0x185080=new _0x51edf5({'label':_0x5b9779[_0x4246cc(0x103)],'withText':!0x0,'role':_0x4246cc(0xf2),'id':_0x5b9779['id'],'model':_0x5b9779});_0x185080[_0x4246cc(0xee)](_0x4246cc(0xe3))['to'](this,_0x4246cc(0xfe),_0x3d632b=>_0x3d632b===_0x185080['id']);const _0x2b2819={'type':_0x4246cc(0xe9),'model':_0x185080};_0xabf093[_0x4246cc(0xfb)](_0x2b2819);}return _0xabf093;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x35d8(){const _0x199f05=['children','ck-ai-review-mode__form-item','add','726467XCCXLW','formType','199360miDhDj','div','24btoqOa','100225jdQuQu','_formItem','369257itLgdb','ck-reset_all','formValue','3513735BxbCRe','value','set','bind','locale','370305tGLlOi','ck-form__row_with-submit','argsKey','setTemplate','resetToDefault','dropdown','1689160zoFGyJ','24TSDJYi'];_0x35d8=function(){return _0x199f05;};return _0x35d8();}const _0x52c390=_0x158e;(function(_0x1ce651,_0x1cd558){const _0x100491=_0x158e,_0x2d5065=_0x1ce651();while(!![]){try{const _0x2a888c=-parseInt(_0x100491(0xa8))/0x1+parseInt(_0x100491(0xa3))/0x2+parseInt(_0x100491(0x96))/0x3+-parseInt(_0x100491(0x9c))/0x4+-parseInt(_0x100491(0xa6))/0x5*(-parseInt(_0x100491(0xa5))/0x6)+-parseInt(_0x100491(0xa1))/0x7*(-parseInt(_0x100491(0x9d))/0x8)+parseInt(_0x100491(0xab))/0x9;if(_0x2a888c===_0x1cd558)break;else _0x2d5065['push'](_0x2d5065['shift']());}catch(_0x265c7a){_0x2d5065['push'](_0x2d5065['shift']());}}}(_0x35d8,0x34202));import{FormRowView as _0x40a317,ListItemView as _0x114a2a}from'ckeditor5/src/ui.js';import{AIReviewModeFormDropdownView as _0x2c56f5}from'./aireviewmodeformdropdown.js';function _0x158e(_0x3a61ba,_0xc4467f){const _0x35d887=_0x35d8();return _0x158e=function(_0x158e05,_0x1e77ee){_0x158e05=_0x158e05-0x92;let _0x12f9bb=_0x35d887[_0x158e05];return _0x12f9bb;},_0x158e(_0x3a61ba,_0xc4467f);}export class AIReviewModeFormManagerView extends _0x114a2a{[_0x52c390(0xa7)]=null;constructor(_0x4cd7fc,_0x54ff41,_0x49b769){const _0x44d5ee=_0x52c390;super(_0x4cd7fc),this[_0x44d5ee(0x98)]=_0x54ff41?.[_0x44d5ee(0x98)];if(_0x44d5ee(0x9b)===_0x54ff41[_0x44d5ee(0xa2)])this[_0x44d5ee(0xa7)]=new _0x2c56f5(this[_0x44d5ee(0x95)],_0x54ff41);this[_0x44d5ee(0x93)](_0x44d5ee(0x92),''),this[_0x44d5ee(0x94)](_0x44d5ee(0x92))['to'](this[_0x44d5ee(0xa7)],_0x44d5ee(0xaa));const _0x47acea=new _0x40a317(this[_0x44d5ee(0x95)],{'children':[this[_0x44d5ee(0xa7)]],'class':[_0x49b769?_0x44d5ee(0x97):'']});_0x49b769&&_0x47acea[_0x44d5ee(0x9e)][_0x44d5ee(0xa0)](_0x49b769),this[_0x44d5ee(0x99)]({'tag':_0x44d5ee(0xa4),'attributes':{'class':['ck',_0x44d5ee(0x9f),_0x44d5ee(0xa9)]},'children':[_0x47acea]});}[_0x52c390(0x9a)](){const _0x445673=_0x52c390;this[_0x445673(0xa7)][_0x445673(0x9a)]();}}
|
package/src/aitabs/aitabs.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x410ce3=_0x5975;function _0x1f6c(){const _0x371762=['element','isPremiumPlugin','locale','focusTracker','render','includes','ai-tabs-unsupported-ui-side','remove','6KyctwC','5651757dIYJxV','resize','86440vMrIjY','AITabs','isOfficialPlugin','resizedTabs','destroy','ai-tabs-unsupported-ui-type','ai.container','isMaximized','switchSide','6659583BtjkSQ','bind','type','right','custom','context','view','ai-tabs-sidebar-container-element-not-found','config','404EAdQql','get','165ifDxJR','add','fire','appendChild','8TveWIV','ai-tabs-configuration-not-found','body','showResizeButton','side','sidebar','2188730EKmmey','set','31815rdmsGk','1177328gAsbut','8870994umfRJa','switchType','pluginName','overlay','visibleByDefault','container'];_0x1f6c=function(){return _0x371762;};return _0x1f6c();}function _0x5975(_0x16a511,_0x517778){const _0x1f6cdd=_0x1f6c();return _0x5975=function(_0x597587,_0x59daba){_0x597587=_0x597587-0xf8;let _0x395e8d=_0x1f6cdd[_0x597587];return _0x395e8d;},_0x5975(_0x16a511,_0x517778);}(function(_0x45cd31,_0x481b1c){const _0x1989ab=_0x5975,_0x23bd0e=_0x45cd31();while(!![]){try{const _0xf1c45d=parseInt(_0x1989ab(0x126))/0x1+-parseInt(_0x1989ab(0x127))/0x2*(-parseInt(_0x1989ab(0x103))/0x3)+-parseInt(_0x1989ab(0x118))/0x4*(parseInt(_0x1989ab(0x106))/0x5)+-parseInt(_0x1989ab(0x128))/0x6+-parseInt(_0x1989ab(0x10f))/0x7+parseInt(_0x1989ab(0x11e))/0x8*(parseInt(_0x1989ab(0x104))/0x9)+-parseInt(_0x1989ab(0x124))/0xa*(-parseInt(_0x1989ab(0x11a))/0xb);if(_0xf1c45d===_0x481b1c)break;else _0x23bd0e['push'](_0x23bd0e['shift']());}catch(_0x3d91c6){_0x23bd0e['push'](_0x23bd0e['shift']());}}}(_0x1f6c,0xe687f));import{ContextPlugin as _0x4d1203,Editor as _0x3253ce}from'ckeditor5/src/core.js';import{CKEditorError as _0x476402}from'ckeditor5/src/utils.js';import{AITabsMainView as _0x33cfbd,AI_TABS_VIEW_SIDES as _0x5a6f59,AI_TABS_VIEW_TYPES as _0x536b3c}from'./aitabsmainview.js';export class AITabs extends _0x4d1203{[_0x410ce3(0x115)];[_0x410ce3(0xfa)]=null;[_0x410ce3(0x121)]=!0x0;static get[_0x410ce3(0x12a)](){const _0x506bdb=_0x410ce3;return _0x506bdb(0x107);}static get[_0x410ce3(0x108)](){return!0x0;}static get[_0x410ce3(0xfc)](){return!0x0;}constructor(_0x4d3cfe){const _0x2c59d7=_0x410ce3;super(_0x4d3cfe);const _0x1493f3=this[_0x2c59d7(0x114)][_0x2c59d7(0x117)][_0x2c59d7(0x119)](_0x2c59d7(0x10c));if(this[_0x2c59d7(0x125)](_0x2c59d7(0x122),_0x2c59d7(0x112)),!_0x1493f3)throw new _0x476402(_0x2c59d7(0x11f));if(void 0x0!==_0x1493f3[_0x2c59d7(0x121)]&&(this[_0x2c59d7(0x121)]=_0x1493f3[_0x2c59d7(0x121)]),_0x2c59d7(0x123)!==_0x1493f3[_0x2c59d7(0x111)]&&_0x2c59d7(0xf8)!==_0x1493f3[_0x2c59d7(0x111)]||_0x1493f3[_0x2c59d7(0x122)]&&(this[_0x2c59d7(0x122)]=_0x1493f3[_0x2c59d7(0x122)]),_0x2c59d7(0x123)===_0x1493f3[_0x2c59d7(0x111)]){if(this[_0x2c59d7(0xfa)]=_0x1493f3[_0x2c59d7(0xfb)],this[_0x2c59d7(0x125)](_0x2c59d7(0x111),_0x2c59d7(0x123)),!this[_0x2c59d7(0xfa)])throw new _0x476402(_0x2c59d7(0x116));}else _0x2c59d7(0xf8)===_0x1493f3[_0x2c59d7(0x111)]?(this[_0x2c59d7(0xfa)]=document[_0x2c59d7(0x120)],this[_0x2c59d7(0x125)](_0x2c59d7(0x111),_0x2c59d7(0xf8))):(this[_0x2c59d7(0xfa)]=null,this[_0x2c59d7(0x125)](_0x2c59d7(0x111),_0x2c59d7(0x113)));this[_0x2c59d7(0x115)]=new _0x33cfbd(this[_0x2c59d7(0x114)][_0x2c59d7(0xfd)],{'side':this[_0x2c59d7(0x122)],'type':this[_0x2c59d7(0x111)],'visibleByDefault':void 0x0===_0x1493f3[_0x2c59d7(0xf9)]||_0x1493f3[_0x2c59d7(0xf9)]}),this[_0x2c59d7(0x115)][_0x2c59d7(0xff)](),this[_0x2c59d7(0x115)][_0x2c59d7(0x110)](_0x2c59d7(0x122))['to'](this,_0x2c59d7(0x122)),this[_0x2c59d7(0x115)][_0x2c59d7(0x110)](_0x2c59d7(0x111))['to'](this,_0x2c59d7(0x111)),this[_0x2c59d7(0xfa)]&&this[_0x2c59d7(0xfa)][_0x2c59d7(0x11d)](this[_0x2c59d7(0x115)][_0x2c59d7(0xfb)]),this[_0x2c59d7(0x114)]instanceof _0x3253ce&&this[_0x2c59d7(0x114)]['ui'][_0x2c59d7(0xfe)][_0x2c59d7(0x11b)](this[_0x2c59d7(0x115)][_0x2c59d7(0xfb)]);}[_0x410ce3(0x129)](_0x3ba7e0){const _0x3abecd=_0x410ce3;if(_0x3ba7e0&&this[_0x3abecd(0x111)]!==_0x3ba7e0){if(!_0x536b3c[_0x3abecd(0x100)](_0x3ba7e0))throw new _0x476402(_0x3abecd(0x10b));this[_0x3abecd(0x111)]=_0x3ba7e0;}}[_0x410ce3(0x10e)](_0x2ca66f){const _0x4632e1=_0x410ce3;if(_0x2ca66f&&this[_0x4632e1(0x122)]!==_0x2ca66f){if(!_0x5a6f59[_0x4632e1(0x100)](_0x2ca66f))throw new _0x476402(_0x4632e1(0x101));this[_0x4632e1(0x122)]=_0x2ca66f;}}[_0x410ce3(0x105)](){const _0xa67956=_0x410ce3;this[_0xa67956(0x115)][_0xa67956(0x10d)]=!this[_0xa67956(0x115)][_0xa67956(0x10d)],this[_0xa67956(0x11c)](_0xa67956(0x109),this[_0xa67956(0x115)][_0xa67956(0x10d)]);}[_0x410ce3(0x10a)](){const _0x47ead9=_0x410ce3;super[_0x47ead9(0x10a)](),this[_0x47ead9(0x115)][_0x47ead9(0x10a)](),this[_0x47ead9(0x115)][_0x47ead9(0xfb)]&&this[_0x47ead9(0x115)][_0x47ead9(0xfb)][_0x47ead9(0x102)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x383555=_0x13ba;(function(_0x299ed2,_0x1a94c7){const _0x12c72b=_0x13ba,_0x503dd6=_0x299ed2();while(!![]){try{const _0x5700d3=-parseInt(_0x12c72b(0x134))/0x1*(-parseInt(_0x12c72b(0x131))/0x2)+parseInt(_0x12c72b(0x12f))/0x3*(-parseInt(_0x12c72b(0x126))/0x4)+parseInt(_0x12c72b(0x12c))/0x5+parseInt(_0x12c72b(0x128))/0x6+parseInt(_0x12c72b(0x123))/0x7+-parseInt(_0x12c72b(0x12d))/0x8*(parseInt(_0x12c72b(0x121))/0x9)+parseInt(_0x12c72b(0x12a))/0xa*(-parseInt(_0x12c72b(0x12e))/0xb);if(_0x5700d3===_0x1a94c7)break;else _0x503dd6['push'](_0x503dd6['shift']());}catch(_0x180889){_0x503dd6['push'](_0x503dd6['shift']());}}}(_0x1946,0xc1f4c));import{AITabsView as _0x25f336}from'./tabs/aitabsview.js';import'../../theme/aitabs/aitabsview.css';export const AI_TABS_VIEW_TYPES=[_0x383555(0x124),_0x383555(0x11a),_0x383555(0x130)];export const AI_TABS_VIEW_SIDES=[_0x383555(0x127),_0x383555(0x120)];export class AITabsMainView extends _0x25f336{constructor(_0x33c3a0,_0x35a479={}){const _0x279cb1=_0x383555;super(_0x33c3a0,_0x35a479),this[_0x279cb1(0x11e)](_0x279cb1(0x12b),_0x35a479[_0x279cb1(0x12b)]||_0x279cb1(0x11a)),this[_0x279cb1(0x11e)](_0x279cb1(0x11d),_0x35a479[_0x279cb1(0x11d)]||_0x279cb1(0x120)),this[_0x279cb1(0x11e)](_0x279cb1(0x129),_0x35a479[_0x279cb1(0x11c)]??!0x0);const _0x3d9007=this[_0x279cb1(0x125)];this[_0x279cb1(0x122)]({'attributes':{'class':[_0x279cb1(0x135),_0x3d9007['if'](_0x279cb1(0x12b),_0x279cb1(0x11f),_0x9f5b32=>_0x279cb1(0x124)===_0x9f5b32),_0x3d9007['if'](_0x279cb1(0x12b),_0x279cb1(0x119),_0x169968=>_0x279cb1(0x11a)===_0x169968),_0x3d9007['if'](_0x279cb1(0x129),_0x279cb1(0x132),_0x5b5861=>!_0x5b5861)]}}),this[_0x279cb1(0x11b)]['on'](_0x279cb1(0x133),(_0x37c45a,_0x113fce)=>{const _0x19110a=_0x279cb1;_0x113fce[_0x19110a(0x11e)](_0x19110a(0x136),!0x1);});}}function _0x13ba(_0x19f775,_0x5218d1){const _0x194606=_0x1946();return _0x13ba=function(_0x13ba67,_0xf08c3f){_0x13ba67=_0x13ba67-0x119;let _0x57245d=_0x194606[_0x13ba67];return _0x57245d;},_0x13ba(_0x19f775,_0x5218d1);}function _0x1946(){const _0x1f0aa1=['ck-hidden','add','5EJXNgU','ck-ai-tabs','withText','ck-ai-tabs__sidebar','sidebar','buttonViews','visibleByDefault','side','set','ck-ai-tabs__overlay','right','9IwDOzO','extendTemplate','8861195gTUguY','overlay','bindTemplate','8bYIvgu','left','1016388mFqQvR','isVisible','4064320CeRutG','type','2802225HOToGK','2650152AViBHO','11ZRrzYP','1280577IgnCTX','custom','156054xwgiXO'];_0x1946=function(){return _0x1f0aa1;};return _0x1946();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x43e8ac=_0x447f;(function(_0x4f9c8a,_0x8e6abc){const _0x4d5e62=_0x447f,_0x3448b9=_0x4f9c8a();while(!![]){try{const _0x3ee855=-parseInt(_0x4d5e62(0xf0))/0x1*(parseInt(_0x4d5e62(0xdb))/0x2)+-parseInt(_0x4d5e62(0xc9))/0x3*(parseInt(_0x4d5e62(0xde))/0x4)+parseInt(_0x4d5e62(0xda))/0x5*(-parseInt(_0x4d5e62(0xec))/0x6)+-parseInt(_0x4d5e62(0xfc))/0x7*(parseInt(_0x4d5e62(0x103))/0x8)+parseInt(_0x4d5e62(0xd9))/0x9+parseInt(_0x4d5e62(0xe4))/0xa*(-parseInt(_0x4d5e62(0xeb))/0xb)+parseInt(_0x4d5e62(0xfb))/0xc;if(_0x3ee855===_0x8e6abc)break;else _0x3448b9['push'](_0x3448b9['shift']());}catch(_0x3c055e){_0x3448b9['push'](_0x3448b9['shift']());}}}(_0xd48d,0xc84cb));import{View as _0x59e49c}from'ckeditor5/src/ui.js';import{toArray as _0x42f2c7,CKEditorError as _0x53600d}from'ckeditor5/src/utils.js';import{TabButtonView as _0x2a5585}from'./tabbuttonview.js';import{TabPanelView as _0x56cb99}from'./tabpanelview.js';function _0xd48d(){const _0x3c252c=['281413PojMrU','518466npFQTI','activateTab:','label','activeTab','73IfzIqC','find','content','ck-ai-tabs_maximized','showTab','_getButton','activateTab','side','_getPanel','createCollection','render','48480960JdPCfZ','35JtaAbj','order','add','keys','hide:','ui-tabsview-tab-not-found','ck-tabs__buttons-container','1372296mjNaVu','ck-tabs__buttons-container_','isMaximized','buttonLabel','top','button','reduce','hide','panelViews','ck-tabs_','_hidePanel','isVisible','get','ck-reset','bind','_hideButton','getTab','children','locale','hideTab','45sRKgwY','ck-tabs__panels-container_','setTemplate','right','buttonIcon','_showButton','class','bindTemplate','_setupButton','buttonViews','addTab','left','ck-tabs','_showPanel','fire','isOn','111483lSgxgE','40tiadKk','17166DPUsjW','addTab:','_tabs','206692wEmUBH','div','length','show','getTabIds','show:','110aRVyIY','icon','set','getIndex','ck-tabs__panels-container','execute','panel'];_0xd48d=function(){return _0x3c252c;};return _0xd48d();}function _0x447f(_0x5d8201,_0x1fdc91){const _0xd48d53=_0xd48d();return _0x447f=function(_0x447f4e,_0x50aecb){_0x447f4e=_0x447f4e-0xc4;let _0x5f3294=_0xd48d53[_0x447f4e];return _0x5f3294;},_0x447f(_0x5d8201,_0x1fdc91);}import'../../../theme/aitabs/tabs/tabsview.css';export const AI_TABS_POSITIONS=[_0x43e8ac(0x107),_0x43e8ac(0xd4),_0x43e8ac(0xcc)];export class AITabsView extends _0x59e49c{[_0x43e8ac(0xd2)]=this[_0x43e8ac(0xf9)]();[_0x43e8ac(0x10b)]=this[_0x43e8ac(0xf9)]();[_0x43e8ac(0xdd)]=new Map();constructor(_0x3cd164,_0x1b34a5={}){const _0x5b374a=_0x43e8ac;super(_0x3cd164),this[_0x5b374a(0xe6)](_0x5b374a(0xcf),void 0x0),this[_0x5b374a(0xe6)](_0x5b374a(0xef),null),this[_0x5b374a(0xe6)](_0x5b374a(0xf7),_0x1b34a5[_0x5b374a(0xf7)]||_0x5b374a(0x107)),this[_0x5b374a(0xe6)](_0x5b374a(0x105),!0x1);const _0x3bb1b8=this[_0x5b374a(0xd0)];this[_0x5b374a(0xcb)]({'tag':_0x5b374a(0xdf),'attributes':{'class':['ck',_0x5b374a(0x110),_0x5b374a(0xd5),..._0x42f2c7(_0x1b34a5[_0x5b374a(0xcf)]||[]),_0x3bb1b8['to'](_0x5b374a(0xf7),_0x544165=>_0x5b374a(0x10c)+_0x544165),_0x3bb1b8['to'](_0x5b374a(0xcf)),_0x3bb1b8['to'](_0x5b374a(0x105),_0x2d6c03=>_0x2d6c03?_0x5b374a(0xf3):'')],'tabindex':'0'},'children':[{'tag':_0x5b374a(0xdf),'attributes':{'class':['ck',_0x5b374a(0x102),_0x3bb1b8['to'](_0x5b374a(0xf7),_0x59e13e=>_0x5b374a(0x104)+_0x59e13e)]},'children':this[_0x5b374a(0xd2)]},{'tag':_0x5b374a(0xdf),'attributes':{'class':['ck',_0x5b374a(0xe8),_0x3bb1b8['to'](_0x5b374a(0xf7),_0x4836b7=>_0x5b374a(0xca)+_0x4836b7)]},'children':this[_0x5b374a(0x10b)]},..._0x42f2c7(_0x1b34a5[_0x5b374a(0xc6)]||[])]});}[_0x43e8ac(0xe2)](){const _0x19ba67=_0x43e8ac;return[...this[_0x19ba67(0xdd)][_0x19ba67(0xff)]()];}[_0x43e8ac(0xc5)](_0x40c2b8){const _0x27e64a=_0x43e8ac,_0x2a0dfd=this[_0x27e64a(0xdd)][_0x27e64a(0x10f)](_0x40c2b8);return _0x2a0dfd||null;}[_0x43e8ac(0xd3)](_0x4d3c18){const _0x4fa2df=_0x43e8ac,_0x2d273e=this[_0x4fa2df(0xd1)]({'id':_0x4d3c18['id'],'label':_0x4d3c18[_0x4fa2df(0x106)],'icon':_0x4d3c18[_0x4fa2df(0xcd)],'order':_0x4d3c18[_0x4fa2df(0xfd)]}),_0x5a167e=new _0x56cb99(this[_0x4fa2df(0xc7)]);return _0x5a167e[_0x4fa2df(0xfa)](),_0x4d3c18[_0x4fa2df(0xf2)]&&_0x5a167e[_0x4fa2df(0xc6)][_0x4fa2df(0xfe)](_0x4d3c18[_0x4fa2df(0xf2)]),this[_0x4fa2df(0x10b)][_0x4fa2df(0xfe)](_0x5a167e),this[_0x4fa2df(0xdd)][_0x4fa2df(0xe6)](_0x4d3c18['id'],{'button':_0x2d273e,'panel':_0x5a167e,'order':void 0x0!==_0x4d3c18[_0x4fa2df(0xfd)]?_0x4d3c18[_0x4fa2df(0xfd)]:null}),this[_0x4fa2df(0xd7)](_0x4fa2df(0xdc)+_0x4d3c18['id'],{'id':_0x4d3c18['id'],'button':_0x2d273e,'panel':_0x5a167e}),null===this[_0x4fa2df(0xef)]?this[_0x4fa2df(0xf6)](_0x4d3c18['id']):this[_0x4fa2df(0x10d)](_0x4d3c18['id']),{'button':_0x2d273e,'panel':_0x5a167e};}[_0x43e8ac(0xf6)](_0x5f2cae){const _0x4fc2c0=_0x43e8ac;if(null!==_0x5f2cae&&!this[_0x4fc2c0(0xc5)](_0x5f2cae))throw new _0x53600d(_0x4fc2c0(0x101),{'tabs':this,'tabId':_0x5f2cae});this[_0x4fc2c0(0xef)]!==_0x5f2cae&&(this[_0x4fc2c0(0xef)]&&this[_0x4fc2c0(0x10d)](this[_0x4fc2c0(0xef)]),this[_0x4fc2c0(0xef)]=_0x5f2cae,_0x5f2cae&&this[_0x4fc2c0(0xd6)](_0x5f2cae),this[_0x4fc2c0(0xd7)](_0x4fc2c0(0xed)+_0x5f2cae,_0x5f2cae));}[_0x43e8ac(0xf4)](_0x1d722e){const _0x4e081a=_0x43e8ac;if(!this[_0x4e081a(0xc5)](_0x1d722e))throw new _0x53600d(_0x4e081a(0x101),{'tabs':this,'tabId':_0x1d722e});this[_0x4e081a(0xd6)](_0x1d722e),this[_0x4e081a(0xce)](_0x1d722e),this[_0x4e081a(0xd7)](_0x4e081a(0xe3)+_0x1d722e,_0x1d722e);}[_0x43e8ac(0xc8)](_0x229c3a){const _0x2eef67=_0x43e8ac;if(!this[_0x2eef67(0xc5)](_0x229c3a))throw new _0x53600d(_0x2eef67(0x101),{'tabs':this,'tabId':_0x229c3a});const _0x1d1eee=this[_0x2eef67(0xef)];this[_0x2eef67(0x10d)](_0x229c3a),this[_0x2eef67(0xc4)](_0x229c3a);const _0x1933ba=this[_0x2eef67(0xe2)]();_0x1d1eee===_0x229c3a&&_0x1933ba[_0x2eef67(0xe0)]>0x1&&this[_0x2eef67(0xf6)](_0x1933ba[_0x2eef67(0xf1)](_0xb4db5f=>_0xb4db5f!==_0x229c3a)),this[_0x2eef67(0xd7)](_0x2eef67(0x100)+_0x229c3a,_0x229c3a);}[_0x43e8ac(0xf8)](_0x554133){const _0x1b8692=_0x43e8ac,_0x4642d2=this[_0x1b8692(0xdd)][_0x1b8692(0x10f)](_0x554133);return _0x4642d2?_0x4642d2[_0x1b8692(0xea)]:null;}[_0x43e8ac(0xd6)](_0xe3c3c5){const _0x5c2bf3=_0x43e8ac;null!==this[_0x5c2bf3(0xef)]&&this[_0x5c2bf3(0xef)]!==_0xe3c3c5||this[_0x5c2bf3(0xf8)](_0xe3c3c5)[_0x5c2bf3(0xe1)]();}[_0x43e8ac(0x10d)](_0x570b5d){const _0x473c09=_0x43e8ac,_0x20cc47=this[_0x473c09(0xf8)](_0x570b5d);_0x20cc47[_0x473c09(0x10e)]&&(this[_0x473c09(0xef)]===_0x570b5d&&(this[_0x473c09(0xef)]=null),_0x20cc47[_0x473c09(0x10a)]());}[_0x43e8ac(0xf5)](_0x3eb257){const _0x5eb4d4=_0x43e8ac,_0x565d8d=this[_0x5eb4d4(0xdd)][_0x5eb4d4(0x10f)](_0x3eb257);return _0x565d8d?_0x565d8d[_0x5eb4d4(0x108)]:null;}[_0x43e8ac(0xce)](_0x132a72){const _0x2799a4=_0x43e8ac;this[_0x2799a4(0xf5)](_0x132a72)[_0x2799a4(0xe1)]();}[_0x43e8ac(0xc4)](_0x2ed776){const _0x1faa72=_0x43e8ac;this[_0x1faa72(0xf5)](_0x2ed776)[_0x1faa72(0x10a)]();}[_0x43e8ac(0xd1)](_0x3eef69){const _0x1f7bc2=_0x43e8ac,_0x195541=new _0x2a5585(this[_0x1f7bc2(0xc7)],{'side':this[_0x1f7bc2(0xf7)]}),_0x5a7716=this[_0x1f7bc2(0xd2)];if(_0x195541[_0x1f7bc2(0xe6)]({'label':_0x3eef69[_0x1f7bc2(0xee)],'icon':_0x3eef69[_0x1f7bc2(0xe5)],'tooltip':!0x0,'withText':!0x0}),_0x195541[_0x1f7bc2(0x111)](_0x1f7bc2(0xd8))['to'](this,_0x1f7bc2(0xef),_0x13c612=>_0x13c612===_0x3eef69['id']),_0x195541[_0x1f7bc2(0x111)](_0x1f7bc2(0xf7))['to'](this,_0x1f7bc2(0xf7)),_0x3eef69[_0x1f7bc2(0xfd)]){const _0x3eb985=[...this[_0x1f7bc2(0xdd)]][_0x1f7bc2(0x109)]((_0xf7f2f9,_0x296f3b)=>{const _0x2ada64=_0x1f7bc2,_0x539bfb=_0x296f3b[0x0],{order:_0x2eb889}=_0x296f3b[0x1];return!_0x2eb889||_0x2eb889>_0x3eef69[_0x2ada64(0xfd)]?_0xf7f2f9:_0x2eb889>=_0xf7f2f9[_0x2ada64(0xfd)]?{'id':_0x539bfb,'order':_0x2eb889}:_0xf7f2f9;},{'id':'','order':0x0}),_0x49e715=_0x5a7716[_0x1f7bc2(0xe7)](this[_0x1f7bc2(0xf5)](_0x3eb985['id']));_0x5a7716[_0x1f7bc2(0xfe)](_0x195541,_0x49e715+0x1);}else _0x5a7716[_0x1f7bc2(0xfe)](_0x195541);return _0x195541['on'](_0x1f7bc2(0xe9),()=>{const _0xef9ba0=_0x1f7bc2;this[_0xef9ba0(0xf6)](_0x3eef69['id']);}),_0x195541;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x299f(_0x3c2ac7,_0x11226f){const _0x218231=_0x2182();return _0x299f=function(_0x299f2e,_0x2bb8ea){_0x299f2e=_0x299f2e-0x93;let _0x559646=_0x218231[_0x299f2e];return _0x559646;},_0x299f(_0x3c2ac7,_0x11226f);}const _0x105c0e=_0x299f;(function(_0x2ae300,_0x1d46e5){const _0x14330f=_0x299f,_0x258c4a=_0x2ae300();while(!![]){try{const _0x315ef2=parseInt(_0x14330f(0x97))/0x1+parseInt(_0x14330f(0x9f))/0x2+-parseInt(_0x14330f(0x98))/0x3*(-parseInt(_0x14330f(0xa7))/0x4)+parseInt(_0x14330f(0xa8))/0x5+-parseInt(_0x14330f(0x9d))/0x6*(parseInt(_0x14330f(0x9e))/0x7)+parseInt(_0x14330f(0xa5))/0x8+parseInt(_0x14330f(0x9c))/0x9*(-parseInt(_0x14330f(0xa3))/0xa);if(_0x315ef2===_0x1d46e5)break;else _0x258c4a['push'](_0x258c4a['shift']());}catch(_0x55167f){_0x258c4a['push'](_0x258c4a['shift']());}}}(_0x2182,0xc9842));import{ButtonView as _0x319da8}from'ckeditor5/src/ui.js';import{toArray as _0x423823}from'ckeditor5/src/utils.js';function _0x2182(){const _0x38f16a=['top','1597383VkBTHH','166899AFAoXX','bindTemplate','ck-tab-button','hide','1293489pCTWrp','720gJjWuT','679cthjFx','2338702OvFIFU','extendTemplate','side','ck-tab-button_','250GUAAvr','class','5432776RbDXWY','isVisible','20lpgiyG','3530395yZQnEx','show','isToggleable','set'];_0x2182=function(){return _0x38f16a;};return _0x2182();}import'../../../theme/aitabs/tabs/tabbuttonview.css';export class TabButtonView extends _0x319da8{constructor(_0x37c98f,_0x56d5b6={}){const _0x28ab97=_0x299f;super(_0x37c98f),this[_0x28ab97(0x94)]=!0x0,this[_0x28ab97(0x95)](_0x28ab97(0xa1),_0x56d5b6[_0x28ab97(0xa1)]||_0x28ab97(0x96));const _0x57ad61=this[_0x28ab97(0x99)];this[_0x28ab97(0xa0)]({'attributes':{'class':[_0x28ab97(0x9a),..._0x423823(_0x56d5b6[_0x28ab97(0xa4)]||[]),_0x57ad61['to'](_0x28ab97(0xa1),_0x3368a3=>_0x28ab97(0xa2)+_0x3368a3),_0x57ad61['to'](_0x28ab97(0xa4))]}});}[_0x105c0e(0x93)](){const _0x57ff70=_0x105c0e;this[_0x57ff70(0x95)](_0x57ff70(0xa6),!0x0);}[_0x105c0e(0x9b)](){const _0x3a0a24=_0x105c0e;this[_0x3a0a24(0x95)](_0x3a0a24(0xa6),!0x1);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x2399(_0x32de24,_0x51deca){const _0x354abe=_0x354a();return _0x2399=function(_0x2399c2,_0x5f1e7c){_0x2399c2=_0x2399c2-0x1da;let _0xba2d53=_0x354abe[_0x2399c2];return _0xba2d53;},_0x2399(_0x32de24,_0x51deca);}const _0x12c5d2=_0x2399;(function(_0x4f2dc8,_0x401af6){const _0x529913=_0x2399,_0x2cbdbe=_0x4f2dc8();while(!![]){try{const _0x3e7463=parseInt(_0x529913(0x1dd))/0x1+parseInt(_0x529913(0x1e4))/0x2+-parseInt(_0x529913(0x1e9))/0x3+parseInt(_0x529913(0x1db))/0x4*(-parseInt(_0x529913(0x1ea))/0x5)+parseInt(_0x529913(0x1e7))/0x6+parseInt(_0x529913(0x1e2))/0x7+parseInt(_0x529913(0x1e8))/0x8*(parseInt(_0x529913(0x1de))/0x9);if(_0x3e7463===_0x401af6)break;else _0x2cbdbe['push'](_0x2cbdbe['shift']());}catch(_0x1652f5){_0x2cbdbe['push'](_0x2cbdbe['shift']());}}}(_0x354a,0x9af12));import{View as _0xf9d791}from'ckeditor5/src/ui.js';import{toArray as _0x2f3d67}from'ckeditor5/src/utils.js';export class TabPanelView extends _0xf9d791{[_0x12c5d2(0x1ee)];constructor(_0xdc7fa7,_0x3dfda1={}){const _0x36ef82=_0x12c5d2;super(_0xdc7fa7);const _0x4f8574=this[_0x36ef82(0x1e5)];this[_0x36ef82(0x1eb)](_0x36ef82(0x1df),!0x1),this[_0x36ef82(0x1eb)](_0x36ef82(0x1e0),''),this[_0x36ef82(0x1ee)]=this[_0x36ef82(0x1ed)](),this[_0x36ef82(0x1ec)]({'tag':_0x36ef82(0x1e1),'attributes':{'class':[_0x36ef82(0x1e3),..._0x2f3d67(_0x3dfda1[_0x36ef82(0x1e0)]||[]),_0x4f8574['to'](_0x36ef82(0x1e0)),_0x4f8574['if'](_0x36ef82(0x1df),_0x36ef82(0x1dc),_0x119dcd=>!_0x119dcd)]},'children':this[_0x36ef82(0x1ee)]});}[_0x12c5d2(0x1da)](){const _0x81ac4f=_0x12c5d2;this[_0x81ac4f(0x1eb)](_0x81ac4f(0x1df),!0x0);}[_0x12c5d2(0x1e6)](){const _0x3a8d40=_0x12c5d2;this[_0x3a8d40(0x1eb)](_0x3a8d40(0x1df),!0x1);}}function _0x354a(){const _0x43ae6b=['ck-hidden','292641VnmJJy','639ZRtdLG','isVisible','class','div','4142915DYBgjR','ck-tab-panel','363136iQxpyP','bindTemplate','hide','5060070RVsrJh','19216OLhkRv','3148911YAkOxS','10BlhYCN','set','setTemplate','createCollection','children','show','791324yYkWyn'];_0x354a=function(){return _0x43ae6b;};return _0x354a();}
|
package/src/errors.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x27fae4,_0x507b28){var _0x3a82c7=_0xe690,_0x35f20f=_0x27fae4();while(!![]){try{var _0x2c620c=parseInt(_0x3a82c7(0xb1))/0x1+parseInt(_0x3a82c7(0xb5))/0x2*(-parseInt(_0x3a82c7(0xac))/0x3)+parseInt(_0x3a82c7(0xb4))/0x4*(-parseInt(_0x3a82c7(0xb0))/0x5)+-parseInt(_0x3a82c7(0xb3))/0x6+-parseInt(_0x3a82c7(0xaf))/0x7*(parseInt(_0x3a82c7(0xab))/0x8)+-parseInt(_0x3a82c7(0xad))/0x9*(-parseInt(_0x3a82c7(0xae))/0xa)+-parseInt(_0x3a82c7(0xb2))/0xb*(-parseInt(_0x3a82c7(0xb6))/0xc);if(_0x2c620c===_0x507b28)break;else _0x35f20f['push'](_0x35f20f['shift']());}catch(_0x4a948b){_0x35f20f['push'](_0x35f20f['shift']());}}}(_0x414b,0x48d74));function _0xe690(_0x18ad2d,_0x1a2c1d){var _0x414b33=_0x414b();return _0xe690=function(_0xe6906e,_0x1c03de){_0xe6906e=_0xe6906e-0xab;var _0x2803ae=_0x414b33[_0xe6906e];return _0x2803ae;},_0xe690(_0x18ad2d,_0x1a2c1d);}function _0x414b(){var _0x556d08=['52GcwClE','163682pAEGub','24uwQgsO','24nwSYmg','9GANIHM','69642QzFRWI','500vAFFlE','1262527VVZure','2335VzZfUn','382824AXdrKu','3947515sPbYAq','2378526YBiRAS'];_0x414b=function(){return _0x556d08;};return _0x414b();}import{CKEditorError as _0x3e9e61}from'ckeditor5/src/utils.js';
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x53261a,_0x13fdd9){var _0x152a06=_0x50a1,_0x58fd20=_0x53261a();while(!![]){try{var _0x4292ef=parseInt(_0x152a06(0x1f1))/0x1*(-parseInt(_0x152a06(0x1ef))/0x2)+-parseInt(_0x152a06(0x1e9))/0x3*(parseInt(_0x152a06(0x1ec))/0x4)+parseInt(_0x152a06(0x1f3))/0x5+parseInt(_0x152a06(0x1f2))/0x6*(-parseInt(_0x152a06(0x1ed))/0x7)+-parseInt(_0x152a06(0x1f0))/0x8+parseInt(_0x152a06(0x1ee))/0x9*(-parseInt(_0x152a06(0x1eb))/0xa)+parseInt(_0x152a06(0x1ea))/0xb;if(_0x4292ef===_0x13fdd9)break;else _0x58fd20['push'](_0x58fd20['shift']());}catch(_0x13f5ae){_0x58fd20['push'](_0x58fd20['shift']());}}}(_0x474c,0xf2f81));export{AIAssistant,getDefaultAICommands}from'./aiassistant/aiassistant.js';export{AIAssistantUI}from'./aiassistant/aiassistantui.js';export{AIAdapter,AIRequestError}from'./aiassistant/adapters/aiadapter.js';export{AITextAdapter}from'./aiassistant/adapters/aitextadapter.js';export{OpenAITextAdapter}from'./aiassistant/adapters/openaitextadapter.js';export{AWSTextAdapter}from'./aiassistant/adapters/awstextadapter.js';export{ShowAIAssistantCommand}from'./aiassistant/ui/showaiassistantcommand.js';export{AITabs}from'./aitabs/aitabs.js';export{AIConnector}from'./aicore/aiconnector.js';export{createResizeButton}from'./aicore/utils/createresizebutton.js';export{AIChat}from'./aichat/aichat.js';export{AIChatController}from'./aichat/aichatcontroller.js';export{AIEditing}from'./aicore/aiediting.js';export{AIChatUI}from'./aichat/aichatui.js';export{AIEditorIntegration}from'./aieditorintegration/aieditorintegration.js';export{AIToggleButtonUI}from'./aieditorintegration/aitogglebutton/aitogglebuttonui.js';export{ToggleAICommand}from'./aieditorintegration/aitogglebutton/toggleaicommand.js';export{AIChatHistory}from'./aichathistory/aichathistory.js';export{AIChatHistoryController}from'./aichathistory/aichathistorycontroller.js';export{AIChatHistoryUI}from'./aichathistory/aichathistoryui.js';export{AIQuickActions}from'./aiquickactions/aiquickactions.js';function _0x50a1(_0x19bac3,_0x3f8fa0){var _0x474ce9=_0x474c();return _0x50a1=function(_0x50a149,_0x64474a){_0x50a149=_0x50a149-0x1e9;var _0x50758f=_0x474ce9[_0x50a149];return _0x50758f;},_0x50a1(_0x19bac3,_0x3f8fa0);}export{AIQuickActionsUI,AIQuickActionType}from'./aiquickactions/aiquickactionsui.js';export{AIActions}from'./aiactions/aiactions.js';export{AIBalloon}from'./aiballoon/aiballoon.js';export{AIReviewMode}from'./aireviewmode/aireviewmode.js';export{AIReviewModeController}from'./aireviewmode/aireviewmodecontroller.js';export{AIReviewModeEditing}from'./aireviewmode/aireviewmodeediting.js';export{AIReviewModeUI}from'./aireviewmode/aireviewmodeui.js';export{AIReviewCheck}from'./aireviewmode/model/aireviewcheck.js';function _0x474c(){var _0x2abe4e=['4rBjmeJ','95879BSnLaj','1580967kvVrle','306518RpjLVb','12113312iIoYrW','8AKTaVF','6XGwrru','373665JhgpEb','5621538rpNJon','72624475fdqZAB','60CbIyqj'];_0x474c=function(){return _0x2abe4e;};return _0x474c();}export{AIReviewCheckResult}from'./aireviewmode/model/aireviewcheckresult.js';export{AIReviewCheckRun}from'./aireviewmode/model/aireviewcheckrun.js';import'./augmentation.js';
|