@ckeditor/ckeditor5-ai 47.1.0-alpha.0 → 47.1.0-alpha.2
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 +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/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/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichat/utils/scrollmanager.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.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.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/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.js +1 -1
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
- package/src/aireviewmode/ui/form/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
|
|
23
|
+
import{ListItemView as _0x6cc252,View as _0x36c2ba,ViewCollection as _0x2f939c,ButtonView as _0x113750}from'ckeditor5/src/ui.js';import{IconStop as _0x3d7f88,IconEye as _0x324f68,IconEyeCrossedOut as _0x4040ec}from'ckeditor5/src/icons.js';import{AIReviewModeReviewCheckListItemResultsView as _0x7f0e74}from'./aireviewmodechecklistitemresultview.js';import{AISkeletonView as _0x249f58,SKELETON_DEFINITIONS as _0x191bb1}from'../../aicore/ui/aiskeleton.js';import{AIDisclaimerView as _0x22ba50}from'../../aicore/ui/aidisclaimerview.js';import{getTranslation as _0x415086}from'../../aicore/utils/common-translations.js';import{AISpinnerView as _0x476d11}from'../../aicore/ui/aispinner.js';import'../../../theme/aireviewmode/aireviewmode-check-run.css';import'../../../theme/aireviewmode/aireviewmode-check-run-result.css';export class AIReviewModeReviewCheckResultsView extends _0x6cc252{['_resultViews'];['resultsHeader'];['reviewDisclaimer'];['_cancelButtonView'];['_acceptAllButtonView'];['_exitReviewButtonView'];['_toggleDiffButtonView'];['_errorMessageView'];constructor(_0x3de114){super(_0x3de114),this['_resultViews']=new _0x2f939c(),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 _0x22ba50(_0x3de114),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');const _0x269ff4=this['_createCombinedSkeletonLoader'](),_0x4ee36b=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run',_0x4ee36b['if']('isVisible','ck-hidden',_0x1319f2=>!_0x1319f2)]},'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',_0x467183=>_0x467183)]},'children':this['_resultViews']},_0x269ff4]},this['reviewDisclaimer']]});}['clearResults'](){this['_resultViews']['clear']();}['getResults'](){return this['_resultViews'];}['addResult'](_0x1bf124){const _0x55336d=new _0x7f0e74(this['locale'],_0x1bf124['id']);_0x55336d['delegate']('acceptChange','dismissChange','activateChange')['to'](this),this['_resultViews']['add'](_0x55336d),_0x55336d['resultResponseView']['element']['innerHTML']=_0x1bf124['contentDiffed'];}['hideResult'](_0x5cdcaf){const _0x2dd09d=this['_resultViews']['find'](_0x59311a=>_0x59311a['id']===_0x5cdcaf);_0x2dd09d&&(_0x2dd09d['element']?.['classList']['add']('ck-ai-review-mode__check-run-result_removing'),_0x2dd09d['element']?.['addEventListener']('animationend',()=>{this['_resultViews']['remove'](_0x2dd09d),_0x2dd09d['destroy']();},{'once':!0x0}));}['setTitle'](_0x4ab9e1,_0x51ec34){this['headerTitle']=_0x4ab9e1,this['headerSubtitle']=_0x51ec34||'';}['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 _0x249f58(this['locale'],_0x191bb1['aiReviewChecks']);}['_createCombinedSkeletonLoader'](){const _0x398cca=new _0x36c2ba(this['locale']),_0x533e40=[];for(let _0x2739ce=0x0;_0x2739ce<0x10;_0x2739ce++){const _0x1c8c4b=this['_createSkeletonLoader']();_0x1c8c4b['extendTemplate']({'attributes':{'class':['ck-ai-review-mode__check-run-skeleton-item']}}),_0x533e40['push'](_0x1c8c4b);}return _0x398cca['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-skeleton-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x342353=>!_0x342353)]},'children':_0x533e40}),_0x398cca;}['_createErrorView'](){const _0x124474=new _0x36c2ba(this['locale']),_0x3fea11=new _0x113750(this['locale']),t=this['locale']['t'];return _0x124474['delegate']('retryReview')['to'](this),_0x3fea11['set']({'label':t('Try\x20again'),'withText':!0x0,'class':'ck-ai-button-secondary\x20ck-ai-review-mode__check-run-error-retry-button'}),_0x3fea11['on']('execute',()=>{this['fire']('retryReview');}),_0x124474['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-error-container',this['bindTemplate']['if']('showErrorMessage','ck-hidden',_0x3439c1=>!_0x3439c1),this['bindTemplate']['if']('errorType','ck-ai-review-mode__check-run-error-container_border-bottom',_0x12b0ed=>'chunk'===_0x12b0ed)]},'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',_0x118d69=>'chunk'===_0x118d69)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-chat-error__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x3ce029=>'general'!==_0x3ce029)]},'children':[{'text':_0x415086(this['locale'],'AI_REVIEW_MODE_GENERAL_ERROR_MESSAGE')}]},{'tag':'p','attributes':{'class':['ck-ai-chat-error__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x181632=>'chunk'!==_0x181632)]},'children':[{'text':_0x415086(this['locale'],'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE')}]}]},_0x3fea11]}),_0x124474;}['_createCancelButtonView'](){const _0x2f6474=new _0x113750(this['locale']);return _0x2f6474['set']({'label':_0x415086(this['locale'],'AI_REVIEW_MODE_STOP_GENERATING'),'withText':!0x0,'class':['ai-chat-controls-loader__cancel-button'],'icon':_0x3d7f88}),_0x2f6474['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isResultReady','ck-hidden',_0x1d7afb=>_0x1d7afb)]}}),_0x2f6474['on']('execute',()=>{this['fire']('abortReviewStream');}),_0x2f6474;}['_createToggleDiffButtonView'](){const _0x394796=new _0x113750(this['locale']);_0x394796['set']({'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox'}),_0x394796['bind']('isEnabled')['to'](this,'isError',_0x8592f9=>!_0x8592f9),_0x394796['extendTemplate']({'attributes':{'class':['ck-ai-button-secondary','ck-ai-review-mode__check-run-toggle-diff-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x1cc2fc=>!_0x1cc2fc)]}});const _0x4b2789=_0x415086(this['locale'],'AI_REVIEW_MODE_HIDE_CHANGES'),_0x37421b=_0x415086(this['locale'],'AI_REVIEW_MODE_SHOW_CHANGES');return _0x394796['bind']('isOn')['to'](this,'isToggleDiffOn',_0x4af1e0=>_0x4af1e0),_0x394796['bind']('icon')['to'](this,'isToggleDiffOn',_0x4bbf63=>_0x4bbf63?_0x324f68:_0x4040ec),_0x394796['bind']('label')['to'](this,'isToggleDiffOn',_0x502f41=>_0x502f41?_0x4b2789:_0x37421b),_0x394796['on']('execute',()=>{this['isToggleDiffOn']=!this['isToggleDiffOn'],this['fire']('toggleDiff',{'on':this['isToggleDiffOn']});}),_0x394796;}['_createAcceptAllButtonView'](){const _0x3e4022=new _0x113750(this['locale']);return _0x3e4022['set']({'label':_0x415086(this['locale'],'AI_REVIEW_MODE_ACCEPT_ALL'),'withText':!0x0}),_0x3e4022['bind']('isEnabled')['to'](this,'isError',_0x28091c=>!_0x28091c),_0x3e4022['extendTemplate']({'attributes':{'class':['ck-ai-button-primary','ck-ai-review-mode__check-run-accept-all-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x38bd48=>!_0x38bd48)]}}),_0x3e4022['on']('execute',()=>{this['fire']('acceptAllChanges');}),_0x3e4022;}['_createExitReviewButtonView'](){const _0x5f4541=new _0x113750(this['locale']);return _0x5f4541['set']({'label':_0x415086(this['locale'],'AI_REVIEW_MODE_EXIT_REVIEW'),'withText':!0x0}),_0x5f4541['extendTemplate']({'attributes':{'class':['ck-ai-button-tertiary-filled','ck-ai-review-mode__check-run-exit-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x330bab=>!_0x330bab)]}}),_0x5f4541['on']('execute',()=>{this['fire']('leaveReviewModeResultList');}),_0x5f4541;}['_createResultHeaderView'](){const _0x5cc06a=new _0x36c2ba(this['locale']),_0x4a9b89=this['_createTitleView']();return _0x5cc06a['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-header']},'children':[_0x4a9b89,{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-header-buttons']},'children':[this['_cancelButtonView'],this['_acceptAllButtonView'],this['_exitReviewButtonView'],this['_toggleDiffButtonView']]}]}),_0x5cc06a;}['_createTitleView'](){const _0xf1bd59=new _0x36c2ba(this['locale']),_0x424c5d=new _0x476d11();return _0x424c5d['bind']('isVisible')['to'](this,'isResultReady',_0x5c209e=>!_0x5c209e),_0xf1bd59['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-header-title-wrapper']},'children':[_0x424c5d,{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-header-title-content']},'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')}]}]}]}),_0xf1bd59;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ListItemView as
|
|
23
|
+
import{ListItemView as _0x5a1e6e,IconView as _0x3bf17e,View as _0x422ef9,ViewCollection as _0x117265,ButtonView as _0x610058,clickOutsideHandler as _0x501baa}from'ckeditor5/src/ui.js';import{IconChevronRight as _0x37a4f9}from'ckeditor5/src/icons.js';import{AIReviewModeFormManagerView as _0xffe67b}from'./form/aireviewmodeformmanager.js';import{AIReviewModeCustomCheckView as _0xf53e4}from'./aireviewmodecustomcheckview.js';export class AIReviewModeReviewCommandListItemView extends _0x5a1e6e{['_formItemsCollection']=new _0x117265();['_customCheckView']=null;constructor(_0x49072a,_0x434875,_0x383e5b){super(_0x49072a),this['set']('isParametrizedViewOpen',!0x1),this['set']('isListItemRendered',!0x1),this['set']('isItemParametrized',_0x434875['isParameterized']);const _0x3c9d2b=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',_0x17c67f=>_0x17c67f),this['bindTemplate']['if']('isListItemRendered','ck-ai-review-mode__check-list-item_rendered',_0x17daf2=>_0x17daf2)],'style':{'--ck-ai-check-list-item-index':_0x383e5b}},'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':_0x434875['title']}]},_0x3c9d2b]},{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-description']},'children':[{'text':_0x434875['description']}]}]}]},..._0x434875['isParameterized']?[this['_createParameterizedView'](_0x434875)]:[],...'custom'===_0x434875['id']?[this['_createCustomView'](_0x434875)]:[]]}),this['on']('click',()=>{_0x434875['isParameterized']?this['isParametrizedViewOpen']=!0x0:this['fire']('runReviewCheck',{'id':_0x434875['id']});}),requestAnimationFrame(()=>{this['isListItemRendered']=!0x0;});}['render'](){super['render'](),this['isItemParametrized']&&_0x501baa({'emitter':this,'activator':()=>!0x0===this['isParametrizedViewOpen'],'contextElements':[this['element']],'callback':()=>{this['isParametrizedViewOpen']=!0x1;}});}['resetToDefault'](){this['isParametrizedViewOpen']=!0x1,this['_formItemsCollection']['forEach'](_0x32164a=>{_0x32164a['resetToDefault']();}),this['_customCheckView']&&this['_customCheckView']['resetToDefault']();}['_createIconView'](){const _0x424b5b=new _0x3bf17e();return _0x424b5b['content']=_0x37a4f9,_0x424b5b['extendTemplate']({'attributes':{'class':['ck-ai-review-mode__check-list-item-title-icon']}}),_0x424b5b;}['_createParameterizedView'](_0x4e8d2b){const _0x4e2727=new _0x422ef9(),_0x197c0c=this['_createFormView'](_0x4e8d2b);return _0x4e2727['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-parameterized',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x235b5b=>!_0x235b5b)]},'children':[_0x197c0c]}),_0x4e2727;}['_createFormView'](_0x1d206){const _0x1a5e7d=new _0x422ef9(),_0x5693de=Array['isArray'](_0x1d206['options'])?_0x1d206['options']:[],_0x1b574e=new _0x610058(this['locale']),t=this['locale']['t'];_0x1b574e['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x1b574e['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x36331f=>{_0x36331f['stopPropagation']();})}}),_0x1b574e['on']('execute',()=>{const _0x4f03f4=[],_0x73076={};this['_formItemsCollection']['forEach'](_0x133e24=>{_0x4f03f4['push'](_0x133e24['value']),_0x1d206['useArgs']&&_0x1d206['options']&&(_0x73076[_0x133e24['argsKey']]=_0x133e24['value']);}),this['fire']('runReviewCheck',{'id':_0x1d206['id'],'params':_0x4f03f4['length']?_0x4f03f4:void 0x0,'args':Object['keys'](_0x73076)['length']?_0x73076:void 0x0});});const _0x309bfe=_0x5693de['length'];return _0x5693de['forEach']((_0x523c9b,_0x514cfd)=>{const _0x4fa5c6=_0x514cfd===_0x309bfe-0x1;this['_formItemsCollection']['add'](new _0xffe67b(this['locale'],_0x523c9b,_0x4fa5c6?_0x1b574e:null));}),_0x1a5e7d['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-parameterized-form']},'children':this['_formItemsCollection']}),_0x1a5e7d;}['_createCustomView'](_0x4e1100){return this['_customCheckView']=new _0xf53e4(this['locale'],_0x4e1100),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',_0x4f066f=>!_0x4f066f)]}}),this['_customCheckView']['delegate']('runReviewCheck')['to'](this),this['listenTo'](this['_customCheckView'],'closeCustomCheck',()=>{this['isParametrizedViewOpen']=!0x1;}),this['on']('change:isParametrizedViewOpen',(_0xa7d902,_0x2e13c1,_0x3e9e0d)=>{_0x3e9e0d||this['_customCheckView']['resetFormValidationStatus']();}),this['_customCheckView'];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2030fd=_0xe0a7;(function(_0xb5b8de,_0x2a5ad7){const _0x53116a=_0xe0a7,_0x8c8506=_0xb5b8de();while(!![]){try{const _0x15b034=-parseInt(_0x53116a(0x77))/0x1*(-parseInt(_0x53116a(0x8f))/0x2)+parseInt(_0x53116a(0x80))/0x3+-parseInt(_0x53116a(0x81))/0x4+parseInt(_0x53116a(0x95))/0x5+-parseInt(_0x53116a(0x8b))/0x6+parseInt(_0x53116a(0x85))/0x7*(parseInt(_0x53116a(0x94))/0x8)+-parseInt(_0x53116a(0x7c))/0x9;if(_0x15b034===_0x2a5ad7)break;else _0x8c8506['push'](_0x8c8506['shift']());}catch(_0x467dd5){_0x8c8506['push'](_0x8c8506['shift']());}}}(_0x5472,0x5addb));import{ListItemView as _0x98f5be,View as _0x7a218d,ButtonView as _0x52b67d}from'ckeditor5/src/ui.js';function _0x5472(){const _0x47671d=['2609015eirHEw','resultsHeader','ck-ai-review-mode__review-completed-content-text','locale','fire','ck-ai-review-mode__review-completed-header-buttons','ck-hidden','setTemplate','1HxvDOe','set','AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE','ck-ai-button-primary','isVisible','4039380XxFZqf','_finishReviewButtonView','div','ck-ai-review-mode__review-completed-header','626088ExBPhb','2223740jelxev','viewType','AI_REVIEW_MODE_COMPLETED_TEXT','AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL','28VgoHeB','execute','completed','bindTemplate','_createResultHeaderView','ck-ai-review-mode__review-completed-header-title','2194818izfqdn','span','_createFinishReviewButtonView','ck-ai-review-mode__review-completed','882868CSxXVR','ck-ai-review-mode__review-completed-content','finishReview','ck-ai-review-mode__review-completed-content-icon','AI_REVIEW_MODE_EMPTY_RESULTS_TEXT','1141624VANHzM'];_0x5472=function(){return _0x47671d;};return _0x5472();}import{getTranslation as _0x52d347}from'../../aicore/utils/common-translations.js';import'../../../theme/aireviewmode/aireviewmode-review-completed.css';function _0xe0a7(_0x3db38d,_0x13c60d){const _0x54726a=_0x5472();return _0xe0a7=function(_0xe0a71,_0xea02a1){_0xe0a71=_0xe0a71-0x73;let _0x256458=_0x54726a[_0xe0a71];return _0x256458;},_0xe0a7(_0x3db38d,_0x13c60d);}export class AIReviewModeReviewCompletedView extends _0x98f5be{[_0x2030fd(0x96)];[_0x2030fd(0x7d)];constructor(_0x3fd31f){const _0x25d17f=_0x2030fd;super(_0x3fd31f),this[_0x25d17f(0x7d)]=this[_0x25d17f(0x8d)](),this[_0x25d17f(0x96)]=this[_0x25d17f(0x89)](),this[_0x25d17f(0x78)](_0x25d17f(0x82),_0x25d17f(0x87));const _0x31c21d=this[_0x25d17f(0x88)];this[_0x25d17f(0x76)]({'tag':_0x25d17f(0x7e),'attributes':{'class':[_0x25d17f(0x8e),_0x31c21d['if'](_0x25d17f(0x7b),_0x25d17f(0x75),_0x5c700c=>!_0x5c700c)]},'children':[this[_0x25d17f(0x96)],{'tag':_0x25d17f(0x7e),'attributes':{'class':[_0x25d17f(0x90)]},'children':[{'tag':_0x25d17f(0x8c),'attributes':{'class':[_0x25d17f(0x92)]},'children':[{'text':_0x31c21d['to'](_0x25d17f(0x82),_0x546ce8=>_0x25d17f(0x87)===_0x546ce8?'🎉':'👍')}]},{'tag':'p','attributes':{'class':[_0x25d17f(0x97)]},'children':[{'text':_0x31c21d['to'](_0x25d17f(0x82),_0x460cac=>_0x52d347(_0x3fd31f,_0x25d17f(0x87)===_0x460cac?_0x25d17f(0x83):_0x25d17f(0x93)))}]}]}]});}[_0x2030fd(0x8d)](){const _0x4731ba=_0x2030fd,_0x3536c3=new _0x52b67d(this[_0x4731ba(0x98)]);return _0x3536c3[_0x4731ba(0x78)]({'label':_0x52d347(this[_0x4731ba(0x98)],_0x4731ba(0x84)),'withText':!0x0,'class':_0x4731ba(0x7a)}),_0x3536c3['on'](_0x4731ba(0x86),()=>{const _0x5846c7=_0x4731ba;this[_0x5846c7(0x73)](_0x5846c7(0x91));}),_0x3536c3;}[_0x2030fd(0x89)](){const _0x200fca=_0x2030fd,_0x2c3062=new _0x7a218d(this[_0x200fca(0x98)]);return _0x2c3062[_0x200fca(0x76)]({'tag':_0x200fca(0x7e),'attributes':{'class':[_0x200fca(0x7f)]},'children':[{'tag':_0x200fca(0x8c),'attributes':{'class':[_0x200fca(0x8a)]},'children':[{'text':_0x52d347(this[_0x200fca(0x98)],_0x200fca(0x79))}]},{'tag':_0x200fca(0x7e),'attributes':{'class':[_0x200fca(0x74)]},'children':[this[_0x200fca(0x7d)]]}]}),_0x2c3062;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x20dff6=_0x5534;function _0xee18(){var _0x325e9f=['ltr','set','showChunkErrorMessage','showChunkErrorView','isLoading','addCheckRunResult','clearResults','completed','4372UGBmsc','div','showReviewCompletedView','ck-ai-review-mode','resetAllParameterizedChecks','showActionsWhenResultIsReady','showNoChangesView','2476110fdcYHd','reviewCompletedView','ck-reset_all','144VDcZNh','unmodified','addResult','isResultReady','setTemplate','4216740NZtqpQ','11GueMyz','2UPkhVa','30gtdwpH','12922DYfyYm','isVisible','174NpSuVG','118125OKVyMJ','ck-rounded-corners','651033clSQmS','reviewCheckListView','ck-ai-header\x20ck-ai-header_review-mode','resetErrorState','viewType','223780fRSpbs','6JUDxbM','delegate','AI_REVIEW_MODE','finishReview','showReviewCheckListView','reviewCheckResultsView','showGeneralErrorMessage','hideActionsWhenResultIsReady','reviewModeHeader','showGeneralErrorView','showReviewCheckResultsView'];_0xee18=function(){return _0x325e9f;};return _0xee18();}(function(_0x48609b,_0x2f510b){var _0x9c0b5f=_0x5534,_0x5037f5=_0x48609b();while(!![]){try{var _0x98e92f=-parseInt(_0x9c0b5f(0x145))/0x1*(parseInt(_0x9c0b5f(0x140))/0x2)+-parseInt(_0x9c0b5f(0x144))/0x3*(parseInt(_0x9c0b5f(0x160))/0x4)+parseInt(_0x9c0b5f(0x14c))/0x5*(parseInt(_0x9c0b5f(0x14d))/0x6)+parseInt(_0x9c0b5f(0x142))/0x7*(-parseInt(_0x9c0b5f(0x139))/0x8)+parseInt(_0x9c0b5f(0x147))/0x9*(parseInt(_0x9c0b5f(0x141))/0xa)+parseInt(_0x9c0b5f(0x13f))/0xb*(parseInt(_0x9c0b5f(0x13e))/0xc)+-parseInt(_0x9c0b5f(0x136))/0xd;if(_0x98e92f===_0x2f510b)break;else _0x5037f5['push'](_0x5037f5['shift']());}catch(_0x3a2aba){_0x5037f5['push'](_0x5037f5['shift']());}}}(_0xee18,0x32c49));import{View as _0x67560,FormHeaderView as _0x4d7da3}from'ckeditor5/src/ui.js';import{IconAIReview as _0x31e01c}from'ckeditor5/src/icons.js';import{AIReviewModeReviewCheckListView as _0x2e6c4b}from'./aireviewmodereviewchecklistview.js';import{AI_REVIEW_MODE_UI_EVENT_NAMES as _0x504b9c}from'../aireviewmodeui.js';import{AIReviewModeReviewCheckResultsView as _0x2115d7}from'./aireviewmodereviewcheckresultsview.js';function _0x5534(_0x427fa4,_0x2549b0){var _0xee189e=_0xee18();return _0x5534=function(_0x55342c,_0x6d4d68){_0x55342c=_0x55342c-0x130;var _0x78ebe9=_0xee189e[_0x55342c];return _0x78ebe9;},_0x5534(_0x427fa4,_0x2549b0);}import{AIReviewModeReviewCompletedView as _0x4179b2}from'./aireviewmodereviewcompletedview.js';import{getTranslation as _0x449c55}from'../../aicore/utils/common-translations.js';export class AIReviewModeView extends _0x67560{[_0x20dff6(0x155)];[_0x20dff6(0x148)];[_0x20dff6(0x152)];[_0x20dff6(0x137)];constructor(_0x51939d){var _0x120572=_0x20dff6;super(_0x51939d),this[_0x120572(0x155)]=new _0x4d7da3(_0x51939d,{'label':_0x449c55(_0x51939d,_0x120572(0x14f)),'icon':_0x31e01c,'class':_0x120572(0x149)}),this[_0x120572(0x148)]=new _0x2e6c4b(_0x51939d),this[_0x120572(0x148)][_0x120572(0x14e)](..._0x504b9c)['to'](this),this[_0x120572(0x152)]=new _0x2115d7(_0x51939d),this[_0x120572(0x152)][_0x120572(0x14e)](..._0x504b9c)['to'](this),this[_0x120572(0x137)]=new _0x4179b2(_0x51939d),this[_0x120572(0x137)][_0x120572(0x14e)](_0x120572(0x150))['to'](this),this[_0x120572(0x148)][_0x120572(0x159)](_0x120572(0x143),!0x1),this[_0x120572(0x152)][_0x120572(0x159)](_0x120572(0x143),!0x1),this[_0x120572(0x152)][_0x120572(0x159)](_0x120572(0x15c),!0x1),this[_0x120572(0x152)][_0x120572(0x159)](_0x120572(0x13c),!0x1),this[_0x120572(0x137)][_0x120572(0x159)](_0x120572(0x143),!0x1),this[_0x120572(0x13d)]({'tag':_0x120572(0x130),'attributes':{'class':['ck',_0x120572(0x138),_0x120572(0x132),_0x120572(0x146)],'dir':_0x120572(0x158)},'children':[this[_0x120572(0x155)],this[_0x120572(0x148)],this[_0x120572(0x152)],this[_0x120572(0x137)]]});}[_0x20dff6(0x151)](){var _0x30a854=_0x20dff6;this[_0x30a854(0x148)][_0x30a854(0x133)](),this[_0x30a854(0x148)][_0x30a854(0x159)](_0x30a854(0x143),!0x0),this[_0x30a854(0x152)][_0x30a854(0x159)](_0x30a854(0x143),!0x1),this[_0x30a854(0x137)][_0x30a854(0x159)](_0x30a854(0x143),!0x1);}[_0x20dff6(0x157)](){var _0x46596b=_0x20dff6;this[_0x46596b(0x154)](),this[_0x46596b(0x152)][_0x46596b(0x14a)](),this[_0x46596b(0x148)][_0x46596b(0x159)](_0x46596b(0x143),!0x1),this[_0x46596b(0x152)][_0x46596b(0x159)](_0x46596b(0x143),!0x0),this[_0x46596b(0x152)][_0x46596b(0x15e)](),this[_0x46596b(0x152)][_0x46596b(0x159)](_0x46596b(0x15c),!0x0);}[_0x20dff6(0x15d)](_0x38b0b0){var _0x41726b=_0x20dff6;this[_0x41726b(0x152)][_0x41726b(0x13b)](_0x38b0b0),this[_0x41726b(0x152)][_0x41726b(0x159)](_0x41726b(0x15c),!0x1);}[_0x20dff6(0x131)](){var _0x137d9f=_0x20dff6;this[_0x137d9f(0x148)][_0x137d9f(0x159)](_0x137d9f(0x143),!0x1),this[_0x137d9f(0x152)][_0x137d9f(0x159)](_0x137d9f(0x143),!0x1),this[_0x137d9f(0x137)][_0x137d9f(0x159)](_0x137d9f(0x14b),_0x137d9f(0x15f)),this[_0x137d9f(0x137)][_0x137d9f(0x159)](_0x137d9f(0x143),!0x0);}[_0x20dff6(0x134)](){var _0x1578d4=_0x20dff6;this[_0x1578d4(0x152)][_0x1578d4(0x13c)]=!0x0;}[_0x20dff6(0x135)](){var _0x1552b1=_0x20dff6;this[_0x1552b1(0x148)][_0x1552b1(0x159)](_0x1552b1(0x143),!0x1),this[_0x1552b1(0x152)][_0x1552b1(0x159)](_0x1552b1(0x143),!0x1),this[_0x1552b1(0x137)][_0x1552b1(0x159)](_0x1552b1(0x14b),_0x1552b1(0x13a)),this[_0x1552b1(0x137)][_0x1552b1(0x159)](_0x1552b1(0x143),!0x0);}[_0x20dff6(0x154)](){var _0x36b384=_0x20dff6;this[_0x36b384(0x152)][_0x36b384(0x13c)]=!0x1;}[_0x20dff6(0x156)](){var _0x4c673c=_0x20dff6;this[_0x4c673c(0x152)][_0x4c673c(0x159)](_0x4c673c(0x15c),!0x1),this[_0x4c673c(0x134)](),this[_0x4c673c(0x152)][_0x4c673c(0x153)]();}[_0x20dff6(0x15b)](){var _0x26ac7b=_0x20dff6;this[_0x26ac7b(0x152)][_0x26ac7b(0x159)](_0x26ac7b(0x15c),!0x1),this[_0x26ac7b(0x134)](),this[_0x26ac7b(0x152)][_0x26ac7b(0x15a)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3f81bf=_0x4e29;(function(_0x521baa,_0x28fbc7){const _0x464503=_0x4e29,_0x22ec23=_0x521baa();while(!![]){try{const _0x1c38e2=-parseInt(_0x464503(0x135))/0x1+parseInt(_0x464503(0x149))/0x2+parseInt(_0x464503(0x14e))/0x3*(parseInt(_0x464503(0x142))/0x4)+parseInt(_0x464503(0x14b))/0x5+parseInt(_0x464503(0x146))/0x6*(-parseInt(_0x464503(0x14a))/0x7)+parseInt(_0x464503(0x13e))/0x8+-parseInt(_0x464503(0x131))/0x9;if(_0x1c38e2===_0x28fbc7)break;else _0x22ec23['push'](_0x22ec23['shift']());}catch(_0x5e4466){_0x22ec23['push'](_0x22ec23['shift']());}}}(_0x5e92,0x214f6));import{Collection as _0xdf9e8e}from'ckeditor5/src/utils.js';function _0x5e92(){const _0xbb1fe6=['default','menu','21ZZfGIw','resetToDefault','source','stopPropagation','button','_defaultLabel','_prepareListOptions','data','isOn','extendTemplate','menuitemradio','find','673947MsMLJP','model','bind','ck-ai-review-mode__check-list-item-parameterized-form-element','30454DUdXBS','bindTemplate','execute','ck-ai-review-mode__check-list-item-parameterized-form-element_dropdown','div','add','_defaultValue','ck-reset_all','set','404480eVnFtb','label','locale','length','105716qqfHCd','listenTo','formValue','_dropdownView','5046nxczwT','setTemplate','buttonView','111582asZXpA','2149SCWYfT','1043040RbOohc'];_0x5e92=function(){return _0xbb1fe6;};return _0x5e92();}function _0x4e29(_0x3f5d9b,_0x4f7493){const _0x5e925a=_0x5e92();return _0x4e29=function(_0x4e29b9,_0x4596f5){_0x4e29b9=_0x4e29b9-0x12e;let _0x4a7bb4=_0x5e925a[_0x4e29b9];return _0x4a7bb4;},_0x4e29(_0x3f5d9b,_0x4f7493);}import{View as _0x379105,createDropdown as _0x173030,addListToDropdown as _0x14e169,UIModel as _0x39ece5}from'ckeditor5/src/ui.js';export class AIReviewModeFormDropdownView extends _0x379105{[_0x3f81bf(0x145)];[_0x3f81bf(0x13b)];[_0x3f81bf(0x153)];constructor(_0x5d5b69,_0x191dec){const _0x215558=_0x3f81bf;super(_0x5d5b69),this[_0x215558(0x13b)]=_0x191dec[_0x215558(0x14c)]||(_0x191dec[_0x215558(0x155)][_0x215558(0x141)]>0x0?_0x191dec[_0x215558(0x155)][0x0]['id']:''),this[_0x215558(0x153)]=_0x191dec[_0x215558(0x155)][_0x215558(0x130)](_0x289a66=>_0x289a66['id']===this[_0x215558(0x13b)])?.[_0x215558(0x13f)]||'',this[_0x215558(0x13d)](_0x215558(0x144),''),this[_0x215558(0x145)]=_0x173030(this[_0x215558(0x140)]);const _0x33d0b7=this[_0x215558(0x154)](_0x191dec[_0x215558(0x155)]);_0x14e169(this[_0x215558(0x145)],_0x33d0b7,{'role':_0x215558(0x14d),'ariaLabel':_0x191dec[_0x215558(0x13f)]}),this[_0x215558(0x145)][_0x215558(0x148)][_0x215558(0x13d)]({'label':this[_0x215558(0x153)],'withText':!0x0}),this[_0x215558(0x145)][_0x215558(0x12e)]({'on':{'click':this[_0x215558(0x136)]['to'](_0x5a0da9=>{const _0x5d4878=_0x215558;_0x5a0da9[_0x5d4878(0x151)]();})}}),this[_0x215558(0x143)](this[_0x215558(0x145)],_0x215558(0x137),_0x1d8aaf=>{const _0x50d5d2=_0x215558;this[_0x50d5d2(0x144)]=_0x1d8aaf[_0x50d5d2(0x150)][_0x50d5d2(0x132)]['id'],this[_0x50d5d2(0x145)][_0x50d5d2(0x148)][_0x50d5d2(0x13f)]=_0x1d8aaf[_0x50d5d2(0x150)][_0x50d5d2(0x132)][_0x50d5d2(0x13f)];}),this[_0x215558(0x147)]({'tag':_0x215558(0x139),'attributes':{'class':['ck',_0x215558(0x13c),_0x215558(0x134),_0x215558(0x138)]},'children':[this[_0x215558(0x145)]]});}[_0x3f81bf(0x14f)](){const _0x192116=_0x3f81bf;this[_0x192116(0x144)]=this[_0x192116(0x13b)],this[_0x192116(0x145)][_0x192116(0x148)][_0x192116(0x13f)]=this[_0x192116(0x153)];}[_0x3f81bf(0x154)](_0x585f9f=[]){const _0x367218=_0x3f81bf,_0x40db5b=new _0xdf9e8e();this[_0x367218(0x14f)]();for(const _0x2c9fb1 of _0x585f9f){const _0x3edefc=new _0x39ece5({'label':_0x2c9fb1[_0x367218(0x13f)],'withText':!0x0,'role':_0x367218(0x12f),'id':_0x2c9fb1['id'],'model':_0x2c9fb1});_0x3edefc[_0x367218(0x133)](_0x367218(0x156))['to'](this,_0x367218(0x144),_0x475047=>_0x475047===_0x3edefc['id']);const _0x42480a={'type':_0x367218(0x152),'model':_0x3edefc};_0x40db5b[_0x367218(0x13a)](_0x42480a);}return _0x40db5b;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x5922(_0x2e10d6,_0x25c2f0){const _0x398552=_0x3985();return _0x5922=function(_0x5922f8,_0x1f9689){_0x5922f8=_0x5922f8-0x157;let _0xccb935=_0x398552[_0x5922f8];return _0xccb935;},_0x5922(_0x2e10d6,_0x25c2f0);}const _0x25bd14=_0x5922;(function(_0x575854,_0x45141f){const _0xb27835=_0x5922,_0x387b94=_0x575854();while(!![]){try{const _0x5394de=parseInt(_0xb27835(0x15e))/0x1*(parseInt(_0xb27835(0x162))/0x2)+-parseInt(_0xb27835(0x172))/0x3+-parseInt(_0xb27835(0x157))/0x4+-parseInt(_0xb27835(0x16f))/0x5+-parseInt(_0xb27835(0x168))/0x6*(parseInt(_0xb27835(0x165))/0x7)+parseInt(_0xb27835(0x15b))/0x8*(parseInt(_0xb27835(0x15a))/0x9)+-parseInt(_0xb27835(0x159))/0xa*(-parseInt(_0xb27835(0x167))/0xb);if(_0x5394de===_0x45141f)break;else _0x387b94['push'](_0x387b94['shift']());}catch(_0x5cf371){_0x387b94['push'](_0x387b94['shift']());}}}(_0x3985,0x8ec25));function _0x3985(){const _0x5706d7=['4239065eiIIMH','_formItem','add','1280019qfvGBi','1268492aHXCxa','setTemplate','1670yWpzEK','36tBkrXt','887840WSVPOX','formValue','value','1uGdoAb','bind','locale','ck-ai-review-mode__form-item','1697098yNIlUv','argsKey','ck-reset_all','6502328QyUokW','div','119405JDbVmt','6eOSXUO','formType','set','dropdown','ck-form__row_with-submit','children','resetToDefault'];_0x3985=function(){return _0x5706d7;};return _0x3985();}import{FormRowView as _0x386de6,ListItemView as _0x453f94}from'ckeditor5/src/ui.js';import{AIReviewModeFormDropdownView as _0x3932e7}from'./aireviewmodeformdropdown.js';export class AIReviewModeFormManagerView extends _0x453f94{[_0x25bd14(0x170)]=null;constructor(_0x5f536b,_0x590102,_0x374915){const _0xfa1485=_0x25bd14;super(_0x5f536b),this[_0xfa1485(0x163)]=_0x590102?.[_0xfa1485(0x163)];if(_0xfa1485(0x16b)===_0x590102[_0xfa1485(0x169)])this[_0xfa1485(0x170)]=new _0x3932e7(this[_0xfa1485(0x160)],_0x590102);this[_0xfa1485(0x16a)](_0xfa1485(0x15d),''),this[_0xfa1485(0x15f)](_0xfa1485(0x15d))['to'](this[_0xfa1485(0x170)],_0xfa1485(0x15c));const _0x282272=new _0x386de6(this[_0xfa1485(0x160)],{'children':[this[_0xfa1485(0x170)]],'class':[_0x374915?_0xfa1485(0x16c):'']});_0x374915&&_0x282272[_0xfa1485(0x16d)][_0xfa1485(0x171)](_0x374915),this[_0xfa1485(0x158)]({'tag':_0xfa1485(0x166),'attributes':{'class':['ck',_0xfa1485(0x161),_0xfa1485(0x164)]},'children':[_0x282272]});}[_0x25bd14(0x16e)](){const _0x11c161=_0x25bd14;this[_0x11c161(0x170)][_0x11c161(0x16e)]();}}
|
package/src/aitabs/aitabs.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x116586=_0x38f7;function _0x17b7(){const _0x4fb51f=['visibleByDefault','ai.container','overlay','locale','destroy','ai-tabs-unsupported-ui-type','context','get','resize','side','92gDJJOy','body','isMaximized','container','resizedTabs','switchSide','4236551HHKaBb','config','2061283GWsZlu','40rswKWw','153OxnWNj','element','render','view','showResizeButton','ai-tabs-sidebar-container-element-not-found','sidebar','custom','isOfficialPlugin','appendChild','pluginName','set','remove','573817BPLPWQ','1771860AeYFzO','411368OroLVz','type','isPremiumPlugin','AITabs','right','switchType','16028QeMLem','fire','bind','includes','53330gXDtXO','ai-tabs-unsupported-ui-side','focusTracker','ai-tabs-configuration-not-found','add','321IATlKM'];_0x17b7=function(){return _0x4fb51f;};return _0x17b7();}(function(_0x4a670b,_0x4b1a6c){const _0x5c5980=_0x38f7,_0x51a9bd=_0x4a670b();while(!![]){try{const _0x26e16f=parseInt(_0x5c5980(0x164))/0x1+-parseInt(_0x5c5980(0x16c))/0x2*(-parseInt(_0x5c5980(0x175))/0x3)+parseInt(_0x5c5980(0x180))/0x4*(-parseInt(_0x5c5980(0x170))/0x5)+parseInt(_0x5c5980(0x165))/0x6+-parseInt(_0x5c5980(0x188))/0x7+-parseInt(_0x5c5980(0x166))/0x8*(-parseInt(_0x5c5980(0x18a))/0x9)+-parseInt(_0x5c5980(0x189))/0xa*(parseInt(_0x5c5980(0x186))/0xb);if(_0x26e16f===_0x4b1a6c)break;else _0x51a9bd['push'](_0x51a9bd['shift']());}catch(_0x5536b4){_0x51a9bd['push'](_0x51a9bd['shift']());}}}(_0x17b7,0x7f0ef));import{ContextPlugin as _0x455915,Editor as _0x441ac3}from'ckeditor5/src/core.js';import{CKEditorError as _0x45adc9}from'ckeditor5/src/utils.js';function _0x38f7(_0x277430,_0x509d5d){const _0x17b760=_0x17b7();return _0x38f7=function(_0x38f784,_0x54f0cc){_0x38f784=_0x38f784-0x164;let _0x282b9d=_0x17b760[_0x38f784];return _0x282b9d;},_0x38f7(_0x277430,_0x509d5d);}import{AITabsMainView as _0x1ab2e6,AI_TABS_VIEW_SIDES as _0x220d99,AI_TABS_VIEW_TYPES as _0x48e368}from'./aitabsmainview.js';export class AITabs extends _0x455915{[_0x116586(0x18d)];[_0x116586(0x183)]=null;[_0x116586(0x18e)]=!0x0;static get[_0x116586(0x194)](){const _0xeb937c=_0x116586;return _0xeb937c(0x169);}static get[_0x116586(0x192)](){return!0x0;}static get[_0x116586(0x168)](){return!0x0;}constructor(_0x27cf18){const _0x39fffc=_0x116586;super(_0x27cf18);const _0x1725f0=this[_0x39fffc(0x17c)][_0x39fffc(0x187)][_0x39fffc(0x17d)](_0x39fffc(0x177));if(this[_0x39fffc(0x195)](_0x39fffc(0x17f),_0x39fffc(0x16a)),!_0x1725f0)throw new _0x45adc9(_0x39fffc(0x173));if(void 0x0!==_0x1725f0[_0x39fffc(0x18e)]&&(this[_0x39fffc(0x18e)]=_0x1725f0[_0x39fffc(0x18e)]),_0x39fffc(0x190)!==_0x1725f0[_0x39fffc(0x167)]&&_0x39fffc(0x178)!==_0x1725f0[_0x39fffc(0x167)]||_0x1725f0[_0x39fffc(0x17f)]&&(this[_0x39fffc(0x17f)]=_0x1725f0[_0x39fffc(0x17f)]),_0x39fffc(0x190)===_0x1725f0[_0x39fffc(0x167)]){if(this[_0x39fffc(0x183)]=_0x1725f0[_0x39fffc(0x18b)],this[_0x39fffc(0x195)](_0x39fffc(0x167),_0x39fffc(0x190)),!this[_0x39fffc(0x183)])throw new _0x45adc9(_0x39fffc(0x18f));}else _0x39fffc(0x178)===_0x1725f0[_0x39fffc(0x167)]?(this[_0x39fffc(0x183)]=document[_0x39fffc(0x181)],this[_0x39fffc(0x195)](_0x39fffc(0x167),_0x39fffc(0x178))):(this[_0x39fffc(0x183)]=null,this[_0x39fffc(0x195)](_0x39fffc(0x167),_0x39fffc(0x191)));this[_0x39fffc(0x18d)]=new _0x1ab2e6(this[_0x39fffc(0x17c)][_0x39fffc(0x179)],{'side':this[_0x39fffc(0x17f)],'type':this[_0x39fffc(0x167)],'visibleByDefault':void 0x0===_0x1725f0[_0x39fffc(0x176)]||_0x1725f0[_0x39fffc(0x176)]}),this[_0x39fffc(0x18d)][_0x39fffc(0x18c)](),this[_0x39fffc(0x18d)][_0x39fffc(0x16e)](_0x39fffc(0x17f))['to'](this,_0x39fffc(0x17f)),this[_0x39fffc(0x18d)][_0x39fffc(0x16e)](_0x39fffc(0x167))['to'](this,_0x39fffc(0x167)),this[_0x39fffc(0x183)]&&this[_0x39fffc(0x183)][_0x39fffc(0x193)](this[_0x39fffc(0x18d)][_0x39fffc(0x18b)]),this[_0x39fffc(0x17c)]instanceof _0x441ac3&&this[_0x39fffc(0x17c)]['ui'][_0x39fffc(0x172)][_0x39fffc(0x174)](this[_0x39fffc(0x18d)][_0x39fffc(0x18b)]);}[_0x116586(0x16b)](_0x5d39a4){const _0x3ab436=_0x116586;if(_0x5d39a4&&this[_0x3ab436(0x167)]!==_0x5d39a4){if(!_0x48e368[_0x3ab436(0x16f)](_0x5d39a4))throw new _0x45adc9(_0x3ab436(0x17b));this[_0x3ab436(0x167)]=_0x5d39a4;}}[_0x116586(0x185)](_0xf440e9){const _0x13d114=_0x116586;if(_0xf440e9&&this[_0x13d114(0x17f)]!==_0xf440e9){if(!_0x220d99[_0x13d114(0x16f)](_0xf440e9))throw new _0x45adc9(_0x13d114(0x171));this[_0x13d114(0x17f)]=_0xf440e9;}}[_0x116586(0x17e)](){const _0x18820f=_0x116586;this[_0x18820f(0x18d)][_0x18820f(0x182)]=!this[_0x18820f(0x18d)][_0x18820f(0x182)],this[_0x18820f(0x16d)](_0x18820f(0x184),this[_0x18820f(0x18d)][_0x18820f(0x182)]);}[_0x116586(0x17a)](){const _0x32d5b1=_0x116586;super[_0x32d5b1(0x17a)](),this[_0x32d5b1(0x18d)][_0x32d5b1(0x17a)](),this[_0x32d5b1(0x18d)][_0x32d5b1(0x18b)]&&this[_0x32d5b1(0x18d)][_0x32d5b1(0x18b)][_0x32d5b1(0x196)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0xbfa5(_0x241a2c,_0x3e4785){const _0x401e4c=_0x401e();return _0xbfa5=function(_0xbfa54a,_0x4fe78f){_0xbfa54a=_0xbfa54a-0xb5;let _0x5bdab0=_0x401e4c[_0xbfa54a];return _0x5bdab0;},_0xbfa5(_0x241a2c,_0x3e4785);}const _0xb30330=_0xbfa5;(function(_0x2c0211,_0x5edb9f){const _0x41fdca=_0xbfa5,_0x113aa8=_0x2c0211();while(!![]){try{const _0x5971fa=parseInt(_0x41fdca(0xbc))/0x1+-parseInt(_0x41fdca(0xc8))/0x2*(-parseInt(_0x41fdca(0xb6))/0x3)+parseInt(_0x41fdca(0xc7))/0x4*(-parseInt(_0x41fdca(0xc4))/0x5)+parseInt(_0x41fdca(0xcd))/0x6*(-parseInt(_0x41fdca(0xcb))/0x7)+parseInt(_0x41fdca(0xd2))/0x8*(-parseInt(_0x41fdca(0xc6))/0x9)+parseInt(_0x41fdca(0xc5))/0xa*(-parseInt(_0x41fdca(0xc9))/0xb)+parseInt(_0x41fdca(0xb5))/0xc;if(_0x5971fa===_0x5edb9f)break;else _0x113aa8['push'](_0x113aa8['shift']());}catch(_0x1f1875){_0x113aa8['push'](_0x113aa8['shift']());}}}(_0x401e,0x73d49));import{AITabsView as _0x1397bd}from'./tabs/aitabsview.js';import'../../theme/aitabs/aitabsview.css';export const AI_TABS_VIEW_TYPES=[_0xb30330(0xbb),_0xb30330(0xce),_0xb30330(0xc3)];export const AI_TABS_VIEW_SIDES=[_0xb30330(0xc1),_0xb30330(0xd0)];function _0x401e(){const _0x3b5d83=['150135fDUcbH','visibleByDefault','ck-ai-tabs__overlay','withText','buttonViews','left','side','custom','90abVSeO','1470KkGNEV','1818FdlfmT','29588WfXdtx','891496EPDuHV','51678SRizLQ','add','4926733gPDqHO','set','6IpjOyI','sidebar','ck-ai-tabs__sidebar','right','ck-hidden','13456oKoGOr','isVisible','20950716pzSFtH','3HBjFkh','bindTemplate','extendTemplate','ck-ai-tabs','type','overlay'];_0x401e=function(){return _0x3b5d83;};return _0x401e();}export class AITabsMainView extends _0x1397bd{constructor(_0x16ad55,_0x4d05f4={}){const _0x2e3c49=_0xb30330;super(_0x16ad55,_0x4d05f4),this[_0x2e3c49(0xcc)](_0x2e3c49(0xba),_0x4d05f4[_0x2e3c49(0xba)]||_0x2e3c49(0xce)),this[_0x2e3c49(0xcc)](_0x2e3c49(0xc2),_0x4d05f4[_0x2e3c49(0xc2)]||_0x2e3c49(0xd0)),this[_0x2e3c49(0xcc)](_0x2e3c49(0xd3),_0x4d05f4[_0x2e3c49(0xbd)]??!0x0);const _0xf5b12c=this[_0x2e3c49(0xb7)];this[_0x2e3c49(0xb8)]({'attributes':{'class':[_0x2e3c49(0xb9),_0xf5b12c['if'](_0x2e3c49(0xba),_0x2e3c49(0xbe),_0x361b4e=>_0x2e3c49(0xbb)===_0x361b4e),_0xf5b12c['if'](_0x2e3c49(0xba),_0x2e3c49(0xcf),_0x31e495=>_0x2e3c49(0xce)===_0x31e495),_0xf5b12c['if'](_0x2e3c49(0xd3),_0x2e3c49(0xd1),_0x287f3f=>!_0x287f3f)]}}),this[_0x2e3c49(0xc0)]['on'](_0x2e3c49(0xca),(_0x363523,_0x3e1cca)=>{const _0x3dd95e=_0x2e3c49;_0x3e1cca[_0x3dd95e(0xcc)](_0x3dd95e(0xbf),!0x1);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x1443(_0x3d0de2,_0x4a09ca){const _0x440cf3=_0x440c();return _0x1443=function(_0x1443a5,_0x49a3ba){_0x1443a5=_0x1443a5-0x134;let _0x3172d8=_0x440cf3[_0x1443a5];return _0x3172d8;},_0x1443(_0x3d0de2,_0x4a09ca);}const _0x2ba877=_0x1443;(function(_0x40ec40,_0x14cbc6){const _0x33495d=_0x1443,_0x52349a=_0x40ec40();while(!![]){try{const _0x2b8e99=parseInt(_0x33495d(0x149))/0x1+-parseInt(_0x33495d(0x136))/0x2+-parseInt(_0x33495d(0x13d))/0x3+-parseInt(_0x33495d(0x165))/0x4+parseInt(_0x33495d(0x156))/0x5+parseInt(_0x33495d(0x170))/0x6+-parseInt(_0x33495d(0x171))/0x7;if(_0x2b8e99===_0x14cbc6)break;else _0x52349a['push'](_0x52349a['shift']());}catch(_0x49245a){_0x52349a['push'](_0x52349a['shift']());}}}(_0x440c,0xe1176));import{View as _0x407dc4}from'ckeditor5/src/ui.js';import{toArray as _0x2b9a91,CKEditorError as _0x5c1557}from'ckeditor5/src/utils.js';import{TabButtonView as _0x43b57d}from'./tabbuttonview.js';function _0x440c(){const _0x14ecf1=['_getPanel','hide:','button','buttonLabel','bindTemplate','4708175cTSfKe','_getButton','panel','show:','icon','ck-tabs__buttons-container_','buttonViews','left','ck-tabs','addTab:','length','_showPanel','_showButton','getTab','get','3816264DfwGLR','keys','ck-tabs_','add','side','top','isOn','content','_hideButton','panelViews','getTabIds','7250952AyVRHx','115815wiqgId','showTab','div','ck-tabs__panels-container_','show','hide','isVisible','children','order','ck-tabs__panels-container','right','fire','locale','bind','326442NrKOSm','ui-tabsview-tab-not-found','getIndex','execute','_setupButton','isMaximized','ck-ai-tabs_maximized','2774445jGShvt','addTab','createCollection','_hidePanel','render','label','reduce','hideTab','find','set','activateTab:','_tabs','830494PqDQjf','activateTab','ck-reset','setTemplate','activeTab','buttonIcon','class','ck-tabs__buttons-container'];_0x440c=function(){return _0x14ecf1;};return _0x440c();}import{TabPanelView as _0x11f7d3}from'./tabpanelview.js';import'../../../theme/aitabs/tabs/tabsview.css';export const AI_TABS_POSITIONS=[_0x2ba877(0x16a),_0x2ba877(0x15d),_0x2ba877(0x17b)];export class AITabsView extends _0x407dc4{[_0x2ba877(0x15c)]=this[_0x2ba877(0x13f)]();[_0x2ba877(0x16e)]=this[_0x2ba877(0x13f)]();[_0x2ba877(0x148)]=new Map();constructor(_0x1af945,_0x242cdc={}){const _0x10220b=_0x2ba877;super(_0x1af945),this[_0x10220b(0x146)](_0x10220b(0x14f),void 0x0),this[_0x10220b(0x146)](_0x10220b(0x14d),null),this[_0x10220b(0x146)](_0x10220b(0x169),_0x242cdc[_0x10220b(0x169)]||_0x10220b(0x16a)),this[_0x10220b(0x146)](_0x10220b(0x13b),!0x1);const _0xa3f70a=this[_0x10220b(0x155)];this[_0x10220b(0x14c)]({'tag':_0x10220b(0x173),'attributes':{'class':['ck',_0x10220b(0x14b),_0x10220b(0x15e),..._0x2b9a91(_0x242cdc[_0x10220b(0x14f)]||[]),_0xa3f70a['to'](_0x10220b(0x169),_0x1d0950=>_0x10220b(0x167)+_0x1d0950),_0xa3f70a['to'](_0x10220b(0x14f)),_0xa3f70a['to'](_0x10220b(0x13b),_0x1ce0fb=>_0x1ce0fb?_0x10220b(0x13c):'')],'tabindex':'0'},'children':[{'tag':_0x10220b(0x173),'attributes':{'class':['ck',_0x10220b(0x150),_0xa3f70a['to'](_0x10220b(0x169),_0x306c62=>_0x10220b(0x15b)+_0x306c62)]},'children':this[_0x10220b(0x15c)]},{'tag':_0x10220b(0x173),'attributes':{'class':['ck',_0x10220b(0x17a),_0xa3f70a['to'](_0x10220b(0x169),_0x3ba807=>_0x10220b(0x174)+_0x3ba807)]},'children':this[_0x10220b(0x16e)]},..._0x2b9a91(_0x242cdc[_0x10220b(0x178)]||[])]});}[_0x2ba877(0x16f)](){const _0x2dbba7=_0x2ba877;return[...this[_0x2dbba7(0x148)][_0x2dbba7(0x166)]()];}[_0x2ba877(0x163)](_0x492d6b){const _0x2d66c9=_0x2ba877,_0x3867ed=this[_0x2d66c9(0x148)][_0x2d66c9(0x164)](_0x492d6b);return _0x3867ed||null;}[_0x2ba877(0x13e)](_0xf6af3c){const _0x450f9d=_0x2ba877,_0x26f8f9=this[_0x450f9d(0x13a)]({'id':_0xf6af3c['id'],'label':_0xf6af3c[_0x450f9d(0x154)],'icon':_0xf6af3c[_0x450f9d(0x14e)],'order':_0xf6af3c[_0x450f9d(0x179)]}),_0x160d2e=new _0x11f7d3(this[_0x450f9d(0x134)]);return _0x160d2e[_0x450f9d(0x141)](),_0xf6af3c[_0x450f9d(0x16c)]&&_0x160d2e[_0x450f9d(0x178)][_0x450f9d(0x168)](_0xf6af3c[_0x450f9d(0x16c)]),this[_0x450f9d(0x16e)][_0x450f9d(0x168)](_0x160d2e),this[_0x450f9d(0x148)][_0x450f9d(0x146)](_0xf6af3c['id'],{'button':_0x26f8f9,'panel':_0x160d2e,'order':void 0x0!==_0xf6af3c[_0x450f9d(0x179)]?_0xf6af3c[_0x450f9d(0x179)]:null}),this[_0x450f9d(0x17c)](_0x450f9d(0x15f)+_0xf6af3c['id'],{'id':_0xf6af3c['id'],'button':_0x26f8f9,'panel':_0x160d2e}),null===this[_0x450f9d(0x14d)]?this[_0x450f9d(0x14a)](_0xf6af3c['id']):this[_0x450f9d(0x140)](_0xf6af3c['id']),{'button':_0x26f8f9,'panel':_0x160d2e};}[_0x2ba877(0x14a)](_0x27792c){const _0x3d66c7=_0x2ba877;if(null!==_0x27792c&&!this[_0x3d66c7(0x163)](_0x27792c))throw new _0x5c1557(_0x3d66c7(0x137),{'tabs':this,'tabId':_0x27792c});this[_0x3d66c7(0x14d)]!==_0x27792c&&(this[_0x3d66c7(0x14d)]&&this[_0x3d66c7(0x140)](this[_0x3d66c7(0x14d)]),this[_0x3d66c7(0x14d)]=_0x27792c,_0x27792c&&this[_0x3d66c7(0x161)](_0x27792c),this[_0x3d66c7(0x17c)](_0x3d66c7(0x147)+_0x27792c,_0x27792c));}[_0x2ba877(0x172)](_0x53edb2){const _0x2110e4=_0x2ba877;if(!this[_0x2110e4(0x163)](_0x53edb2))throw new _0x5c1557(_0x2110e4(0x137),{'tabs':this,'tabId':_0x53edb2});this[_0x2110e4(0x161)](_0x53edb2),this[_0x2110e4(0x162)](_0x53edb2),this[_0x2110e4(0x17c)](_0x2110e4(0x159)+_0x53edb2,_0x53edb2);}[_0x2ba877(0x144)](_0x5433b1){const _0xaaa042=_0x2ba877;if(!this[_0xaaa042(0x163)](_0x5433b1))throw new _0x5c1557(_0xaaa042(0x137),{'tabs':this,'tabId':_0x5433b1});const _0x2c1961=this[_0xaaa042(0x14d)];this[_0xaaa042(0x140)](_0x5433b1),this[_0xaaa042(0x16d)](_0x5433b1);const _0x9ea4fc=this[_0xaaa042(0x16f)]();_0x2c1961===_0x5433b1&&_0x9ea4fc[_0xaaa042(0x160)]>0x1&&this[_0xaaa042(0x14a)](_0x9ea4fc[_0xaaa042(0x145)](_0x5cbd98=>_0x5cbd98!==_0x5433b1)),this[_0xaaa042(0x17c)](_0xaaa042(0x152)+_0x5433b1,_0x5433b1);}[_0x2ba877(0x151)](_0x70adb0){const _0x5c3ebc=_0x2ba877,_0x547505=this[_0x5c3ebc(0x148)][_0x5c3ebc(0x164)](_0x70adb0);return _0x547505?_0x547505[_0x5c3ebc(0x158)]:null;}[_0x2ba877(0x161)](_0x570f4c){const _0x583030=_0x2ba877;null!==this[_0x583030(0x14d)]&&this[_0x583030(0x14d)]!==_0x570f4c||this[_0x583030(0x151)](_0x570f4c)[_0x583030(0x175)]();}[_0x2ba877(0x140)](_0x5191ae){const _0x54b691=_0x2ba877,_0x3e0d97=this[_0x54b691(0x151)](_0x5191ae);_0x3e0d97[_0x54b691(0x177)]&&(this[_0x54b691(0x14d)]===_0x5191ae&&(this[_0x54b691(0x14d)]=null),_0x3e0d97[_0x54b691(0x176)]());}[_0x2ba877(0x157)](_0x132a81){const _0x18e2ae=_0x2ba877,_0x418ce4=this[_0x18e2ae(0x148)][_0x18e2ae(0x164)](_0x132a81);return _0x418ce4?_0x418ce4[_0x18e2ae(0x153)]:null;}[_0x2ba877(0x162)](_0x2f8c12){const _0x4cfd17=_0x2ba877;this[_0x4cfd17(0x157)](_0x2f8c12)[_0x4cfd17(0x175)]();}[_0x2ba877(0x16d)](_0x6063d5){const _0x30acb1=_0x2ba877;this[_0x30acb1(0x157)](_0x6063d5)[_0x30acb1(0x176)]();}[_0x2ba877(0x13a)](_0xb00413){const _0x3641df=_0x2ba877,_0x82c432=new _0x43b57d(this[_0x3641df(0x134)],{'side':this[_0x3641df(0x169)]}),_0x595c47=this[_0x3641df(0x15c)];if(_0x82c432[_0x3641df(0x146)]({'label':_0xb00413[_0x3641df(0x142)],'icon':_0xb00413[_0x3641df(0x15a)],'tooltip':!0x0,'withText':!0x0}),_0x82c432[_0x3641df(0x135)](_0x3641df(0x16b))['to'](this,_0x3641df(0x14d),_0x328d28=>_0x328d28===_0xb00413['id']),_0x82c432[_0x3641df(0x135)](_0x3641df(0x169))['to'](this,_0x3641df(0x169)),_0xb00413[_0x3641df(0x179)]){const _0x4f552f=[...this[_0x3641df(0x148)]][_0x3641df(0x143)]((_0x4efa43,_0x19ec43)=>{const _0x3c667b=_0x3641df,_0x1b2334=_0x19ec43[0x0],{order:_0x3041fb}=_0x19ec43[0x1];return!_0x3041fb||_0x3041fb>_0xb00413[_0x3c667b(0x179)]?_0x4efa43:_0x3041fb>=_0x4efa43[_0x3c667b(0x179)]?{'id':_0x1b2334,'order':_0x3041fb}:_0x4efa43;},{'id':'','order':0x0}),_0x10ed0c=_0x595c47[_0x3641df(0x138)](this[_0x3641df(0x157)](_0x4f552f['id']));_0x595c47[_0x3641df(0x168)](_0x82c432,_0x10ed0c+0x1);}else _0x595c47[_0x3641df(0x168)](_0x82c432);return _0x82c432['on'](_0x3641df(0x139),()=>{const _0x1b825a=_0x3641df;this[_0x1b825a(0x14a)](_0xb00413['id']);}),_0x82c432;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x3b27(_0x5b915e,_0xa49862){const _0x4f8be1=_0x4f8b();return _0x3b27=function(_0x3b27aa,_0x3cd4f3){_0x3b27aa=_0x3b27aa-0x1d9;let _0x416b42=_0x4f8be1[_0x3b27aa];return _0x416b42;},_0x3b27(_0x5b915e,_0xa49862);}const _0x3c6087=_0x3b27;(function(_0x47f673,_0x1ad313){const _0xf1d432=_0x3b27,_0x454476=_0x47f673();while(!![]){try{const _0x3e8e50=-parseInt(_0xf1d432(0x1ee))/0x1*(-parseInt(_0xf1d432(0x1de))/0x2)+-parseInt(_0xf1d432(0x1ef))/0x3+-parseInt(_0xf1d432(0x1ea))/0x4+-parseInt(_0xf1d432(0x1e0))/0x5+parseInt(_0xf1d432(0x1eb))/0x6*(-parseInt(_0xf1d432(0x1d9))/0x7)+-parseInt(_0xf1d432(0x1e3))/0x8*(parseInt(_0xf1d432(0x1e1))/0x9)+parseInt(_0xf1d432(0x1e4))/0xa*(parseInt(_0xf1d432(0x1e8))/0xb);if(_0x3e8e50===_0x1ad313)break;else _0x454476['push'](_0x454476['shift']());}catch(_0x39e67d){_0x454476['push'](_0x454476['shift']());}}}(_0x4f8b,0xe0a22));import{ButtonView as _0x2be1ed}from'ckeditor5/src/ui.js';import{toArray as _0x40e258}from'ckeditor5/src/utils.js';function _0x4f8b(){const _0x1fe67f=['8keCbxb','isVisible','8965765zLwZTi','81GEmCML','side','253448YdgALn','51098570GEArnz','ck-tab-button_','extendTemplate','bindTemplate','11KXZdBj','isToggleable','6117016YNqhbg','114pMrERB','set','class','278741GcwoDf','2687358RXFqnO','295253GFNroU','ck-tab-button','show','hide','top'];_0x4f8b=function(){return _0x1fe67f;};return _0x4f8b();}import'../../../theme/aitabs/tabs/tabbuttonview.css';export class TabButtonView extends _0x2be1ed{constructor(_0x5eb8dc,_0x465520={}){const _0x464f98=_0x3b27;super(_0x5eb8dc),this[_0x464f98(0x1e9)]=!0x0,this[_0x464f98(0x1ec)](_0x464f98(0x1e2),_0x465520[_0x464f98(0x1e2)]||_0x464f98(0x1dd));const _0x14a7fb=this[_0x464f98(0x1e7)];this[_0x464f98(0x1e6)]({'attributes':{'class':[_0x464f98(0x1da),..._0x40e258(_0x465520[_0x464f98(0x1ed)]||[]),_0x14a7fb['to'](_0x464f98(0x1e2),_0x8ed5e8=>_0x464f98(0x1e5)+_0x8ed5e8),_0x14a7fb['to'](_0x464f98(0x1ed))]}});}[_0x3c6087(0x1db)](){const _0x10cebd=_0x3c6087;this[_0x10cebd(0x1ec)](_0x10cebd(0x1df),!0x0);}[_0x3c6087(0x1dc)](){const _0x10d230=_0x3c6087;this[_0x10d230(0x1ec)](_0x10d230(0x1df),!0x1);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5432c9=_0x3ac6;function _0x3ac6(_0x2888b5,_0x44b02a){const _0x35a3db=_0x35a3();return _0x3ac6=function(_0x3ac6f1,_0x46f0e4){_0x3ac6f1=_0x3ac6f1-0x7a;let _0x1725b3=_0x35a3db[_0x3ac6f1];return _0x1725b3;},_0x3ac6(_0x2888b5,_0x44b02a);}(function(_0x273382,_0xa2110c){const _0x3da08a=_0x3ac6,_0x3c9fc3=_0x273382();while(!![]){try{const _0x530a51=-parseInt(_0x3da08a(0x88))/0x1+-parseInt(_0x3da08a(0x81))/0x2*(parseInt(_0x3da08a(0x90))/0x3)+-parseInt(_0x3da08a(0x87))/0x4*(-parseInt(_0x3da08a(0x7b))/0x5)+-parseInt(_0x3da08a(0x8d))/0x6*(parseInt(_0x3da08a(0x92))/0x7)+-parseInt(_0x3da08a(0x8f))/0x8*(parseInt(_0x3da08a(0x8e))/0x9)+parseInt(_0x3da08a(0x80))/0xa*(parseInt(_0x3da08a(0x8c))/0xb)+-parseInt(_0x3da08a(0x83))/0xc*(-parseInt(_0x3da08a(0x86))/0xd);if(_0x530a51===_0xa2110c)break;else _0x3c9fc3['push'](_0x3c9fc3['shift']());}catch(_0x12b7e8){_0x3c9fc3['push'](_0x3c9fc3['shift']());}}}(_0x35a3,0xc65cf));import{View as _0x4d1002}from'ckeditor5/src/ui.js';import{toArray as _0x2eed4b}from'ckeditor5/src/utils.js';function _0x35a3(){const _0x207705=['6ONuHKz','class','8729833rzAusZ','ck-hidden','326335Rkhgjp','children','div','show','isVisible','10rJCEls','44006qBSdPx','hide','60HmkLLv','set','ck-tab-panel','7252973ndmbfS','12OFVmsf','694750GHxgFi','bindTemplate','setTemplate','createCollection','9816059hMbGVO','6ZUkIkx','164655uMaULg','472uIUEBG'];_0x35a3=function(){return _0x207705;};return _0x35a3();}export class TabPanelView extends _0x4d1002{[_0x5432c9(0x7c)];constructor(_0x1c3235,_0x2f219c={}){const _0xef6317=_0x5432c9;super(_0x1c3235);const _0x594cd3=this[_0xef6317(0x89)];this[_0xef6317(0x84)](_0xef6317(0x7f),!0x1),this[_0xef6317(0x84)](_0xef6317(0x91),''),this[_0xef6317(0x7c)]=this[_0xef6317(0x8b)](),this[_0xef6317(0x8a)]({'tag':_0xef6317(0x7d),'attributes':{'class':[_0xef6317(0x85),..._0x2eed4b(_0x2f219c[_0xef6317(0x91)]||[]),_0x594cd3['to'](_0xef6317(0x91)),_0x594cd3['if'](_0xef6317(0x7f),_0xef6317(0x7a),_0x2baa2f=>!_0x2baa2f)]},'children':this[_0xef6317(0x7c)]});}[_0x5432c9(0x7e)](){const _0x38edf4=_0x5432c9;this[_0x38edf4(0x84)](_0x38edf4(0x7f),!0x0);}[_0x5432c9(0x82)](){const _0x12ac4e=_0x5432c9;this[_0x12ac4e(0x84)](_0x12ac4e(0x7f),!0x1);}}
|
package/src/errors.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x33ad(_0x4e6f95,_0x3f661e){var _0x5de6cb=_0x5de6();return _0x33ad=function(_0x33ad90,_0x38d478){_0x33ad90=_0x33ad90-0x1b9;var _0x4cea53=_0x5de6cb[_0x33ad90];return _0x4cea53;},_0x33ad(_0x4e6f95,_0x3f661e);}(function(_0x2dc967,_0x50d3ae){var _0x23a819=_0x33ad,_0x51a618=_0x2dc967();while(!![]){try{var _0x453886=parseInt(_0x23a819(0x1be))/0x1*(-parseInt(_0x23a819(0x1c1))/0x2)+-parseInt(_0x23a819(0x1bb))/0x3+-parseInt(_0x23a819(0x1c0))/0x4+-parseInt(_0x23a819(0x1bd))/0x5+parseInt(_0x23a819(0x1bf))/0x6+-parseInt(_0x23a819(0x1ba))/0x7+parseInt(_0x23a819(0x1b9))/0x8*(parseInt(_0x23a819(0x1bc))/0x9);if(_0x453886===_0x50d3ae)break;else _0x51a618['push'](_0x51a618['shift']());}catch(_0x378b4e){_0x51a618['push'](_0x51a618['shift']());}}}(_0x5de6,0xbdfaf));import{CKEditorError as _0x5bcdbb}from'ckeditor5/src/utils.js';function _0x5de6(){var _0x51e7d3=['2885331MBWghR','7443MZkmZK','1029730akbJzm','18fwFHJM','3161112MChisC','2368080eBhkOq','188mQKRIb','27928BeKPvr','6120205CwSJDv'];_0x5de6=function(){return _0x51e7d3;};return _0x5de6();}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0xc3dd1a,_0x30f33f){var _0x4305a8=_0x310e,_0x5f42af=_0xc3dd1a();while(!![]){try{var _0x346753=parseInt(_0x4305a8(0x115))/0x1+parseInt(_0x4305a8(0x11b))/0x2*(parseInt(_0x4305a8(0x119))/0x3)+-parseInt(_0x4305a8(0x118))/0x4*(parseInt(_0x4305a8(0x11d))/0x5)+parseInt(_0x4305a8(0x117))/0x6+parseInt(_0x4305a8(0x11e))/0x7*(-parseInt(_0x4305a8(0x11c))/0x8)+-parseInt(_0x4305a8(0x116))/0x9*(parseInt(_0x4305a8(0x114))/0xa)+parseInt(_0x4305a8(0x11a))/0xb;if(_0x346753===_0x30f33f)break;else _0x5f42af['push'](_0x5f42af['shift']());}catch(_0x2cb150){_0x5f42af['push'](_0x5f42af['shift']());}}}(_0x551f,0x4f34c));function _0x310e(_0x19df5c,_0xc7b2dd){var _0x551f18=_0x551f();return _0x310e=function(_0x310ea2,_0x53f6e8){_0x310ea2=_0x310ea2-0x114;var _0x5a3139=_0x551f18[_0x310ea2];return _0x5a3139;},_0x310e(_0x19df5c,_0xc7b2dd);}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';function _0x551f(){var _0x73de46=['15694oofgyK','281020CjJpxx','460138IaRDrW','27ozJMLp','2520192liQlTD','50748rYRuZD','20136weNBcW','1837561eMTFIT','116mSxRxs','2264uKeEUE','155yMtqkc'];_0x551f=function(){return _0x73de46;};return _0x551f();}export{AIQuickActions}from'./aiquickactions/aiquickactions.js';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';export{AIReviewCheckResult}from'./aireviewmode/model/aireviewcheckresult.js';export{AIReviewCheckRun}from'./aireviewmode/model/aireviewcheckrun.js';import'./augmentation.js';
|