@ckeditor/ckeditor5-ai 47.3.0-alpha.6 → 47.3.0-alpha.7
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 _0x11e20e,IconView as _0x1fbc6c,View as _0x23d570,ViewCollection as _0x2ab54f,ButtonView as _0x3d219c,clickOutsideHandler as _0x5ce0d8}from'ckeditor5/src/ui.js';import{IconChevronRight as _0x32db2b}from'ckeditor5/src/icons.js';import{AIReviewModeFormManagerView as _0x1a10c5}from'./form/aireviewmodeformmanager.js';import{AIReviewModeCustomCheckView as tc}from'./aireviewmodecustomcheckview.js';export class AIReviewModeReviewCommandListItemView extends _0x11e20e{['_formItemsCollection']=new _0x2ab54f();['_customCheckView']=null;constructor(_0x1a084e,_0x4e0455,_0x54f794){super(_0x1a084e),this['set']('isParametrizedViewOpen',!0x1),this['set']('isListItemRendered',!0x1),this['set']('isItemParametrized',_0x4e0455['isParameterized']);const _0x1e3cb4=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',_0x3c8d4c=>_0x3c8d4c),this['bindTemplate']['if']('isListItemRendered','ck-ai-review-mode__check-list-item_rendered',_0x152d88=>_0x152d88)],'style':{'--ck-ai-review-check-list-item-index':_0x54f794}},'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':_0x4e0455['title']}]},_0x1e3cb4]},{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-description']},'children':[{'text':_0x4e0455['description']}]}]}]},..._0x4e0455['isParameterized']?[this['_createParameterizedView'](_0x4e0455)]:[],...'custom'===_0x4e0455['id']?[this['_createCustomView'](_0x4e0455)]:[]]}),this['on']('click',()=>{_0x4e0455['isParameterized']?this['isParametrizedViewOpen']=!0x0:this['fire']('runReviewCheck',{'id':_0x4e0455['id']});}),requestAnimationFrame(()=>{this['isListItemRendered']=!0x0;});}['render'](){super['render'](),this['isItemParametrized']&&_0x5ce0d8({'emitter':this,'activator':()=>!0x0===this['isParametrizedViewOpen'],'contextElements':[this['element']],'callback':()=>{this['isParametrizedViewOpen']=!0x1;}});}['resetToDefault'](){this['isParametrizedViewOpen']=!0x1,this['_formItemsCollection']['forEach'](_0x338388=>{_0x338388['resetToDefault']();}),this['_customCheckView']&&this['_customCheckView']['resetToDefault']();}['_createIconView'](){const _0x24fbf8=new _0x1fbc6c();return _0x24fbf8['content']=_0x32db2b,_0x24fbf8['extendTemplate']({'attributes':{'class':['ck-ai-review-mode__check-list-item-title-icon']}}),_0x24fbf8;}['_createParameterizedView'](_0xd58b25){const _0x451a26=new _0x23d570(),_0x2e12cf=this['_createFormView'](_0xd58b25);return _0x451a26['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-parameterized',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x2f71c2=>!_0x2f71c2)]},'children':[_0x2e12cf]}),_0x451a26;}['_createFormView'](_0x5b9c6e){const _0x24f351=new _0x23d570(),_0xafcbf3=Array['isArray'](_0x5b9c6e['options'])?_0x5b9c6e['options']:[],_0x15860f=new _0x3d219c(this['locale']),t=this['locale']['t'];_0x15860f['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x15860f['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x9eeb8b=>{_0x9eeb8b['stopPropagation']();})}}),_0x15860f['on']('execute',()=>{const _0x13778d=[],_0x4d1cb8={};this['_formItemsCollection']['forEach'](_0x68c6f9=>{_0x13778d['push'](_0x68c6f9['value']),_0x5b9c6e['useArgs']&&_0x5b9c6e['options']&&(_0x4d1cb8[_0x68c6f9['argsKey']]=_0x68c6f9['value']);}),this['fire']('runReviewCheck',{'id':_0x5b9c6e['id'],'params':_0x13778d['length']?_0x13778d:void 0x0,'args':Object['keys'](_0x4d1cb8)['length']?_0x4d1cb8:void 0x0});});const _0x134235=_0xafcbf3['length'];return _0xafcbf3['forEach']((_0x1ba714,_0x5c4bdf)=>{const _0x59848d=_0x5c4bdf===_0x134235-0x1;this['_formItemsCollection']['add'](new _0x1a10c5(this['locale'],_0x1ba714,_0x59848d?_0x15860f:null));}),_0x24f351['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-parameterized-form']},'children':this['_formItemsCollection']}),_0x24f351;}['_createCustomView'](_0xc40f60){return this['_customCheckView']=new tc(this['locale'],_0xc40f60),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',_0x4a7472=>!_0x4a7472)]}}),this['_customCheckView']['delegate']('runReviewCheck')['to'](this),this['listenTo'](this['_customCheckView'],'closeCustomCheck',()=>{this['isParametrizedViewOpen']=!0x1;}),this['on']('change:isParametrizedViewOpen',(_0x975f85,_0x1e60b6,_0x37b7b9)=>{_0x37b7b9||this['_customCheckView']['resetFormValidationStatus']();}),this['_customCheckView'];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x8d58eb=_0x4e38;function _0x218f(){const _0x49658b=['span','div','_createFinishReviewButtonView','AI_REVIEW_MODE_EMPTY_RESULTS_TEXT','delegate','762819HSPooD','2172128Haxkcr','resultsHeader','ck-ai-review-mode__review-completed-header','ck-ai-review-mode__review-completed-content-icon','AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE','2126Ocapdo','isVisible','8DUELPf','9187596dzgoZs','ck-ai-review-mode__review-completed-header-title','ck-ai-review-mode__review-completed-content','ck-ai-review-mode__review-completed-content-text','bindTemplate','6043830eOybHz','6503916dOVanq','_createResultHeaderView','finishReview','_finishReviewButtonView','5300ElsDkI','ck-ai-review-mode__review-completed-header-buttons','locale','969zxtLWv','2130hmMHHt','ck-hidden','setTemplate','ck-ai-review-mode__review-completed'];_0x218f=function(){return _0x49658b;};return _0x218f();}function _0x4e38(_0x1b40c3,_0xcd6888){const _0x218fe7=_0x218f();return _0x4e38=function(_0x4e38b1,_0x28e9cf){_0x4e38b1=_0x4e38b1-0x10a;let _0x4f0441=_0x218fe7[_0x4e38b1];return _0x4f0441;},_0x4e38(_0x1b40c3,_0xcd6888);}(function(_0x37883e,_0x3a396b){const _0x2f29df=_0x4e38,_0x409c19=_0x37883e();while(!![]){try{const _0x1da463=parseInt(_0x2f29df(0x10a))/0x1+-parseInt(_0x2f29df(0x110))/0x2*(parseInt(_0x2f29df(0x120))/0x3)+parseInt(_0x2f29df(0x11d))/0x4*(parseInt(_0x2f29df(0x121))/0x5)+-parseInt(_0x2f29df(0x119))/0x6+-parseInt(_0x2f29df(0x10b))/0x7*(-parseInt(_0x2f29df(0x112))/0x8)+parseInt(_0x2f29df(0x113))/0x9+-parseInt(_0x2f29df(0x118))/0xa;if(_0x1da463===_0x3a396b)break;else _0x409c19['push'](_0x409c19['shift']());}catch(_0x3d969e){_0x409c19['push'](_0x409c19['shift']());}}}(_0x218f,0x9900b));import{ListItemView as _0x52902a,View as _0xd6e4cd}from'ckeditor5/src/ui.js';import{AIReviewModeFinishReviewButtonView as _0x8f615d}from'./aireviewmodefinishreviewbuttonview.js';import{getTranslation as _0x575de3}from'../../aicore/utils/common-translations.js';import'../../../theme/aireviewmode/aireviewmode-review-completed.css';export class AIReviewModeReviewCompletedView extends _0x52902a{[_0x8d58eb(0x10c)];[_0x8d58eb(0x11c)];constructor(_0x56caa1){const _0x5a59ef=_0x8d58eb;super(_0x56caa1),this[_0x5a59ef(0x11c)]=this[_0x5a59ef(0x127)](),this[_0x5a59ef(0x10c)]=this[_0x5a59ef(0x11a)]();const _0x13507c=this[_0x5a59ef(0x117)];this[_0x5a59ef(0x123)]({'tag':_0x5a59ef(0x126),'attributes':{'class':[_0x5a59ef(0x124),_0x13507c['if'](_0x5a59ef(0x111),_0x5a59ef(0x122),_0x102bc7=>!_0x102bc7)]},'children':[this[_0x5a59ef(0x10c)],{'tag':_0x5a59ef(0x126),'attributes':{'class':[_0x5a59ef(0x115)]},'children':[{'tag':_0x5a59ef(0x125),'attributes':{'class':[_0x5a59ef(0x10e)]},'children':[{'text':'👍'}]},{'tag':'p','attributes':{'class':[_0x5a59ef(0x116)]},'children':[{'text':_0x575de3(_0x56caa1,_0x5a59ef(0x128))}]}]}]});}[_0x8d58eb(0x127)](){const _0x3587ce=_0x8d58eb,_0x4b5ca4=new _0x8f615d(this[_0x3587ce(0x11f)]);return _0x4b5ca4[_0x3587ce(0x129)](_0x3587ce(0x11b))['to'](this),_0x4b5ca4;}[_0x8d58eb(0x11a)](){const _0x341d8f=_0x8d58eb,_0x352e3a=new _0xd6e4cd(this[_0x341d8f(0x11f)]);return _0x352e3a[_0x341d8f(0x123)]({'tag':_0x341d8f(0x126),'attributes':{'class':[_0x341d8f(0x10d)]},'children':[{'tag':_0x341d8f(0x125),'attributes':{'class':[_0x341d8f(0x114)]},'children':[{'text':_0x575de3(this[_0x341d8f(0x11f)],_0x341d8f(0x10f))}]},{'tag':_0x341d8f(0x126),'attributes':{'class':[_0x341d8f(0x11e)]},'children':[this[_0x341d8f(0x11c)]]}]}),_0x352e3a;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x14add7=_0x5466;(function(_0x748c30,_0x1110d8){var _0x9c57a7=_0x5466,_0x1b954e=_0x748c30();while(!![]){try{var _0x281296=parseInt(_0x9c57a7(0x103))/0x1+parseInt(_0x9c57a7(0x105))/0x2+-parseInt(_0x9c57a7(0x113))/0x3+parseInt(_0x9c57a7(0xff))/0x4+-parseInt(_0x9c57a7(0x107))/0x5*(parseInt(_0x9c57a7(0x116))/0x6)+-parseInt(_0x9c57a7(0xf5))/0x7+parseInt(_0x9c57a7(0x10b))/0x8;if(_0x281296===_0x1110d8)break;else _0x1b954e['push'](_0x1b954e['shift']());}catch(_0x4c89da){_0x1b954e['push'](_0x1b954e['shift']());}}}(_0x3f3d,0xa82f7));import{View as _0x250539,FormHeaderView as _0x5275d5}from'ckeditor5/src/ui.js';import{IconAIReview as _0x4e3756}from'ckeditor5/src/icons.js';function _0x3f3d(){var _0x491154=['addResult','delegate','ck-rounded-corners','resetAllParameterizedChecks','isLoading','showActionsWhenResultIsReady','2838200tboaNe','showChunkErrorMessage','ck-ai-header\x20ck-ai-header_review-mode','errorMessage','216157vSPXeX','resetErrorState','2410096wreGcI','isVisible','10015atnrpa','reviewCheckResultsView','showGeneralErrorMessage','reviewCheckListView','4270464QmPFha','ck-reset_all','AI_REVIEW_MODE','reviewCompletedView','div','ltr','showNoChangesView','showReviewCheckListView','3136548zoWlJY','showGeneralReviewModeErrorView','setTemplate','546brtNhn','showChunkErrorView','isCompleted','isResultReady','showReviewCompletedView','set','showGeneralResultsErrorView','ck-ai-review-mode','showReviewCheckResultsView','generalErrorView','reviewModeHeader','hideActionsWhenResultIsReady','5235209vBRRCW','finishReview','addCheckRunResult','clearResults'];_0x3f3d=function(){return _0x491154;};return _0x3f3d();}import{AIReviewModeReviewCheckListView as _0x64c427}from'./aireviewmodereviewchecklistview.js';function _0x5466(_0x45db53,_0x2404f7){var _0x3f3d70=_0x3f3d();return _0x5466=function(_0x54667d,_0x2685dd){_0x54667d=_0x54667d-0xf5;var _0x6e5b74=_0x3f3d70[_0x54667d];return _0x6e5b74;},_0x5466(_0x45db53,_0x2404f7);}import{AI_REVIEW_MODE_UI_EVENT_NAMES as _0x444913}from'../aireviewmodeui.js';import{AIReviewModeReviewCheckResultsView as _0x423b62}from'./aireviewmodereviewcheckresultsview.js';import{AIReviewModeReviewCompletedView as _0x547843}from'./aireviewmodereviewcompletedview.js';import{AIReviewModeGeneralErrorView as _0x54548d}from'./aireviewmodegeneralerrorview.js';import{getTranslation as _0x1d30ce}from'../../aicore/utils/common-translations.js';export class AIReviewModeView extends _0x250539{[_0x14add7(0x120)];[_0x14add7(0x11f)];[_0x14add7(0x10a)];[_0x14add7(0x108)];[_0x14add7(0x10e)];constructor(_0x260c01){var _0x159bfb=_0x14add7;super(_0x260c01),this[_0x159bfb(0x120)]=new _0x5275d5(_0x260c01,{'label':_0x1d30ce(_0x260c01,_0x159bfb(0x10d)),'icon':_0x4e3756,'class':_0x159bfb(0x101)}),this[_0x159bfb(0x11f)]=new _0x54548d(_0x260c01),this[_0x159bfb(0x10a)]=new _0x64c427(_0x260c01),this[_0x159bfb(0x10a)][_0x159bfb(0xfa)](..._0x444913)['to'](this),this[_0x159bfb(0x108)]=new _0x423b62(_0x260c01),this[_0x159bfb(0x108)][_0x159bfb(0xfa)](..._0x444913)['to'](this),this[_0x159bfb(0x10e)]=new _0x547843(_0x260c01),this[_0x159bfb(0x10e)][_0x159bfb(0xfa)](_0x159bfb(0xf6))['to'](this),this[_0x159bfb(0x10a)][_0x159bfb(0x11b)](_0x159bfb(0x106),!0x1),this[_0x159bfb(0x108)][_0x159bfb(0x11b)](_0x159bfb(0x106),!0x1),this[_0x159bfb(0x108)][_0x159bfb(0x11b)](_0x159bfb(0xfd),!0x1),this[_0x159bfb(0x108)][_0x159bfb(0x11b)](_0x159bfb(0x119),!0x1),this[_0x159bfb(0x10e)][_0x159bfb(0x11b)](_0x159bfb(0x106),!0x1),this[_0x159bfb(0x115)]({'tag':_0x159bfb(0x10f),'attributes':{'class':['ck',_0x159bfb(0x10c),_0x159bfb(0x11d),_0x159bfb(0xfb)],'dir':_0x159bfb(0x110)},'children':[this[_0x159bfb(0x120)],this[_0x159bfb(0x11f)],this[_0x159bfb(0x10a)],this[_0x159bfb(0x108)],this[_0x159bfb(0x10e)]]});}[_0x14add7(0x112)](){var _0x42225b=_0x14add7;this[_0x42225b(0x10a)][_0x42225b(0xfc)](),this[_0x42225b(0x10a)][_0x42225b(0x11b)](_0x42225b(0x106),!0x0),this[_0x42225b(0x108)][_0x42225b(0x11b)](_0x42225b(0x106),!0x1),this[_0x42225b(0x10e)][_0x42225b(0x11b)](_0x42225b(0x106),!0x1);}[_0x14add7(0x11e)](){var _0x565378=_0x14add7;this[_0x565378(0x121)](),this[_0x565378(0x108)][_0x565378(0x104)](),this[_0x565378(0x10a)][_0x565378(0x11b)](_0x565378(0x106),!0x1),this[_0x565378(0x108)][_0x565378(0x11b)](_0x565378(0x106),!0x0),this[_0x565378(0x108)][_0x565378(0xf8)](),this[_0x565378(0x108)][_0x565378(0x11b)](_0x565378(0xfd),!0x0),this[_0x565378(0x108)][_0x565378(0x11b)](_0x565378(0x118),!0x1);}[_0x14add7(0xf7)](_0x164cf6){var _0x299ea7=_0x14add7;this[_0x299ea7(0x108)][_0x299ea7(0xf9)](_0x164cf6),this[_0x299ea7(0x108)][_0x299ea7(0x11b)](_0x299ea7(0xfd),!0x1);}[_0x14add7(0x11a)](){var _0x211bfe=_0x14add7;this[_0x211bfe(0x108)][_0x211bfe(0x11b)](_0x211bfe(0x106),!0x0),this[_0x211bfe(0x10e)][_0x211bfe(0x11b)](_0x211bfe(0x106),!0x1),this[_0x211bfe(0x108)][_0x211bfe(0x11b)](_0x211bfe(0x118),!0x0),this[_0x211bfe(0x10a)][_0x211bfe(0x11b)](_0x211bfe(0x106),!0x1);}[_0x14add7(0xfe)](){var _0x465ce7=_0x14add7;this[_0x465ce7(0x108)][_0x465ce7(0x119)]?(this[_0x465ce7(0x10a)][_0x465ce7(0x11b)](_0x465ce7(0x106),!0x1),this[_0x465ce7(0x108)][_0x465ce7(0x11b)](_0x465ce7(0x106),!0x0),this[_0x465ce7(0x10e)][_0x465ce7(0x11b)](_0x465ce7(0x106),!0x1)):this[_0x465ce7(0x108)][_0x465ce7(0x119)]=!0x0;}[_0x14add7(0x111)](){var _0x8d0fd9=_0x14add7;this[_0x8d0fd9(0x10a)][_0x8d0fd9(0x11b)](_0x8d0fd9(0x106),!0x1),this[_0x8d0fd9(0x108)][_0x8d0fd9(0x11b)](_0x8d0fd9(0x106),!0x1),this[_0x8d0fd9(0x10e)][_0x8d0fd9(0x11b)](_0x8d0fd9(0x106),!0x0);}[_0x14add7(0x121)](){var _0x45dc19=_0x14add7;this[_0x45dc19(0x108)][_0x45dc19(0x119)]=!0x1;}[_0x14add7(0x114)](_0x6b4eda){var _0x2eb789=_0x14add7;this[_0x2eb789(0x11f)][_0x2eb789(0x11b)](_0x2eb789(0x106),!0x0),this[_0x2eb789(0x11f)][_0x2eb789(0x102)]=_0x6b4eda;}[_0x14add7(0x11c)](){var _0x2f90e9=_0x14add7;this[_0x2f90e9(0x108)][_0x2f90e9(0x11b)](_0x2f90e9(0xfd),!0x1),this[_0x2f90e9(0xfe)](),this[_0x2f90e9(0x108)][_0x2f90e9(0x109)]();}[_0x14add7(0x117)](){var _0x27f086=_0x14add7;this[_0x27f086(0x108)][_0x27f086(0x11b)](_0x27f086(0xfd),!0x1),this[_0x27f086(0xfe)](),this[_0x27f086(0x108)][_0x27f086(0x100)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5240fd=_0x529a;(function(_0x2b9ddc,_0x4938a5){const _0x5d9f36=_0x529a,_0x31413e=_0x2b9ddc();while(!![]){try{const _0x298056=-parseInt(_0x5d9f36(0x14a))/0x1*(parseInt(_0x5d9f36(0x166))/0x2)+parseInt(_0x5d9f36(0x156))/0x3*(-parseInt(_0x5d9f36(0x143))/0x4)+parseInt(_0x5d9f36(0x169))/0x5*(-parseInt(_0x5d9f36(0x153))/0x6)+parseInt(_0x5d9f36(0x168))/0x7+parseInt(_0x5d9f36(0x148))/0x8*(parseInt(_0x5d9f36(0x160))/0x9)+-parseInt(_0x5d9f36(0x162))/0xa*(parseInt(_0x5d9f36(0x15c))/0xb)+-parseInt(_0x5d9f36(0x144))/0xc*(-parseInt(_0x5d9f36(0x15d))/0xd);if(_0x298056===_0x4938a5)break;else _0x31413e['push'](_0x31413e['shift']());}catch(_0x26ab5b){_0x31413e['push'](_0x31413e['shift']());}}}(_0x2925,0x1c745));import{Collection as _0x50c977}from'ckeditor5/src/utils.js';function _0x529a(_0x2526e6,_0x4ddc7f){const _0x292584=_0x2925();return _0x529a=function(_0x529a8e,_0x70df8){_0x529a8e=_0x529a8e-0x142;let _0x5ca5dd=_0x292584[_0x529a8e];return _0x5ca5dd;},_0x529a(_0x2526e6,_0x4ddc7f);}import{View as _0x496273,createDropdown as _0x4c953d,addListToDropdown as _0xbf15fa,UIModel as _0x1c1cba}from'ckeditor5/src/ui.js';export class AIReviewModeFormDropdownView extends _0x496273{[_0x5240fd(0x14d)];[_0x5240fd(0x149)];[_0x5240fd(0x158)];constructor(_0x2c06e4,_0x4e9984){const _0x3bbd87=_0x5240fd;super(_0x2c06e4),this[_0x3bbd87(0x149)]=_0x4e9984[_0x3bbd87(0x14b)]||(_0x4e9984[_0x3bbd87(0x145)][_0x3bbd87(0x161)]>0x0?_0x4e9984[_0x3bbd87(0x145)][0x0]['id']:''),this[_0x3bbd87(0x158)]=_0x4e9984[_0x3bbd87(0x145)][_0x3bbd87(0x154)](_0x51c7a6=>_0x51c7a6['id']===this[_0x3bbd87(0x149)])?.[_0x3bbd87(0x14e)]||'',this[_0x3bbd87(0x15e)](_0x3bbd87(0x157),''),this[_0x3bbd87(0x14d)]=_0x4c953d(this[_0x3bbd87(0x16e)]);const _0x519580=this[_0x3bbd87(0x155)](_0x4e9984[_0x3bbd87(0x145)]);_0xbf15fa(this[_0x3bbd87(0x14d)],_0x519580,{'role':_0x3bbd87(0x159),'ariaLabel':_0x4e9984[_0x3bbd87(0x14e)]}),this[_0x3bbd87(0x14d)][_0x3bbd87(0x147)][_0x3bbd87(0x15e)]({'label':this[_0x3bbd87(0x158)],'withText':!0x0}),this[_0x3bbd87(0x14d)][_0x3bbd87(0x14f)]({'on':{'click':this[_0x3bbd87(0x16d)]['to'](_0x8e4130=>{const _0xc3cab3=_0x3bbd87;_0x8e4130[_0xc3cab3(0x152)]();})}}),this[_0x3bbd87(0x15b)](this[_0x3bbd87(0x14d)],_0x3bbd87(0x16c),_0x1ee473=>{const _0x541432=_0x3bbd87;this[_0x541432(0x157)]=_0x1ee473[_0x541432(0x16a)][_0x541432(0x163)]['id'],this[_0x541432(0x14d)][_0x541432(0x147)][_0x541432(0x14e)]=_0x1ee473[_0x541432(0x16a)][_0x541432(0x163)][_0x541432(0x14e)];}),this[_0x3bbd87(0x165)]({'tag':_0x3bbd87(0x150),'attributes':{'class':['ck',_0x3bbd87(0x164),_0x3bbd87(0x146),_0x3bbd87(0x142)]},'children':[this[_0x3bbd87(0x14d)]]});}[_0x5240fd(0x151)](){const _0x3ce1fc=_0x5240fd;this[_0x3ce1fc(0x157)]=this[_0x3ce1fc(0x149)],this[_0x3ce1fc(0x14d)][_0x3ce1fc(0x147)][_0x3ce1fc(0x14e)]=this[_0x3ce1fc(0x158)];}[_0x5240fd(0x155)](_0x2b53ec=[]){const _0x2a42f7=_0x5240fd,_0x3299e0=new _0x50c977();this[_0x2a42f7(0x151)]();for(const _0x5588ee of _0x2b53ec){const _0x5f0e3f=new _0x1c1cba({'label':_0x5588ee[_0x2a42f7(0x14e)],'withText':!0x0,'role':_0x2a42f7(0x15f),'id':_0x5588ee['id'],'model':_0x5588ee});_0x5f0e3f[_0x2a42f7(0x16b)](_0x2a42f7(0x15a))['to'](this,_0x2a42f7(0x157),_0x45be2a=>_0x45be2a===_0x5f0e3f['id']);const _0xe71f59={'type':_0x2a42f7(0x167),'model':_0x5f0e3f};_0x3299e0[_0x2a42f7(0x14c)](_0xe71f59);}return _0x3299e0;}}function _0x2925(){const _0x436d4b=['ck-ai-review-mode__check-list-item-parameterized-form-element','buttonView','70136SWvvQT','_defaultValue','1lzpDjN','default','add','_dropdownView','label','extendTemplate','div','resetToDefault','stopPropagation','12rwzcHA','find','_prepareListOptions','3RHzEZG','formValue','_defaultLabel','menu','isOn','listenTo','726913AduoNw','949mOVNcb','set','menuitemradio','90DVwFMv','length','30gpdkXx','model','ck-reset_all','setTemplate','194294JjZlWG','button','1198645zLeqzo','513665wHYymQ','source','bind','execute','bindTemplate','locale','ck-ai-review-mode__check-list-item-parameterized-form-element_dropdown','255196KucZiz','69420lSUzJj','data'];_0x2925=function(){return _0x436d4b;};return _0x2925();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x45ad2f=_0x3803;function _0x3803(_0x1cf27c,_0x3087c4){const _0x3167bc=_0x3167();return _0x3803=function(_0x38038c,_0x17d528){_0x38038c=_0x38038c-0x122;let _0x3793ce=_0x3167bc[_0x38038c];return _0x3793ce;},_0x3803(_0x1cf27c,_0x3087c4);}function _0x3167(){const _0x47c493=['ck-form__row_with-submit','set','_formItem','resetToDefault','argsKey','add','value','dropdown','614163YEKFsh','101765uobpLc','1557402uDJrNg','4179600xTGnqM','264038DOEUkn','formValue','locale','ck-ai-review-mode__form-item','formType','8hvOJBX','392637tqbKDi','children','bind','div','setTemplate','245535lGbeKp','ck-reset_all'];_0x3167=function(){return _0x47c493;};return _0x3167();}(function(_0x265e4e,_0x4b25e2){const _0xb5868c=_0x3803,_0x471470=_0x265e4e();while(!![]){try{const _0x37a0a8=parseInt(_0xb5868c(0x126))/0x1+parseInt(_0xb5868c(0x129))/0x2+parseInt(_0xb5868c(0x125))/0x3+parseInt(_0xb5868c(0x12e))/0x4*(-parseInt(_0xb5868c(0x134))/0x5)+parseInt(_0xb5868c(0x127))/0x6+parseInt(_0xb5868c(0x12f))/0x7+-parseInt(_0xb5868c(0x128))/0x8;if(_0x37a0a8===_0x4b25e2)break;else _0x471470['push'](_0x471470['shift']());}catch(_0x2ad07d){_0x471470['push'](_0x471470['shift']());}}}(_0x3167,0x2097b));import{FormRowView as _0x265c98,ListItemView as _0x4bdc40}from'ckeditor5/src/ui.js';import{AIReviewModeFormDropdownView as _0x52407e}from'./aireviewmodeformdropdown.js';export class AIReviewModeFormManagerView extends _0x4bdc40{[_0x45ad2f(0x138)]=null;constructor(_0xfb5b93,_0x4cad0e,_0x334c38){const _0x3ad012=_0x45ad2f;super(_0xfb5b93),this[_0x3ad012(0x13a)]=_0x4cad0e?.[_0x3ad012(0x13a)];if(_0x3ad012(0x124)===_0x4cad0e[_0x3ad012(0x12d)])this[_0x3ad012(0x138)]=new _0x52407e(this[_0x3ad012(0x12b)],_0x4cad0e);this[_0x3ad012(0x137)](_0x3ad012(0x123),''),this[_0x3ad012(0x131)](_0x3ad012(0x123))['to'](this[_0x3ad012(0x138)],_0x3ad012(0x12a));const _0x180541=new _0x265c98(this[_0x3ad012(0x12b)],{'children':[this[_0x3ad012(0x138)]],'class':[_0x334c38?_0x3ad012(0x136):'']});_0x334c38&&_0x180541[_0x3ad012(0x130)][_0x3ad012(0x122)](_0x334c38),this[_0x3ad012(0x133)]({'tag':_0x3ad012(0x132),'attributes':{'class':['ck',_0x3ad012(0x12c),_0x3ad012(0x135)]},'children':[_0x180541]});}[_0x45ad2f(0x139)](){const _0x467c28=_0x45ad2f;this[_0x467c28(0x138)][_0x467c28(0x139)]();}}
|
package/src/aitabs/aitabs.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x1bf693=_0x270d;(function(_0x5daaa2,_0x15bf25){const _0x14faec=_0x270d,_0x116395=_0x5daaa2();while(!![]){try{const _0x5b88ac=parseInt(_0x14faec(0xd6))/0x1*(-parseInt(_0x14faec(0xe6))/0x2)+parseInt(_0x14faec(0xf0))/0x3+parseInt(_0x14faec(0xca))/0x4+-parseInt(_0x14faec(0xea))/0x5+-parseInt(_0x14faec(0xe0))/0x6+parseInt(_0x14faec(0xe8))/0x7+parseInt(_0x14faec(0xde))/0x8*(parseInt(_0x14faec(0xc8))/0x9);if(_0x5b88ac===_0x15bf25)break;else _0x116395['push'](_0x116395['shift']());}catch(_0x4d763f){_0x116395['push'](_0x116395['shift']());}}}(_0x418b,0x97cb4));function _0x418b(){const _0x1a0a64=['container','view','AITabs','resize','27UaCKHR','ai.container','2101604xWrYEg','ai-tabs-configuration-not-found','visibleByDefault','set','body','render','pluginName','switchType','add','fire','sidebar','ai-tabs-sidebar-container-element-not-found','45XxAMDr','includes','context','right','locale','focusTracker','switchSide','type','3250024YbSfFy','config','4198992hWEEiQ','remove','get','ai-tabs-unsupported-ui-side','showResizeButton','isMaximized','28976ASORoJ','ai-tabs-unsupported-ui-type','90608hrQgmY','appendChild','600695hciWAY','side','destroy','resizedTabs','custom','bind','1009725jhojEE','element','isOfficialPlugin','overlay','isPremiumPlugin'];_0x418b=function(){return _0x1a0a64;};return _0x418b();}import{ContextPlugin as _0x2d15e8,Editor as _0x577621}from'ckeditor5/src/core.js';import{CKEditorError as _0x11a8b8}from'ckeditor5/src/utils.js';function _0x270d(_0x223522,_0x473755){const _0x418ba5=_0x418b();return _0x270d=function(_0x270d1f,_0x2610bc){_0x270d1f=_0x270d1f-0xc1;let _0x146fb6=_0x418ba5[_0x270d1f];return _0x146fb6;},_0x270d(_0x223522,_0x473755);}import{AITabsMainView as _0x347659,AI_TABS_VIEW_SIDES as _0x31dbf3,AI_TABS_VIEW_TYPES as _0x56d704}from'./aitabsmainview.js';export class AITabs extends _0x2d15e8{[_0x1bf693(0xc5)];[_0x1bf693(0xc4)]=null;[_0x1bf693(0xe4)]=!0x0;static get[_0x1bf693(0xd0)](){const _0x2d13c=_0x1bf693;return _0x2d13c(0xc6);}static get[_0x1bf693(0xc1)](){return!0x0;}static get[_0x1bf693(0xc3)](){return!0x0;}constructor(_0x5a7596){const _0x21cdab=_0x1bf693;super(_0x5a7596);const _0x239f98=this[_0x21cdab(0xd8)][_0x21cdab(0xdf)][_0x21cdab(0xe2)](_0x21cdab(0xc9));if(this[_0x21cdab(0xcd)](_0x21cdab(0xeb),_0x21cdab(0xd9)),!_0x239f98)throw new _0x11a8b8(_0x21cdab(0xcb));if(void 0x0!==_0x239f98[_0x21cdab(0xe4)]&&(this[_0x21cdab(0xe4)]=_0x239f98[_0x21cdab(0xe4)]),_0x21cdab(0xd4)!==_0x239f98[_0x21cdab(0xdd)]&&_0x21cdab(0xc2)!==_0x239f98[_0x21cdab(0xdd)]||_0x239f98[_0x21cdab(0xeb)]&&(this[_0x21cdab(0xeb)]=_0x239f98[_0x21cdab(0xeb)]),_0x21cdab(0xd4)===_0x239f98[_0x21cdab(0xdd)]){if(this[_0x21cdab(0xc4)]=_0x239f98[_0x21cdab(0xf1)],this[_0x21cdab(0xcd)](_0x21cdab(0xdd),_0x21cdab(0xd4)),!this[_0x21cdab(0xc4)])throw new _0x11a8b8(_0x21cdab(0xd5));}else _0x21cdab(0xc2)===_0x239f98[_0x21cdab(0xdd)]?(this[_0x21cdab(0xc4)]=document[_0x21cdab(0xce)],this[_0x21cdab(0xcd)](_0x21cdab(0xdd),_0x21cdab(0xc2))):(this[_0x21cdab(0xc4)]=null,this[_0x21cdab(0xcd)](_0x21cdab(0xdd),_0x21cdab(0xee)));this[_0x21cdab(0xc5)]=new _0x347659(this[_0x21cdab(0xd8)][_0x21cdab(0xda)],{'side':this[_0x21cdab(0xeb)],'type':this[_0x21cdab(0xdd)],'visibleByDefault':void 0x0===_0x239f98[_0x21cdab(0xcc)]||_0x239f98[_0x21cdab(0xcc)]}),this[_0x21cdab(0xc5)][_0x21cdab(0xcf)](),this[_0x21cdab(0xc5)][_0x21cdab(0xef)](_0x21cdab(0xeb))['to'](this,_0x21cdab(0xeb)),this[_0x21cdab(0xc5)][_0x21cdab(0xef)](_0x21cdab(0xdd))['to'](this,_0x21cdab(0xdd)),this[_0x21cdab(0xc4)]&&this[_0x21cdab(0xc4)][_0x21cdab(0xe9)](this[_0x21cdab(0xc5)][_0x21cdab(0xf1)]),this[_0x21cdab(0xd8)]instanceof _0x577621&&this[_0x21cdab(0xd8)]['ui'][_0x21cdab(0xdb)][_0x21cdab(0xd2)](this[_0x21cdab(0xc5)][_0x21cdab(0xf1)]);}[_0x1bf693(0xd1)](_0x14ab82){const _0x3776cd=_0x1bf693;if(_0x14ab82&&this[_0x3776cd(0xdd)]!==_0x14ab82){if(!_0x56d704[_0x3776cd(0xd7)](_0x14ab82))throw new _0x11a8b8(_0x3776cd(0xe7));this[_0x3776cd(0xdd)]=_0x14ab82;}}[_0x1bf693(0xdc)](_0xc645a5){const _0x19f477=_0x1bf693;if(_0xc645a5&&this[_0x19f477(0xeb)]!==_0xc645a5){if(!_0x31dbf3[_0x19f477(0xd7)](_0xc645a5))throw new _0x11a8b8(_0x19f477(0xe3));this[_0x19f477(0xeb)]=_0xc645a5;}}[_0x1bf693(0xc7)](){const _0x37ad49=_0x1bf693;this[_0x37ad49(0xc5)][_0x37ad49(0xe5)]=!this[_0x37ad49(0xc5)][_0x37ad49(0xe5)],this[_0x37ad49(0xd3)](_0x37ad49(0xed),this[_0x37ad49(0xc5)][_0x37ad49(0xe5)]);}[_0x1bf693(0xec)](){const _0x510123=_0x1bf693;super[_0x510123(0xec)](),this[_0x510123(0xc5)][_0x510123(0xec)](),this[_0x510123(0xc5)][_0x510123(0xf1)]&&this[_0x510123(0xc5)][_0x510123(0xf1)][_0x510123(0xe1)]();}}
|
|
@@ -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
|
-
const
|
|
23
|
+
const _0x4f015e=_0x5f25;(function(_0x2933bc,_0x1243ed){const _0x4f51a0=_0x5f25,_0x5ab220=_0x2933bc();while(!![]){try{const _0x5ff0df=-parseInt(_0x4f51a0(0x164))/0x1*(-parseInt(_0x4f51a0(0x166))/0x2)+parseInt(_0x4f51a0(0x179))/0x3+-parseInt(_0x4f51a0(0x187))/0x4+-parseInt(_0x4f51a0(0x18c))/0x5+parseInt(_0x4f51a0(0x18d))/0x6*(parseInt(_0x4f51a0(0x170))/0x7)+parseInt(_0x4f51a0(0x19f))/0x8*(-parseInt(_0x4f51a0(0x181))/0x9)+parseInt(_0x4f51a0(0x171))/0xa;if(_0x5ff0df===_0x1243ed)break;else _0x5ab220['push'](_0x5ab220['shift']());}catch(_0xf3512d){_0x5ab220['push'](_0x5ab220['shift']());}}}(_0x12df,0x47e94));import{View as _0x3ff05f}from'ckeditor5/src/ui.js';import{toArray as _0xd7df17,CKEditorError as _0x434c4a}from'ckeditor5/src/utils.js';import{TabButtonView as _0x5d834e}from'./tabbuttonview.js';import{TabPanelView as _0x495da1}from'./tabpanelview.js';import'../../../theme/aitabs/tabs/tabsview.css';export const AI_TABS_POSITIONS=[_0x4f015e(0x19c),_0x4f015e(0x182),_0x4f015e(0x1a8)];function _0x12df(){const _0x54703c=['right','find','length','order','bind','_showPanel','_getButton','set','29471pXMvyJ','getTabIds','34hhGPEi','isVisible','ck-tabs__buttons-container','execute','_setupButton','add','buttonIcon','bindTemplate','activeTab','getIndex','33621UHgoKI','872170MOIzWx','fire','activateTab:','buttonLabel','_showButton','ck-tabs__panels-container_','showTab','keys','425874zaDlpr','activateTab','reduce','hide','ck-tabs__buttons-container_','label','ck-tabs__panels-container','_getPanel','9dwMlNU','left','_hidePanel','isOn','addTab','class','2137612wkdWIE','render','ck-ai-tabs_maximized','getTab','hide:','780895WLJisA','450XThxqO','setTemplate','ck-reset','side','ck-tabs','locale','icon','hideTab','addTab:','get','_tabs','panel','children','createCollection','isMaximized','top','ck-tabs_','div','842216QttpjT','content','ui-tabsview-tab-not-found','panelViews','button','show','buttonViews','show:','_hideButton'];_0x12df=function(){return _0x54703c;};return _0x12df();}function _0x5f25(_0x3dcc0b,_0x6d596d){const _0x12df4c=_0x12df();return _0x5f25=function(_0x5f25fa,_0x3a36ab){_0x5f25fa=_0x5f25fa-0x15d;let _0x345c24=_0x12df4c[_0x5f25fa];return _0x345c24;},_0x5f25(_0x3dcc0b,_0x6d596d);}export class AITabsView extends _0x3ff05f{[_0x4f015e(0x1a5)]=this[_0x4f015e(0x19a)]();[_0x4f015e(0x1a2)]=this[_0x4f015e(0x19a)]();[_0x4f015e(0x197)]=new Map();constructor(_0x21c118,_0x4a7485={}){const _0x28e22b=_0x4f015e;super(_0x21c118),this[_0x28e22b(0x163)](_0x28e22b(0x186),void 0x0),this[_0x28e22b(0x163)](_0x28e22b(0x16e),null),this[_0x28e22b(0x163)](_0x28e22b(0x190),_0x4a7485[_0x28e22b(0x190)]||_0x28e22b(0x19c)),this[_0x28e22b(0x163)](_0x28e22b(0x19b),!0x1);const _0x503495=this[_0x28e22b(0x16d)];this[_0x28e22b(0x18e)]({'tag':_0x28e22b(0x19e),'attributes':{'class':['ck',_0x28e22b(0x18f),_0x28e22b(0x191),..._0xd7df17(_0x4a7485[_0x28e22b(0x186)]||[]),_0x503495['to'](_0x28e22b(0x190),_0x303a7e=>_0x28e22b(0x19d)+_0x303a7e),_0x503495['to'](_0x28e22b(0x186)),_0x503495['to'](_0x28e22b(0x19b),_0x2b9335=>_0x2b9335?_0x28e22b(0x189):'')],'tabindex':'0'},'children':[{'tag':_0x28e22b(0x19e),'attributes':{'class':['ck',_0x28e22b(0x168),_0x503495['to'](_0x28e22b(0x190),_0x584f3e=>_0x28e22b(0x17d)+_0x584f3e)]},'children':this[_0x28e22b(0x1a5)]},{'tag':_0x28e22b(0x19e),'attributes':{'class':['ck',_0x28e22b(0x17f),_0x503495['to'](_0x28e22b(0x190),_0x37a79e=>_0x28e22b(0x176)+_0x37a79e)]},'children':this[_0x28e22b(0x1a2)]},..._0xd7df17(_0x4a7485[_0x28e22b(0x199)]||[])]});}[_0x4f015e(0x165)](){const _0x87ad0c=_0x4f015e;return[...this[_0x87ad0c(0x197)][_0x87ad0c(0x178)]()];}[_0x4f015e(0x18a)](_0x196c77){const _0x225e87=_0x4f015e,_0x44a5dc=this[_0x225e87(0x197)][_0x225e87(0x196)](_0x196c77);return _0x44a5dc||null;}[_0x4f015e(0x185)](_0xa93fde){const _0x17fe17=_0x4f015e,_0xd8d3e9=this[_0x17fe17(0x16a)]({'id':_0xa93fde['id'],'label':_0xa93fde[_0x17fe17(0x174)],'icon':_0xa93fde[_0x17fe17(0x16c)],'order':_0xa93fde[_0x17fe17(0x15f)]}),_0x2d395c=new _0x495da1(this[_0x17fe17(0x192)]);return _0x2d395c[_0x17fe17(0x188)](),_0xa93fde[_0x17fe17(0x1a0)]&&_0x2d395c[_0x17fe17(0x199)][_0x17fe17(0x16b)](_0xa93fde[_0x17fe17(0x1a0)]),this[_0x17fe17(0x1a2)][_0x17fe17(0x16b)](_0x2d395c),this[_0x17fe17(0x197)][_0x17fe17(0x163)](_0xa93fde['id'],{'button':_0xd8d3e9,'panel':_0x2d395c,'order':void 0x0!==_0xa93fde[_0x17fe17(0x15f)]?_0xa93fde[_0x17fe17(0x15f)]:null}),this[_0x17fe17(0x172)](_0x17fe17(0x195)+_0xa93fde['id'],{'id':_0xa93fde['id'],'button':_0xd8d3e9,'panel':_0x2d395c}),null===this[_0x17fe17(0x16e)]?this[_0x17fe17(0x17a)](_0xa93fde['id']):this[_0x17fe17(0x183)](_0xa93fde['id']),{'button':_0xd8d3e9,'panel':_0x2d395c};}[_0x4f015e(0x17a)](_0x546266){const _0x119928=_0x4f015e;if(null!==_0x546266&&!this[_0x119928(0x18a)](_0x546266))throw new _0x434c4a(_0x119928(0x1a1),{'tabs':this,'tabId':_0x546266});this[_0x119928(0x16e)]!==_0x546266&&(this[_0x119928(0x16e)]&&this[_0x119928(0x183)](this[_0x119928(0x16e)]),this[_0x119928(0x16e)]=_0x546266,_0x546266&&this[_0x119928(0x161)](_0x546266),this[_0x119928(0x172)](_0x119928(0x173)+_0x546266,_0x546266));}[_0x4f015e(0x177)](_0x3ec06b){const _0x505132=_0x4f015e;if(!this[_0x505132(0x18a)](_0x3ec06b))throw new _0x434c4a(_0x505132(0x1a1),{'tabs':this,'tabId':_0x3ec06b});this[_0x505132(0x161)](_0x3ec06b),this[_0x505132(0x175)](_0x3ec06b),this[_0x505132(0x172)](_0x505132(0x1a6)+_0x3ec06b,_0x3ec06b);}[_0x4f015e(0x194)](_0x2c01f7){const _0x41f129=_0x4f015e;if(!this[_0x41f129(0x18a)](_0x2c01f7))throw new _0x434c4a(_0x41f129(0x1a1),{'tabs':this,'tabId':_0x2c01f7});const _0x289f7d=this[_0x41f129(0x16e)];this[_0x41f129(0x183)](_0x2c01f7),this[_0x41f129(0x1a7)](_0x2c01f7);const _0x1212f5=this[_0x41f129(0x165)]();_0x289f7d===_0x2c01f7&&_0x1212f5[_0x41f129(0x15e)]>0x1&&this[_0x41f129(0x17a)](_0x1212f5[_0x41f129(0x15d)](_0x5575ff=>_0x5575ff!==_0x2c01f7)),this[_0x41f129(0x172)](_0x41f129(0x18b)+_0x2c01f7,_0x2c01f7);}[_0x4f015e(0x180)](_0x25ff00){const _0x5d04af=_0x4f015e,_0x2625b6=this[_0x5d04af(0x197)][_0x5d04af(0x196)](_0x25ff00);return _0x2625b6?_0x2625b6[_0x5d04af(0x198)]:null;}[_0x4f015e(0x161)](_0x360941){const _0x12c6b5=_0x4f015e;null!==this[_0x12c6b5(0x16e)]&&this[_0x12c6b5(0x16e)]!==_0x360941||this[_0x12c6b5(0x180)](_0x360941)[_0x12c6b5(0x1a4)]();}[_0x4f015e(0x183)](_0x2995c4){const _0x1514fe=_0x4f015e,_0x3adbbc=this[_0x1514fe(0x180)](_0x2995c4);_0x3adbbc[_0x1514fe(0x167)]&&(this[_0x1514fe(0x16e)]===_0x2995c4&&(this[_0x1514fe(0x16e)]=null),_0x3adbbc[_0x1514fe(0x17c)]());}[_0x4f015e(0x162)](_0x25c7f8){const _0x5880ad=_0x4f015e,_0x48782e=this[_0x5880ad(0x197)][_0x5880ad(0x196)](_0x25c7f8);return _0x48782e?_0x48782e[_0x5880ad(0x1a3)]:null;}[_0x4f015e(0x175)](_0x25f1ae){const _0x495bdd=_0x4f015e;this[_0x495bdd(0x162)](_0x25f1ae)[_0x495bdd(0x1a4)]();}[_0x4f015e(0x1a7)](_0x58d17f){const _0x13732f=_0x4f015e;this[_0x13732f(0x162)](_0x58d17f)[_0x13732f(0x17c)]();}[_0x4f015e(0x16a)](_0x5e8455){const _0x5e00f3=_0x4f015e,_0x5cd3f7=new _0x5d834e(this[_0x5e00f3(0x192)],{'side':this[_0x5e00f3(0x190)]}),_0x151b5e=this[_0x5e00f3(0x1a5)];if(_0x5cd3f7[_0x5e00f3(0x163)]({'label':_0x5e8455[_0x5e00f3(0x17e)],'icon':_0x5e8455[_0x5e00f3(0x193)],'tooltip':!0x0,'withText':!0x0}),_0x5cd3f7[_0x5e00f3(0x160)](_0x5e00f3(0x184))['to'](this,_0x5e00f3(0x16e),_0x8755e3=>_0x8755e3===_0x5e8455['id']),_0x5cd3f7[_0x5e00f3(0x160)](_0x5e00f3(0x190))['to'](this,_0x5e00f3(0x190)),_0x5e8455[_0x5e00f3(0x15f)]){const _0x26f010=[...this[_0x5e00f3(0x197)]][_0x5e00f3(0x17b)]((_0x40e35c,_0x4745ef)=>{const _0x59fd17=_0x5e00f3,_0xfeb255=_0x4745ef[0x0],{order:_0x35a923}=_0x4745ef[0x1];return!_0x35a923||_0x35a923>_0x5e8455[_0x59fd17(0x15f)]?_0x40e35c:_0x35a923>=_0x40e35c[_0x59fd17(0x15f)]?{'id':_0xfeb255,'order':_0x35a923}:_0x40e35c;},{'id':'','order':0x0}),_0x4f4c05=_0x151b5e[_0x5e00f3(0x16f)](this[_0x5e00f3(0x162)](_0x26f010['id']));_0x151b5e[_0x5e00f3(0x16b)](_0x5cd3f7,_0x4f4c05+0x1);}else _0x151b5e[_0x5e00f3(0x16b)](_0x5cd3f7);return _0x5cd3f7['on'](_0x5e00f3(0x169),()=>{const _0x4da164=_0x5e00f3;this[_0x4da164(0x17a)](_0x5e8455['id']);}),_0x5cd3f7;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5c9c42=_0x29ff;(function(_0x486ea4,_0x36b856){const _0x2f96ae=_0x29ff,_0x2f2d72=_0x486ea4();while(!![]){try{const _0x5e2a5a=-parseInt(_0x2f96ae(0xa0))/0x1+-parseInt(_0x2f96ae(0xa5))/0x2+-parseInt(_0x2f96ae(0xa7))/0x3*(parseInt(_0x2f96ae(0x99))/0x4)+parseInt(_0x2f96ae(0x9d))/0x5+parseInt(_0x2f96ae(0xa1))/0x6+parseInt(_0x2f96ae(0xa3))/0x7*(-parseInt(_0x2f96ae(0x9e))/0x8)+parseInt(_0x2f96ae(0x9f))/0x9*(parseInt(_0x2f96ae(0x9a))/0xa);if(_0x5e2a5a===_0x36b856)break;else _0x2f2d72['push'](_0x2f2d72['shift']());}catch(_0x43fd4c){_0x2f2d72['push'](_0x2f2d72['shift']());}}}(_0x2e3c,0x1ba99));function _0x29ff(_0x96d1a,_0x137579){const _0x2e3c35=_0x2e3c();return _0x29ff=function(_0x29ffeb,_0x24c13f){_0x29ffeb=_0x29ffeb-0x98;let _0x10e585=_0x2e3c35[_0x29ffeb];return _0x10e585;},_0x29ff(_0x96d1a,_0x137579);}import{ButtonView as _0x51e89c}from'ckeditor5/src/ui.js';function _0x2e3c(){const _0x4b7d27=['11984kZHiHb','694503BcxFRE','172253rztRXM','395214jawrdp','ck-tab-button_','973XRKoyF','class','107988JrdSKJ','show','66xDnbKO','bindTemplate','top','isToggleable','isVisible','hide','ck-tab-button','set','8204gPvCbW','60DNXzUg','side','extendTemplate','320125iKMYmm'];_0x2e3c=function(){return _0x4b7d27;};return _0x2e3c();}import{toArray as _0x551de9}from'ckeditor5/src/utils.js';import'../../../theme/aitabs/tabs/tabbuttonview.css';export class TabButtonView extends _0x51e89c{constructor(_0x37a2e9,_0x1b1cfe={}){const _0x40a0bb=_0x29ff;super(_0x37a2e9),this[_0x40a0bb(0xaa)]=!0x0,this[_0x40a0bb(0x98)](_0x40a0bb(0x9b),_0x1b1cfe[_0x40a0bb(0x9b)]||_0x40a0bb(0xa9));const _0x389a0e=this[_0x40a0bb(0xa8)];this[_0x40a0bb(0x9c)]({'attributes':{'class':[_0x40a0bb(0xad),..._0x551de9(_0x1b1cfe[_0x40a0bb(0xa4)]||[]),_0x389a0e['to'](_0x40a0bb(0x9b),_0x11c17e=>_0x40a0bb(0xa2)+_0x11c17e),_0x389a0e['to'](_0x40a0bb(0xa4))]}});}[_0x5c9c42(0xa6)](){const _0x30e2e9=_0x5c9c42;this[_0x30e2e9(0x98)](_0x30e2e9(0xab),!0x0);}[_0x5c9c42(0xac)](){const _0x3ad401=_0x5c9c42;this[_0x3ad401(0x98)](_0x3ad401(0xab),!0x1);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3095a2=_0x2ee3;(function(_0x273d2d,_0x2626c9){const _0x1622c8=_0x2ee3,_0x5daae3=_0x273d2d();while(!![]){try{const _0x498536=-parseInt(_0x1622c8(0xe6))/0x1+-parseInt(_0x1622c8(0xe5))/0x2+-parseInt(_0x1622c8(0xee))/0x3+parseInt(_0x1622c8(0xea))/0x4*(parseInt(_0x1622c8(0xe9))/0x5)+-parseInt(_0x1622c8(0xe1))/0x6*(-parseInt(_0x1622c8(0xe2))/0x7)+-parseInt(_0x1622c8(0xf1))/0x8*(-parseInt(_0x1622c8(0xe8))/0x9)+parseInt(_0x1622c8(0xdd))/0xa;if(_0x498536===_0x2626c9)break;else _0x5daae3['push'](_0x5daae3['shift']());}catch(_0x435326){_0x5daae3['push'](_0x5daae3['shift']());}}}(_0x18cc,0xb1341));import{View as _0x53fd17}from'ckeditor5/src/ui.js';import{toArray as _0x278315}from'ckeditor5/src/utils.js';function _0x2ee3(_0x396a2d,_0x581bd3){const _0x18ccb0=_0x18cc();return _0x2ee3=function(_0x2ee346,_0x4652b7){_0x2ee346=_0x2ee346-0xdc;let _0x33111a=_0x18ccb0[_0x2ee346];return _0x33111a;},_0x2ee3(_0x396a2d,_0x581bd3);}export class TabPanelView extends _0x53fd17{[_0x3095a2(0xeb)];constructor(_0x39228b,_0x1feb1d={}){const _0x5a4b77=_0x3095a2;super(_0x39228b);const _0xd8246a=this[_0x5a4b77(0xec)];this[_0x5a4b77(0xe7)](_0x5a4b77(0xe0),!0x1),this[_0x5a4b77(0xe7)](_0x5a4b77(0xdf),''),this[_0x5a4b77(0xeb)]=this[_0x5a4b77(0xde)](),this[_0x5a4b77(0xef)]({'tag':_0x5a4b77(0xe4),'attributes':{'class':[_0x5a4b77(0xdc),..._0x278315(_0x1feb1d[_0x5a4b77(0xdf)]||[]),_0xd8246a['to'](_0x5a4b77(0xdf)),_0xd8246a['if'](_0x5a4b77(0xe0),_0x5a4b77(0xf0),_0x1851e5=>!_0x1851e5)]},'children':this[_0x5a4b77(0xeb)]});}[_0x3095a2(0xe3)](){const _0x31b448=_0x3095a2;this[_0x31b448(0xe7)](_0x31b448(0xe0),!0x0);}[_0x3095a2(0xed)](){const _0x312de5=_0x3095a2;this[_0x312de5(0xe7)](_0x312de5(0xe0),!0x1);}}function _0x18cc(){const _0x113197=['142281zVURPn','225335hqEFDi','128NbBLsx','children','bindTemplate','hide','3441978dqzZLd','setTemplate','ck-hidden','208ydvley','ck-tab-panel','1484610MpJPzx','createCollection','class','isVisible','12KmBrwW','801976ChDcBX','show','div','412284FoehQL','151482usmCUO','set'];_0x18cc=function(){return _0x113197;};return _0x18cc();}
|
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';
|