@ckeditor/ckeditor5-ai 47.3.0-alpha.6 → 47.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +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/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/aicore/utils/scrollmanager.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/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.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/aireviewmodegeneralerrorview.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/errorsmap.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 _0x16e3a2,IconView as _0x45b0d5,View as _0x1e0229,ViewCollection as _0x4c6d57,ButtonView as _0x250619,clickOutsideHandler as _0x539421}from'ckeditor5/src/ui.js';import{IconChevronRight as _0x2a68a8}from'ckeditor5/src/icons.js';import{AIReviewModeFormManagerView as _0x190a86}from'./form/aireviewmodeformmanager.js';import{AIReviewModeCustomCheckView as tc}from'./aireviewmodecustomcheckview.js';export class AIReviewModeReviewCommandListItemView extends _0x16e3a2{['_formItemsCollection']=new _0x4c6d57();['_customCheckView']=null;constructor(_0x5b93e6,_0x408ac5,_0x3fa72c){super(_0x5b93e6),this['set']('isParametrizedViewOpen',!0x1),this['set']('isListItemRendered',!0x1),this['set']('isItemParametrized',_0x408ac5['isParameterized']);const _0x1f9855=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',_0x53c771=>_0x53c771),this['bindTemplate']['if']('isListItemRendered','ck-ai-review-mode__check-list-item_rendered',_0x641aeb=>_0x641aeb)],'style':{'--ck-ai-review-check-list-item-index':_0x3fa72c}},'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':_0x408ac5['title']}]},_0x1f9855]},{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-description']},'children':[{'text':_0x408ac5['description']}]}]}]},..._0x408ac5['isParameterized']?[this['_createParameterizedView'](_0x408ac5)]:[],...'custom'===_0x408ac5['id']?[this['_createCustomView'](_0x408ac5)]:[]]}),this['on']('click',()=>{_0x408ac5['isParameterized']?this['isParametrizedViewOpen']=!0x0:this['fire']('runReviewCheck',{'id':_0x408ac5['id']});}),requestAnimationFrame(()=>{this['isListItemRendered']=!0x0;});}['render'](){super['render'](),this['isItemParametrized']&&_0x539421({'emitter':this,'activator':()=>!0x0===this['isParametrizedViewOpen'],'contextElements':[this['element']],'callback':()=>{this['isParametrizedViewOpen']=!0x1;}});}['resetToDefault'](){this['isParametrizedViewOpen']=!0x1,this['_formItemsCollection']['forEach'](_0x4c533c=>{_0x4c533c['resetToDefault']();}),this['_customCheckView']&&this['_customCheckView']['resetToDefault']();}['_createIconView'](){const _0x540ce4=new _0x45b0d5();return _0x540ce4['content']=_0x2a68a8,_0x540ce4['extendTemplate']({'attributes':{'class':['ck-ai-review-mode__check-list-item-title-icon']}}),_0x540ce4;}['_createParameterizedView'](_0x2a7221){const _0x420776=new _0x1e0229(),_0x17c50c=this['_createFormView'](_0x2a7221);return _0x420776['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-parameterized',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x6ad98a=>!_0x6ad98a)]},'children':[_0x17c50c]}),_0x420776;}['_createFormView'](_0x4eb1d2){const _0xd6030f=new _0x1e0229(),_0x16165e=Array['isArray'](_0x4eb1d2['options'])?_0x4eb1d2['options']:[],_0x3c3518=new _0x250619(this['locale']),t=this['locale']['t'];_0x3c3518['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x3c3518['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0xe3b107=>{_0xe3b107['stopPropagation']();})}}),_0x3c3518['on']('execute',()=>{const _0x24bd4e=[],_0x56d035={};this['_formItemsCollection']['forEach'](_0x6859b6=>{_0x24bd4e['push'](_0x6859b6['value']),_0x4eb1d2['useArgs']&&_0x4eb1d2['options']&&(_0x56d035[_0x6859b6['argsKey']]=_0x6859b6['value']);}),this['fire']('runReviewCheck',{'id':_0x4eb1d2['id'],'params':_0x24bd4e['length']?_0x24bd4e:void 0x0,'args':Object['keys'](_0x56d035)['length']?_0x56d035:void 0x0});});const _0xcb0017=_0x16165e['length'];return _0x16165e['forEach']((_0x444cbc,_0x339f5b)=>{const _0x1e5b0f=_0x339f5b===_0xcb0017-0x1;this['_formItemsCollection']['add'](new _0x190a86(this['locale'],_0x444cbc,_0x1e5b0f?_0x3c3518:null));}),_0xd6030f['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-parameterized-form']},'children':this['_formItemsCollection']}),_0xd6030f;}['_createCustomView'](_0x393612){return this['_customCheckView']=new tc(this['locale'],_0x393612),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',_0x32ac3c=>!_0x32ac3c)]}}),this['_customCheckView']['delegate']('runReviewCheck')['to'](this),this['listenTo'](this['_customCheckView'],'closeCustomCheck',()=>{this['isParametrizedViewOpen']=!0x1;}),this['on']('change:isParametrizedViewOpen',(_0x35d258,_0x168dee,_0x31a976)=>{_0x31a976||this['_customCheckView']['resetFormValidationStatus']();}),this['_customCheckView'];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x43bc07=_0x51cf;(function(_0x2cb27a,_0x541c47){const _0x3b27a3=_0x51cf,_0x5172ea=_0x2cb27a();while(!![]){try{const _0x69616a=parseInt(_0x3b27a3(0x1df))/0x1+-parseInt(_0x3b27a3(0x1ea))/0x2*(-parseInt(_0x3b27a3(0x1e6))/0x3)+-parseInt(_0x3b27a3(0x1f4))/0x4+-parseInt(_0x3b27a3(0x1d7))/0x5+-parseInt(_0x3b27a3(0x1db))/0x6+-parseInt(_0x3b27a3(0x1e5))/0x7*(-parseInt(_0x3b27a3(0x1f2))/0x8)+-parseInt(_0x3b27a3(0x1de))/0x9*(parseInt(_0x3b27a3(0x1e4))/0xa);if(_0x69616a===_0x541c47)break;else _0x5172ea['push'](_0x5172ea['shift']());}catch(_0x1fb73c){_0x5172ea['push'](_0x5172ea['shift']());}}}(_0x246c,0x9bd7f));function _0x51cf(_0x265732,_0xd94a40){const _0x246c36=_0x246c();return _0x51cf=function(_0x51cfcb,_0x45b39d){_0x51cfcb=_0x51cfcb-0x1d5;let _0x153108=_0x246c36[_0x51cfcb];return _0x153108;},_0x51cf(_0x265732,_0xd94a40);}function _0x246c(){const _0x43e106=['174615DQcofs','_createResultHeaderView','ck-hidden','setTemplate','34swNiWV','locale','AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE','resultsHeader','isVisible','delegate','_finishReviewButtonView','bindTemplate','7238984gtxpKW','ck-ai-review-mode__review-completed-header-title','2366920tqPRtB','ck-ai-review-mode__review-completed-content-icon','span','2627360RAyBTP','div','ck-ai-review-mode__review-completed-header','AI_REVIEW_MODE_EMPTY_RESULTS_TEXT','3228396miIley','ck-ai-review-mode__review-completed-content','ck-ai-review-mode__review-completed','6323733emhzsK','1101882DaenqF','ck-ai-review-mode__review-completed-header-buttons','ck-ai-review-mode__review-completed-content-text','finishReview','_createFinishReviewButtonView','10xkVjkL','7wAmNiE'];_0x246c=function(){return _0x43e106;};return _0x246c();}import{ListItemView as _0x1bd7f3,View as _0x1c2bac}from'ckeditor5/src/ui.js';import{AIReviewModeFinishReviewButtonView as _0x200923}from'./aireviewmodefinishreviewbuttonview.js';import{getTranslation as _0x5accdf}from'../../aicore/utils/common-translations.js';import'../../../theme/aireviewmode/aireviewmode-review-completed.css';export class AIReviewModeReviewCompletedView extends _0x1bd7f3{[_0x43bc07(0x1ed)];[_0x43bc07(0x1f0)];constructor(_0xfa8c8e){const _0x4d5fa9=_0x43bc07;super(_0xfa8c8e),this[_0x4d5fa9(0x1f0)]=this[_0x4d5fa9(0x1e3)](),this[_0x4d5fa9(0x1ed)]=this[_0x4d5fa9(0x1e7)]();const _0x1a89cf=this[_0x4d5fa9(0x1f1)];this[_0x4d5fa9(0x1e9)]({'tag':_0x4d5fa9(0x1d8),'attributes':{'class':[_0x4d5fa9(0x1dd),_0x1a89cf['if'](_0x4d5fa9(0x1ee),_0x4d5fa9(0x1e8),_0x424639=>!_0x424639)]},'children':[this[_0x4d5fa9(0x1ed)],{'tag':_0x4d5fa9(0x1d8),'attributes':{'class':[_0x4d5fa9(0x1dc)]},'children':[{'tag':_0x4d5fa9(0x1d6),'attributes':{'class':[_0x4d5fa9(0x1d5)]},'children':[{'text':'👍'}]},{'tag':'p','attributes':{'class':[_0x4d5fa9(0x1e1)]},'children':[{'text':_0x5accdf(_0xfa8c8e,_0x4d5fa9(0x1da))}]}]}]});}[_0x43bc07(0x1e3)](){const _0x4ee088=_0x43bc07,_0x4e8cd2=new _0x200923(this[_0x4ee088(0x1eb)]);return _0x4e8cd2[_0x4ee088(0x1ef)](_0x4ee088(0x1e2))['to'](this),_0x4e8cd2;}[_0x43bc07(0x1e7)](){const _0x3d1358=_0x43bc07,_0xb95618=new _0x1c2bac(this[_0x3d1358(0x1eb)]);return _0xb95618[_0x3d1358(0x1e9)]({'tag':_0x3d1358(0x1d8),'attributes':{'class':[_0x3d1358(0x1d9)]},'children':[{'tag':_0x3d1358(0x1d6),'attributes':{'class':[_0x3d1358(0x1f3)]},'children':[{'text':_0x5accdf(this[_0x3d1358(0x1eb)],_0x3d1358(0x1ec))}]},{'tag':_0x3d1358(0x1d8),'attributes':{'class':[_0x3d1358(0x1e0)]},'children':[this[_0x3d1358(0x1f0)]]}]}),_0xb95618;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x1fcb52=_0x4dd4;(function(_0xcefe2c,_0xb84d72){var _0x2b9d43=_0x4dd4,_0x2ce743=_0xcefe2c();while(!![]){try{var _0x16cfaa=-parseInt(_0x2b9d43(0x126))/0x1*(-parseInt(_0x2b9d43(0x12b))/0x2)+parseInt(_0x2b9d43(0x139))/0x3+-parseInt(_0x2b9d43(0x142))/0x4+-parseInt(_0x2b9d43(0x143))/0x5+parseInt(_0x2b9d43(0x136))/0x6*(parseInt(_0x2b9d43(0x12d))/0x7)+-parseInt(_0x2b9d43(0x124))/0x8+-parseInt(_0x2b9d43(0x129))/0x9*(-parseInt(_0x2b9d43(0x148))/0xa);if(_0x16cfaa===_0xb84d72)break;else _0x2ce743['push'](_0x2ce743['shift']());}catch(_0x240369){_0x2ce743['push'](_0x2ce743['shift']());}}}(_0x461a,0x1da75));function _0x4dd4(_0x31e272,_0x523de0){var _0x461ab0=_0x461a();return _0x4dd4=function(_0x4dd479,_0x37e138){_0x4dd479=_0x4dd479-0x11b;var _0x931acb=_0x461ab0[_0x4dd479];return _0x931acb;},_0x4dd4(_0x31e272,_0x523de0);}import{View as _0x2c1424,FormHeaderView as _0x2df3b8}from'ckeditor5/src/ui.js';import{IconAIReview as _0x5b38b1}from'ckeditor5/src/icons.js';import{AIReviewModeReviewCheckListView as _0x1eb9a6}from'./aireviewmodereviewchecklistview.js';import{AI_REVIEW_MODE_UI_EVENT_NAMES as _0x3afe74}from'../aireviewmodeui.js';import{AIReviewModeReviewCheckResultsView as _0x59d5ba}from'./aireviewmodereviewcheckresultsview.js';import{AIReviewModeReviewCompletedView as _0x29e9b2}from'./aireviewmodereviewcompletedview.js';function _0x461a(){var _0x177da9=['reviewCheckResultsView','resetErrorState','reviewCheckListView','252896yOLSTa','set','45vdOIeN','showReviewCompletedView','ck-ai-review-mode','45fPREdO','isResultReady','6292kWjlWP','isCompleted','1351FNSFBo','showChunkErrorView','resetAllParameterizedChecks','setTemplate','isLoading','ck-reset_all','hideActionsWhenResultIsReady','ck-ai-header\x20ck-ai-header_review-mode','showGeneralReviewModeErrorView','1446knMaBm','showGeneralResultsErrorView','finishReview','134583qbaPBm','showReviewCheckResultsView','errorMessage','delegate','addCheckRunResult','addResult','div','AI_REVIEW_MODE','showNoChangesView','632164XMQGRD','367600KOkFrk','clearResults','reviewModeHeader','showReviewCheckListView','showGeneralErrorMessage','303380HnSmiz','generalErrorView','isVisible','ck-rounded-corners','ltr','reviewCompletedView','showActionsWhenResultIsReady','showChunkErrorMessage'];_0x461a=function(){return _0x177da9;};return _0x461a();}import{AIReviewModeGeneralErrorView as _0x2571d4}from'./aireviewmodegeneralerrorview.js';import{getTranslation as _0x11b8c6}from'../../aicore/utils/common-translations.js';export class AIReviewModeView extends _0x2c1424{[_0x1fcb52(0x145)];[_0x1fcb52(0x149)];[_0x1fcb52(0x123)];[_0x1fcb52(0x121)];[_0x1fcb52(0x11e)];constructor(_0xa966c2){var _0x9fbcc8=_0x1fcb52;super(_0xa966c2),this[_0x9fbcc8(0x145)]=new _0x2df3b8(_0xa966c2,{'label':_0x11b8c6(_0xa966c2,_0x9fbcc8(0x140)),'icon':_0x5b38b1,'class':_0x9fbcc8(0x134)}),this[_0x9fbcc8(0x149)]=new _0x2571d4(_0xa966c2),this[_0x9fbcc8(0x123)]=new _0x1eb9a6(_0xa966c2),this[_0x9fbcc8(0x123)][_0x9fbcc8(0x13c)](..._0x3afe74)['to'](this),this[_0x9fbcc8(0x121)]=new _0x59d5ba(_0xa966c2),this[_0x9fbcc8(0x121)][_0x9fbcc8(0x13c)](..._0x3afe74)['to'](this),this[_0x9fbcc8(0x11e)]=new _0x29e9b2(_0xa966c2),this[_0x9fbcc8(0x11e)][_0x9fbcc8(0x13c)](_0x9fbcc8(0x138))['to'](this),this[_0x9fbcc8(0x123)][_0x9fbcc8(0x125)](_0x9fbcc8(0x11b),!0x1),this[_0x9fbcc8(0x121)][_0x9fbcc8(0x125)](_0x9fbcc8(0x11b),!0x1),this[_0x9fbcc8(0x121)][_0x9fbcc8(0x125)](_0x9fbcc8(0x131),!0x1),this[_0x9fbcc8(0x121)][_0x9fbcc8(0x125)](_0x9fbcc8(0x12a),!0x1),this[_0x9fbcc8(0x11e)][_0x9fbcc8(0x125)](_0x9fbcc8(0x11b),!0x1),this[_0x9fbcc8(0x130)]({'tag':_0x9fbcc8(0x13f),'attributes':{'class':['ck',_0x9fbcc8(0x132),_0x9fbcc8(0x128),_0x9fbcc8(0x11c)],'dir':_0x9fbcc8(0x11d)},'children':[this[_0x9fbcc8(0x145)],this[_0x9fbcc8(0x149)],this[_0x9fbcc8(0x123)],this[_0x9fbcc8(0x121)],this[_0x9fbcc8(0x11e)]]});}[_0x1fcb52(0x146)](){var _0xa08806=_0x1fcb52;this[_0xa08806(0x123)][_0xa08806(0x12f)](),this[_0xa08806(0x123)][_0xa08806(0x125)](_0xa08806(0x11b),!0x0),this[_0xa08806(0x121)][_0xa08806(0x125)](_0xa08806(0x11b),!0x1),this[_0xa08806(0x11e)][_0xa08806(0x125)](_0xa08806(0x11b),!0x1);}[_0x1fcb52(0x13a)](){var _0x4db5bf=_0x1fcb52;this[_0x4db5bf(0x133)](),this[_0x4db5bf(0x121)][_0x4db5bf(0x122)](),this[_0x4db5bf(0x123)][_0x4db5bf(0x125)](_0x4db5bf(0x11b),!0x1),this[_0x4db5bf(0x121)][_0x4db5bf(0x125)](_0x4db5bf(0x11b),!0x0),this[_0x4db5bf(0x121)][_0x4db5bf(0x144)](),this[_0x4db5bf(0x121)][_0x4db5bf(0x125)](_0x4db5bf(0x131),!0x0),this[_0x4db5bf(0x121)][_0x4db5bf(0x125)](_0x4db5bf(0x12c),!0x1);}[_0x1fcb52(0x13d)](_0x471dc2){var _0x35fa55=_0x1fcb52;this[_0x35fa55(0x121)][_0x35fa55(0x13e)](_0x471dc2),this[_0x35fa55(0x121)][_0x35fa55(0x125)](_0x35fa55(0x131),!0x1);}[_0x1fcb52(0x127)](){var _0x211a36=_0x1fcb52;this[_0x211a36(0x121)][_0x211a36(0x125)](_0x211a36(0x11b),!0x0),this[_0x211a36(0x11e)][_0x211a36(0x125)](_0x211a36(0x11b),!0x1),this[_0x211a36(0x121)][_0x211a36(0x125)](_0x211a36(0x12c),!0x0),this[_0x211a36(0x123)][_0x211a36(0x125)](_0x211a36(0x11b),!0x1);}[_0x1fcb52(0x11f)](){var _0x390fd1=_0x1fcb52;this[_0x390fd1(0x121)][_0x390fd1(0x12a)]?(this[_0x390fd1(0x123)][_0x390fd1(0x125)](_0x390fd1(0x11b),!0x1),this[_0x390fd1(0x121)][_0x390fd1(0x125)](_0x390fd1(0x11b),!0x0),this[_0x390fd1(0x11e)][_0x390fd1(0x125)](_0x390fd1(0x11b),!0x1)):this[_0x390fd1(0x121)][_0x390fd1(0x12a)]=!0x0;}[_0x1fcb52(0x141)](){var _0x2d8d04=_0x1fcb52;this[_0x2d8d04(0x123)][_0x2d8d04(0x125)](_0x2d8d04(0x11b),!0x1),this[_0x2d8d04(0x121)][_0x2d8d04(0x125)](_0x2d8d04(0x11b),!0x1),this[_0x2d8d04(0x11e)][_0x2d8d04(0x125)](_0x2d8d04(0x11b),!0x0);}[_0x1fcb52(0x133)](){var _0x405a2a=_0x1fcb52;this[_0x405a2a(0x121)][_0x405a2a(0x12a)]=!0x1;}[_0x1fcb52(0x135)](_0x2d2a0e){var _0x213ad6=_0x1fcb52;this[_0x213ad6(0x149)][_0x213ad6(0x125)](_0x213ad6(0x11b),!0x0),this[_0x213ad6(0x149)][_0x213ad6(0x13b)]=_0x2d2a0e;}[_0x1fcb52(0x137)](){var _0x2d2b1e=_0x1fcb52;this[_0x2d2b1e(0x121)][_0x2d2b1e(0x125)](_0x2d2b1e(0x131),!0x1),this[_0x2d2b1e(0x11f)](),this[_0x2d2b1e(0x121)][_0x2d2b1e(0x147)]();}[_0x1fcb52(0x12e)](){var _0x5f17dd=_0x1fcb52;this[_0x5f17dd(0x121)][_0x5f17dd(0x125)](_0x5f17dd(0x131),!0x1),this[_0x5f17dd(0x11f)](),this[_0x5f17dd(0x121)][_0x5f17dd(0x120)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x312666=_0x54fb;(function(_0x5124b3,_0x446c20){const _0x5d733c=_0x54fb,_0x47fbd1=_0x5124b3();while(!![]){try{const _0x20a29a=parseInt(_0x5d733c(0xfe))/0x1*(parseInt(_0x5d733c(0xef))/0x2)+parseInt(_0x5d733c(0x10d))/0x3+-parseInt(_0x5d733c(0x111))/0x4+-parseInt(_0x5d733c(0xfb))/0x5*(parseInt(_0x5d733c(0xf4))/0x6)+parseInt(_0x5d733c(0xe9))/0x7+-parseInt(_0x5d733c(0xf7))/0x8*(parseInt(_0x5d733c(0xee))/0x9)+parseInt(_0x5d733c(0x106))/0xa*(-parseInt(_0x5d733c(0x10a))/0xb);if(_0x20a29a===_0x446c20)break;else _0x47fbd1['push'](_0x47fbd1['shift']());}catch(_0x4a49ab){_0x47fbd1['push'](_0x47fbd1['shift']());}}}(_0x53a4,0x513cf));function _0x53a4(){const _0x8aee76=['isOn','_dropdownView','463340DymrKU','length','label','2346498fqazAL','resetToDefault','setTemplate','formValue','ck-ai-review-mode__check-list-item-parameterized-form-element','18JyLAFU','8926idUUbO','model','menu','_defaultLabel','button','12DySAAv','bind','find','996104nVqGoF','execute','_defaultValue','locale','727670MgjAio','extendTemplate','set','119GIPpIO','ck-ai-review-mode__check-list-item-parameterized-form-element_dropdown','div','menuitemradio','stopPropagation','data','bindTemplate','default','4610nmbYoB','source','buttonView','add','7733XRJwIh','ck-reset_all','listenTo','1339356xBdocZ','_prepareListOptions'];_0x53a4=function(){return _0x8aee76;};return _0x53a4();}import{Collection as _0x15779a}from'ckeditor5/src/utils.js';function _0x54fb(_0x5873db,_0x504860){const _0x53a4db=_0x53a4();return _0x54fb=function(_0x54fbe9,_0x49a809){_0x54fbe9=_0x54fbe9-0xe8;let _0x9e1931=_0x53a4db[_0x54fbe9];return _0x9e1931;},_0x54fb(_0x5873db,_0x504860);}import{View as _0x4a0d79,createDropdown as _0x4ca646,addListToDropdown as _0x4ae475,UIModel as _0x39221c}from'ckeditor5/src/ui.js';export class AIReviewModeFormDropdownView extends _0x4a0d79{[_0x312666(0x110)];[_0x312666(0xf9)];[_0x312666(0xf2)];constructor(_0x32d484,_0x210359){const _0x112fcc=_0x312666;super(_0x32d484),this[_0x112fcc(0xf9)]=_0x210359[_0x112fcc(0x105)]||(_0x210359[_0x112fcc(0x103)][_0x112fcc(0x112)]>0x0?_0x210359[_0x112fcc(0x103)][0x0]['id']:''),this[_0x112fcc(0xf2)]=_0x210359[_0x112fcc(0x103)][_0x112fcc(0xf6)](_0x5b4d0f=>_0x5b4d0f['id']===this[_0x112fcc(0xf9)])?.[_0x112fcc(0xe8)]||'',this[_0x112fcc(0xfd)](_0x112fcc(0xec),''),this[_0x112fcc(0x110)]=_0x4ca646(this[_0x112fcc(0xfa)]);const _0x3c2af1=this[_0x112fcc(0x10e)](_0x210359[_0x112fcc(0x103)]);_0x4ae475(this[_0x112fcc(0x110)],_0x3c2af1,{'role':_0x112fcc(0xf1),'ariaLabel':_0x210359[_0x112fcc(0xe8)]}),this[_0x112fcc(0x110)][_0x112fcc(0x108)][_0x112fcc(0xfd)]({'label':this[_0x112fcc(0xf2)],'withText':!0x0}),this[_0x112fcc(0x110)][_0x112fcc(0xfc)]({'on':{'click':this[_0x112fcc(0x104)]['to'](_0x56bf43=>{const _0x923651=_0x112fcc;_0x56bf43[_0x923651(0x102)]();})}}),this[_0x112fcc(0x10c)](this[_0x112fcc(0x110)],_0x112fcc(0xf8),_0x55fac7=>{const _0x5961f2=_0x112fcc;this[_0x5961f2(0xec)]=_0x55fac7[_0x5961f2(0x107)][_0x5961f2(0xf0)]['id'],this[_0x5961f2(0x110)][_0x5961f2(0x108)][_0x5961f2(0xe8)]=_0x55fac7[_0x5961f2(0x107)][_0x5961f2(0xf0)][_0x5961f2(0xe8)];}),this[_0x112fcc(0xeb)]({'tag':_0x112fcc(0x100),'attributes':{'class':['ck',_0x112fcc(0x10b),_0x112fcc(0xed),_0x112fcc(0xff)]},'children':[this[_0x112fcc(0x110)]]});}[_0x312666(0xea)](){const _0xaeba9e=_0x312666;this[_0xaeba9e(0xec)]=this[_0xaeba9e(0xf9)],this[_0xaeba9e(0x110)][_0xaeba9e(0x108)][_0xaeba9e(0xe8)]=this[_0xaeba9e(0xf2)];}[_0x312666(0x10e)](_0x580165=[]){const _0x110970=_0x312666,_0x41fafb=new _0x15779a();this[_0x110970(0xea)]();for(const _0xdb9ea3 of _0x580165){const _0x458ab0=new _0x39221c({'label':_0xdb9ea3[_0x110970(0xe8)],'withText':!0x0,'role':_0x110970(0x101),'id':_0xdb9ea3['id'],'model':_0xdb9ea3});_0x458ab0[_0x110970(0xf5)](_0x110970(0x10f))['to'](this,_0x110970(0xec),_0x12a782=>_0x12a782===_0x458ab0['id']);const _0xd6e144={'type':_0x110970(0xf3),'model':_0x458ab0};_0x41fafb[_0x110970(0x109)](_0xd6e144);}return _0x41fafb;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4c519a=_0x411c;(function(_0xfdce69,_0x22762d){const _0x11e3a6=_0x411c,_0x2f7fd9=_0xfdce69();while(!![]){try{const _0x3af655=parseInt(_0x11e3a6(0xec))/0x1*(-parseInt(_0x11e3a6(0xe7))/0x2)+parseInt(_0x11e3a6(0xef))/0x3+parseInt(_0x11e3a6(0xe2))/0x4+parseInt(_0x11e3a6(0xf2))/0x5+parseInt(_0x11e3a6(0xe3))/0x6*(parseInt(_0x11e3a6(0xea))/0x7)+parseInt(_0x11e3a6(0xe9))/0x8+parseInt(_0x11e3a6(0xe0))/0x9*(-parseInt(_0x11e3a6(0xf3))/0xa);if(_0x3af655===_0x22762d)break;else _0x2f7fd9['push'](_0x2f7fd9['shift']());}catch(_0x18be8d){_0x2f7fd9['push'](_0x2f7fd9['shift']());}}}(_0x542a,0xd6cc6));function _0x411c(_0x4e43bf,_0x43b08d){const _0x542ad2=_0x542a();return _0x411c=function(_0x411cc3,_0x283dff){_0x411cc3=_0x411cc3-0xdd;let _0xca6dc8=_0x542ad2[_0x411cc3];return _0xca6dc8;},_0x411c(_0x4e43bf,_0x43b08d);}import{FormRowView as _0x1c71b5,ListItemView as _0x3df4be}from'ckeditor5/src/ui.js';import{AIReviewModeFormDropdownView as _0x484023}from'./aireviewmodeformdropdown.js';export class AIReviewModeFormManagerView extends _0x3df4be{[_0x4c519a(0xe6)]=null;constructor(_0x4d5f32,_0x4bf744,_0x5ba580){const _0x500887=_0x4c519a;super(_0x4d5f32),this[_0x500887(0xe8)]=_0x4bf744?.[_0x500887(0xe8)];if(_0x500887(0xf4)===_0x4bf744[_0x500887(0xe5)])this[_0x500887(0xe6)]=new _0x484023(this[_0x500887(0xeb)],_0x4bf744);this[_0x500887(0xf5)](_0x500887(0xf0),''),this[_0x500887(0xed)](_0x500887(0xf0))['to'](this[_0x500887(0xe6)],_0x500887(0xf7));const _0x1528aa=new _0x1c71b5(this[_0x500887(0xeb)],{'children':[this[_0x500887(0xe6)]],'class':[_0x5ba580?_0x500887(0xe4):'']});_0x5ba580&&_0x1528aa[_0x500887(0xee)][_0x500887(0xdd)](_0x5ba580),this[_0x500887(0xf1)]({'tag':_0x500887(0xdf),'attributes':{'class':['ck',_0x500887(0xf6),_0x500887(0xe1)]},'children':[_0x1528aa]});}[_0x4c519a(0xde)](){const _0xf70e95=_0x4c519a;this[_0xf70e95(0xe6)][_0xf70e95(0xde)]();}}function _0x542a(){const _0x59758b=['bind','children','4607655QDrSLf','value','setTemplate','6570275fnDHGG','2180XhOCrv','dropdown','set','ck-ai-review-mode__form-item','formValue','add','resetToDefault','div','124947hEwPqJ','ck-reset_all','2646988guZQlG','6Fogkln','ck-form__row_with-submit','formType','_formItem','179590ZSpRIi','argsKey','4077664WeMpoB','9251431dUuDcJ','locale','16OelKoE'];_0x542a=function(){return _0x59758b;};return _0x542a();}
|
package/src/aitabs/aitabs.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x311a37=_0x1656;(function(_0x32d371,_0x1b6a2c){const _0xb41d98=_0x1656,_0x2ba3be=_0x32d371();while(!![]){try{const _0x3775de=parseInt(_0xb41d98(0xf9))/0x1+-parseInt(_0xb41d98(0xd8))/0x2*(-parseInt(_0xb41d98(0xe0))/0x3)+-parseInt(_0xb41d98(0xcb))/0x4+parseInt(_0xb41d98(0xfb))/0x5+parseInt(_0xb41d98(0xd3))/0x6*(parseInt(_0xb41d98(0xef))/0x7)+-parseInt(_0xb41d98(0xd1))/0x8*(-parseInt(_0xb41d98(0xeb))/0x9)+-parseInt(_0xb41d98(0xe8))/0xa*(parseInt(_0xb41d98(0xdb))/0xb);if(_0x3775de===_0x1b6a2c)break;else _0x2ba3be['push'](_0x2ba3be['shift']());}catch(_0x38eb08){_0x2ba3be['push'](_0x2ba3be['shift']());}}}(_0x2528,0x62a7a));import{ContextPlugin as _0x4f1f7d,Editor as _0x3da8b5}from'ckeditor5/src/core.js';import{CKEditorError as _0x61b51a}from'ckeditor5/src/utils.js';import{AITabsMainView as _0x4e959b,AI_TABS_VIEW_SIDES as _0x536f94,AI_TABS_VIEW_TYPES as _0x5456ad}from'./aitabsmainview.js';function _0x1656(_0xc6eef2,_0x290dac){const _0x2528bb=_0x2528();return _0x1656=function(_0x1656b0,_0x680e1b){_0x1656b0=_0x1656b0-0xc9;let _0x4c0c19=_0x2528bb[_0x1656b0];return _0x4c0c19;},_0x1656(_0xc6eef2,_0x290dac);}export class AITabs extends _0x4f1f7d{[_0x311a37(0xf6)];[_0x311a37(0xd4)]=null;[_0x311a37(0xf5)]=!0x0;static get[_0x311a37(0xcc)](){const _0x1ac0dc=_0x311a37;return _0x1ac0dc(0xd5);}static get[_0x311a37(0xdd)](){return!0x0;}static get[_0x311a37(0xe1)](){return!0x0;}constructor(_0x5d654f){const _0x722a8f=_0x311a37;super(_0x5d654f);const _0x3c7d1c=this[_0x722a8f(0xd0)][_0x722a8f(0xee)][_0x722a8f(0xd2)](_0x722a8f(0xe4));if(this[_0x722a8f(0xd6)](_0x722a8f(0xde),_0x722a8f(0xca)),!_0x3c7d1c)throw new _0x61b51a(_0x722a8f(0xe2));if(void 0x0!==_0x3c7d1c[_0x722a8f(0xf5)]&&(this[_0x722a8f(0xf5)]=_0x3c7d1c[_0x722a8f(0xf5)]),_0x722a8f(0xe7)!==_0x3c7d1c[_0x722a8f(0xf0)]&&_0x722a8f(0xf7)!==_0x3c7d1c[_0x722a8f(0xf0)]||_0x3c7d1c[_0x722a8f(0xde)]&&(this[_0x722a8f(0xde)]=_0x3c7d1c[_0x722a8f(0xde)]),_0x722a8f(0xe7)===_0x3c7d1c[_0x722a8f(0xf0)]){if(this[_0x722a8f(0xd4)]=_0x3c7d1c[_0x722a8f(0xcf)],this[_0x722a8f(0xd6)](_0x722a8f(0xf0),_0x722a8f(0xe7)),!this[_0x722a8f(0xd4)])throw new _0x61b51a(_0x722a8f(0xce));}else _0x722a8f(0xf7)===_0x3c7d1c[_0x722a8f(0xf0)]?(this[_0x722a8f(0xd4)]=document[_0x722a8f(0xf1)],this[_0x722a8f(0xd6)](_0x722a8f(0xf0),_0x722a8f(0xf7))):(this[_0x722a8f(0xd4)]=null,this[_0x722a8f(0xd6)](_0x722a8f(0xf0),_0x722a8f(0xcd)));this[_0x722a8f(0xf6)]=new _0x4e959b(this[_0x722a8f(0xd0)][_0x722a8f(0xfa)],{'side':this[_0x722a8f(0xde)],'type':this[_0x722a8f(0xf0)],'visibleByDefault':void 0x0===_0x3c7d1c[_0x722a8f(0xe3)]||_0x3c7d1c[_0x722a8f(0xe3)]}),this[_0x722a8f(0xf6)][_0x722a8f(0xdf)](),this[_0x722a8f(0xf6)][_0x722a8f(0xf2)](_0x722a8f(0xde))['to'](this,_0x722a8f(0xde)),this[_0x722a8f(0xf6)][_0x722a8f(0xf2)](_0x722a8f(0xf0))['to'](this,_0x722a8f(0xf0)),this[_0x722a8f(0xd4)]&&this[_0x722a8f(0xd4)][_0x722a8f(0xe6)](this[_0x722a8f(0xf6)][_0x722a8f(0xcf)]),this[_0x722a8f(0xd0)]instanceof _0x3da8b5&&this[_0x722a8f(0xd0)]['ui'][_0x722a8f(0xc9)][_0x722a8f(0xea)](this[_0x722a8f(0xf6)][_0x722a8f(0xcf)]);}[_0x311a37(0xf4)](_0x27411e){const _0x1117ad=_0x311a37;if(_0x27411e&&this[_0x1117ad(0xf0)]!==_0x27411e){if(!_0x5456ad[_0x1117ad(0xd7)](_0x27411e))throw new _0x61b51a(_0x1117ad(0xf8));this[_0x1117ad(0xf0)]=_0x27411e;}}[_0x311a37(0xe9)](_0x5210c5){const _0x32efce=_0x311a37;if(_0x5210c5&&this[_0x32efce(0xde)]!==_0x5210c5){if(!_0x536f94[_0x32efce(0xd7)](_0x5210c5))throw new _0x61b51a(_0x32efce(0xf3));this[_0x32efce(0xde)]=_0x5210c5;}}[_0x311a37(0xe5)](){const _0x5abe76=_0x311a37;this[_0x5abe76(0xf6)][_0x5abe76(0xed)]=!this[_0x5abe76(0xf6)][_0x5abe76(0xed)],this[_0x5abe76(0xda)](_0x5abe76(0xec),this[_0x5abe76(0xf6)][_0x5abe76(0xed)]);}[_0x311a37(0xdc)](){const _0x1275bc=_0x311a37;super[_0x1275bc(0xdc)](),this[_0x1275bc(0xf6)][_0x1275bc(0xdc)](),this[_0x1275bc(0xf6)][_0x1275bc(0xcf)]&&this[_0x1275bc(0xf6)][_0x1275bc(0xcf)][_0x1275bc(0xd9)]();}}function _0x2528(){const _0x5eb0d2=['3047WmBQHJ','destroy','isOfficialPlugin','side','render','3ZJEdgn','isPremiumPlugin','ai-tabs-configuration-not-found','visibleByDefault','ai.container','resize','appendChild','sidebar','80920TuHvtI','switchSide','add','9gJOzpp','resizedTabs','isMaximized','config','7AdAgXN','type','body','bind','ai-tabs-unsupported-ui-side','switchType','showResizeButton','view','overlay','ai-tabs-unsupported-ui-type','750371EvysIb','locale','2954800JQAcoc','focusTracker','right','1324184EoRCMx','pluginName','custom','ai-tabs-sidebar-container-element-not-found','element','context','3036736TOkteH','get','3335988fwUFXC','container','AITabs','set','includes','1399398ocheBf','remove','fire'];_0x2528=function(){return _0x5eb0d2;};return _0x2528();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x49359b=_0x1f59;(function(_0x13dd0a,_0x1c3821){const _0x5ebb3f=_0x1f59,_0x169071=_0x13dd0a();while(!![]){try{const _0x43fc47=parseInt(_0x5ebb3f(0x11a))/0x1*(-parseInt(_0x5ebb3f(0x12d))/0x2)+parseInt(_0x5ebb3f(0x127))/0x3*(-parseInt(_0x5ebb3f(0x123))/0x4)+parseInt(_0x5ebb3f(0x11d))/0x5+-parseInt(_0x5ebb3f(0x114))/0x6+parseInt(_0x5ebb3f(0x11b))/0x7+parseInt(_0x5ebb3f(0x12e))/0x8*(-parseInt(_0x5ebb3f(0x121))/0x9)+parseInt(_0x5ebb3f(0x120))/0xa*(parseInt(_0x5ebb3f(0x115))/0xb);if(_0x43fc47===_0x1c3821)break;else _0x169071['push'](_0x169071['shift']());}catch(_0x54f487){_0x169071['push'](_0x169071['shift']());}}}(_0x4222,0xbcbbd));import{AITabsView as _0x3fdd9f}from'./tabs/aitabsview.js';import'../../theme/aitabs/aitabsview.css';function _0x1f59(_0x599930,_0x4b29fb){const _0x422265=_0x4222();return _0x1f59=function(_0x1f5930,_0x128dc5){_0x1f5930=_0x1f5930-0x112;let _0x7eb033=_0x422265[_0x1f5930];return _0x7eb033;},_0x1f59(_0x599930,_0x4b29fb);}export const AI_TABS_VIEW_TYPES=[_0x49359b(0x124),_0x49359b(0x122),_0x49359b(0x12b)];export const AI_TABS_VIEW_SIDES=[_0x49359b(0x12c),_0x49359b(0x11c)];function _0x4222(){const _0x28f9b3=['bindTemplate','ck-ai-tabs','custom','left','896068MHxYOK','469424jBLJnG','side','ck-ai-tabs__overlay','withText','8754360rtcOlg','1891538XFXvkQ','extendTemplate','type','visibleByDefault','set','3fevpTE','2858779GGJPOb','right','6886965ZHDZeh','buttonViews','add','210RhypHC','126mzCHyJ','sidebar','190324QTVepb','overlay','ck-ai-tabs__sidebar','isVisible','63VGeBMo','ck-hidden'];_0x4222=function(){return _0x28f9b3;};return _0x4222();}export class AITabsMainView extends _0x3fdd9f{constructor(_0x583aa5,_0x1b03f5={}){const _0x393c02=_0x49359b;super(_0x583aa5,_0x1b03f5),this[_0x393c02(0x119)](_0x393c02(0x117),_0x1b03f5[_0x393c02(0x117)]||_0x393c02(0x122)),this[_0x393c02(0x119)](_0x393c02(0x12f),_0x1b03f5[_0x393c02(0x12f)]||_0x393c02(0x11c)),this[_0x393c02(0x119)](_0x393c02(0x126),_0x1b03f5[_0x393c02(0x118)]??!0x0);const _0x39e94b=this[_0x393c02(0x129)];this[_0x393c02(0x116)]({'attributes':{'class':[_0x393c02(0x12a),_0x39e94b['if'](_0x393c02(0x117),_0x393c02(0x112),_0x511939=>_0x393c02(0x124)===_0x511939),_0x39e94b['if'](_0x393c02(0x117),_0x393c02(0x125),_0x2bf6e9=>_0x393c02(0x122)===_0x2bf6e9),_0x39e94b['if'](_0x393c02(0x126),_0x393c02(0x128),_0x4fc476=>!_0x4fc476)]}}),this[_0x393c02(0x11e)]['on'](_0x393c02(0x11f),(_0x59f8a3,_0xfddb77)=>{const _0x338c1e=_0x393c02;_0xfddb77[_0x338c1e(0x119)](_0x338c1e(0x113),!0x1);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x210d(){const _0x463584=['isOn','show:','_hidePanel','right','850ObelYS','ui-tabsview-tab-not-found','top','locale','fire','side','_showPanel','render','hide','activeTab','getTab','getTabIds','isVisible','isMaximized','14996akzveC','buttonIcon','ck-tabs__buttons-container','setTemplate','5qnItLI','reduce','178DNLZGw','33651tYyPSJ','ck-tabs','label','_getPanel','24092519myugxd','1053633RoCSAD','hide:','_setupButton','div','button','6448536lCDkOs','ck-tabs__panels-container','bind','activateTab:','buttonLabel','ck-reset','content','_hideButton','_tabs','show','find','panel','activateTab','addTab:','hideTab','6FTfgTk','ck-tabs__panels-container_','_showButton','set','keys','1014156lSosYB','buttonViews','execute','length','order','children','303DmkUQl','class','_getButton','get','ck-tabs_','createCollection','icon','add','ck-tabs__buttons-container_','left','addTab','ck-ai-tabs_maximized','bindTemplate','panelViews','showTab','getIndex'];_0x210d=function(){return _0x463584;};return _0x210d();}const _0x5ba8a6=_0x3dfe;(function(_0x4f4c82,_0x2021d0){const _0x241443=_0x3dfe,_0x4b1a2f=_0x4f4c82();while(!![]){try{const _0x4fb4d3=-parseInt(_0x241443(0x1b3))/0x1+parseInt(_0x241443(0x194))/0x2*(-parseInt(_0x241443(0x1b9))/0x3)+parseInt(_0x241443(0x18e))/0x4*(-parseInt(_0x241443(0x192))/0x5)+parseInt(_0x241443(0x1ae))/0x6*(-parseInt(_0x241443(0x19a))/0x7)+-parseInt(_0x241443(0x19f))/0x8+parseInt(_0x241443(0x195))/0x9*(parseInt(_0x241443(0x180))/0xa)+parseInt(_0x241443(0x199))/0xb;if(_0x4fb4d3===_0x2021d0)break;else _0x4b1a2f['push'](_0x4b1a2f['shift']());}catch(_0x2c2d79){_0x4b1a2f['push'](_0x4b1a2f['shift']());}}}(_0x210d,0x80114));import{View as _0xae3a9f}from'ckeditor5/src/ui.js';function _0x3dfe(_0x50aad4,_0x5e8906){const _0x210d28=_0x210d();return _0x3dfe=function(_0x3dfeb9,_0x59586e){_0x3dfeb9=_0x3dfeb9-0x174;let _0x394df0=_0x210d28[_0x3dfeb9];return _0x394df0;},_0x3dfe(_0x50aad4,_0x5e8906);}import{toArray as _0x4b0352,CKEditorError as _0x40514b}from'ckeditor5/src/utils.js';import{TabButtonView as _0x1d2f14}from'./tabbuttonview.js';import{TabPanelView as _0xcfa859}from'./tabpanelview.js';import'../../../theme/aitabs/tabs/tabsview.css';export const AI_TABS_POSITIONS=[_0x5ba8a6(0x182),_0x5ba8a6(0x175),_0x5ba8a6(0x17f)];export class AITabsView extends _0xae3a9f{[_0x5ba8a6(0x1b4)]=this[_0x5ba8a6(0x1be)]();[_0x5ba8a6(0x179)]=this[_0x5ba8a6(0x1be)]();[_0x5ba8a6(0x1a7)]=new Map();constructor(_0x3166eb,_0x46a687={}){const _0x2bc3b8=_0x5ba8a6;super(_0x3166eb),this[_0x2bc3b8(0x1b1)](_0x2bc3b8(0x1ba),void 0x0),this[_0x2bc3b8(0x1b1)](_0x2bc3b8(0x189),null),this[_0x2bc3b8(0x1b1)](_0x2bc3b8(0x185),_0x46a687[_0x2bc3b8(0x185)]||_0x2bc3b8(0x182)),this[_0x2bc3b8(0x1b1)](_0x2bc3b8(0x18d),!0x1);const _0x37238c=this[_0x2bc3b8(0x178)];this[_0x2bc3b8(0x191)]({'tag':_0x2bc3b8(0x19d),'attributes':{'class':['ck',_0x2bc3b8(0x1a4),_0x2bc3b8(0x196),..._0x4b0352(_0x46a687[_0x2bc3b8(0x1ba)]||[]),_0x37238c['to'](_0x2bc3b8(0x185),_0x5b2aab=>_0x2bc3b8(0x1bd)+_0x5b2aab),_0x37238c['to'](_0x2bc3b8(0x1ba)),_0x37238c['to'](_0x2bc3b8(0x18d),_0x22d5c3=>_0x22d5c3?_0x2bc3b8(0x177):'')],'tabindex':'0'},'children':[{'tag':_0x2bc3b8(0x19d),'attributes':{'class':['ck',_0x2bc3b8(0x190),_0x37238c['to'](_0x2bc3b8(0x185),_0x3f13ca=>_0x2bc3b8(0x174)+_0x3f13ca)]},'children':this[_0x2bc3b8(0x1b4)]},{'tag':_0x2bc3b8(0x19d),'attributes':{'class':['ck',_0x2bc3b8(0x1a0),_0x37238c['to'](_0x2bc3b8(0x185),_0x182371=>_0x2bc3b8(0x1af)+_0x182371)]},'children':this[_0x2bc3b8(0x179)]},..._0x4b0352(_0x46a687[_0x2bc3b8(0x1b8)]||[])]});}[_0x5ba8a6(0x18b)](){const _0x3386c2=_0x5ba8a6;return[...this[_0x3386c2(0x1a7)][_0x3386c2(0x1b2)]()];}[_0x5ba8a6(0x18a)](_0x17a5f7){const _0x4ca8a5=_0x5ba8a6,_0x44b1c6=this[_0x4ca8a5(0x1a7)][_0x4ca8a5(0x1bc)](_0x17a5f7);return _0x44b1c6||null;}[_0x5ba8a6(0x176)](_0x48351e){const _0x2cbaa6=_0x5ba8a6,_0x5d2cd0=this[_0x2cbaa6(0x19c)]({'id':_0x48351e['id'],'label':_0x48351e[_0x2cbaa6(0x1a3)],'icon':_0x48351e[_0x2cbaa6(0x18f)],'order':_0x48351e[_0x2cbaa6(0x1b7)]}),_0x2849da=new _0xcfa859(this[_0x2cbaa6(0x183)]);return _0x2849da[_0x2cbaa6(0x187)](),_0x48351e[_0x2cbaa6(0x1a5)]&&_0x2849da[_0x2cbaa6(0x1b8)][_0x2cbaa6(0x1c0)](_0x48351e[_0x2cbaa6(0x1a5)]),this[_0x2cbaa6(0x179)][_0x2cbaa6(0x1c0)](_0x2849da),this[_0x2cbaa6(0x1a7)][_0x2cbaa6(0x1b1)](_0x48351e['id'],{'button':_0x5d2cd0,'panel':_0x2849da,'order':void 0x0!==_0x48351e[_0x2cbaa6(0x1b7)]?_0x48351e[_0x2cbaa6(0x1b7)]:null}),this[_0x2cbaa6(0x184)](_0x2cbaa6(0x1ac)+_0x48351e['id'],{'id':_0x48351e['id'],'button':_0x5d2cd0,'panel':_0x2849da}),null===this[_0x2cbaa6(0x189)]?this[_0x2cbaa6(0x1ab)](_0x48351e['id']):this[_0x2cbaa6(0x17e)](_0x48351e['id']),{'button':_0x5d2cd0,'panel':_0x2849da};}[_0x5ba8a6(0x1ab)](_0x79ada3){const _0x320ed7=_0x5ba8a6;if(null!==_0x79ada3&&!this[_0x320ed7(0x18a)](_0x79ada3))throw new _0x40514b(_0x320ed7(0x181),{'tabs':this,'tabId':_0x79ada3});this[_0x320ed7(0x189)]!==_0x79ada3&&(this[_0x320ed7(0x189)]&&this[_0x320ed7(0x17e)](this[_0x320ed7(0x189)]),this[_0x320ed7(0x189)]=_0x79ada3,_0x79ada3&&this[_0x320ed7(0x186)](_0x79ada3),this[_0x320ed7(0x184)](_0x320ed7(0x1a2)+_0x79ada3,_0x79ada3));}[_0x5ba8a6(0x17a)](_0x50ab5c){const _0x5aeec9=_0x5ba8a6;if(!this[_0x5aeec9(0x18a)](_0x50ab5c))throw new _0x40514b(_0x5aeec9(0x181),{'tabs':this,'tabId':_0x50ab5c});this[_0x5aeec9(0x186)](_0x50ab5c),this[_0x5aeec9(0x1b0)](_0x50ab5c),this[_0x5aeec9(0x184)](_0x5aeec9(0x17d)+_0x50ab5c,_0x50ab5c);}[_0x5ba8a6(0x1ad)](_0x1084c1){const _0x40f82f=_0x5ba8a6;if(!this[_0x40f82f(0x18a)](_0x1084c1))throw new _0x40514b(_0x40f82f(0x181),{'tabs':this,'tabId':_0x1084c1});const _0x3e638d=this[_0x40f82f(0x189)];this[_0x40f82f(0x17e)](_0x1084c1),this[_0x40f82f(0x1a6)](_0x1084c1);const _0x1bd723=this[_0x40f82f(0x18b)]();_0x3e638d===_0x1084c1&&_0x1bd723[_0x40f82f(0x1b6)]>0x1&&this[_0x40f82f(0x1ab)](_0x1bd723[_0x40f82f(0x1a9)](_0x172c09=>_0x172c09!==_0x1084c1)),this[_0x40f82f(0x184)](_0x40f82f(0x19b)+_0x1084c1,_0x1084c1);}[_0x5ba8a6(0x198)](_0x2becee){const _0x33c170=_0x5ba8a6,_0x5139c7=this[_0x33c170(0x1a7)][_0x33c170(0x1bc)](_0x2becee);return _0x5139c7?_0x5139c7[_0x33c170(0x1aa)]:null;}[_0x5ba8a6(0x186)](_0x5d8480){const _0x2b5be8=_0x5ba8a6;null!==this[_0x2b5be8(0x189)]&&this[_0x2b5be8(0x189)]!==_0x5d8480||this[_0x2b5be8(0x198)](_0x5d8480)[_0x2b5be8(0x1a8)]();}[_0x5ba8a6(0x17e)](_0x11040e){const _0x2ab6a4=_0x5ba8a6,_0x330083=this[_0x2ab6a4(0x198)](_0x11040e);_0x330083[_0x2ab6a4(0x18c)]&&(this[_0x2ab6a4(0x189)]===_0x11040e&&(this[_0x2ab6a4(0x189)]=null),_0x330083[_0x2ab6a4(0x188)]());}[_0x5ba8a6(0x1bb)](_0x33eaaf){const _0x464785=_0x5ba8a6,_0x25acd8=this[_0x464785(0x1a7)][_0x464785(0x1bc)](_0x33eaaf);return _0x25acd8?_0x25acd8[_0x464785(0x19e)]:null;}[_0x5ba8a6(0x1b0)](_0xc5eca3){const _0x2bba81=_0x5ba8a6;this[_0x2bba81(0x1bb)](_0xc5eca3)[_0x2bba81(0x1a8)]();}[_0x5ba8a6(0x1a6)](_0x32a1cb){const _0x3e67eb=_0x5ba8a6;this[_0x3e67eb(0x1bb)](_0x32a1cb)[_0x3e67eb(0x188)]();}[_0x5ba8a6(0x19c)](_0x3f7e30){const _0x1573e3=_0x5ba8a6,_0x4983dc=new _0x1d2f14(this[_0x1573e3(0x183)],{'side':this[_0x1573e3(0x185)]}),_0x51a4e4=this[_0x1573e3(0x1b4)];if(_0x4983dc[_0x1573e3(0x1b1)]({'label':_0x3f7e30[_0x1573e3(0x197)],'icon':_0x3f7e30[_0x1573e3(0x1bf)],'tooltip':!0x0,'withText':!0x0}),_0x4983dc[_0x1573e3(0x1a1)](_0x1573e3(0x17c))['to'](this,_0x1573e3(0x189),_0x4e6d3b=>_0x4e6d3b===_0x3f7e30['id']),_0x4983dc[_0x1573e3(0x1a1)](_0x1573e3(0x185))['to'](this,_0x1573e3(0x185)),_0x3f7e30[_0x1573e3(0x1b7)]){const _0x4cd1f7=[...this[_0x1573e3(0x1a7)]][_0x1573e3(0x193)]((_0x3aaaef,_0x246615)=>{const _0x1a9af2=_0x1573e3,_0x3a2ff3=_0x246615[0x0],{order:_0x47d618}=_0x246615[0x1];return!_0x47d618||_0x47d618>_0x3f7e30[_0x1a9af2(0x1b7)]?_0x3aaaef:_0x47d618>=_0x3aaaef[_0x1a9af2(0x1b7)]?{'id':_0x3a2ff3,'order':_0x47d618}:_0x3aaaef;},{'id':'','order':0x0}),_0x100fbb=_0x51a4e4[_0x1573e3(0x17b)](this[_0x1573e3(0x1bb)](_0x4cd1f7['id']));_0x51a4e4[_0x1573e3(0x1c0)](_0x4983dc,_0x100fbb+0x1);}else _0x51a4e4[_0x1573e3(0x1c0)](_0x4983dc);return _0x4983dc['on'](_0x1573e3(0x1b5),()=>{const _0x5bfcb9=_0x1573e3;this[_0x5bfcb9(0x1ab)](_0x3f7e30['id']);}),_0x4983dc;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x58de7f=_0x1663;(function(_0x386a6e,_0x54b08a){const _0x3cb59c=_0x1663,_0x272c15=_0x386a6e();while(!![]){try{const _0x3ea206=-parseInt(_0x3cb59c(0x1d6))/0x1*(-parseInt(_0x3cb59c(0x1db))/0x2)+-parseInt(_0x3cb59c(0x1d9))/0x3+parseInt(_0x3cb59c(0x1d1))/0x4+-parseInt(_0x3cb59c(0x1d0))/0x5+parseInt(_0x3cb59c(0x1dc))/0x6*(-parseInt(_0x3cb59c(0x1d2))/0x7)+-parseInt(_0x3cb59c(0x1e5))/0x8*(parseInt(_0x3cb59c(0x1cf))/0x9)+parseInt(_0x3cb59c(0x1dd))/0xa*(parseInt(_0x3cb59c(0x1d7))/0xb);if(_0x3ea206===_0x54b08a)break;else _0x272c15['push'](_0x272c15['shift']());}catch(_0xe4fa3){_0x272c15['push'](_0x272c15['shift']());}}}(_0x5615,0x89334));import{ButtonView as _0x180c13}from'ckeditor5/src/ui.js';import{toArray as _0x3b6f68}from'ckeditor5/src/utils.js';function _0x1663(_0x2e678f,_0x4a3275){const _0x561532=_0x5615();return _0x1663=function(_0x1663e5,_0x403d3c){_0x1663e5=_0x1663e5-0x1cf;let _0x21dc55=_0x561532[_0x1663e5];return _0x21dc55;},_0x1663(_0x2e678f,_0x4a3275);}import'../../../theme/aitabs/tabs/tabbuttonview.css';export class TabButtonView extends _0x180c13{constructor(_0x54c9c0,_0x313d38={}){const _0x2e451a=_0x1663;super(_0x54c9c0),this[_0x2e451a(0x1d3)]=!0x0,this[_0x2e451a(0x1d4)](_0x2e451a(0x1de),_0x313d38[_0x2e451a(0x1de)]||_0x2e451a(0x1e2));const _0x26486d=this[_0x2e451a(0x1e4)];this[_0x2e451a(0x1df)]({'attributes':{'class':[_0x2e451a(0x1e3),..._0x3b6f68(_0x313d38[_0x2e451a(0x1e0)]||[]),_0x26486d['to'](_0x2e451a(0x1de),_0x3861ac=>_0x2e451a(0x1da)+_0x3861ac),_0x26486d['to'](_0x2e451a(0x1e0))]}});}[_0x58de7f(0x1d8)](){const _0x58e15c=_0x58de7f;this[_0x58e15c(0x1d4)](_0x58e15c(0x1d5),!0x0);}[_0x58de7f(0x1e1)](){const _0x51a4ed=_0x58de7f;this[_0x51a4ed(0x1d4)](_0x51a4ed(0x1d5),!0x1);}}function _0x5615(){const _0x3c3ba1=['extendTemplate','class','hide','top','ck-tab-button','bindTemplate','48FFIRHa','456363ApnBju','2982475HwHlFc','1203448EKdAnR','35AGgPPD','isToggleable','set','isVisible','351576gBQujl','214247BCMGXb','show','2389833lxsPfg','ck-tab-button_','2XwIjcZ','198630biksvd','910ZddXLE','side'];_0x5615=function(){return _0x3c3ba1;};return _0x5615();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x32d65f=_0x211d;(function(_0x163027,_0x1e339f){const _0x3ef471=_0x211d,_0x344f40=_0x163027();while(!![]){try{const _0x2a862b=-parseInt(_0x3ef471(0x141))/0x1*(parseInt(_0x3ef471(0x151))/0x2)+-parseInt(_0x3ef471(0x149))/0x3*(parseInt(_0x3ef471(0x13d))/0x4)+parseInt(_0x3ef471(0x13c))/0x5*(-parseInt(_0x3ef471(0x152))/0x6)+parseInt(_0x3ef471(0x13e))/0x7+-parseInt(_0x3ef471(0x14f))/0x8+-parseInt(_0x3ef471(0x14a))/0x9+-parseInt(_0x3ef471(0x14e))/0xa*(-parseInt(_0x3ef471(0x14b))/0xb);if(_0x2a862b===_0x1e339f)break;else _0x344f40['push'](_0x344f40['shift']());}catch(_0x4457bf){_0x344f40['push'](_0x344f40['shift']());}}}(_0x4a97,0x22f4f));import{View as _0x24d0ee}from'ckeditor5/src/ui.js';import{toArray as _0x4ce04b}from'ckeditor5/src/utils.js';function _0x211d(_0x3d8759,_0x13e0e9){const _0x4a9790=_0x4a97();return _0x211d=function(_0x211d84,_0x3f9c4e){_0x211d84=_0x211d84-0x13c;let _0x205dbc=_0x4a9790[_0x211d84];return _0x205dbc;},_0x211d(_0x3d8759,_0x13e0e9);}function _0x4a97(){const _0x8a89b6=['createCollection','ck-hidden','240BCwoJT','ck-tab-panel','div','bindTemplate','hide','show','isVisible','class','25257FBSHVh','1570545jsDQIc','5401781QTfxuG','set','children','10RnkLBe','870256ZcMXCv','setTemplate','508VpfgsS','180798lNIUOb','35ZRFaxZ','12PYjKrw','1627829cSujgB'];_0x4a97=function(){return _0x8a89b6;};return _0x4a97();}export class TabPanelView extends _0x24d0ee{[_0x32d65f(0x14d)];constructor(_0x1c33ea,_0x4c2347={}){const _0x19288c=_0x32d65f;super(_0x1c33ea);const _0x15ecf6=this[_0x19288c(0x144)];this[_0x19288c(0x14c)](_0x19288c(0x147),!0x1),this[_0x19288c(0x14c)](_0x19288c(0x148),''),this[_0x19288c(0x14d)]=this[_0x19288c(0x13f)](),this[_0x19288c(0x150)]({'tag':_0x19288c(0x143),'attributes':{'class':[_0x19288c(0x142),..._0x4ce04b(_0x4c2347[_0x19288c(0x148)]||[]),_0x15ecf6['to'](_0x19288c(0x148)),_0x15ecf6['if'](_0x19288c(0x147),_0x19288c(0x140),_0x265d06=>!_0x265d06)]},'children':this[_0x19288c(0x14d)]});}[_0x32d65f(0x146)](){const _0x209714=_0x32d65f;this[_0x209714(0x14c)](_0x209714(0x147),!0x0);}[_0x32d65f(0x145)](){const _0x4164e6=_0x32d65f;this[_0x4164e6(0x14c)](_0x4164e6(0x147),!0x1);}}
|
package/src/errors.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x16a3(){var _0x408316=['197451VpHlkb','409DkQzOm','319942QiWQep','297114lZQAfF','10uuNaNP','255eOgEJM','756996TmSmHr','328vyIjuS','702iVqlhC','1263867CMydby','72gYzcIZ','121MxczUG'];_0x16a3=function(){return _0x408316;};return _0x16a3();}(function(_0x3e6bc7,_0x295c1a){var _0x1ca4e7=_0x4ce9,_0x243fee=_0x3e6bc7();while(!![]){try{var _0xcfd993=-parseInt(_0x1ca4e7(0x134))/0x1*(-parseInt(_0x1ca4e7(0x13b))/0x2)+parseInt(_0x1ca4e7(0x13c))/0x3+-parseInt(_0x1ca4e7(0x13a))/0x4*(-parseInt(_0x1ca4e7(0x138))/0x5)+parseInt(_0x1ca4e7(0x136))/0x6+-parseInt(_0x1ca4e7(0x135))/0x7*(-parseInt(_0x1ca4e7(0x131))/0x8)+-parseInt(_0x1ca4e7(0x133))/0x9*(parseInt(_0x1ca4e7(0x137))/0xa)+parseInt(_0x1ca4e7(0x132))/0xb*(-parseInt(_0x1ca4e7(0x139))/0xc);if(_0xcfd993===_0x295c1a)break;else _0x243fee['push'](_0x243fee['shift']());}catch(_0x6fe3c7){_0x243fee['push'](_0x243fee['shift']());}}}(_0x16a3,0x4cac3));function _0x4ce9(_0x44860b,_0x32c84f){var _0x16a340=_0x16a3();return _0x4ce9=function(_0x4ce96d,_0xa91532){_0x4ce96d=_0x4ce96d-0x131;var _0x40a87a=_0x16a340[_0x4ce96d];return _0x40a87a;},_0x4ce9(_0x44860b,_0x32c84f);}import{CKEditorError as _0x564420}from'ckeditor5/src/utils.js';
|
package/src/errorsmap.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4a062a=_0x9200;(function(_0x2bcacd,_0x418114){const _0x3e9124=_0x9200,_0x438cdf=_0x2bcacd();while(!![]){try{const _0x4cf68e=-parseInt(_0x3e9124(0x83))/0x1*(parseInt(_0x3e9124(0x71))/0x2)+parseInt(_0x3e9124(0x7d))/0x3+parseInt(_0x3e9124(0x78))/0x4*(parseInt(_0x3e9124(0x72))/0x5)+-parseInt(_0x3e9124(0x88))/0x6+parseInt(_0x3e9124(0x8f))/0x7*(parseInt(_0x3e9124(0x8b))/0x8)+parseInt(_0x3e9124(0x79))/0x9+-parseInt(_0x3e9124(0x86))/0xa*(parseInt(_0x3e9124(0x89))/0xb);if(_0x4cf68e===_0x418114)break;else _0x438cdf['push'](_0x438cdf['shift']());}catch(_0x11895b){_0x438cdf['push'](_0x438cdf['shift']());}}}(_0x586c,0xb6717));function _0x9200(_0x126a8d,_0x3363a3){const _0x586cbd=_0x586c();return _0x9200=function(_0x9200ae,_0x40ce71){_0x9200ae=_0x9200ae-0x6b;let _0x494314=_0x586cbd[_0x9200ae];return _0x494314;},_0x9200(_0x126a8d,_0x3363a3);}export const errorsMap=new Map([[_0x4a062a(0x6e),_0x4a062a(0x84)],[_0x4a062a(0x87),_0x4a062a(0x85)],[_0x4a062a(0x8c),_0x4a062a(0x6c)],[_0x4a062a(0x70),_0x4a062a(0x8e)],[_0x4a062a(0x82),_0x4a062a(0x8a)],[_0x4a062a(0x80),_0x4a062a(0x73)],[_0x4a062a(0x74),_0x4a062a(0x7e)],[_0x4a062a(0x81),_0x4a062a(0x7a)],[_0x4a062a(0x76),_0x4a062a(0x75)],[_0x4a062a(0x6d),_0x4a062a(0x7f)],[_0x4a062a(0x7b),_0x4a062a(0x77)],[_0x4a062a(0x6b),_0x4a062a(0x8d)],[_0x4a062a(0x7c),_0x4a062a(0x6f)]]);function _0x586c(){const _0x1c2eef=['1298XeAkGw','ai-chat-model-already-set','8yekEjT','invalid-content-type','ai-chat-context-file-too-many-pages','ai-chat-invalid-request','7838607AnTYsj','file-too-many-pages','ai-invalid-content-type','unsupported-file-type','usage-limits-exceeded','ai-chat-context-form-data-size-limits-exceeded','invalid-request-data','1850272yzdral','5602595uIpSJo','ai-chat-model-not-found','unsafe-content-detected','ai-chat-content-too-large','content-too-large','ai-chat-context-file-too-large','4SQnIVd','424206GEqvaV','ai-chat-unsupported-content-type','file-too-large','form-data-size-limits-exceeded','2684421jtJxCy','ai-chat-unsafe-content-detected','ai-chat-context-unsupported-file-type','model-not-found','unsupported-content-type','model-already-set','1dxxFZh','ai-usage-limits-exceeded','ai-rate-limits-exceeded','43900dFLvyP','rate-limits-exceeded','5950908Ctofxk'];_0x586c=function(){return _0x1c2eef;};return _0x586c();}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x18bfc8,_0x2345f0){var _0x43fcc1=_0xcdd0,_0x3cd316=_0x18bfc8();while(!![]){try{var _0x341455=-parseInt(_0x43fcc1(0x172))/0x1+parseInt(_0x43fcc1(0x176))/0x2+parseInt(_0x43fcc1(0x170))/0x3*(-parseInt(_0x43fcc1(0x179))/0x4)+parseInt(_0x43fcc1(0x177))/0x5*(-parseInt(_0x43fcc1(0x174))/0x6)+-parseInt(_0x43fcc1(0x171))/0x7+-parseInt(_0x43fcc1(0x173))/0x8*(parseInt(_0x43fcc1(0x178))/0x9)+parseInt(_0x43fcc1(0x175))/0xa;if(_0x341455===_0x2345f0)break;else _0x3cd316['push'](_0x3cd316['shift']());}catch(_0x57dbed){_0x3cd316['push'](_0x3cd316['shift']());}}}(_0xd2a6,0x6e449));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';function _0xcdd0(_0xe60b86,_0x3a12d5){var _0xd2a6e3=_0xd2a6();return _0xcdd0=function(_0xcdd087,_0x4f168a){_0xcdd087=_0xcdd087-0x170;var _0xe951f=_0xd2a6e3[_0xcdd087];return _0xe951f;},_0xcdd0(_0xe60b86,_0x3a12d5);}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';function _0xd2a6(){var _0x4659f8=['1673868pBlATQ','5yTntEj','1883835toYNgc','3212980IKeGax','3xWqzDV','2641926Fahqzs','860776KRwdEQ','8bSpbJC','3693684NcplOI','24810910UESBdA'];_0xd2a6=function(){return _0x4659f8;};return _0xd2a6();}export{AIChatHistoryController}from'./aichathistory/aichathistorycontroller.js';export{AIChatHistoryUI}from'./aichathistory/aichathistoryui.js';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';
|