@ckeditor/ckeditor5-ai 47.0.0-alpha.5 → 47.0.0-alpha.6
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/ckeditor5-metadata.json +14 -0
- package/dist/index-editor.css +17 -2
- package/dist/index.css +18 -2
- package/dist/index.js +4 -4
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/lang/contexts.json +1 -0
- 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.d.ts +4 -0
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.d.ts +2 -0
- 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.d.ts +6 -0
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichat/utils/scrollmanager.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +1 -1
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aicapabilities.js +1 -1
- package/src/aicore/model/aicontext.js +1 -1
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/aidisclaimerview.js +1 -1
- package/src/aicore/ui/aiskeleton.js +1 -1
- package/src/aicore/ui/aispinner.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/utils/common-translations.js +1 -1
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/documentposition.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/eventnames.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aieditorintegration/aieditorintegration.d.ts +35 -0
- package/src/aieditorintegration/aieditorintegration.js +23 -0
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.d.ts +38 -0
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +23 -0
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.d.ts +16 -0
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +23 -0
- package/src/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aiquickactions/utils/common-translations.js +1 -1
- package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeediting.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheck.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewchecklist.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewmodels.js +1 -1
- package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformamanager.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/aitabsmainview.d.ts +6 -0
- 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/augmentation.d.ts +6 -0
- package/src/index.d.ts +3 -0
- package/src/index.js +1 -1
- package/theme/aichat/aichat-controls.css +6 -0
- package/theme/aichat/aichat.css +2 -0
- package/theme/aichat/aisuggestioncontainer.css +8 -2
- package/theme/aireviewmode/aireviewmode-check-run-result.css +5 -0
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Collection as
|
|
23
|
+
import{Collection as _0x4f1a4f}from'ckeditor5/src/utils.js';import{View as _0x21f032,ButtonView as _0x99f194,FormRowView as _0x44f906,createDropdown as _0x4f0b72,addListToDropdown as _0xc06a4a,UIModel as _0xc13dfa,ButtonLabelView as _0x126bc7}from'ckeditor5/src/ui.js';import{AIReviewModePromptInputView as _0x43669c}from'./aireviemodepromptinputview.js';export class AIReviewModeCustomCheckView extends _0x21f032{['submitButtonView'];['cancelButtonView'];['promptInputView'];['_modelSelectionDropdown'];['_modelSelectionDropdownItems'];['_check'];['_defaultValue'];['_defaultLabel'];constructor(_0x5364e2,_0x28e907){super(_0x5364e2),this['_check']=_0x28e907,this['set']('prompt',''),this['set']('modelId',''),this['_defaultValue']=_0x28e907['models']&&_0x28e907['models']['length']>0x0?_0x28e907['models'][0x0]['id']:'',this['_defaultLabel']=_0x28e907['models']&&_0x28e907['models']['length']>0x0?_0x28e907['models'][0x0]['name']:'',this['submitButtonView']=this['_createSubmitButtonView'](),this['cancelButtonView']=this['_createCancelButtonView'](),this['promptInputView']=new _0x43669c(_0x5364e2),this['promptInputView']['bind']('value')['to'](this,'prompt'),this['promptInputView']['on']('input',()=>{this['prompt']=this['promptInputView']['element']['value'];}),this['_modelSelectionDropdown']=this['_createModelSelectionDropdown'](),this['_modelSelectionDropdownItems']=new _0x4f1a4f(),this['_setModelList'](),_0xc06a4a(this['_modelSelectionDropdown'],this['_modelSelectionDropdownItems']);const _0xc7e791=new _0x21f032(_0x5364e2);_0xc7e791['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-custom-actions-footer']},'children':[this['_modelSelectionDropdown'],{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-parameterized-custom-actions-buttons']},'children':[this['cancelButtonView'],this['submitButtonView']]}]}),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-custom-actions']},'children':[new _0x44f906(this['locale'],{'children':[this['promptInputView']]}),new _0x44f906(this['locale'],{'children':[_0xc7e791]})]});}['resetToDefault'](){this['prompt']='',this['modelId']=this['_defaultValue'],this['_modelSelectionDropdown']['buttonView']['label']=this['_defaultLabel'];}['_createSubmitButtonView'](){const _0x331593=new _0x99f194(this['locale']),t=this['locale']['t'];return _0x331593['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x331593['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x1ee78b=>{_0x1ee78b['stopPropagation']();})}}),_0x331593['on']('execute',()=>{this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0});}),_0x331593;}['_createCancelButtonView'](){const _0x18d598=new _0x99f194(this['locale']),t=this['locale']['t'];return _0x18d598['set']({'label':t('Cancel'),'withText':!0x0,'class':'ck-ai-button-tertiary-filled'}),_0x18d598['on']('execute',()=>{this['resetToDefault']();}),_0x18d598;}['_setModelList'](){this['_modelSelectionDropdownItems']['clear']();const _0xc3e959=this['_check']['models'];if(this['resetToDefault'](),_0xc3e959?.['length'])for(const _0x2f4146 of _0xc3e959){const _0x24aa54=new _0xc13dfa({'label':_0x2f4146['name'],'withText':!0x0,'role':'menuitemradio','id':_0x2f4146['id'],'model':_0x2f4146});_0x24aa54['bind']('isOn')['to'](this,'modelId',_0x25d488=>_0x25d488===_0x2f4146['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0x24aa54,'labelView':new Ms(this['locale'],_0x2f4146)});}}['_createModelSelectionDropdown'](){const _0x519698=_0x4f0b72(this['locale']);return _0x519698['set']({'panelPosition':'se','class':'ck-ai-review-mode__check-list-item-model-dropdown'}),_0x519698['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x145fee=>{_0x145fee['stopPropagation']();})}}),_0x519698['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0,'tooltip':!0x0}),this['listenTo'](_0x519698,'execute',_0x3e7ba8=>{this['modelId']=_0x3e7ba8['source']['model']['id'],_0x519698['buttonView']['label']=_0x3e7ba8['source']['label'];}),_0x519698;}}class Ms extends _0x126bc7{constructor(_0x17bf22,_0x5d9850){super();const _0x3e6cf8=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x3e6cf8['to']('style'),'id':_0x3e6cf8['to']('id')},'children':[{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-model-dropdown-name']},'children':[{'text':_0x3e6cf8['to']('text')}]},{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-model-dropdown-description']},'children':[{'tag':'span','children':[{'text':_0x5d9850['description']}]}]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3ce947=_0x30a7;function _0x30a7(_0x12f7be,_0x5d4a28){const _0x54cdbf=_0x54cd();return _0x30a7=function(_0x30a719,_0x7f0b71){_0x30a719=_0x30a719-0x11f;let _0x310139=_0x54cdbf[_0x30a719];return _0x310139;},_0x30a7(_0x12f7be,_0x5d4a28);}(function(_0xc650b0,_0x3c8c7c){const _0x4bece7=_0x30a7,_0x550bee=_0xc650b0();while(!![]){try{const _0x4e1024=parseInt(_0x4bece7(0x123))/0x1+-parseInt(_0x4bece7(0x124))/0x2*(parseInt(_0x4bece7(0x130))/0x3)+parseInt(_0x4bece7(0x12c))/0x4*(parseInt(_0x4bece7(0x135))/0x5)+parseInt(_0x4bece7(0x138))/0x6+parseInt(_0x4bece7(0x13a))/0x7+-parseInt(_0x4bece7(0x120))/0x8+parseInt(_0x4bece7(0x121))/0x9*(-parseInt(_0x4bece7(0x12e))/0xa);if(_0x4e1024===_0x3c8c7c)break;else _0x550bee['push'](_0x550bee['shift']());}catch(_0x4e14f7){_0x550bee['push'](_0x550bee['shift']());}}}(_0x54cd,0x33cac));import{ListItemView as _0x649f7c,ViewCollection as _0x15ff0c}from'ckeditor5/src/ui.js';import{AIReviewModeReviewCommandListItemView as _0x2fea60}from'./aireviewmodereviewcommandlistitemview.js';import'../../../theme/aireviewmode/aireviewmode-check-list.css';export class AIReviewModeReviewCheckListView extends _0x649f7c{[_0x3ce947(0x131)];constructor(_0x142bb9){const _0x3f84c8=_0x3ce947;super(_0x142bb9),this[_0x3f84c8(0x131)]=new _0x15ff0c();const _0x20f0d3=this[_0x3f84c8(0x128)];this[_0x3f84c8(0x133)]({'tag':_0x3f84c8(0x125),'attributes':{'class':[_0x3f84c8(0x127),_0x20f0d3['if'](_0x3f84c8(0x122),_0x3f84c8(0x134),_0x1195a2=>!_0x1195a2)]},'children':this[_0x3f84c8(0x131)]});}[_0x3ce947(0x12a)](_0xc34f15){const _0x2c42fa=_0x3ce947;this[_0x2c42fa(0x131)][_0x2c42fa(0x126)]();for(const [_0x16ac5a,_0x6b064]of _0xc34f15[_0x2c42fa(0x12b)]()){const _0x4feb06=new _0x2fea60(this[_0x2c42fa(0x12f)],_0x6b064,_0x16ac5a);_0x4feb06[_0x2c42fa(0x136)](_0x2c42fa(0x11f))['to'](this),this[_0x2c42fa(0x131)][_0x2c42fa(0x129)](_0x4feb06);}}[_0x3ce947(0x12d)](){const _0x2b3f94=_0x3ce947;return this[_0x2b3f94(0x131)][_0x2b3f94(0x132)]>0x0;}[_0x3ce947(0x137)](){const _0xd2d0e9=_0x3ce947;for(const _0x59bb1d of this[_0xd2d0e9(0x131)])_0x59bb1d instanceof _0x2fea60&&_0x59bb1d[_0xd2d0e9(0x139)]();}}function _0x54cd(){const _0x21088e=['_checkViews','length','setTemplate','ck-hidden','60eninfM','delegate','resetAllParameterizedChecks','380592BIlVzB','resetToDefault','1972404WODFpt','runReviewCheck','872584uAGMpB','9ESxSOy','isVisible','170192NxTZng','379732YCjsyq','div','clear','ck-ai-review-mode__check-list','bindTemplate','add','setChecks','entries','65012bcPplb','hasChecks','1993530MdUJlI','locale','3VjygJg'];_0x54cd=function(){return _0x21088e;};return _0x54cd();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ListItemView as
|
|
23
|
+
import{ListItemView as _0x1064dc,View as _0x390f3f,ViewCollection as _0x30e591,ButtonView as _0x3ddfe5}from'ckeditor5/src/ui.js';import{IconStop as _0x3e096c,IconEye as _0x297454,IconEyeCrossedOut as _0x2833ec}from'ckeditor5/src/icons.js';import{AIReviewModeReviewCheckListItemResultsView as _0x5f1c56}from'./aireviewmodechecklistitemresultview.js';import{AISkeletonView as _0x4a02d7,SKELETON_DEFINITIONS as _0x185b5d}from'../../aicore/ui/aiskeleton.js';import{AIDisclaimerView as _0x5331d9}from'../../aicore/ui/aidisclaimerview.js';import{getTranslation as _0x5db268}from'../../aicore/utils/common-translations.js';import{AISpinnerView as _0x506b57}from'../../aicore/ui/aispinner.js';import'../../../theme/aireviewmode/aireviewmode-check-run.css';import'../../../theme/aireviewmode/aireviewmode-check-run-result.css';export class AIReviewModeReviewCheckResultsView extends _0x1064dc{['_resultViews'];['resultsHeader'];['reviewDisclaimer'];['_cancelButtonView'];['_acceptAllButtonView'];['_exitReviewButtonView'];['_toggleDiffButtonView'];['_errorMessageView'];constructor(_0x5f2212){super(_0x5f2212),this['_resultViews']=new _0x30e591(),this['_cancelButtonView']=this['_createCancelButtonView'](),this['_acceptAllButtonView']=this['_createAcceptAllButtonView'](),this['_exitReviewButtonView']=this['_createExitReviewButtonView'](),this['_toggleDiffButtonView']=this['_createToggleDiffButtonView'](),this['resultsHeader']=this['_createResultHeaderView'](),this['_errorMessageView']=this['_createErrorView'](),this['reviewDisclaimer']=new _0x5331d9(_0x5f2212),this['set']('isLoading',!0x1),this['set']('isToggleDiffOn',!0x1),this['set']('isResultReady',!0x1),this['set']('headerTitle',''),this['set']('isError',!0x1),this['set']('showErrorMessage',!0x1),this['set']('errorType','general');const _0x23692f=this['_createCombinedSkeletonLoader'](),_0x12805f=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run',_0x12805f['if']('isVisible','ck-hidden',_0x18f9ab=>!_0x18f9ab)]},'children':[this['resultsHeader'],{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-wrapper']},'children':[this['_errorMessageView'],{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x215974=>_0x215974)]},'children':this['_resultViews']},_0x23692f]},this['reviewDisclaimer']]});}['clearResults'](){this['_resultViews']['clear']();}['getResults'](){return this['_resultViews'];}['addResult'](_0x495b70){const _0x470099=new _0x5f1c56(this['locale'],_0x495b70['id']);_0x470099['delegate']('acceptChange','dismissChange','activateChange')['to'](this),this['_resultViews']['add'](_0x470099),_0x470099['resultResponseView']['element']['innerHTML']=_0x495b70['contentDiffed'];}['hideResult'](_0x324d3f){const _0x3353e3=this['_resultViews']['find'](_0x11f92c=>_0x11f92c['id']===_0x324d3f);_0x3353e3&&(_0x3353e3['element']?.['classList']['add']('ck-ai-review-mode__check-run-result_removing'),_0x3353e3['element']?.['addEventListener']('animationend',()=>{this['_resultViews']['remove'](_0x3353e3),_0x3353e3['destroy']();},{'once':!0x0}));}['setTitle'](_0x11769e){this['headerTitle']=_0x11769e;}['showChunkErrorMessage'](){this['errorType']='chunk',this['showErrorMessage']=!0x0;}['showGeneralErrorMessage'](){this['isError']=!0x0,this['errorType']='general',this['showErrorMessage']=!0x0;}['resetErrorState'](){this['isError']=!0x1,this['errorType']='general',this['showErrorMessage']=!0x1;}['_createSkeletonLoader'](){return new _0x4a02d7(this['locale'],_0x185b5d['aiReviewChecks']);}['_createCombinedSkeletonLoader'](){const _0x310a27=new _0x390f3f(this['locale']),_0x414ad1=[];for(let _0x130ce9=0x0;_0x130ce9<0x10;_0x130ce9++){const _0x4350ac=this['_createSkeletonLoader']();_0x4350ac['extendTemplate']({'attributes':{'class':['ck-ai-review-mode__check-run-skeleton-item']}}),_0x414ad1['push'](_0x4350ac);}return _0x310a27['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-skeleton-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x2c663e=>!_0x2c663e)]},'children':_0x414ad1}),_0x310a27;}['_createErrorView'](){const _0x3cb492=new _0x390f3f(this['locale']),_0x295ad2=new _0x3ddfe5(this['locale']),t=this['locale']['t'];return _0x3cb492['delegate']('retryReview')['to'](this),_0x295ad2['set']({'label':t('Try\x20again'),'withText':!0x0,'class':'ck-ai-button-secondary\x20ck-ai-review-mode__check-run-error-retry-button'}),_0x295ad2['on']('execute',()=>{this['fire']('retryReview');}),_0x3cb492['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-error-container',this['bindTemplate']['if']('showErrorMessage','ck-hidden',_0x758a75=>!_0x758a75),this['bindTemplate']['if']('errorType','ck-ai-review-mode__check-run-error-container_border-bottom',_0x503c4c=>'chunk'===_0x503c4c)]},'children':[{'tag':'div','attributes':{'class':['ck','ck-ai-chat-error','ck-ai-chat-error_full-width','ck-ai-review-mode__check-run-error-message',this['bindTemplate']['if']('errorType','ck-ai-chat-error_warning',_0x32bb0c=>'chunk'===_0x32bb0c)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-chat-error__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x41463b=>'general'!==_0x41463b)]},'children':[{'text':_0x5db268(this['locale'],'AI_REVIEW_MODE_GENERAL_ERROR_MESSAGE')}]},{'tag':'p','attributes':{'class':['ck-ai-chat-error__content',this['bindTemplate']['if']('errorType','ck-hidden',_0xed8714=>'chunk'!==_0xed8714)]},'children':[{'text':_0x5db268(this['locale'],'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE')}]}]},_0x295ad2]}),_0x3cb492;}['_createCancelButtonView'](){const _0x3da37e=new _0x3ddfe5(this['locale']);return _0x3da37e['set']({'label':_0x5db268(this['locale'],'AI_REVIEW_MODE_STOP_GENERATING'),'withText':!0x0,'class':['ai-chat-controls-loader__cancel-button'],'icon':_0x3e096c}),_0x3da37e['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isResultReady','ck-hidden',_0x4c600f=>_0x4c600f)]}}),_0x3da37e['on']('execute',()=>{this['fire']('abortReviewStream');}),_0x3da37e;}['_createToggleDiffButtonView'](){const _0x1e754b=new _0x3ddfe5(this['locale']);_0x1e754b['set']({'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox'}),_0x1e754b['bind']('isEnabled')['to'](this,'isError',_0x403558=>!_0x403558),_0x1e754b['extendTemplate']({'attributes':{'class':['ck-ai-button-secondary','ck-ai-review-mode__check-run-toggle-diff-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x4403c4=>!_0x4403c4)]}});const _0x44e99f=_0x5db268(this['locale'],'AI_REVIEW_MODE_HIDE_CHANGES'),_0x2a5359=_0x5db268(this['locale'],'AI_REVIEW_MODE_SHOW_CHANGES');return _0x1e754b['bind']('isOn')['to'](this,'isToggleDiffOn',_0xded50b=>_0xded50b),_0x1e754b['bind']('icon')['to'](this,'isToggleDiffOn',_0x3c66bc=>_0x3c66bc?_0x297454:_0x2833ec),_0x1e754b['bind']('label')['to'](this,'isToggleDiffOn',_0x28cbda=>_0x28cbda?_0x44e99f:_0x2a5359),_0x1e754b['on']('execute',()=>{this['isToggleDiffOn']=!this['isToggleDiffOn'],this['fire']('toggleDiff',{'on':this['isToggleDiffOn']});}),_0x1e754b;}['_createAcceptAllButtonView'](){const _0x181e5=new _0x3ddfe5(this['locale']);return _0x181e5['set']({'label':_0x5db268(this['locale'],'AI_REVIEW_MODE_ACCEPT_ALL'),'withText':!0x0}),_0x181e5['bind']('isEnabled')['to'](this,'isError',_0x4c49a1=>!_0x4c49a1),_0x181e5['extendTemplate']({'attributes':{'class':['ck-ai-button-primary','ck-ai-review-mode__check-run-accept-all-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x496526=>!_0x496526)]}}),_0x181e5['on']('execute',()=>{this['fire']('acceptAllChanges');}),_0x181e5;}['_createExitReviewButtonView'](){const _0x352158=new _0x3ddfe5(this['locale']);return _0x352158['set']({'label':_0x5db268(this['locale'],'AI_REVIEW_MODE_EXIT_REVIEW'),'withText':!0x0}),_0x352158['extendTemplate']({'attributes':{'class':['ck-ai-button-tertiary-filled','ck-ai-review-mode__check-run-exit-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x50c98b=>!_0x50c98b)]}}),_0x352158['on']('execute',()=>{this['fire']('leaveReviewModeResultList');}),_0x352158;}['_createResultHeaderView'](){const _0x364cbe=new _0x390f3f(this['locale']),_0x501dc4=new _0x506b57();return _0x501dc4['bind']('isVisible')['to'](this,'isResultReady',_0x4c1efa=>!_0x4c1efa),_0x364cbe['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-header']},'children':[{'tag':'span','attributes':{'class':['ck-ai-review-mode__check-run-results-header-title']},'children':[{'text':this['bindTemplate']['to']('headerTitle')}]},{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-header-buttons']},'children':[_0x501dc4,this['_cancelButtonView'],this['_acceptAllButtonView'],this['_exitReviewButtonView'],this['_toggleDiffButtonView']]}]}),_0x364cbe;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ListItemView as
|
|
23
|
+
import{ListItemView as _0x3e5d18,IconView as _0x2c2c76,View as _0x478782,ViewCollection as _0x5f2605,ButtonView as _0x37a097,clickOutsideHandler as _0x2f1da3}from'ckeditor5/src/ui.js';import{IconChevronRight as _0x3b4629}from'ckeditor5/src/icons.js';import{AIReviewModeFormManagerView as _0x85d119}from'./form/aireviewmodeformmanager.js';import{AIReviewModeCustomCheckView as _0x299c5f}from'./aireviewmodecustomcheckview.js';export class AIReviewModeReviewCommandListItemView extends _0x3e5d18{['_formItemsCollection']=new _0x5f2605();['_customCheckView']=null;constructor(_0xf62351,_0x52831d,_0x599ee2){super(_0xf62351),this['set']('isParametrizedViewOpen',!0x1),this['set']('isListItemRendered',!0x1),this['set']('isItemParametrized',_0x52831d['isParameterized']);const _0x34cd96=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',_0x27a7d2=>_0x27a7d2),this['bindTemplate']['if']('isListItemRendered','ck-ai-review-mode__check-list-item_rendered',_0x53c7c8=>_0x53c7c8)],'style':{'--ck-ai-check-list-item-index':_0x599ee2}},'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':_0x52831d['title']}]},_0x34cd96]},{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-description']},'children':[{'text':_0x52831d['description']}]}]}]},..._0x52831d['isParameterized']?[this['_createParameterizedView'](_0x52831d)]:[],...'custom'===_0x52831d['id']?[this['_createCustomView'](_0x52831d)]:[]]}),this['on']('click',()=>{_0x52831d['isParameterized']?this['isParametrizedViewOpen']=!0x0:this['fire']('runReviewCheck',{'id':_0x52831d['id']});}),requestAnimationFrame(()=>{this['isListItemRendered']=!0x0;});}['render'](){super['render'](),this['isItemParametrized']&&_0x2f1da3({'emitter':this,'activator':()=>!0x0===this['isParametrizedViewOpen'],'contextElements':[this['element']],'callback':()=>{this['isParametrizedViewOpen']=!0x1;}});}['resetToDefault'](){this['isParametrizedViewOpen']=!0x1,this['_formItemsCollection']['forEach'](_0x4921cb=>{_0x4921cb['resetToDefault']();}),this['_customCheckView']&&this['_customCheckView']['resetToDefault']();}['_createIconView'](){const _0x512867=new _0x2c2c76();return _0x512867['content']=_0x3b4629,_0x512867['extendTemplate']({'attributes':{'class':['ck-ai-review-mode__check-list-item-title-icon']}}),_0x512867;}['_createParameterizedView'](_0x4645eb){const _0x1c15ae=new _0x478782(),_0x10f846=this['_createFormView'](_0x4645eb);return _0x1c15ae['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-parameterized',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x22ea57=>!_0x22ea57)]},'children':[_0x10f846]}),_0x1c15ae;}['_createFormView'](_0x5c0cf4){const _0x1e5c23=new _0x478782(),_0x3bba01=Array['isArray'](_0x5c0cf4['options'])?_0x5c0cf4['options']:[],_0x5acfcb=new _0x37a097(this['locale']),t=this['locale']['t'];_0x5acfcb['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x5acfcb['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x37cf75=>{_0x37cf75['stopPropagation']();})}}),_0x5acfcb['on']('execute',()=>{const _0xfbbe30=[],_0x141e6b={};this['_formItemsCollection']['forEach'](_0x4a5a85=>{_0xfbbe30['push'](_0x4a5a85['value']),_0x5c0cf4['useArgs']&&_0x5c0cf4['options']&&(_0x141e6b[_0x4a5a85['argsKey']]=_0x4a5a85['value']);}),this['fire']('runReviewCheck',{'id':_0x5c0cf4['id'],'params':_0xfbbe30['length']?_0xfbbe30:void 0x0,'args':Object['keys'](_0x141e6b)['length']?_0x141e6b:void 0x0});});const _0x50d47f=_0x3bba01['length'];return _0x3bba01['forEach']((_0xb10c3,_0x13ee49)=>{const _0x1c83c3=_0x13ee49===_0x50d47f-0x1;this['_formItemsCollection']['add'](new _0x85d119(this['locale'],_0xb10c3,_0x1c83c3?_0x5acfcb:null));}),_0x1e5c23['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-parameterized-form']},'children':this['_formItemsCollection']}),_0x1e5c23;}['_createCustomView'](_0x827676){return this['_customCheckView']=new _0x299c5f(this['locale'],_0x827676),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',_0x559d48=>!_0x559d48)]}}),this['_customCheckView']['delegate']('runReviewCheck')['to'](this),this['_customCheckView'];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x34574d=_0x11b9;(function(_0xb95395,_0x34fc5a){const _0x40362b=_0x11b9,_0x14615b=_0xb95395();while(!![]){try{const _0x17750b=parseInt(_0x40362b(0x16d))/0x1*(parseInt(_0x40362b(0x17b))/0x2)+parseInt(_0x40362b(0x16f))/0x3+-parseInt(_0x40362b(0x181))/0x4*(-parseInt(_0x40362b(0x16b))/0x5)+-parseInt(_0x40362b(0x17e))/0x6*(parseInt(_0x40362b(0x171))/0x7)+-parseInt(_0x40362b(0x187))/0x8*(parseInt(_0x40362b(0x18b))/0x9)+-parseInt(_0x40362b(0x179))/0xa*(-parseInt(_0x40362b(0x178))/0xb)+-parseInt(_0x40362b(0x16a))/0xc;if(_0x17750b===_0x34fc5a)break;else _0x14615b['push'](_0x14615b['shift']());}catch(_0x531883){_0x14615b['push'](_0x14615b['shift']());}}}(_0x17a1,0xf0e1c));import{ListItemView as _0x1c1014,View as _0x39ef62,ButtonView as _0x379cb6}from'ckeditor5/src/ui.js';function _0x17a1(){const _0xacbfe8=['7864vCCCaS','div','bindTemplate','_createFinishReviewButtonView','11835FxmSNZ','set','setTemplate','ck-ai-review-mode__review-completed-header','AI_REVIEW_MODE_EMPTY_RESULTS_TEXT','ck-ai-review-mode__review-completed-header-title','ck-ai-review-mode__review-completed-content-text','span','7437300hovEGH','30OLIswE','ck-ai-review-mode__review-completed','2Couuoy','ck-ai-button-primary','3278343aVtdwP','ck-hidden','21keiDms','finishReview','ck-ai-review-mode__review-completed-content-icon','ck-ai-review-mode__review-completed-content','isVisible','fire','viewType','28534cXitdc','3050dLseAo','completed','561374IXJeXk','_createResultHeaderView','AI_REVIEW_MODE_COMPLETED_TEXT','1544502gBnrhQ','_finishReviewButtonView','locale','817332MisvKw','resultsHeader','ck-ai-review-mode__review-completed-header-buttons','execute','AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE','AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL'];_0x17a1=function(){return _0xacbfe8;};return _0x17a1();}import{getTranslation as _0x45b9bd}from'../../aicore/utils/common-translations.js';import'../../../theme/aireviewmode/aireviewmode-review-completed.css';function _0x11b9(_0x3bdbf4,_0x5dd007){const _0x17a1d7=_0x17a1();return _0x11b9=function(_0x11b979,_0x439fe0){_0x11b979=_0x11b979-0x163;let _0x414ef5=_0x17a1d7[_0x11b979];return _0x414ef5;},_0x11b9(_0x3bdbf4,_0x5dd007);}export class AIReviewModeReviewCompletedView extends _0x1c1014{[_0x34574d(0x182)];[_0x34574d(0x17f)];constructor(_0x5ef4f7){const _0x29d177=_0x34574d;super(_0x5ef4f7),this[_0x29d177(0x17f)]=this[_0x29d177(0x18a)](),this[_0x29d177(0x182)]=this[_0x29d177(0x17c)](),this[_0x29d177(0x163)](_0x29d177(0x177),_0x29d177(0x17a));const _0x3355cb=this[_0x29d177(0x189)];this[_0x29d177(0x164)]({'tag':_0x29d177(0x188),'attributes':{'class':[_0x29d177(0x16c),_0x3355cb['if'](_0x29d177(0x175),_0x29d177(0x170),_0x24618b=>!_0x24618b)]},'children':[this[_0x29d177(0x182)],{'tag':_0x29d177(0x188),'attributes':{'class':[_0x29d177(0x174)]},'children':[{'tag':_0x29d177(0x169),'attributes':{'class':[_0x29d177(0x173)]},'children':[{'text':'🎉'}]},{'tag':'p','attributes':{'class':[_0x29d177(0x168)]},'children':[{'text':_0x3355cb['to'](_0x29d177(0x177),_0x45c251=>_0x45b9bd(_0x5ef4f7,_0x29d177(0x17a)===_0x45c251?_0x29d177(0x17d):_0x29d177(0x166)))}]}]}]});}[_0x34574d(0x18a)](){const _0x33433d=_0x34574d,_0x18c36e=new _0x379cb6(this[_0x33433d(0x180)]);return _0x18c36e[_0x33433d(0x163)]({'label':_0x45b9bd(this[_0x33433d(0x180)],_0x33433d(0x186)),'withText':!0x0,'class':_0x33433d(0x16e)}),_0x18c36e['on'](_0x33433d(0x184),()=>{const _0x5d7f3b=_0x33433d;this[_0x5d7f3b(0x176)](_0x5d7f3b(0x172));}),_0x18c36e;}[_0x34574d(0x17c)](){const _0x1b36bc=_0x34574d,_0x2d6cda=new _0x39ef62(this[_0x1b36bc(0x180)]);return _0x2d6cda[_0x1b36bc(0x164)]({'tag':_0x1b36bc(0x188),'attributes':{'class':[_0x1b36bc(0x165)]},'children':[{'tag':_0x1b36bc(0x169),'attributes':{'class':[_0x1b36bc(0x167)]},'children':[{'text':_0x45b9bd(this[_0x1b36bc(0x180)],_0x1b36bc(0x185))}]},{'tag':_0x1b36bc(0x188),'attributes':{'class':[_0x1b36bc(0x183)]},'children':[this[_0x1b36bc(0x17f)]]}]}),_0x2d6cda;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x5a6b09=_0x3935;(function(_0x3631a8,_0x2efd0b){var _0x24ee2e=_0x3935,_0x4dd11b=_0x3631a8();while(!![]){try{var _0x592ce8=-parseInt(_0x24ee2e(0x188))/0x1+-parseInt(_0x24ee2e(0x17f))/0x2+parseInt(_0x24ee2e(0x177))/0x3*(parseInt(_0x24ee2e(0x178))/0x4)+-parseInt(_0x24ee2e(0x16a))/0x5*(-parseInt(_0x24ee2e(0x167))/0x6)+parseInt(_0x24ee2e(0x172))/0x7+parseInt(_0x24ee2e(0x18c))/0x8*(parseInt(_0x24ee2e(0x174))/0x9)+-parseInt(_0x24ee2e(0x16f))/0xa;if(_0x592ce8===_0x2efd0b)break;else _0x4dd11b['push'](_0x4dd11b['shift']());}catch(_0x472995){_0x4dd11b['push'](_0x4dd11b['shift']());}}}(_0x2b98,0x8f49e));import{View as _0x1547ca,FormHeaderView as _0x3c84b3}from'ckeditor5/src/ui.js';function _0x3935(_0x4ca215,_0x535b5d){var _0x2b98d0=_0x2b98();return _0x3935=function(_0x3935f3,_0x406536){_0x3935f3=_0x3935f3-0x167;var _0xeac6e3=_0x2b98d0[_0x3935f3];return _0xeac6e3;},_0x3935(_0x4ca215,_0x535b5d);}import{IconAIReview as _0x264206}from'ckeditor5/src/icons.js';import{AIReviewModeReviewCheckListView as _0x412f29}from'./aireviewmodereviewchecklistview.js';import{AI_REVIEW_MODE_UI_EVENT_NAMES as _0x219c44}from'../aireviewmodeui.js';import{AIReviewModeReviewCheckResultsView as _0x47d7d4}from'./aireviewmodereviewcheckresultsview.js';import{AIReviewModeReviewCompletedView as _0x46f654}from'./aireviewmodereviewcompletedview.js';import{getTranslation as _0x530cfa}from'../../aicore/utils/common-translations.js';function _0x2b98(){var _0x35f514=['clearResults','addCheckRunResult','completed','isLoading','viewType','set','showActionsWhenResultIsReady','ck-reset_all','4589502LiUjaC','reviewCheckListView','reviewCompletedView','5oeEMnl','ck-rounded-corners','showReviewCheckListView','resetAllParameterizedChecks','showNoChangesView','18274530FyyUke','ck-ai-review-mode','showReviewCheckResultsView','6794592xlGLTS','isResultReady','9297hqucXD','showReviewCompletedView','div','114zaiAep','96752AdALZR','isVisible','showGeneralErrorMessage','showChunkErrorMessage','ltr','hideActionsWhenResultIsReady','setTemplate','1692864gNwNHC','delegate','resetErrorState','unmodified','reviewCheckResultsView','addResult','ck-ai-header\x20ck-ai-header_review-mode','showChunkErrorView','showGeneralErrorView','420724LeAAme','AI_REVIEW_MODE','reviewModeHeader','finishReview','7952yLrisx'];_0x2b98=function(){return _0x35f514;};return _0x2b98();}export class AIReviewModeView extends _0x1547ca{[_0x5a6b09(0x18a)];[_0x5a6b09(0x168)];[_0x5a6b09(0x183)];[_0x5a6b09(0x169)];constructor(_0x4af73a){var _0x550cc2=_0x5a6b09;super(_0x4af73a),this[_0x550cc2(0x18a)]=new _0x3c84b3(_0x4af73a,{'label':_0x530cfa(_0x4af73a,_0x550cc2(0x189)),'icon':_0x264206,'class':_0x550cc2(0x185)}),this[_0x550cc2(0x168)]=new _0x412f29(_0x4af73a),this[_0x550cc2(0x168)][_0x550cc2(0x180)](..._0x219c44)['to'](this),this[_0x550cc2(0x183)]=new _0x47d7d4(_0x4af73a),this[_0x550cc2(0x183)][_0x550cc2(0x180)](..._0x219c44)['to'](this),this[_0x550cc2(0x169)]=new _0x46f654(_0x4af73a),this[_0x550cc2(0x169)][_0x550cc2(0x180)](_0x550cc2(0x18b))['to'](this),this[_0x550cc2(0x168)][_0x550cc2(0x192)](_0x550cc2(0x179),!0x1),this[_0x550cc2(0x183)][_0x550cc2(0x192)](_0x550cc2(0x179),!0x1),this[_0x550cc2(0x183)][_0x550cc2(0x192)](_0x550cc2(0x190),!0x1),this[_0x550cc2(0x183)][_0x550cc2(0x192)](_0x550cc2(0x173),!0x1),this[_0x550cc2(0x169)][_0x550cc2(0x192)](_0x550cc2(0x179),!0x1),this[_0x550cc2(0x17e)]({'tag':_0x550cc2(0x176),'attributes':{'class':['ck',_0x550cc2(0x194),_0x550cc2(0x170),_0x550cc2(0x16b)],'dir':_0x550cc2(0x17c)},'children':[this[_0x550cc2(0x18a)],this[_0x550cc2(0x168)],this[_0x550cc2(0x183)],this[_0x550cc2(0x169)]]});}[_0x5a6b09(0x16c)](){var _0x5ae38d=_0x5a6b09;this[_0x5ae38d(0x168)][_0x5ae38d(0x16d)](),this[_0x5ae38d(0x168)][_0x5ae38d(0x192)](_0x5ae38d(0x179),!0x0),this[_0x5ae38d(0x183)][_0x5ae38d(0x192)](_0x5ae38d(0x179),!0x1),this[_0x5ae38d(0x169)][_0x5ae38d(0x192)](_0x5ae38d(0x179),!0x1);}[_0x5a6b09(0x171)](){var _0x17cac5=_0x5a6b09;this[_0x17cac5(0x17d)](),this[_0x17cac5(0x183)][_0x17cac5(0x181)](),this[_0x17cac5(0x168)][_0x17cac5(0x192)](_0x17cac5(0x179),!0x1),this[_0x17cac5(0x183)][_0x17cac5(0x192)](_0x17cac5(0x179),!0x0),this[_0x17cac5(0x183)][_0x17cac5(0x18d)](),this[_0x17cac5(0x183)][_0x17cac5(0x192)](_0x17cac5(0x190),!0x0);}[_0x5a6b09(0x18e)](_0x5eade6){var _0x4b536b=_0x5a6b09;this[_0x4b536b(0x183)][_0x4b536b(0x184)](_0x5eade6),this[_0x4b536b(0x183)][_0x4b536b(0x192)](_0x4b536b(0x190),!0x1);}[_0x5a6b09(0x175)](){var _0x4a8daa=_0x5a6b09;this[_0x4a8daa(0x168)][_0x4a8daa(0x192)](_0x4a8daa(0x179),!0x1),this[_0x4a8daa(0x183)][_0x4a8daa(0x192)](_0x4a8daa(0x179),!0x1),this[_0x4a8daa(0x169)][_0x4a8daa(0x192)](_0x4a8daa(0x191),_0x4a8daa(0x18f)),this[_0x4a8daa(0x169)][_0x4a8daa(0x192)](_0x4a8daa(0x179),!0x0);}[_0x5a6b09(0x193)](){var _0x1c08c1=_0x5a6b09;this[_0x1c08c1(0x183)][_0x1c08c1(0x173)]=!0x0;}[_0x5a6b09(0x16e)](){var _0x213b84=_0x5a6b09;this[_0x213b84(0x168)][_0x213b84(0x192)](_0x213b84(0x179),!0x1),this[_0x213b84(0x183)][_0x213b84(0x192)](_0x213b84(0x179),!0x1),this[_0x213b84(0x169)][_0x213b84(0x192)](_0x213b84(0x191),_0x213b84(0x182)),this[_0x213b84(0x169)][_0x213b84(0x192)](_0x213b84(0x179),!0x0);}[_0x5a6b09(0x17d)](){var _0x363a00=_0x5a6b09;this[_0x363a00(0x183)][_0x363a00(0x173)]=!0x1;}[_0x5a6b09(0x187)](){var _0x542129=_0x5a6b09;this[_0x542129(0x183)][_0x542129(0x192)](_0x542129(0x190),!0x1),this[_0x542129(0x193)](),this[_0x542129(0x183)][_0x542129(0x17a)]();}[_0x5a6b09(0x186)](){var _0x28b67b=_0x5a6b09;this[_0x28b67b(0x183)][_0x28b67b(0x192)](_0x28b67b(0x190),!0x1),this[_0x28b67b(0x193)](),this[_0x28b67b(0x183)][_0x28b67b(0x17b)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4f0e3a=_0x3dad;(function(_0x5a4aad,_0x22a894){const _0x365a7b=_0x3dad,_0xc064d7=_0x5a4aad();while(!![]){try{const _0x29c31e=parseInt(_0x365a7b(0x121))/0x1+parseInt(_0x365a7b(0x11f))/0x2+-parseInt(_0x365a7b(0x114))/0x3+parseInt(_0x365a7b(0x115))/0x4+-parseInt(_0x365a7b(0x10d))/0x5+-parseInt(_0x365a7b(0x113))/0x6+-parseInt(_0x365a7b(0x10f))/0x7*(-parseInt(_0x365a7b(0x120))/0x8);if(_0x29c31e===_0x22a894)break;else _0xc064d7['push'](_0xc064d7['shift']());}catch(_0x484672){_0xc064d7['push'](_0xc064d7['shift']());}}}(_0xb6ce,0x9b64e));function _0xb6ce(){const _0x1a8f03=['ck-reset_all','2000698vczOOr','180752LTJNPi','100651DvvktE','dropdown','ck-ai-review-mode__form-item','add','children','2212380tZHRWx','value','364gbGwaP','locale','formType','bind','3925554beevtK','1664538IuZSQK','48748pupGuE','resetToDefault','setTemplate','ck-form__row_with-submit','set','_formItem','argsKey','formValue','div'];_0xb6ce=function(){return _0x1a8f03;};return _0xb6ce();}function _0x3dad(_0xf11583,_0x332624){const _0xb6cefd=_0xb6ce();return _0x3dad=function(_0x3dadaf,_0x2b060a){_0x3dadaf=_0x3dadaf-0x10d;let _0x45ec0b=_0xb6cefd[_0x3dadaf];return _0x45ec0b;},_0x3dad(_0xf11583,_0x332624);}import{FormRowView as _0x1d3d69,ListItemView as _0x1e0159}from'ckeditor5/src/ui.js';import{AIReviewModeFormDropdownView as _0x4ba242}from'./aireviewmodeformdropdown.js';export class AIReviewModeFormManagerView extends _0x1e0159{[_0x4f0e3a(0x11a)]=null;constructor(_0xeabf0d,_0x1d8ffd,_0x2787a5){const _0x17bf86=_0x4f0e3a;super(_0xeabf0d),this[_0x17bf86(0x11b)]=_0x1d8ffd?.[_0x17bf86(0x11b)];if(_0x17bf86(0x122)===_0x1d8ffd[_0x17bf86(0x111)])this[_0x17bf86(0x11a)]=new _0x4ba242(this[_0x17bf86(0x110)],_0x1d8ffd);this[_0x17bf86(0x119)](_0x17bf86(0x10e),''),this[_0x17bf86(0x112)](_0x17bf86(0x10e))['to'](this[_0x17bf86(0x11a)],_0x17bf86(0x11c));const _0x33346c=new _0x1d3d69(this[_0x17bf86(0x110)],{'children':[this[_0x17bf86(0x11a)]],'class':[_0x2787a5?_0x17bf86(0x118):'']});_0x2787a5&&_0x33346c[_0x17bf86(0x125)][_0x17bf86(0x124)](_0x2787a5),this[_0x17bf86(0x117)]({'tag':_0x17bf86(0x11d),'attributes':{'class':['ck',_0x17bf86(0x123),_0x17bf86(0x11e)]},'children':[_0x33346c]});}[_0x4f0e3a(0x116)](){const _0x1543f1=_0x4f0e3a;this[_0x1543f1(0x11a)][_0x1543f1(0x116)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1f7540=_0x3c1f;(function(_0x3197eb,_0x58fbe0){const _0x107f53=_0x3c1f,_0x2b02d1=_0x3197eb();while(!![]){try{const _0x585543=-parseInt(_0x107f53(0x122))/0x1*(-parseInt(_0x107f53(0x12a))/0x2)+parseInt(_0x107f53(0x10e))/0x3+parseInt(_0x107f53(0x10f))/0x4*(-parseInt(_0x107f53(0x10a))/0x5)+parseInt(_0x107f53(0x127))/0x6*(-parseInt(_0x107f53(0x115))/0x7)+parseInt(_0x107f53(0x129))/0x8*(parseInt(_0x107f53(0x110))/0x9)+-parseInt(_0x107f53(0x114))/0xa*(parseInt(_0x107f53(0x103))/0xb)+parseInt(_0x107f53(0x113))/0xc*(parseInt(_0x107f53(0x111))/0xd);if(_0x585543===_0x58fbe0)break;else _0x2b02d1['push'](_0x2b02d1['shift']());}catch(_0x55e937){_0x2b02d1['push'](_0x2b02d1['shift']());}}}(_0x30ca,0xa54ec));import{Collection as _0xb45cd2}from'ckeditor5/src/utils.js';import{View as _0x418088,createDropdown as _0x3fb257,addListToDropdown as _0xabe019,UIModel as _0x15bc1b}from'ckeditor5/src/ui.js';function _0x3c1f(_0x35da9e,_0x3e2ce7){const _0x30cafe=_0x30ca();return _0x3c1f=function(_0x3c1fe6,_0x486e90){_0x3c1fe6=_0x3c1fe6-0xfe;let _0x251a66=_0x30cafe[_0x3c1fe6];return _0x251a66;},_0x3c1f(_0x35da9e,_0x3e2ce7);}function _0x30ca(){const _0x1d7387=['execute','buttonView','find','_defaultValue','936151pIXAux','_prepareListOptions','_defaultLabel','button','stopPropagation','12amiNiW','bindTemplate','5723720nDRHMH','2hHZCxX','ck-reset_all','_dropdownView','add','listenTo','data','99IcEnzB','menu','isOn','length','ck-ai-review-mode__check-list-item-parameterized-form-element_dropdown','div','formValue','28445LQYKMf','ck-ai-review-mode__check-list-item-parameterized-form-element','set','bind','24009PcgUEg','264UNAGFh','9ZoygIM','26KGovEO','label','2303988pMPqHT','756190aqpoZn','1086652gUMzGC','locale','menuitemradio','resetToDefault','extendTemplate','model','setTemplate','default','source'];_0x30ca=function(){return _0x1d7387;};return _0x30ca();}export class AIReviewModeFormDropdownView extends _0x418088{[_0x1f7540(0xff)];[_0x1f7540(0x121)];[_0x1f7540(0x124)];constructor(_0x525db1,_0x564ecc){const _0x531560=_0x1f7540;super(_0x525db1),this[_0x531560(0x121)]=_0x564ecc[_0x531560(0x11c)]||(_0x564ecc[_0x531560(0x102)][_0x531560(0x106)]>0x0?_0x564ecc[_0x531560(0x102)][0x0]['id']:''),this[_0x531560(0x124)]=_0x564ecc[_0x531560(0x102)][_0x531560(0x120)](_0x3fd3f2=>_0x3fd3f2['id']===this[_0x531560(0x121)])?.[_0x531560(0x112)]||'',this[_0x531560(0x10c)](_0x531560(0x109),''),this[_0x531560(0xff)]=_0x3fb257(this[_0x531560(0x116)]);const _0x4f153d=this[_0x531560(0x123)](_0x564ecc[_0x531560(0x102)]);_0xabe019(this[_0x531560(0xff)],_0x4f153d,{'role':_0x531560(0x104),'ariaLabel':_0x564ecc[_0x531560(0x112)]}),this[_0x531560(0xff)][_0x531560(0x11f)][_0x531560(0x10c)]({'label':this[_0x531560(0x124)],'withText':!0x0}),this[_0x531560(0xff)][_0x531560(0x119)]({'on':{'click':this[_0x531560(0x128)]['to'](_0x116150=>{const _0xbfc621=_0x531560;_0x116150[_0xbfc621(0x126)]();})}}),this[_0x531560(0x101)](this[_0x531560(0xff)],_0x531560(0x11e),_0x579a29=>{const _0x519dc1=_0x531560;this[_0x519dc1(0x109)]=_0x579a29[_0x519dc1(0x11d)][_0x519dc1(0x11a)]['id'],this[_0x519dc1(0xff)][_0x519dc1(0x11f)][_0x519dc1(0x112)]=_0x579a29[_0x519dc1(0x11d)][_0x519dc1(0x11a)][_0x519dc1(0x112)];}),this[_0x531560(0x11b)]({'tag':_0x531560(0x108),'attributes':{'class':['ck',_0x531560(0xfe),_0x531560(0x10b),_0x531560(0x107)]},'children':[this[_0x531560(0xff)]]});}[_0x1f7540(0x118)](){const _0xb76fcf=_0x1f7540;this[_0xb76fcf(0x109)]=this[_0xb76fcf(0x121)],this[_0xb76fcf(0xff)][_0xb76fcf(0x11f)][_0xb76fcf(0x112)]=this[_0xb76fcf(0x124)];}[_0x1f7540(0x123)](_0x29ce3f=[]){const _0xa8627d=_0x1f7540,_0x2b2c7c=new _0xb45cd2();this[_0xa8627d(0x118)]();for(const _0x5413bd of _0x29ce3f){const _0x18a91f=new _0x15bc1b({'label':_0x5413bd[_0xa8627d(0x112)],'withText':!0x0,'role':_0xa8627d(0x117),'id':_0x5413bd['id'],'model':_0x5413bd});_0x18a91f[_0xa8627d(0x10d)](_0xa8627d(0x105))['to'](this,_0xa8627d(0x109),_0x498460=>_0x498460===_0x18a91f['id']);const _0x2c4dca={'type':_0xa8627d(0x125),'model':_0x18a91f};_0x2b2c7c[_0xa8627d(0x100)](_0x2c4dca);}return _0x2b2c7c;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4f0e3a=_0x3dad;(function(_0x5a4aad,_0x22a894){const _0x365a7b=_0x3dad,_0xc064d7=_0x5a4aad();while(!![]){try{const _0x29c31e=parseInt(_0x365a7b(0x121))/0x1+parseInt(_0x365a7b(0x11f))/0x2+-parseInt(_0x365a7b(0x114))/0x3+parseInt(_0x365a7b(0x115))/0x4+-parseInt(_0x365a7b(0x10d))/0x5+-parseInt(_0x365a7b(0x113))/0x6+-parseInt(_0x365a7b(0x10f))/0x7*(-parseInt(_0x365a7b(0x120))/0x8);if(_0x29c31e===_0x22a894)break;else _0xc064d7['push'](_0xc064d7['shift']());}catch(_0x484672){_0xc064d7['push'](_0xc064d7['shift']());}}}(_0xb6ce,0x9b64e));function _0xb6ce(){const _0x1a8f03=['ck-reset_all','2000698vczOOr','180752LTJNPi','100651DvvktE','dropdown','ck-ai-review-mode__form-item','add','children','2212380tZHRWx','value','364gbGwaP','locale','formType','bind','3925554beevtK','1664538IuZSQK','48748pupGuE','resetToDefault','setTemplate','ck-form__row_with-submit','set','_formItem','argsKey','formValue','div'];_0xb6ce=function(){return _0x1a8f03;};return _0xb6ce();}function _0x3dad(_0xf11583,_0x332624){const _0xb6cefd=_0xb6ce();return _0x3dad=function(_0x3dadaf,_0x2b060a){_0x3dadaf=_0x3dadaf-0x10d;let _0x45ec0b=_0xb6cefd[_0x3dadaf];return _0x45ec0b;},_0x3dad(_0xf11583,_0x332624);}import{FormRowView as _0x1d3d69,ListItemView as _0x1e0159}from'ckeditor5/src/ui.js';import{AIReviewModeFormDropdownView as _0x4ba242}from'./aireviewmodeformdropdown.js';export class AIReviewModeFormManagerView extends _0x1e0159{[_0x4f0e3a(0x11a)]=null;constructor(_0xeabf0d,_0x1d8ffd,_0x2787a5){const _0x17bf86=_0x4f0e3a;super(_0xeabf0d),this[_0x17bf86(0x11b)]=_0x1d8ffd?.[_0x17bf86(0x11b)];if(_0x17bf86(0x122)===_0x1d8ffd[_0x17bf86(0x111)])this[_0x17bf86(0x11a)]=new _0x4ba242(this[_0x17bf86(0x110)],_0x1d8ffd);this[_0x17bf86(0x119)](_0x17bf86(0x10e),''),this[_0x17bf86(0x112)](_0x17bf86(0x10e))['to'](this[_0x17bf86(0x11a)],_0x17bf86(0x11c));const _0x33346c=new _0x1d3d69(this[_0x17bf86(0x110)],{'children':[this[_0x17bf86(0x11a)]],'class':[_0x2787a5?_0x17bf86(0x118):'']});_0x2787a5&&_0x33346c[_0x17bf86(0x125)][_0x17bf86(0x124)](_0x2787a5),this[_0x17bf86(0x117)]({'tag':_0x17bf86(0x11d),'attributes':{'class':['ck',_0x17bf86(0x123),_0x17bf86(0x11e)]},'children':[_0x33346c]});}[_0x4f0e3a(0x116)](){const _0x1543f1=_0x4f0e3a;this[_0x1543f1(0x11a)][_0x1543f1(0x116)]();}}
|
package/src/aitabs/aitabs.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2f17f2=_0x14ef;function _0x19e7(){const _0x2b6ad8=['remove','overlay','resizedTabs','ai-tabs-configuration-not-found','100114zgfxwr','54YRKNel','config','view','ai-tabs-sidebar-container-element-not-found','fire','pluginName','2890984DlRPEE','context','ai.container','element','isMaximized','set','side','appendChild','sidebar','isOfficialPlugin','1184555uLdkWg','resize','switchSide','125724LhapZj','right','locale','524496BPrBCw','594160ERCWmD','switchType','render','container','isPremiumPlugin','get','destroy','ai-tabs-unsupported-ui-side','showResizeButton','bind','ai-tabs-unsupported-ui-type','body','AITabs','type','484919RvbVYm','focusTracker','add','18wiPdCE','custom','includes'];_0x19e7=function(){return _0x2b6ad8;};return _0x19e7();}(function(_0x1517ac,_0x277604){const _0x28a401=_0x14ef,_0x408677=_0x1517ac();while(!![]){try{const _0x505be0=-parseInt(_0x28a401(0x133))/0x1+parseInt(_0x28a401(0x155))/0x2+-parseInt(_0x28a401(0x154))/0x3+-parseInt(_0x28a401(0x151))/0x4+parseInt(_0x28a401(0x14e))/0x5+-parseInt(_0x28a401(0x13e))/0x6*(parseInt(_0x28a401(0x13d))/0x7)+parseInt(_0x28a401(0x144))/0x8*(parseInt(_0x28a401(0x136))/0x9);if(_0x505be0===_0x277604)break;else _0x408677['push'](_0x408677['shift']());}catch(_0x4d9f04){_0x408677['push'](_0x408677['shift']());}}}(_0x19e7,0x6aa65));import{ContextPlugin as _0x15f5ae,Editor as _0x1acc84}from'ckeditor5/src/core.js';function _0x14ef(_0x4d8c4f,_0x44e594){const _0x19e728=_0x19e7();return _0x14ef=function(_0x14ef7d,_0x11ce70){_0x14ef7d=_0x14ef7d-0x12f;let _0x525db9=_0x19e728[_0x14ef7d];return _0x525db9;},_0x14ef(_0x4d8c4f,_0x44e594);}import{CKEditorError as _0x114479}from'ckeditor5/src/utils.js';import{AITabsMainView as _0x3d518c,AI_TABS_VIEW_SIDES as _0x231c42,AI_TABS_VIEW_TYPES as _0x17cb52}from'./aitabsmainview.js';export class AITabs extends _0x15f5ae{[_0x2f17f2(0x140)];[_0x2f17f2(0x158)]=null;[_0x2f17f2(0x15d)]=!0x0;static get[_0x2f17f2(0x143)](){const _0x32d4c4=_0x2f17f2;return _0x32d4c4(0x131);}static get[_0x2f17f2(0x14d)](){return!0x0;}static get[_0x2f17f2(0x159)](){return!0x0;}constructor(_0x3646a3){const _0x43b9c0=_0x2f17f2;super(_0x3646a3);const _0x20fc83=this[_0x43b9c0(0x145)][_0x43b9c0(0x13f)][_0x43b9c0(0x15a)](_0x43b9c0(0x146));if(this[_0x43b9c0(0x149)](_0x43b9c0(0x14a),_0x43b9c0(0x152)),!_0x20fc83)throw new _0x114479(_0x43b9c0(0x13c));if(void 0x0!==_0x20fc83[_0x43b9c0(0x15d)]&&(this[_0x43b9c0(0x15d)]=_0x20fc83[_0x43b9c0(0x15d)]),_0x43b9c0(0x14c)!==_0x20fc83[_0x43b9c0(0x132)]&&_0x43b9c0(0x13a)!==_0x20fc83[_0x43b9c0(0x132)]||_0x20fc83[_0x43b9c0(0x14a)]&&(this[_0x43b9c0(0x14a)]=_0x20fc83[_0x43b9c0(0x14a)]),_0x43b9c0(0x14c)===_0x20fc83[_0x43b9c0(0x132)]){if(this[_0x43b9c0(0x158)]=_0x20fc83[_0x43b9c0(0x147)],this[_0x43b9c0(0x149)](_0x43b9c0(0x132),_0x43b9c0(0x14c)),!this[_0x43b9c0(0x158)])throw new _0x114479(_0x43b9c0(0x141));}else _0x43b9c0(0x13a)===_0x20fc83[_0x43b9c0(0x132)]?(this[_0x43b9c0(0x158)]=document[_0x43b9c0(0x130)],this[_0x43b9c0(0x149)](_0x43b9c0(0x132),_0x43b9c0(0x13a))):(this[_0x43b9c0(0x158)]=null,this[_0x43b9c0(0x149)](_0x43b9c0(0x132),_0x43b9c0(0x137)));this[_0x43b9c0(0x140)]=new _0x3d518c(this[_0x43b9c0(0x145)][_0x43b9c0(0x153)],{'side':this[_0x43b9c0(0x14a)],'type':this[_0x43b9c0(0x132)]}),this[_0x43b9c0(0x140)][_0x43b9c0(0x157)](),this[_0x43b9c0(0x140)][_0x43b9c0(0x15e)](_0x43b9c0(0x14a))['to'](this,_0x43b9c0(0x14a)),this[_0x43b9c0(0x140)][_0x43b9c0(0x15e)](_0x43b9c0(0x132))['to'](this,_0x43b9c0(0x132)),this[_0x43b9c0(0x158)]&&this[_0x43b9c0(0x158)][_0x43b9c0(0x14b)](this[_0x43b9c0(0x140)][_0x43b9c0(0x147)]),this[_0x43b9c0(0x145)]instanceof _0x1acc84&&this[_0x43b9c0(0x145)]['ui'][_0x43b9c0(0x134)][_0x43b9c0(0x135)](this[_0x43b9c0(0x140)][_0x43b9c0(0x147)]);}[_0x2f17f2(0x156)](_0x1b822a){const _0x36b924=_0x2f17f2;if(_0x1b822a&&this[_0x36b924(0x132)]!==_0x1b822a){if(!_0x17cb52[_0x36b924(0x138)](_0x1b822a))throw new _0x114479(_0x36b924(0x12f));this[_0x36b924(0x132)]=_0x1b822a;}}[_0x2f17f2(0x150)](_0x219f4c){const _0x1dd416=_0x2f17f2;if(_0x219f4c&&this[_0x1dd416(0x14a)]!==_0x219f4c){if(!_0x231c42[_0x1dd416(0x138)](_0x219f4c))throw new _0x114479(_0x1dd416(0x15c));this[_0x1dd416(0x14a)]=_0x219f4c;}}[_0x2f17f2(0x14f)](){const _0x36c441=_0x2f17f2;this[_0x36c441(0x140)][_0x36c441(0x148)]=!this[_0x36c441(0x140)][_0x36c441(0x148)],this[_0x36c441(0x142)](_0x36c441(0x13b),this[_0x36c441(0x140)][_0x36c441(0x148)]);}[_0x2f17f2(0x15b)](){const _0x5657aa=_0x2f17f2;super[_0x5657aa(0x15b)](),this[_0x5657aa(0x140)][_0x5657aa(0x15b)](),this[_0x5657aa(0x140)][_0x5657aa(0x147)]&&this[_0x5657aa(0x140)][_0x5657aa(0x147)][_0x5657aa(0x139)]();}}
|
|
@@ -25,6 +25,12 @@ export declare class AITabsMainView extends AITabsView {
|
|
|
25
25
|
* The type of the view.
|
|
26
26
|
*/
|
|
27
27
|
type: AITabsMainViewOptions['type'];
|
|
28
|
+
/**
|
|
29
|
+
* Whether the AI tabs view is visible.
|
|
30
|
+
*
|
|
31
|
+
* @observable
|
|
32
|
+
*/
|
|
33
|
+
isVisible: boolean;
|
|
28
34
|
/**
|
|
29
35
|
* @inheritDoc
|
|
30
36
|
*/
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x24b82a=_0x2f79;(function(_0x458955,_0x375e5f){const _0x1eefa3=_0x2f79,_0x1fa324=_0x458955();while(!![]){try{const _0x7919a=-parseInt(_0x1eefa3(0x1af))/0x1*(-parseInt(_0x1eefa3(0x1c7))/0x2)+-parseInt(_0x1eefa3(0x1ca))/0x3+-parseInt(_0x1eefa3(0x1c2))/0x4+-parseInt(_0x1eefa3(0x1b7))/0x5*(-parseInt(_0x1eefa3(0x1b6))/0x6)+parseInt(_0x1eefa3(0x1b2))/0x7+-parseInt(_0x1eefa3(0x1be))/0x8+parseInt(_0x1eefa3(0x1bb))/0x9*(-parseInt(_0x1eefa3(0x1b8))/0xa);if(_0x7919a===_0x375e5f)break;else _0x1fa324['push'](_0x1fa324['shift']());}catch(_0x361658){_0x1fa324['push'](_0x1fa324['shift']());}}}(_0x45c5,0x824a2));import{AITabsView as _0x5e9385}from'./tabs/aitabsview.js';import'../../theme/aitabs/aitabsview.css';export const AI_TABS_VIEW_TYPES=[_0x24b82a(0x1bc),_0x24b82a(0x1b0),_0x24b82a(0x1c9)];export const AI_TABS_VIEW_SIDES=[_0x24b82a(0x1b5),_0x24b82a(0x1b3)];function _0x2f79(_0x266d9a,_0x4c9bec){const _0x45c515=_0x45c5();return _0x2f79=function(_0x2f790c,_0x4f2bbb){_0x2f790c=_0x2f790c-0x1af;let _0x45a494=_0x45c515[_0x2f790c];return _0x45a494;},_0x2f79(_0x266d9a,_0x4c9bec);}export class AITabsMainView extends _0x5e9385{constructor(_0x140b22,_0x185695={}){const _0x1a7ea3=_0x24b82a;super(_0x140b22,_0x185695),this[_0x1a7ea3(0x1c8)](_0x1a7ea3(0x1c0),_0x185695[_0x1a7ea3(0x1c0)]||_0x1a7ea3(0x1b0)),this[_0x1a7ea3(0x1c8)](_0x1a7ea3(0x1bf),_0x185695[_0x1a7ea3(0x1bf)]||_0x1a7ea3(0x1b3)),this[_0x1a7ea3(0x1c8)](_0x1a7ea3(0x1c3),!0x0);const _0x92f819=this[_0x1a7ea3(0x1b9)];this[_0x1a7ea3(0x1b4)]({'attributes':{'class':[_0x1a7ea3(0x1b1),_0x92f819['if'](_0x1a7ea3(0x1c0),_0x1a7ea3(0x1c6),_0x5bbe29=>_0x1a7ea3(0x1bc)===_0x5bbe29),_0x92f819['if'](_0x1a7ea3(0x1c0),_0x1a7ea3(0x1ba),_0x1f07a3=>_0x1a7ea3(0x1b0)===_0x1f07a3),_0x92f819['if'](_0x1a7ea3(0x1c3),_0x1a7ea3(0x1bd),_0x43f274=>!_0x43f274)]}}),this[_0x1a7ea3(0x1c4)]['on'](_0x1a7ea3(0x1c1),(_0x560a0b,_0x2a3a89)=>{const _0x54f9e3=_0x1a7ea3;_0x2a3a89[_0x54f9e3(0x1c8)](_0x54f9e3(0x1c5),!0x1);});}}function _0x45c5(){const _0x2ac140=['900156OhMtmD','337903OZWfMa','sidebar','ck-ai-tabs','7269255TqPnxT','right','extendTemplate','left','4884aSPxia','6520GxEOeK','7060670hpudAr','bindTemplate','ck-ai-tabs__sidebar','9MymLuc','overlay','ck-hidden','596192OzlsCH','side','type','add','3294060BrqnTu','isVisible','buttonViews','withText','ck-ai-tabs__overlay','2fKfnGA','set','custom'];_0x45c5=function(){return _0x2ac140;};return _0x45c5();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x14f749=_0x4cb0;(function(_0x480e42,_0x26c4d9){const _0x4352f7=_0x4cb0,_0x5b00c4=_0x480e42();while(!![]){try{const _0x4da634=parseInt(_0x4352f7(0x132))/0x1*(parseInt(_0x4352f7(0x149))/0x2)+-parseInt(_0x4352f7(0x14b))/0x3*(-parseInt(_0x4352f7(0x118))/0x4)+-parseInt(_0x4352f7(0x160))/0x5*(parseInt(_0x4352f7(0x15b))/0x6)+parseInt(_0x4352f7(0x131))/0x7+parseInt(_0x4352f7(0x137))/0x8*(-parseInt(_0x4352f7(0x15f))/0x9)+parseInt(_0x4352f7(0x140))/0xa*(-parseInt(_0x4352f7(0x129))/0xb)+-parseInt(_0x4352f7(0x133))/0xc*(-parseInt(_0x4352f7(0x148))/0xd);if(_0x4da634===_0x26c4d9)break;else _0x5b00c4['push'](_0x5b00c4['shift']());}catch(_0x3e9957){_0x5b00c4['push'](_0x5b00c4['shift']());}}}(_0x5826,0x8c6c8));import{View as _0x3cd0a4}from'ckeditor5/src/ui.js';import{toArray as _0x297b75,CKEditorError as _0x343c69}from'ckeditor5/src/utils.js';import{TabButtonView as _0x121982}from'./tabbuttonview.js';function _0x4cb0(_0x5ec385,_0x4f3ef4){const _0x5826c7=_0x5826();return _0x4cb0=function(_0x4cb0d7,_0x2d212c){_0x4cb0d7=_0x4cb0d7-0x116;let _0x98cf12=_0x5826c7[_0x4cb0d7];return _0x98cf12;},_0x4cb0(_0x5ec385,_0x4f3ef4);}import{TabPanelView as _0x3683e5}from'./tabpanelview.js';import'../../../theme/aitabs/tabs/tabsview.css';export const AI_TABS_POSITIONS=[_0x14f749(0x13e),_0x14f749(0x143),_0x14f749(0x127)];export class AITabsView extends _0x3cd0a4{[_0x14f749(0x12b)]=this[_0x14f749(0x163)]();[_0x14f749(0x13a)]=this[_0x14f749(0x163)]();[_0x14f749(0x159)]=new Map();constructor(_0x2a9a3f,_0x319698={}){const _0x118bf6=_0x14f749;super(_0x2a9a3f),this[_0x118bf6(0x117)](_0x118bf6(0x162),void 0x0),this[_0x118bf6(0x117)](_0x118bf6(0x164),null),this[_0x118bf6(0x117)](_0x118bf6(0x135),_0x319698[_0x118bf6(0x135)]||_0x118bf6(0x13e)),this[_0x118bf6(0x117)](_0x118bf6(0x151),!0x1);const _0x2f1c9d=this[_0x118bf6(0x14c)];this[_0x118bf6(0x13d)]({'tag':_0x118bf6(0x134),'attributes':{'class':['ck',_0x118bf6(0x158),_0x118bf6(0x136),..._0x297b75(_0x319698[_0x118bf6(0x162)]||[]),_0x2f1c9d['to'](_0x118bf6(0x135),_0xb87d00=>_0x118bf6(0x124)+_0xb87d00),_0x2f1c9d['to'](_0x118bf6(0x162)),_0x2f1c9d['to'](_0x118bf6(0x151),_0x1ed574=>_0x1ed574?_0x118bf6(0x145):'')],'tabindex':'0'},'children':[{'tag':_0x118bf6(0x134),'attributes':{'class':['ck',_0x118bf6(0x119),_0x2f1c9d['to'](_0x118bf6(0x135),_0x548764=>_0x118bf6(0x130)+_0x548764)]},'children':this[_0x118bf6(0x12b)]},{'tag':_0x118bf6(0x134),'attributes':{'class':['ck',_0x118bf6(0x13f),_0x2f1c9d['to'](_0x118bf6(0x135),_0xa0e78=>_0x118bf6(0x12d)+_0xa0e78)]},'children':this[_0x118bf6(0x13a)]},..._0x297b75(_0x319698[_0x118bf6(0x123)]||[])]});}[_0x14f749(0x13b)](){const _0xa9ec00=_0x14f749;return[...this[_0xa9ec00(0x159)][_0xa9ec00(0x144)]()];}[_0x14f749(0x138)](_0xa8eb67){const _0x1b3d59=_0x14f749,_0x1c77a9=this[_0x1b3d59(0x159)][_0x1b3d59(0x161)](_0xa8eb67);return _0x1c77a9||null;}[_0x14f749(0x14e)](_0xaebe3a){const _0x47c3bd=_0x14f749,_0x31f0a4=this[_0x47c3bd(0x14d)]({'id':_0xaebe3a['id'],'label':_0xaebe3a[_0x47c3bd(0x11b)],'icon':_0xaebe3a[_0x47c3bd(0x157)],'order':_0xaebe3a[_0x47c3bd(0x11e)]}),_0x5964ea=new _0x3683e5(this[_0x47c3bd(0x12a)]);return _0x5964ea[_0x47c3bd(0x153)](),_0xaebe3a[_0x47c3bd(0x152)]&&_0x5964ea[_0x47c3bd(0x123)][_0x47c3bd(0x116)](_0xaebe3a[_0x47c3bd(0x152)]),this[_0x47c3bd(0x13a)][_0x47c3bd(0x116)](_0x5964ea),this[_0x47c3bd(0x159)][_0x47c3bd(0x117)](_0xaebe3a['id'],{'button':_0x31f0a4,'panel':_0x5964ea,'order':void 0x0!==_0xaebe3a[_0x47c3bd(0x11e)]?_0xaebe3a[_0x47c3bd(0x11e)]:null}),this[_0x47c3bd(0x121)](_0x47c3bd(0x15d)+_0xaebe3a['id'],{'id':_0xaebe3a['id'],'button':_0x31f0a4,'panel':_0x5964ea}),null===this[_0x47c3bd(0x164)]?this[_0x47c3bd(0x120)](_0xaebe3a['id']):this[_0x47c3bd(0x141)](_0xaebe3a['id']),{'button':_0x31f0a4,'panel':_0x5964ea};}[_0x14f749(0x120)](_0x30c4f0){const _0x5daf53=_0x14f749;if(null!==_0x30c4f0&&!this[_0x5daf53(0x138)](_0x30c4f0))throw new _0x343c69(_0x5daf53(0x147),{'tabs':this,'tabId':_0x30c4f0});this[_0x5daf53(0x164)]!==_0x30c4f0&&(this[_0x5daf53(0x164)]&&this[_0x5daf53(0x141)](this[_0x5daf53(0x164)]),this[_0x5daf53(0x164)]=_0x30c4f0,_0x30c4f0&&this[_0x5daf53(0x142)](_0x30c4f0),this[_0x5daf53(0x121)](_0x5daf53(0x146)+_0x30c4f0,_0x30c4f0));}[_0x14f749(0x156)](_0xcd3a1c){const _0x3876df=_0x14f749;if(!this[_0x3876df(0x138)](_0xcd3a1c))throw new _0x343c69(_0x3876df(0x147),{'tabs':this,'tabId':_0xcd3a1c});this[_0x3876df(0x142)](_0xcd3a1c),this[_0x3876df(0x14a)](_0xcd3a1c),this[_0x3876df(0x121)](_0x3876df(0x14f)+_0xcd3a1c,_0xcd3a1c);}[_0x14f749(0x122)](_0xba48e7){const _0x3dc38e=_0x14f749;if(!this[_0x3dc38e(0x138)](_0xba48e7))throw new _0x343c69(_0x3dc38e(0x147),{'tabs':this,'tabId':_0xba48e7});const _0x284aa5=this[_0x3dc38e(0x164)];this[_0x3dc38e(0x141)](_0xba48e7),this[_0x3dc38e(0x155)](_0xba48e7);const _0xda21e2=this[_0x3dc38e(0x13b)]();_0x284aa5===_0xba48e7&&_0xda21e2[_0x3dc38e(0x12c)]>0x1&&this[_0x3dc38e(0x120)](_0xda21e2[_0x3dc38e(0x12e)](_0x443883=>_0x443883!==_0xba48e7)),this[_0x3dc38e(0x121)](_0x3dc38e(0x11f)+_0xba48e7,_0xba48e7);}[_0x14f749(0x15a)](_0x59739e){const _0xcc6982=_0x14f749,_0x4eb577=this[_0xcc6982(0x159)][_0xcc6982(0x161)](_0x59739e);return _0x4eb577?_0x4eb577[_0xcc6982(0x150)]:null;}[_0x14f749(0x142)](_0x2a036b){const _0x28e1a4=_0x14f749;null!==this[_0x28e1a4(0x164)]&&this[_0x28e1a4(0x164)]!==_0x2a036b||this[_0x28e1a4(0x15a)](_0x2a036b)[_0x28e1a4(0x139)]();}[_0x14f749(0x141)](_0x30ad93){const _0x554eb8=_0x14f749,_0x11fbed=this[_0x554eb8(0x15a)](_0x30ad93);_0x11fbed[_0x554eb8(0x128)]&&(this[_0x554eb8(0x164)]===_0x30ad93&&(this[_0x554eb8(0x164)]=null),_0x11fbed[_0x554eb8(0x126)]());}[_0x14f749(0x125)](_0x2fb18c){const _0x5ace26=_0x14f749,_0x156892=this[_0x5ace26(0x159)][_0x5ace26(0x161)](_0x2fb18c);return _0x156892?_0x156892[_0x5ace26(0x13c)]:null;}[_0x14f749(0x14a)](_0xb41c47){const _0x30bb39=_0x14f749;this[_0x30bb39(0x125)](_0xb41c47)[_0x30bb39(0x139)]();}[_0x14f749(0x155)](_0x3bc7c8){const _0x603a45=_0x14f749;this[_0x603a45(0x125)](_0x3bc7c8)[_0x603a45(0x126)]();}[_0x14f749(0x14d)](_0x440de8){const _0x2f63fb=_0x14f749,_0x570c30=new _0x121982(this[_0x2f63fb(0x12a)],{'side':this[_0x2f63fb(0x135)]}),_0x5ad5b0=this[_0x2f63fb(0x12b)];if(_0x570c30[_0x2f63fb(0x117)]({'label':_0x440de8[_0x2f63fb(0x154)],'icon':_0x440de8[_0x2f63fb(0x12f)],'tooltip':!0x0,'withText':!0x0}),_0x570c30[_0x2f63fb(0x11c)](_0x2f63fb(0x15e))['to'](this,_0x2f63fb(0x164),_0x5c1954=>_0x5c1954===_0x440de8['id']),_0x570c30[_0x2f63fb(0x11c)](_0x2f63fb(0x135))['to'](this,_0x2f63fb(0x135)),_0x440de8[_0x2f63fb(0x11e)]){const _0xcc2b5b=[...this[_0x2f63fb(0x159)]][_0x2f63fb(0x11d)]((_0x36d50e,_0x5c58a6)=>{const _0x31a081=_0x2f63fb,_0x9bc75e=_0x5c58a6[0x0],{order:_0x4003d3}=_0x5c58a6[0x1];return!_0x4003d3||_0x4003d3>_0x440de8[_0x31a081(0x11e)]?_0x36d50e:_0x4003d3>=_0x36d50e[_0x31a081(0x11e)]?{'id':_0x9bc75e,'order':_0x4003d3}:_0x36d50e;},{'id':'','order':0x0}),_0x3dd9d7=_0x5ad5b0[_0x2f63fb(0x11a)](this[_0x2f63fb(0x125)](_0xcc2b5b['id']));_0x5ad5b0[_0x2f63fb(0x116)](_0x570c30,_0x3dd9d7+0x1);}else _0x5ad5b0[_0x2f63fb(0x116)](_0x570c30);return _0x570c30['on'](_0x2f63fb(0x15c),()=>{const _0x1d1c64=_0x2f63fb;this[_0x1d1c64(0x120)](_0x440de8['id']);}),_0x570c30;}}function _0x5826(){const _0xf89c90=['7333928QaNsHo','230833uQzHrJ','51024mkqHII','div','side','ck-tabs','53896XODKms','getTab','show','panelViews','getTabIds','button','setTemplate','top','ck-tabs__panels-container','2585630JwAKRl','_hidePanel','_showPanel','left','keys','ck-ai-tabs_maximized','activateTab:','ui-tabsview-tab-not-found','156MbmXnd','8putmgY','_showButton','1259499xiQNJE','bindTemplate','_setupButton','addTab','show:','panel','isMaximized','content','render','label','_hideButton','showTab','buttonIcon','ck-reset','_tabs','_getPanel','270INkjPZ','execute','addTab:','isOn','657qlyMTV','95310oDjRuh','get','class','createCollection','activeTab','add','set','4PqEFcS','ck-tabs__buttons-container','getIndex','buttonLabel','bind','reduce','order','hide:','activateTab','fire','hideTab','children','ck-tabs_','_getButton','hide','right','isVisible','22rpOydG','locale','buttonViews','length','ck-tabs__panels-container_','find','icon','ck-tabs__buttons-container_'];_0x5826=function(){return _0xf89c90;};return _0x5826();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x54508a=_0x7bdc;(function(_0x2fbb61,_0x2def87){const _0x38cfe2=_0x7bdc,_0x37d98c=_0x2fbb61();while(!![]){try{const _0x3eeafe=parseInt(_0x38cfe2(0x177))/0x1+parseInt(_0x38cfe2(0x174))/0x2*(-parseInt(_0x38cfe2(0x185))/0x3)+-parseInt(_0x38cfe2(0x173))/0x4*(-parseInt(_0x38cfe2(0x189))/0x5)+parseInt(_0x38cfe2(0x179))/0x6*(-parseInt(_0x38cfe2(0x183))/0x7)+-parseInt(_0x38cfe2(0x180))/0x8+parseInt(_0x38cfe2(0x176))/0x9*(parseInt(_0x38cfe2(0x182))/0xa)+parseInt(_0x38cfe2(0x17e))/0xb;if(_0x3eeafe===_0x2def87)break;else _0x37d98c['push'](_0x37d98c['shift']());}catch(_0x1a4bc5){_0x37d98c['push'](_0x37d98c['shift']());}}}(_0x5940,0x79815));import{ButtonView as _0x2a882c}from'ckeditor5/src/ui.js';function _0x7bdc(_0x464305,_0x3ac8a9){const _0x594045=_0x5940();return _0x7bdc=function(_0x7bdc0d,_0x5bac15){_0x7bdc0d=_0x7bdc0d-0x173;let _0x4f5c09=_0x594045[_0x7bdc0d];return _0x4f5c09;},_0x7bdc(_0x464305,_0x3ac8a9);}import{toArray as _0x2d7969}from'ckeditor5/src/utils.js';import'../../../theme/aitabs/tabs/tabbuttonview.css';function _0x5940(){const _0x36a4c4=['bindTemplate','93570ctEjZQ','144aNavKc','2uybJja','ck-tab-button','63oYUPBT','618230sHnOti','top','24414TDoCPC','set','isVisible','side','ck-tab-button_','3353647FrMNix','extendTemplate','300264xUbIOB','hide','491730IlPFqH','1589UTwqZR','show','1446423WTUMTm','class','isToggleable'];_0x5940=function(){return _0x36a4c4;};return _0x5940();}export class TabButtonView extends _0x2a882c{constructor(_0x539710,_0x418f8e={}){const _0xe06843=_0x7bdc;super(_0x539710),this[_0xe06843(0x187)]=!0x0,this[_0xe06843(0x17a)](_0xe06843(0x17c),_0x418f8e[_0xe06843(0x17c)]||_0xe06843(0x178));const _0x224d30=this[_0xe06843(0x188)];this[_0xe06843(0x17f)]({'attributes':{'class':[_0xe06843(0x175),..._0x2d7969(_0x418f8e[_0xe06843(0x186)]||[]),_0x224d30['to'](_0xe06843(0x17c),_0x528726=>_0xe06843(0x17d)+_0x528726),_0x224d30['to'](_0xe06843(0x186))]}});}[_0x54508a(0x184)](){const _0x2413a1=_0x54508a;this[_0x2413a1(0x17a)](_0x2413a1(0x17b),!0x0);}[_0x54508a(0x181)](){const _0x3ddd61=_0x54508a;this[_0x3ddd61(0x17a)](_0x3ddd61(0x17b),!0x1);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x1b79b8=_0x2fe6;(function(_0x5d255f,_0x133c44){const _0x3ee218=_0x2fe6,_0x135f15=_0x5d255f();while(!![]){try{const _0x267722=parseInt(_0x3ee218(0x1a8))/0x1*(parseInt(_0x3ee218(0x1a7))/0x2)+parseInt(_0x3ee218(0x1aa))/0x3+-parseInt(_0x3ee218(0x19e))/0x4+parseInt(_0x3ee218(0x1a1))/0x5*(-parseInt(_0x3ee218(0x1ad))/0x6)+-parseInt(_0x3ee218(0x1a9))/0x7*(-parseInt(_0x3ee218(0x19b))/0x8)+parseInt(_0x3ee218(0x1af))/0x9*(parseInt(_0x3ee218(0x1a4))/0xa)+-parseInt(_0x3ee218(0x1ae))/0xb;if(_0x267722===_0x133c44)break;else _0x135f15['push'](_0x135f15['shift']());}catch(_0x100f88){_0x135f15['push'](_0x135f15['shift']());}}}(_0x37e7,0xe592a));function _0x2fe6(_0x3aaafe,_0xc3b27a){const _0x37e77a=_0x37e7();return _0x2fe6=function(_0x2fe66a,_0x3fcf6b){_0x2fe66a=_0x2fe66a-0x19b;let _0x3e8d41=_0x37e77a[_0x2fe66a];return _0x3e8d41;},_0x2fe6(_0x3aaafe,_0xc3b27a);}import{View as _0x58c472}from'ckeditor5/src/ui.js';function _0x37e7(){const _0x177131=['296538gAmQff','5FgPNsr','13496OJiSCF','4015164mBNRyY','setTemplate','ck-hidden','156ynrkAE','33462176zVnvTf','129321UljLBO','div','set','5464QwwvYt','bindTemplate','isVisible','2392416iUEKdg','children','class','56945kSIDFk','ck-tab-panel','createCollection','1030LAvBZS','show','hide'];_0x37e7=function(){return _0x177131;};return _0x37e7();}import{toArray as _0x1cf201}from'ckeditor5/src/utils.js';export class TabPanelView extends _0x58c472{[_0x1b79b8(0x19f)];constructor(_0x4ca0fb,_0x40870f={}){const _0x2df32c=_0x1b79b8;super(_0x4ca0fb);const _0x6e203a=this[_0x2df32c(0x19c)];this[_0x2df32c(0x1b1)](_0x2df32c(0x19d),!0x1),this[_0x2df32c(0x19f)]=this[_0x2df32c(0x1a3)](),this[_0x2df32c(0x1ab)]({'tag':_0x2df32c(0x1b0),'attributes':{'class':[_0x2df32c(0x1a2),..._0x1cf201(_0x40870f[_0x2df32c(0x1a0)]||[]),_0x6e203a['to'](_0x2df32c(0x1a0)),_0x6e203a['if'](_0x2df32c(0x19d),_0x2df32c(0x1ac),_0x2d422b=>!_0x2d422b)]},'children':this[_0x2df32c(0x19f)]});}[_0x1b79b8(0x1a5)](){const _0x2da77a=_0x1b79b8;this[_0x2da77a(0x1b1)](_0x2da77a(0x19d),!0x0);}[_0x1b79b8(0x1a6)](){const _0x1242cd=_0x1b79b8;this[_0x1242cd(0x1b1)](_0x1242cd(0x19d),!0x1);}}
|