@ckeditor/ckeditor5-ai 47.3.0-alpha.7 → 47.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +5 -5
- package/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/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/showaiassistantcommand.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/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/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/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/createresizebutton.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aieditorintegration/aieditorintegration.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
- package/src/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.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/aireviewcheckresult.js +1 -1
- package/src/aireviewmode/model/aireviewcheckrun.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/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x13d326,_0x42452d){const _0x5bc419=_0x5520,_0x508606=_0x13d326();while(!![]){try{const _0x4ce376=-parseInt(_0x5bc419(0x1ce))/0x1+parseInt(_0x5bc419(0x1cf))/0x2*(parseInt(_0x5bc419(0x1ca))/0x3)+-parseInt(_0x5bc419(0x1c5))/0x4*(-parseInt(_0x5bc419(0x1d7))/0x5)+-parseInt(_0x5bc419(0x1cb))/0x6*(-parseInt(_0x5bc419(0x1c7))/0x7)+parseInt(_0x5bc419(0x1d0))/0x8+parseInt(_0x5bc419(0x1cd))/0x9*(-parseInt(_0x5bc419(0x1c3))/0xa)+parseInt(_0x5bc419(0x1d3))/0xb*(parseInt(_0x5bc419(0x1d1))/0xc);if(_0x4ce376===_0x42452d)break;else _0x508606['push'](_0x508606['shift']());}catch(_0x5c334e){_0x508606['push'](_0x508606['shift']());}}}(_0x2163,0xab947));import{View as _0x531157}from'ckeditor5/src/ui.js';export class AIReviewModeGeneralErrorView extends _0x531157{constructor(_0x12d98b){const _0x106e15=_0x5520;super(_0x12d98b),this[_0x106e15(0x1c9)](_0x106e15(0x1cc),!0x1),this[_0x106e15(0x1c9)](_0x106e15(0x1d4),'');const _0x39fc98=this[_0x106e15(0x1c4)];this[_0x106e15(0x1c8)]({'tag':_0x106e15(0x1c6),'attributes':{'class':['ck',_0x106e15(0x1d2),_0x39fc98['if'](_0x106e15(0x1cc),_0x106e15(0x1d6),_0x5d2c0c=>!_0x5d2c0c)]},'children':[{'tag':'p','attributes':{'class':_0x106e15(0x1d5)},'children':[{'text':_0x39fc98['to'](_0x106e15(0x1d4))}]}]});}}function _0x5520(_0x508a25,_0xf15b86){const _0x2163cd=_0x2163();return _0x5520=function(_0x552031,_0x344aa1){_0x552031=_0x552031-0x1c3;let _0x149573=_0x2163cd[_0x552031];return _0x149573;},_0x5520(_0x508a25,_0xf15b86);}function _0x2163(){const _0xda2b8c=['98PbWfGW','setTemplate','set','807nakNds','354606bvdwpe','isVisible','353304hadNMI','1101722ASOrOL','466lnGPsL','7313984yGLyPR','2424YminWK','ck-ai-review-mode__general-error-container','10637yEYltD','errorMessage','ck\x20ck-ai-notification\x20ck-ai-notification_error','ck-hidden','98315OYCSEG','210oTqQmw','bindTemplate','128tzYbfD','div'];_0x2163=function(){return _0xda2b8c;};return _0x2163();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4d4b52=_0x2d2a;(function(_0x3b07f1,_0xede67){const _0x1892ea=_0x2d2a,_0x538615=_0x3b07f1();while(!![]){try{const _0x1113ca=parseInt(_0x1892ea(0xaf))/0x1*(parseInt(_0x1892ea(0xb8))/0x2)+-parseInt(_0x1892ea(0xb6))/0x3*(-parseInt(_0x1892ea(0xb0))/0x4)+-parseInt(_0x1892ea(0x9d))/0x5+parseInt(_0x1892ea(0xaa))/0x6+parseInt(_0x1892ea(0xac))/0x7+-parseInt(_0x1892ea(0xab))/0x8+-parseInt(_0x1892ea(0x9f))/0x9*(-parseInt(_0x1892ea(0xb7))/0xa);if(_0x1113ca===_0xede67)break;else _0x538615['push'](_0x538615['shift']());}catch(_0x308131){_0x538615['push'](_0x538615['shift']());}}}(_0xd59c,0x3abe3));function _0x2d2a(_0x111bbe,_0x7fbdc1){const _0xd59c6e=_0xd59c();return _0x2d2a=function(_0x2d2a36,_0x344e7b){_0x2d2a36=_0x2d2a36-0x9d;let _0x458bed=_0xd59c6e[_0x2d2a36];return _0x458bed;},_0x2d2a(_0x111bbe,_0x7fbdc1);}import{ListItemView as _0x42462c,ViewCollection as _0x4f10b7}from'ckeditor5/src/ui.js';import{AIReviewModeReviewCommandListItemView as _0x16687f}from'./aireviewmodereviewcommandlistitemview.js';import'../../../theme/aireviewmode/aireviewmode-check-list.css';export class AIReviewModeReviewCheckListView extends _0x42462c{[_0x4d4b52(0xa5)];constructor(_0x1532f8){const _0x5aec85=_0x4d4b52;super(_0x1532f8),this[_0x5aec85(0xa5)]=new _0x4f10b7();const _0xb73ecc=this[_0x5aec85(0xb2)];this[_0x5aec85(0xa7)]({'tag':_0x5aec85(0xa6),'attributes':{'class':[_0x5aec85(0xa1),_0xb73ecc['if'](_0x5aec85(0xa9),_0x5aec85(0xb5),_0x397e29=>!_0x397e29)]},'children':this[_0x5aec85(0xa5)]});}[_0x4d4b52(0xb4)](_0x3ba9c1){const _0x1da969=_0x4d4b52;this[_0x1da969(0xa5)][_0x1da969(0xae)]();for(const [_0x47e507,_0x597935]of _0x3ba9c1[_0x1da969(0xa0)]()){const _0x548742=new _0x16687f(this[_0x1da969(0xa3)],_0x597935,_0x47e507);_0x548742[_0x1da969(0xb3)](_0x1da969(0x9e))['to'](this),this[_0x1da969(0xa5)][_0x1da969(0xa4)](_0x548742);}}[_0x4d4b52(0xa2)](){const _0x1d5bbc=_0x4d4b52;return this[_0x1d5bbc(0xa5)][_0x1d5bbc(0xb1)]>0x0;}[_0x4d4b52(0xa8)](){const _0x1a5ca8=_0x4d4b52;for(const _0x10a6ad of this[_0x1a5ca8(0xa5)])_0x10a6ad instanceof _0x16687f&&_0x10a6ad[_0x1a5ca8(0xad)]();}}function _0xd59c(){const _0x31d197=['7121475KerCRs','entries','ck-ai-review-mode__check-list','hasChecks','locale','add','_checkViews','div','setTemplate','resetAllParameterizedChecks','isVisible','329754ofDwLO','3089480LXcOoo','1083026TPmFkc','resetToDefault','clear','809upBvxa','156196hWSvzR','length','bindTemplate','delegate','setChecks','ck-hidden','3pVxRRz','10qAuBRa','54thszzU','2175240lsrLft','runReviewCheck'];_0xd59c=function(){return _0x31d197;};return _0xd59c();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ListItemView as _0x34d0e0,View as _0x1a7070,ViewCollection as _0x4fcd69,ButtonView as _0x4720db}from'ckeditor5/src/ui.js';import{IconStop as _0x128b7e,IconEye as _0x3ae996,IconEyeCrossedOut as _0x153513}from'ckeditor5/src/icons.js';import{AIReviewModeReviewCheckListItemResultsView as _0x5ccfa4}from'./aireviewmodechecklistitemresultview.js';import{AIReviewModeFinishReviewButtonView as _0x2a3ccd}from'./aireviewmodefinishreviewbuttonview.js';import{AISkeletonView as _0x1a1fdd,SKELETON_DEFINITIONS as _0x51418b}from'../../aicore/ui/aiskeleton.js';import{AIDisclaimerView as _0x22ebd9}from'../../aicore/ui/aidisclaimerview.js';import{getTranslation as _0x58f418}from'../../aicore/utils/common-translations.js';import{AISpinnerView as _0x12fb83}from'../../aicore/ui/aispinner.js';import'../../../theme/aireviewmode/aireviewmode-check-run.css';import'../../../theme/aireviewmode/aireviewmode-check-run-result.css';export class AIReviewModeReviewCheckResultsView extends _0x34d0e0{['_resultViews'];['resultsHeader'];['reviewDisclaimer'];['_cancelButtonView'];['_acceptAllButtonView'];['_exitReviewButtonView'];['_toggleDiffButtonView'];['_errorMessageView'];['_finishReviewButtonView'];constructor(_0x1c5022){super(_0x1c5022),this['_resultViews']=new _0x4fcd69(),this['_cancelButtonView']=this['_createCancelButtonView'](),this['_acceptAllButtonView']=this['_createAcceptAllButtonView'](),this['_exitReviewButtonView']=this['_createExitReviewButtonView'](),this['_toggleDiffButtonView']=this['_createToggleDiffButtonView'](),this['_finishReviewButtonView']=this['_createFinishReviewButtonView'](),this['resultsHeader']=this['_createResultHeaderView'](),this['_errorMessageView']=this['_createErrorView'](),this['reviewDisclaimer']=new _0x22ebd9(_0x1c5022),this['set']('isLoading',!0x1),this['set']('isToggleDiffOn',!0x1),this['set']('isResultReady',!0x1),this['set']('headerTitle',''),this['set']('headerSubtitle',''),this['set']('isError',!0x1),this['set']('showErrorMessage',!0x1),this['set']('errorType','general'),this['set']('isCompleted',!0x1);const _0x5a825f=this['_createCombinedSkeletonLoader'](),_0x50ffa8=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run',_0x50ffa8['if']('isVisible','ck-hidden',_0x3e92fc=>!_0x3e92fc)]},'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',_0x1bead8=>_0x1bead8)]},'children':this['_resultViews']},_0x5a825f]},this['reviewDisclaimer']]});}['clearResults'](){this['_resultViews']['clear']();}['getResults'](){return this['_resultViews'];}['addResult'](_0x1d2c59){const _0x528239=new _0x5ccfa4(this['locale'],_0x1d2c59['id']);_0x528239['delegate']('acceptChange','dismissChange','activateChange')['to'](this),this['_resultViews']['add'](_0x528239),_0x528239['resultResponseView']['element']['innerHTML']=_0x1d2c59['contentDiffed'];}['hideResult'](_0x5093ea,_0x27155d){if('pending'===_0x27155d)return;const _0x3e18c4=this['_resultViews']['find'](_0x3a6ae9=>_0x3a6ae9['id']===_0x5093ea);_0x3e18c4&&(_0x3e18c4['status']=_0x27155d,_0x3e18c4['element']?.['classList']['add']('ck-ai-review-mode__check-run-result_grayout'));}['showResult'](_0x1b4d75,_0x25e44d){if('pending'!==_0x25e44d)return;const _0x375315=this['_resultViews']['find'](_0x46808b=>_0x46808b['id']===_0x1b4d75);_0x375315&&(_0x375315['status']=_0x25e44d,_0x375315['element']?.['classList']['remove']('ck-ai-review-mode__check-run-result_grayout'));}['setTitle'](_0x4fb9f6,_0x4fe5e9){this['headerTitle']=_0x4fb9f6,this['headerSubtitle']=_0x4fe5e9||'';}['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 _0x1a1fdd(this['locale'],_0x51418b['aiReviewChecks']);}['_createCombinedSkeletonLoader'](){const _0x4bbe2f=new _0x1a7070(this['locale']),_0x31808a=[];for(let _0x2a029d=0x0;_0x2a029d<0x10;_0x2a029d++){const _0x576234=this['_createSkeletonLoader']();_0x576234['extendTemplate']({'attributes':{'class':['ck-ai-review-mode__check-run-skeleton-item']}}),_0x31808a['push'](_0x576234);}return _0x4bbe2f['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-skeleton-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x317b=>!_0x317b)]},'children':_0x31808a}),_0x4bbe2f;}['_createErrorView'](){const _0x11169c=new _0x1a7070(this['locale']),_0x420bd7=new _0x4720db(this['locale']),t=this['locale']['t'];return _0x11169c['delegate']('retryReview')['to'](this),_0x420bd7['set']({'label':t('Try\x20again'),'withText':!0x0,'class':'ck-ai-button-secondary\x20ck-ai-review-mode__check-run-error-retry-button'}),_0x420bd7['on']('execute',()=>{this['fire']('retryReview');}),_0x11169c['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-error-container',this['bindTemplate']['if']('showErrorMessage','ck-hidden',_0x52d0b3=>!_0x52d0b3),this['bindTemplate']['if']('errorType','ck-ai-review-mode__check-run-error-container_border-bottom',_0x129fe8=>'chunk'===_0x129fe8)]},'children':[{'tag':'div','attributes':{'class':['ck','ck-ai-notification','ck-ai-notification_error','ck-ai-notification__full-width','ck-ai-review-mode__check-run-error-message',this['bindTemplate']['if']('errorType','ck-ai-notification_warning',_0x38d0f0=>'chunk'===_0x38d0f0)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x30eed8=>'general'!==_0x30eed8)]},'children':[{'text':_0x58f418(this['locale'],'AI_REVIEW_MODE_GENERAL_ERROR_MESSAGE')}]},{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x27d01c=>'chunk'!==_0x27d01c)]},'children':[{'text':_0x58f418(this['locale'],'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE')}]}]},_0x420bd7]}),_0x11169c;}['_createCancelButtonView'](){const _0x254724=new _0x4720db(this['locale']);return _0x254724['set']({'label':_0x58f418(this['locale'],'AI_REVIEW_MODE_STOP_GENERATING'),'withText':!0x0,'class':['ck-ai-button-secondary\x20ck-ai-button-stop-generating'],'icon':_0x128b7e}),_0x254724['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isResultReady','ck-hidden',_0x2c2981=>_0x2c2981),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x4d348a=>_0x4d348a)]}}),_0x254724['on']('execute',()=>{this['fire']('abortReviewStream');}),_0x254724;}['_createToggleDiffButtonView'](){const _0xbd87b=new _0x4720db(this['locale']);_0xbd87b['set']({'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox'}),_0xbd87b['bind']('isEnabled')['to'](this,'isError',_0x2046f1=>!_0x2046f1),_0xbd87b['extendTemplate']({'attributes':{'class':['ck-ai-button-secondary','ck-ai-review-mode__check-run-toggle-diff-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x4d5f56=>!_0x4d5f56),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x2695c0=>_0x2695c0)]}});const _0x26a4e7=_0x58f418(this['locale'],'AI_REVIEW_MODE_HIDE_CHANGES'),_0x54c811=_0x58f418(this['locale'],'AI_REVIEW_MODE_SHOW_CHANGES');return _0xbd87b['bind']('isOn')['to'](this,'isToggleDiffOn',_0x4f3779=>_0x4f3779),_0xbd87b['bind']('icon')['to'](this,'isToggleDiffOn',_0x43d38a=>_0x43d38a?_0x3ae996:_0x153513),_0xbd87b['bind']('label')['to'](this,'isToggleDiffOn',_0x36c3fc=>_0x36c3fc?_0x26a4e7:_0x54c811),_0xbd87b['on']('execute',()=>{this['isToggleDiffOn']=!this['isToggleDiffOn'],this['fire']('toggleDiff',{'on':this['isToggleDiffOn']});}),_0xbd87b;}['_createAcceptAllButtonView'](){const _0x34b449=new _0x4720db(this['locale']);return _0x34b449['set']({'label':_0x58f418(this['locale'],'AI_REVIEW_MODE_ACCEPT_ALL'),'withText':!0x0}),_0x34b449['bind']('isEnabled')['to'](this,'isError',_0x184c9e=>!_0x184c9e),_0x34b449['extendTemplate']({'attributes':{'class':['ck-ai-button-primary','ck-ai-review-mode__check-run-accept-all-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x33acdf=>!_0x33acdf),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x378216=>_0x378216)]}}),_0x34b449['on']('execute',()=>{this['fire']('acceptAllChanges');}),_0x34b449;}['_createExitReviewButtonView'](){const _0x235481=new _0x4720db(this['locale']);return _0x235481['set']({'label':_0x58f418(this['locale'],'AI_REVIEW_MODE_EXIT_REVIEW'),'withText':!0x0}),_0x235481['extendTemplate']({'attributes':{'class':['ck-ai-button-tertiary-filled','ck-ai-review-mode__check-run-exit-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x4b2c89=>!_0x4b2c89),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x4fd3a1=>_0x4fd3a1)]}}),_0x235481['on']('execute',()=>{this['fire']('leaveReviewModeResultList');}),_0x235481;}['_createResultHeaderView'](){const _0x5329a4=new _0x1a7070(this['locale']),_0x23b2e8=this['_createTitleView']();return _0x5329a4['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-header',this['bindTemplate']['if']('isCompleted','ck-ai-review-mode__review-completed-header',_0xc5b426=>_0xc5b426)]},'children':[_0x23b2e8,{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-header-buttons']},'children':[this['_cancelButtonView'],this['_acceptAllButtonView'],this['_exitReviewButtonView'],this['_toggleDiffButtonView'],this['_finishReviewButtonView']]}]}),_0x5329a4;}['_createTitleView'](){const _0x2e927f=new _0x1a7070(this['locale']),_0x57712d=new _0x12fb83();return _0x57712d['bind']('isVisible')['to'](this,'isResultReady',_0x3f37b6=>!_0x3f37b6),_0x2e927f['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-header-title-wrapper']},'children':[_0x57712d,{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-header-title-content',this['bindTemplate']['if']('isCompleted','ck-hidden',_0x28dcc4=>_0x28dcc4)]},'children':[{'tag':'span','attributes':{'class':['ck-ai-review-mode__check-run-results-header-title']},'children':[{'text':this['bindTemplate']['to']('headerTitle')}]},{'tag':'span','attributes':{'class':['ck-ai-review-mode__check-run-results-header-subtitle']},'children':[{'text':this['bindTemplate']['to']('headerSubtitle')}]}]},{'tag':'span','attributes':{'class':['ck-ai-review-mode__review-completed-header-title',this['bindTemplate']['if']('isCompleted','ck-hidden',_0x4ced51=>!_0x4ced51)]},'children':[{'text':_0x58f418(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE')}]}]}),_0x2e927f;}['_createFinishReviewButtonView'](){const _0x4e09da=new _0x2a3ccd(this['locale']);return _0x4e09da['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isCompleted','ck-hidden',_0x2b2616=>!_0x2b2616)]}}),_0x4e09da['delegate']('finishReview')['to'](this),_0x4e09da;}}
|
|
23
|
+
import{ListItemView as _0xca21f1,View as _0x1f554c,ViewCollection as _0x3a672d,ButtonView as _0x2daa9a}from'ckeditor5/src/ui.js';import{IconStop as _0x3eca85,IconEye as _0x547abd,IconEyeCrossedOut as _0x199d2c}from'ckeditor5/src/icons.js';import{AIReviewModeReviewCheckListItemResultsView as _0x1f84ea}from'./aireviewmodechecklistitemresultview.js';import{AIReviewModeFinishReviewButtonView as _0x49acaf}from'./aireviewmodefinishreviewbuttonview.js';import{AISkeletonView as _0x22aa61,SKELETON_DEFINITIONS as _0x12453d}from'../../aicore/ui/aiskeleton.js';import{AIDisclaimerView as _0x54b2ab}from'../../aicore/ui/aidisclaimerview.js';import{getTranslation as _0x38c84c}from'../../aicore/utils/common-translations.js';import{AISpinnerView as _0x4187eb}from'../../aicore/ui/aispinner.js';import'../../../theme/aireviewmode/aireviewmode-check-run.css';import'../../../theme/aireviewmode/aireviewmode-check-run-result.css';export class AIReviewModeReviewCheckResultsView extends _0xca21f1{['_resultViews'];['resultsHeader'];['reviewDisclaimer'];['_cancelButtonView'];['_acceptAllButtonView'];['_exitReviewButtonView'];['_toggleDiffButtonView'];['_errorMessageView'];['_finishReviewButtonView'];constructor(_0xeaf6a4){super(_0xeaf6a4),this['_resultViews']=new _0x3a672d(),this['_cancelButtonView']=this['_createCancelButtonView'](),this['_acceptAllButtonView']=this['_createAcceptAllButtonView'](),this['_exitReviewButtonView']=this['_createExitReviewButtonView'](),this['_toggleDiffButtonView']=this['_createToggleDiffButtonView'](),this['_finishReviewButtonView']=this['_createFinishReviewButtonView'](),this['resultsHeader']=this['_createResultHeaderView'](),this['_errorMessageView']=this['_createErrorView'](),this['reviewDisclaimer']=new _0x54b2ab(_0xeaf6a4),this['set']('isLoading',!0x1),this['set']('isToggleDiffOn',!0x1),this['set']('isResultReady',!0x1),this['set']('headerTitle',''),this['set']('headerSubtitle',''),this['set']('isError',!0x1),this['set']('showErrorMessage',!0x1),this['set']('errorType','general'),this['set']('isCompleted',!0x1);const _0x2718cf=this['_createCombinedSkeletonLoader'](),_0x2a22ae=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run',_0x2a22ae['if']('isVisible','ck-hidden',_0x500b37=>!_0x500b37)]},'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',_0x252fd3=>_0x252fd3)]},'children':this['_resultViews']},_0x2718cf]},this['reviewDisclaimer']]});}['clearResults'](){this['_resultViews']['clear']();}['getResults'](){return this['_resultViews'];}['addResult'](_0x546402){const _0x3fd5a2=new _0x1f84ea(this['locale'],_0x546402['id']);_0x3fd5a2['delegate']('acceptChange','dismissChange','activateChange')['to'](this),this['_resultViews']['add'](_0x3fd5a2),_0x3fd5a2['resultResponseView']['element']['innerHTML']=_0x546402['contentDiffed'];}['hideResult'](_0x2a8827,_0x47b23b){if('pending'===_0x47b23b)return;const _0x2f3f9c=this['_resultViews']['find'](_0x51c25b=>_0x51c25b['id']===_0x2a8827);_0x2f3f9c&&(_0x2f3f9c['status']=_0x47b23b,_0x2f3f9c['element']?.['classList']['add']('ck-ai-review-mode__check-run-result_grayout'));}['showResult'](_0x4a92d4,_0x25cea0){if('pending'!==_0x25cea0)return;const _0x22a675=this['_resultViews']['find'](_0x4aebf0=>_0x4aebf0['id']===_0x4a92d4);_0x22a675&&(_0x22a675['status']=_0x25cea0,_0x22a675['element']?.['classList']['remove']('ck-ai-review-mode__check-run-result_grayout'));}['setTitle'](_0x4e205a,_0x5a2efa){this['headerTitle']=_0x4e205a,this['headerSubtitle']=_0x5a2efa||'';}['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 _0x22aa61(this['locale'],_0x12453d['aiReviewChecks']);}['_createCombinedSkeletonLoader'](){const _0x57b994=new _0x1f554c(this['locale']),_0x3e7e6c=[];for(let _0x36c356=0x0;_0x36c356<0x10;_0x36c356++){const _0x54b8b5=this['_createSkeletonLoader']();_0x54b8b5['extendTemplate']({'attributes':{'class':['ck-ai-review-mode__check-run-skeleton-item']}}),_0x3e7e6c['push'](_0x54b8b5);}return _0x57b994['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-skeleton-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x34a936=>!_0x34a936)]},'children':_0x3e7e6c}),_0x57b994;}['_createErrorView'](){const _0x126b0f=new _0x1f554c(this['locale']),_0x1dae2d=new _0x2daa9a(this['locale']),t=this['locale']['t'];return _0x126b0f['delegate']('retryReview')['to'](this),_0x1dae2d['set']({'label':t('Try\x20again'),'withText':!0x0,'class':'ck-ai-button-secondary\x20ck-ai-review-mode__check-run-error-retry-button'}),_0x1dae2d['on']('execute',()=>{this['fire']('retryReview');}),_0x126b0f['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-error-container',this['bindTemplate']['if']('showErrorMessage','ck-hidden',_0x4cc03a=>!_0x4cc03a),this['bindTemplate']['if']('errorType','ck-ai-review-mode__check-run-error-container_border-bottom',_0x388a22=>'chunk'===_0x388a22)]},'children':[{'tag':'div','attributes':{'class':['ck','ck-ai-notification','ck-ai-notification_error','ck-ai-notification__full-width','ck-ai-review-mode__check-run-error-message',this['bindTemplate']['if']('errorType','ck-ai-notification_warning',_0x3651ce=>'chunk'===_0x3651ce)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x5623e7=>'general'!==_0x5623e7)]},'children':[{'text':_0x38c84c(this['locale'],'AI_REVIEW_MODE_GENERAL_ERROR_MESSAGE')}]},{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x27ac1b=>'chunk'!==_0x27ac1b)]},'children':[{'text':_0x38c84c(this['locale'],'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE')}]}]},_0x1dae2d]}),_0x126b0f;}['_createCancelButtonView'](){const _0x3ccc17=new _0x2daa9a(this['locale']);return _0x3ccc17['set']({'label':_0x38c84c(this['locale'],'AI_REVIEW_MODE_STOP_GENERATING'),'withText':!0x0,'class':['ck-ai-button-secondary\x20ck-ai-button-stop-generating'],'icon':_0x3eca85}),_0x3ccc17['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isResultReady','ck-hidden',_0x1a7a82=>_0x1a7a82),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x310965=>_0x310965)]}}),_0x3ccc17['on']('execute',()=>{this['fire']('abortReviewStream');}),_0x3ccc17;}['_createToggleDiffButtonView'](){const _0x399c58=new _0x2daa9a(this['locale']);_0x399c58['set']({'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox'}),_0x399c58['bind']('isEnabled')['to'](this,'isError',_0x886dc0=>!_0x886dc0),_0x399c58['extendTemplate']({'attributes':{'class':['ck-ai-button-secondary','ck-ai-review-mode__check-run-toggle-diff-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0xe8f997=>!_0xe8f997),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x83599f=>_0x83599f)]}});const _0x45fde8=_0x38c84c(this['locale'],'AI_REVIEW_MODE_HIDE_CHANGES'),_0x269048=_0x38c84c(this['locale'],'AI_REVIEW_MODE_SHOW_CHANGES');return _0x399c58['bind']('isOn')['to'](this,'isToggleDiffOn',_0x10b889=>_0x10b889),_0x399c58['bind']('icon')['to'](this,'isToggleDiffOn',_0x114cec=>_0x114cec?_0x547abd:_0x199d2c),_0x399c58['bind']('label')['to'](this,'isToggleDiffOn',_0x306e9e=>_0x306e9e?_0x45fde8:_0x269048),_0x399c58['on']('execute',()=>{this['isToggleDiffOn']=!this['isToggleDiffOn'],this['fire']('toggleDiff',{'on':this['isToggleDiffOn']});}),_0x399c58;}['_createAcceptAllButtonView'](){const _0x4cce81=new _0x2daa9a(this['locale']);return _0x4cce81['set']({'label':_0x38c84c(this['locale'],'AI_REVIEW_MODE_ACCEPT_ALL'),'withText':!0x0}),_0x4cce81['bind']('isEnabled')['to'](this,'isError',_0x44aff6=>!_0x44aff6),_0x4cce81['extendTemplate']({'attributes':{'class':['ck-ai-button-primary','ck-ai-review-mode__check-run-accept-all-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x55754d=>!_0x55754d),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x4f9b4c=>_0x4f9b4c)]}}),_0x4cce81['on']('execute',()=>{this['fire']('acceptAllChanges');}),_0x4cce81;}['_createExitReviewButtonView'](){const _0x2bc349=new _0x2daa9a(this['locale']);return _0x2bc349['set']({'label':_0x38c84c(this['locale'],'AI_REVIEW_MODE_EXIT_REVIEW'),'withText':!0x0}),_0x2bc349['extendTemplate']({'attributes':{'class':['ck-ai-button-tertiary-filled','ck-ai-review-mode__check-run-exit-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x5edfcf=>!_0x5edfcf),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x22fb78=>_0x22fb78)]}}),_0x2bc349['on']('execute',()=>{this['fire']('leaveReviewModeResultList');}),_0x2bc349;}['_createResultHeaderView'](){const _0x31488f=new _0x1f554c(this['locale']),_0x315a40=this['_createTitleView']();return _0x31488f['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-header',this['bindTemplate']['if']('isCompleted','ck-ai-review-mode__review-completed-header',_0x4951f4=>_0x4951f4)]},'children':[_0x315a40,{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-header-buttons']},'children':[this['_cancelButtonView'],this['_acceptAllButtonView'],this['_exitReviewButtonView'],this['_toggleDiffButtonView'],this['_finishReviewButtonView']]}]}),_0x31488f;}['_createTitleView'](){const _0xfdd938=new _0x1f554c(this['locale']),_0x3d4714=new _0x4187eb();return _0x3d4714['bind']('isVisible')['to'](this,'isResultReady',_0x97ed59=>!_0x97ed59),_0xfdd938['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-header-title-wrapper']},'children':[_0x3d4714,{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-header-title-content',this['bindTemplate']['if']('isCompleted','ck-hidden',_0x8aadf3=>_0x8aadf3)]},'children':[{'tag':'span','attributes':{'class':['ck-ai-review-mode__check-run-results-header-title']},'children':[{'text':this['bindTemplate']['to']('headerTitle')}]},{'tag':'span','attributes':{'class':['ck-ai-review-mode__check-run-results-header-subtitle']},'children':[{'text':this['bindTemplate']['to']('headerSubtitle')}]}]},{'tag':'span','attributes':{'class':['ck-ai-review-mode__review-completed-header-title',this['bindTemplate']['if']('isCompleted','ck-hidden',_0xd632f9=>!_0xd632f9)]},'children':[{'text':_0x38c84c(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE')}]}]}),_0xfdd938;}['_createFinishReviewButtonView'](){const _0x17d985=new _0x49acaf(this['locale']);return _0x17d985['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isCompleted','ck-hidden',_0x2a6a40=>!_0x2a6a40)]}}),_0x17d985['delegate']('finishReview')['to'](this),_0x17d985;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ListItemView as
|
|
23
|
+
import{ListItemView as _0x16e3a2,IconView as _0x45b0d5,View as _0x1e0229,ViewCollection as _0x4c6d57,ButtonView as _0x250619,clickOutsideHandler as _0x539421}from'ckeditor5/src/ui.js';import{IconChevronRight as _0x2a68a8}from'ckeditor5/src/icons.js';import{AIReviewModeFormManagerView as _0x190a86}from'./form/aireviewmodeformmanager.js';import{AIReviewModeCustomCheckView as tc}from'./aireviewmodecustomcheckview.js';export class AIReviewModeReviewCommandListItemView extends _0x16e3a2{['_formItemsCollection']=new _0x4c6d57();['_customCheckView']=null;constructor(_0x5b93e6,_0x408ac5,_0x3fa72c){super(_0x5b93e6),this['set']('isParametrizedViewOpen',!0x1),this['set']('isListItemRendered',!0x1),this['set']('isItemParametrized',_0x408ac5['isParameterized']);const _0x1f9855=this['_createIconView']();this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item',this['bindTemplate']['if']('isParametrizedViewOpen','ck-ai-review-mode__check-list-item_selected',_0x53c771=>_0x53c771),this['bindTemplate']['if']('isListItemRendered','ck-ai-review-mode__check-list-item_rendered',_0x641aeb=>_0x641aeb)],'style':{'--ck-ai-review-check-list-item-index':_0x3fa72c}},'on':{'click':this['bindTemplate']['to']('click')},'children':[{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-content']},'children':[{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-main-content']},'children':[{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-title']},'children':[{'tag':'span','attributes':{'class':['ck-ai-review-mode__check-list-item-title-text']},'children':[{'text':_0x408ac5['title']}]},_0x1f9855]},{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-description']},'children':[{'text':_0x408ac5['description']}]}]}]},..._0x408ac5['isParameterized']?[this['_createParameterizedView'](_0x408ac5)]:[],...'custom'===_0x408ac5['id']?[this['_createCustomView'](_0x408ac5)]:[]]}),this['on']('click',()=>{_0x408ac5['isParameterized']?this['isParametrizedViewOpen']=!0x0:this['fire']('runReviewCheck',{'id':_0x408ac5['id']});}),requestAnimationFrame(()=>{this['isListItemRendered']=!0x0;});}['render'](){super['render'](),this['isItemParametrized']&&_0x539421({'emitter':this,'activator':()=>!0x0===this['isParametrizedViewOpen'],'contextElements':[this['element']],'callback':()=>{this['isParametrizedViewOpen']=!0x1;}});}['resetToDefault'](){this['isParametrizedViewOpen']=!0x1,this['_formItemsCollection']['forEach'](_0x4c533c=>{_0x4c533c['resetToDefault']();}),this['_customCheckView']&&this['_customCheckView']['resetToDefault']();}['_createIconView'](){const _0x540ce4=new _0x45b0d5();return _0x540ce4['content']=_0x2a68a8,_0x540ce4['extendTemplate']({'attributes':{'class':['ck-ai-review-mode__check-list-item-title-icon']}}),_0x540ce4;}['_createParameterizedView'](_0x2a7221){const _0x420776=new _0x1e0229(),_0x17c50c=this['_createFormView'](_0x2a7221);return _0x420776['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-parameterized',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x6ad98a=>!_0x6ad98a)]},'children':[_0x17c50c]}),_0x420776;}['_createFormView'](_0x4eb1d2){const _0xd6030f=new _0x1e0229(),_0x16165e=Array['isArray'](_0x4eb1d2['options'])?_0x4eb1d2['options']:[],_0x3c3518=new _0x250619(this['locale']),t=this['locale']['t'];_0x3c3518['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x3c3518['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0xe3b107=>{_0xe3b107['stopPropagation']();})}}),_0x3c3518['on']('execute',()=>{const _0x24bd4e=[],_0x56d035={};this['_formItemsCollection']['forEach'](_0x6859b6=>{_0x24bd4e['push'](_0x6859b6['value']),_0x4eb1d2['useArgs']&&_0x4eb1d2['options']&&(_0x56d035[_0x6859b6['argsKey']]=_0x6859b6['value']);}),this['fire']('runReviewCheck',{'id':_0x4eb1d2['id'],'params':_0x24bd4e['length']?_0x24bd4e:void 0x0,'args':Object['keys'](_0x56d035)['length']?_0x56d035:void 0x0});});const _0xcb0017=_0x16165e['length'];return _0x16165e['forEach']((_0x444cbc,_0x339f5b)=>{const _0x1e5b0f=_0x339f5b===_0xcb0017-0x1;this['_formItemsCollection']['add'](new _0x190a86(this['locale'],_0x444cbc,_0x1e5b0f?_0x3c3518:null));}),_0xd6030f['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-parameterized-form']},'children':this['_formItemsCollection']}),_0xd6030f;}['_createCustomView'](_0x393612){return this['_customCheckView']=new tc(this['locale'],_0x393612),this['_customCheckView']['extendTemplate']({'attributes':{'class':['ck-ai-review-mode__check-list-item-parameterized','ck-ai-review-mode__check-list-item-parameterized_custom',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x32ac3c=>!_0x32ac3c)]}}),this['_customCheckView']['delegate']('runReviewCheck')['to'](this),this['listenTo'](this['_customCheckView'],'closeCustomCheck',()=>{this['isParametrizedViewOpen']=!0x1;}),this['on']('change:isParametrizedViewOpen',(_0x35d258,_0x168dee,_0x31a976)=>{_0x31a976||this['_customCheckView']['resetFormValidationStatus']();}),this['_customCheckView'];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x43bc07=_0x51cf;(function(_0x2cb27a,_0x541c47){const _0x3b27a3=_0x51cf,_0x5172ea=_0x2cb27a();while(!![]){try{const _0x69616a=parseInt(_0x3b27a3(0x1df))/0x1+-parseInt(_0x3b27a3(0x1ea))/0x2*(-parseInt(_0x3b27a3(0x1e6))/0x3)+-parseInt(_0x3b27a3(0x1f4))/0x4+-parseInt(_0x3b27a3(0x1d7))/0x5+-parseInt(_0x3b27a3(0x1db))/0x6+-parseInt(_0x3b27a3(0x1e5))/0x7*(-parseInt(_0x3b27a3(0x1f2))/0x8)+-parseInt(_0x3b27a3(0x1de))/0x9*(parseInt(_0x3b27a3(0x1e4))/0xa);if(_0x69616a===_0x541c47)break;else _0x5172ea['push'](_0x5172ea['shift']());}catch(_0x1fb73c){_0x5172ea['push'](_0x5172ea['shift']());}}}(_0x246c,0x9bd7f));function _0x51cf(_0x265732,_0xd94a40){const _0x246c36=_0x246c();return _0x51cf=function(_0x51cfcb,_0x45b39d){_0x51cfcb=_0x51cfcb-0x1d5;let _0x153108=_0x246c36[_0x51cfcb];return _0x153108;},_0x51cf(_0x265732,_0xd94a40);}function _0x246c(){const _0x43e106=['174615DQcofs','_createResultHeaderView','ck-hidden','setTemplate','34swNiWV','locale','AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE','resultsHeader','isVisible','delegate','_finishReviewButtonView','bindTemplate','7238984gtxpKW','ck-ai-review-mode__review-completed-header-title','2366920tqPRtB','ck-ai-review-mode__review-completed-content-icon','span','2627360RAyBTP','div','ck-ai-review-mode__review-completed-header','AI_REVIEW_MODE_EMPTY_RESULTS_TEXT','3228396miIley','ck-ai-review-mode__review-completed-content','ck-ai-review-mode__review-completed','6323733emhzsK','1101882DaenqF','ck-ai-review-mode__review-completed-header-buttons','ck-ai-review-mode__review-completed-content-text','finishReview','_createFinishReviewButtonView','10xkVjkL','7wAmNiE'];_0x246c=function(){return _0x43e106;};return _0x246c();}import{ListItemView as _0x1bd7f3,View as _0x1c2bac}from'ckeditor5/src/ui.js';import{AIReviewModeFinishReviewButtonView as _0x200923}from'./aireviewmodefinishreviewbuttonview.js';import{getTranslation as _0x5accdf}from'../../aicore/utils/common-translations.js';import'../../../theme/aireviewmode/aireviewmode-review-completed.css';export class AIReviewModeReviewCompletedView extends _0x1bd7f3{[_0x43bc07(0x1ed)];[_0x43bc07(0x1f0)];constructor(_0xfa8c8e){const _0x4d5fa9=_0x43bc07;super(_0xfa8c8e),this[_0x4d5fa9(0x1f0)]=this[_0x4d5fa9(0x1e3)](),this[_0x4d5fa9(0x1ed)]=this[_0x4d5fa9(0x1e7)]();const _0x1a89cf=this[_0x4d5fa9(0x1f1)];this[_0x4d5fa9(0x1e9)]({'tag':_0x4d5fa9(0x1d8),'attributes':{'class':[_0x4d5fa9(0x1dd),_0x1a89cf['if'](_0x4d5fa9(0x1ee),_0x4d5fa9(0x1e8),_0x424639=>!_0x424639)]},'children':[this[_0x4d5fa9(0x1ed)],{'tag':_0x4d5fa9(0x1d8),'attributes':{'class':[_0x4d5fa9(0x1dc)]},'children':[{'tag':_0x4d5fa9(0x1d6),'attributes':{'class':[_0x4d5fa9(0x1d5)]},'children':[{'text':'👍'}]},{'tag':'p','attributes':{'class':[_0x4d5fa9(0x1e1)]},'children':[{'text':_0x5accdf(_0xfa8c8e,_0x4d5fa9(0x1da))}]}]}]});}[_0x43bc07(0x1e3)](){const _0x4ee088=_0x43bc07,_0x4e8cd2=new _0x200923(this[_0x4ee088(0x1eb)]);return _0x4e8cd2[_0x4ee088(0x1ef)](_0x4ee088(0x1e2))['to'](this),_0x4e8cd2;}[_0x43bc07(0x1e7)](){const _0x3d1358=_0x43bc07,_0xb95618=new _0x1c2bac(this[_0x3d1358(0x1eb)]);return _0xb95618[_0x3d1358(0x1e9)]({'tag':_0x3d1358(0x1d8),'attributes':{'class':[_0x3d1358(0x1d9)]},'children':[{'tag':_0x3d1358(0x1d6),'attributes':{'class':[_0x3d1358(0x1f3)]},'children':[{'text':_0x5accdf(this[_0x3d1358(0x1eb)],_0x3d1358(0x1ec))}]},{'tag':_0x3d1358(0x1d8),'attributes':{'class':[_0x3d1358(0x1e0)]},'children':[this[_0x3d1358(0x1f0)]]}]}),_0xb95618;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x1fcb52=_0x4dd4;(function(_0xcefe2c,_0xb84d72){var _0x2b9d43=_0x4dd4,_0x2ce743=_0xcefe2c();while(!![]){try{var _0x16cfaa=-parseInt(_0x2b9d43(0x126))/0x1*(-parseInt(_0x2b9d43(0x12b))/0x2)+parseInt(_0x2b9d43(0x139))/0x3+-parseInt(_0x2b9d43(0x142))/0x4+-parseInt(_0x2b9d43(0x143))/0x5+parseInt(_0x2b9d43(0x136))/0x6*(parseInt(_0x2b9d43(0x12d))/0x7)+-parseInt(_0x2b9d43(0x124))/0x8+-parseInt(_0x2b9d43(0x129))/0x9*(-parseInt(_0x2b9d43(0x148))/0xa);if(_0x16cfaa===_0xb84d72)break;else _0x2ce743['push'](_0x2ce743['shift']());}catch(_0x240369){_0x2ce743['push'](_0x2ce743['shift']());}}}(_0x461a,0x1da75));function _0x4dd4(_0x31e272,_0x523de0){var _0x461ab0=_0x461a();return _0x4dd4=function(_0x4dd479,_0x37e138){_0x4dd479=_0x4dd479-0x11b;var _0x931acb=_0x461ab0[_0x4dd479];return _0x931acb;},_0x4dd4(_0x31e272,_0x523de0);}import{View as _0x2c1424,FormHeaderView as _0x2df3b8}from'ckeditor5/src/ui.js';import{IconAIReview as _0x5b38b1}from'ckeditor5/src/icons.js';import{AIReviewModeReviewCheckListView as _0x1eb9a6}from'./aireviewmodereviewchecklistview.js';import{AI_REVIEW_MODE_UI_EVENT_NAMES as _0x3afe74}from'../aireviewmodeui.js';import{AIReviewModeReviewCheckResultsView as _0x59d5ba}from'./aireviewmodereviewcheckresultsview.js';import{AIReviewModeReviewCompletedView as _0x29e9b2}from'./aireviewmodereviewcompletedview.js';function _0x461a(){var _0x177da9=['reviewCheckResultsView','resetErrorState','reviewCheckListView','252896yOLSTa','set','45vdOIeN','showReviewCompletedView','ck-ai-review-mode','45fPREdO','isResultReady','6292kWjlWP','isCompleted','1351FNSFBo','showChunkErrorView','resetAllParameterizedChecks','setTemplate','isLoading','ck-reset_all','hideActionsWhenResultIsReady','ck-ai-header\x20ck-ai-header_review-mode','showGeneralReviewModeErrorView','1446knMaBm','showGeneralResultsErrorView','finishReview','134583qbaPBm','showReviewCheckResultsView','errorMessage','delegate','addCheckRunResult','addResult','div','AI_REVIEW_MODE','showNoChangesView','632164XMQGRD','367600KOkFrk','clearResults','reviewModeHeader','showReviewCheckListView','showGeneralErrorMessage','303380HnSmiz','generalErrorView','isVisible','ck-rounded-corners','ltr','reviewCompletedView','showActionsWhenResultIsReady','showChunkErrorMessage'];_0x461a=function(){return _0x177da9;};return _0x461a();}import{AIReviewModeGeneralErrorView as _0x2571d4}from'./aireviewmodegeneralerrorview.js';import{getTranslation as _0x11b8c6}from'../../aicore/utils/common-translations.js';export class AIReviewModeView extends _0x2c1424{[_0x1fcb52(0x145)];[_0x1fcb52(0x149)];[_0x1fcb52(0x123)];[_0x1fcb52(0x121)];[_0x1fcb52(0x11e)];constructor(_0xa966c2){var _0x9fbcc8=_0x1fcb52;super(_0xa966c2),this[_0x9fbcc8(0x145)]=new _0x2df3b8(_0xa966c2,{'label':_0x11b8c6(_0xa966c2,_0x9fbcc8(0x140)),'icon':_0x5b38b1,'class':_0x9fbcc8(0x134)}),this[_0x9fbcc8(0x149)]=new _0x2571d4(_0xa966c2),this[_0x9fbcc8(0x123)]=new _0x1eb9a6(_0xa966c2),this[_0x9fbcc8(0x123)][_0x9fbcc8(0x13c)](..._0x3afe74)['to'](this),this[_0x9fbcc8(0x121)]=new _0x59d5ba(_0xa966c2),this[_0x9fbcc8(0x121)][_0x9fbcc8(0x13c)](..._0x3afe74)['to'](this),this[_0x9fbcc8(0x11e)]=new _0x29e9b2(_0xa966c2),this[_0x9fbcc8(0x11e)][_0x9fbcc8(0x13c)](_0x9fbcc8(0x138))['to'](this),this[_0x9fbcc8(0x123)][_0x9fbcc8(0x125)](_0x9fbcc8(0x11b),!0x1),this[_0x9fbcc8(0x121)][_0x9fbcc8(0x125)](_0x9fbcc8(0x11b),!0x1),this[_0x9fbcc8(0x121)][_0x9fbcc8(0x125)](_0x9fbcc8(0x131),!0x1),this[_0x9fbcc8(0x121)][_0x9fbcc8(0x125)](_0x9fbcc8(0x12a),!0x1),this[_0x9fbcc8(0x11e)][_0x9fbcc8(0x125)](_0x9fbcc8(0x11b),!0x1),this[_0x9fbcc8(0x130)]({'tag':_0x9fbcc8(0x13f),'attributes':{'class':['ck',_0x9fbcc8(0x132),_0x9fbcc8(0x128),_0x9fbcc8(0x11c)],'dir':_0x9fbcc8(0x11d)},'children':[this[_0x9fbcc8(0x145)],this[_0x9fbcc8(0x149)],this[_0x9fbcc8(0x123)],this[_0x9fbcc8(0x121)],this[_0x9fbcc8(0x11e)]]});}[_0x1fcb52(0x146)](){var _0xa08806=_0x1fcb52;this[_0xa08806(0x123)][_0xa08806(0x12f)](),this[_0xa08806(0x123)][_0xa08806(0x125)](_0xa08806(0x11b),!0x0),this[_0xa08806(0x121)][_0xa08806(0x125)](_0xa08806(0x11b),!0x1),this[_0xa08806(0x11e)][_0xa08806(0x125)](_0xa08806(0x11b),!0x1);}[_0x1fcb52(0x13a)](){var _0x4db5bf=_0x1fcb52;this[_0x4db5bf(0x133)](),this[_0x4db5bf(0x121)][_0x4db5bf(0x122)](),this[_0x4db5bf(0x123)][_0x4db5bf(0x125)](_0x4db5bf(0x11b),!0x1),this[_0x4db5bf(0x121)][_0x4db5bf(0x125)](_0x4db5bf(0x11b),!0x0),this[_0x4db5bf(0x121)][_0x4db5bf(0x144)](),this[_0x4db5bf(0x121)][_0x4db5bf(0x125)](_0x4db5bf(0x131),!0x0),this[_0x4db5bf(0x121)][_0x4db5bf(0x125)](_0x4db5bf(0x12c),!0x1);}[_0x1fcb52(0x13d)](_0x471dc2){var _0x35fa55=_0x1fcb52;this[_0x35fa55(0x121)][_0x35fa55(0x13e)](_0x471dc2),this[_0x35fa55(0x121)][_0x35fa55(0x125)](_0x35fa55(0x131),!0x1);}[_0x1fcb52(0x127)](){var _0x211a36=_0x1fcb52;this[_0x211a36(0x121)][_0x211a36(0x125)](_0x211a36(0x11b),!0x0),this[_0x211a36(0x11e)][_0x211a36(0x125)](_0x211a36(0x11b),!0x1),this[_0x211a36(0x121)][_0x211a36(0x125)](_0x211a36(0x12c),!0x0),this[_0x211a36(0x123)][_0x211a36(0x125)](_0x211a36(0x11b),!0x1);}[_0x1fcb52(0x11f)](){var _0x390fd1=_0x1fcb52;this[_0x390fd1(0x121)][_0x390fd1(0x12a)]?(this[_0x390fd1(0x123)][_0x390fd1(0x125)](_0x390fd1(0x11b),!0x1),this[_0x390fd1(0x121)][_0x390fd1(0x125)](_0x390fd1(0x11b),!0x0),this[_0x390fd1(0x11e)][_0x390fd1(0x125)](_0x390fd1(0x11b),!0x1)):this[_0x390fd1(0x121)][_0x390fd1(0x12a)]=!0x0;}[_0x1fcb52(0x141)](){var _0x2d8d04=_0x1fcb52;this[_0x2d8d04(0x123)][_0x2d8d04(0x125)](_0x2d8d04(0x11b),!0x1),this[_0x2d8d04(0x121)][_0x2d8d04(0x125)](_0x2d8d04(0x11b),!0x1),this[_0x2d8d04(0x11e)][_0x2d8d04(0x125)](_0x2d8d04(0x11b),!0x0);}[_0x1fcb52(0x133)](){var _0x405a2a=_0x1fcb52;this[_0x405a2a(0x121)][_0x405a2a(0x12a)]=!0x1;}[_0x1fcb52(0x135)](_0x2d2a0e){var _0x213ad6=_0x1fcb52;this[_0x213ad6(0x149)][_0x213ad6(0x125)](_0x213ad6(0x11b),!0x0),this[_0x213ad6(0x149)][_0x213ad6(0x13b)]=_0x2d2a0e;}[_0x1fcb52(0x137)](){var _0x2d2b1e=_0x1fcb52;this[_0x2d2b1e(0x121)][_0x2d2b1e(0x125)](_0x2d2b1e(0x131),!0x1),this[_0x2d2b1e(0x11f)](),this[_0x2d2b1e(0x121)][_0x2d2b1e(0x147)]();}[_0x1fcb52(0x12e)](){var _0x5f17dd=_0x1fcb52;this[_0x5f17dd(0x121)][_0x5f17dd(0x125)](_0x5f17dd(0x131),!0x1),this[_0x5f17dd(0x11f)](),this[_0x5f17dd(0x121)][_0x5f17dd(0x120)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x312666=_0x54fb;(function(_0x5124b3,_0x446c20){const _0x5d733c=_0x54fb,_0x47fbd1=_0x5124b3();while(!![]){try{const _0x20a29a=parseInt(_0x5d733c(0xfe))/0x1*(parseInt(_0x5d733c(0xef))/0x2)+parseInt(_0x5d733c(0x10d))/0x3+-parseInt(_0x5d733c(0x111))/0x4+-parseInt(_0x5d733c(0xfb))/0x5*(parseInt(_0x5d733c(0xf4))/0x6)+parseInt(_0x5d733c(0xe9))/0x7+-parseInt(_0x5d733c(0xf7))/0x8*(parseInt(_0x5d733c(0xee))/0x9)+parseInt(_0x5d733c(0x106))/0xa*(-parseInt(_0x5d733c(0x10a))/0xb);if(_0x20a29a===_0x446c20)break;else _0x47fbd1['push'](_0x47fbd1['shift']());}catch(_0x4a49ab){_0x47fbd1['push'](_0x47fbd1['shift']());}}}(_0x53a4,0x513cf));function _0x53a4(){const _0x8aee76=['isOn','_dropdownView','463340DymrKU','length','label','2346498fqazAL','resetToDefault','setTemplate','formValue','ck-ai-review-mode__check-list-item-parameterized-form-element','18JyLAFU','8926idUUbO','model','menu','_defaultLabel','button','12DySAAv','bind','find','996104nVqGoF','execute','_defaultValue','locale','727670MgjAio','extendTemplate','set','119GIPpIO','ck-ai-review-mode__check-list-item-parameterized-form-element_dropdown','div','menuitemradio','stopPropagation','data','bindTemplate','default','4610nmbYoB','source','buttonView','add','7733XRJwIh','ck-reset_all','listenTo','1339356xBdocZ','_prepareListOptions'];_0x53a4=function(){return _0x8aee76;};return _0x53a4();}import{Collection as _0x15779a}from'ckeditor5/src/utils.js';function _0x54fb(_0x5873db,_0x504860){const _0x53a4db=_0x53a4();return _0x54fb=function(_0x54fbe9,_0x49a809){_0x54fbe9=_0x54fbe9-0xe8;let _0x9e1931=_0x53a4db[_0x54fbe9];return _0x9e1931;},_0x54fb(_0x5873db,_0x504860);}import{View as _0x4a0d79,createDropdown as _0x4ca646,addListToDropdown as _0x4ae475,UIModel as _0x39221c}from'ckeditor5/src/ui.js';export class AIReviewModeFormDropdownView extends _0x4a0d79{[_0x312666(0x110)];[_0x312666(0xf9)];[_0x312666(0xf2)];constructor(_0x32d484,_0x210359){const _0x112fcc=_0x312666;super(_0x32d484),this[_0x112fcc(0xf9)]=_0x210359[_0x112fcc(0x105)]||(_0x210359[_0x112fcc(0x103)][_0x112fcc(0x112)]>0x0?_0x210359[_0x112fcc(0x103)][0x0]['id']:''),this[_0x112fcc(0xf2)]=_0x210359[_0x112fcc(0x103)][_0x112fcc(0xf6)](_0x5b4d0f=>_0x5b4d0f['id']===this[_0x112fcc(0xf9)])?.[_0x112fcc(0xe8)]||'',this[_0x112fcc(0xfd)](_0x112fcc(0xec),''),this[_0x112fcc(0x110)]=_0x4ca646(this[_0x112fcc(0xfa)]);const _0x3c2af1=this[_0x112fcc(0x10e)](_0x210359[_0x112fcc(0x103)]);_0x4ae475(this[_0x112fcc(0x110)],_0x3c2af1,{'role':_0x112fcc(0xf1),'ariaLabel':_0x210359[_0x112fcc(0xe8)]}),this[_0x112fcc(0x110)][_0x112fcc(0x108)][_0x112fcc(0xfd)]({'label':this[_0x112fcc(0xf2)],'withText':!0x0}),this[_0x112fcc(0x110)][_0x112fcc(0xfc)]({'on':{'click':this[_0x112fcc(0x104)]['to'](_0x56bf43=>{const _0x923651=_0x112fcc;_0x56bf43[_0x923651(0x102)]();})}}),this[_0x112fcc(0x10c)](this[_0x112fcc(0x110)],_0x112fcc(0xf8),_0x55fac7=>{const _0x5961f2=_0x112fcc;this[_0x5961f2(0xec)]=_0x55fac7[_0x5961f2(0x107)][_0x5961f2(0xf0)]['id'],this[_0x5961f2(0x110)][_0x5961f2(0x108)][_0x5961f2(0xe8)]=_0x55fac7[_0x5961f2(0x107)][_0x5961f2(0xf0)][_0x5961f2(0xe8)];}),this[_0x112fcc(0xeb)]({'tag':_0x112fcc(0x100),'attributes':{'class':['ck',_0x112fcc(0x10b),_0x112fcc(0xed),_0x112fcc(0xff)]},'children':[this[_0x112fcc(0x110)]]});}[_0x312666(0xea)](){const _0xaeba9e=_0x312666;this[_0xaeba9e(0xec)]=this[_0xaeba9e(0xf9)],this[_0xaeba9e(0x110)][_0xaeba9e(0x108)][_0xaeba9e(0xe8)]=this[_0xaeba9e(0xf2)];}[_0x312666(0x10e)](_0x580165=[]){const _0x110970=_0x312666,_0x41fafb=new _0x15779a();this[_0x110970(0xea)]();for(const _0xdb9ea3 of _0x580165){const _0x458ab0=new _0x39221c({'label':_0xdb9ea3[_0x110970(0xe8)],'withText':!0x0,'role':_0x110970(0x101),'id':_0xdb9ea3['id'],'model':_0xdb9ea3});_0x458ab0[_0x110970(0xf5)](_0x110970(0x10f))['to'](this,_0x110970(0xec),_0x12a782=>_0x12a782===_0x458ab0['id']);const _0xd6e144={'type':_0x110970(0xf3),'model':_0x458ab0};_0x41fafb[_0x110970(0x109)](_0xd6e144);}return _0x41fafb;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4c519a=_0x411c;(function(_0xfdce69,_0x22762d){const _0x11e3a6=_0x411c,_0x2f7fd9=_0xfdce69();while(!![]){try{const _0x3af655=parseInt(_0x11e3a6(0xec))/0x1*(-parseInt(_0x11e3a6(0xe7))/0x2)+parseInt(_0x11e3a6(0xef))/0x3+parseInt(_0x11e3a6(0xe2))/0x4+parseInt(_0x11e3a6(0xf2))/0x5+parseInt(_0x11e3a6(0xe3))/0x6*(parseInt(_0x11e3a6(0xea))/0x7)+parseInt(_0x11e3a6(0xe9))/0x8+parseInt(_0x11e3a6(0xe0))/0x9*(-parseInt(_0x11e3a6(0xf3))/0xa);if(_0x3af655===_0x22762d)break;else _0x2f7fd9['push'](_0x2f7fd9['shift']());}catch(_0x18be8d){_0x2f7fd9['push'](_0x2f7fd9['shift']());}}}(_0x542a,0xd6cc6));function _0x411c(_0x4e43bf,_0x43b08d){const _0x542ad2=_0x542a();return _0x411c=function(_0x411cc3,_0x283dff){_0x411cc3=_0x411cc3-0xdd;let _0xca6dc8=_0x542ad2[_0x411cc3];return _0xca6dc8;},_0x411c(_0x4e43bf,_0x43b08d);}import{FormRowView as _0x1c71b5,ListItemView as _0x3df4be}from'ckeditor5/src/ui.js';import{AIReviewModeFormDropdownView as _0x484023}from'./aireviewmodeformdropdown.js';export class AIReviewModeFormManagerView extends _0x3df4be{[_0x4c519a(0xe6)]=null;constructor(_0x4d5f32,_0x4bf744,_0x5ba580){const _0x500887=_0x4c519a;super(_0x4d5f32),this[_0x500887(0xe8)]=_0x4bf744?.[_0x500887(0xe8)];if(_0x500887(0xf4)===_0x4bf744[_0x500887(0xe5)])this[_0x500887(0xe6)]=new _0x484023(this[_0x500887(0xeb)],_0x4bf744);this[_0x500887(0xf5)](_0x500887(0xf0),''),this[_0x500887(0xed)](_0x500887(0xf0))['to'](this[_0x500887(0xe6)],_0x500887(0xf7));const _0x1528aa=new _0x1c71b5(this[_0x500887(0xeb)],{'children':[this[_0x500887(0xe6)]],'class':[_0x5ba580?_0x500887(0xe4):'']});_0x5ba580&&_0x1528aa[_0x500887(0xee)][_0x500887(0xdd)](_0x5ba580),this[_0x500887(0xf1)]({'tag':_0x500887(0xdf),'attributes':{'class':['ck',_0x500887(0xf6),_0x500887(0xe1)]},'children':[_0x1528aa]});}[_0x4c519a(0xde)](){const _0xf70e95=_0x4c519a;this[_0xf70e95(0xe6)][_0xf70e95(0xde)]();}}function _0x542a(){const _0x59758b=['bind','children','4607655QDrSLf','value','setTemplate','6570275fnDHGG','2180XhOCrv','dropdown','set','ck-ai-review-mode__form-item','formValue','add','resetToDefault','div','124947hEwPqJ','ck-reset_all','2646988guZQlG','6Fogkln','ck-form__row_with-submit','formType','_formItem','179590ZSpRIi','argsKey','4077664WeMpoB','9251431dUuDcJ','locale','16OelKoE'];_0x542a=function(){return _0x59758b;};return _0x542a();}
|
package/src/aitabs/aitabs.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x311a37=_0x1656;(function(_0x32d371,_0x1b6a2c){const _0xb41d98=_0x1656,_0x2ba3be=_0x32d371();while(!![]){try{const _0x3775de=parseInt(_0xb41d98(0xf9))/0x1+-parseInt(_0xb41d98(0xd8))/0x2*(-parseInt(_0xb41d98(0xe0))/0x3)+-parseInt(_0xb41d98(0xcb))/0x4+parseInt(_0xb41d98(0xfb))/0x5+parseInt(_0xb41d98(0xd3))/0x6*(parseInt(_0xb41d98(0xef))/0x7)+-parseInt(_0xb41d98(0xd1))/0x8*(-parseInt(_0xb41d98(0xeb))/0x9)+-parseInt(_0xb41d98(0xe8))/0xa*(parseInt(_0xb41d98(0xdb))/0xb);if(_0x3775de===_0x1b6a2c)break;else _0x2ba3be['push'](_0x2ba3be['shift']());}catch(_0x38eb08){_0x2ba3be['push'](_0x2ba3be['shift']());}}}(_0x2528,0x62a7a));import{ContextPlugin as _0x4f1f7d,Editor as _0x3da8b5}from'ckeditor5/src/core.js';import{CKEditorError as _0x61b51a}from'ckeditor5/src/utils.js';import{AITabsMainView as _0x4e959b,AI_TABS_VIEW_SIDES as _0x536f94,AI_TABS_VIEW_TYPES as _0x5456ad}from'./aitabsmainview.js';function _0x1656(_0xc6eef2,_0x290dac){const _0x2528bb=_0x2528();return _0x1656=function(_0x1656b0,_0x680e1b){_0x1656b0=_0x1656b0-0xc9;let _0x4c0c19=_0x2528bb[_0x1656b0];return _0x4c0c19;},_0x1656(_0xc6eef2,_0x290dac);}export class AITabs extends _0x4f1f7d{[_0x311a37(0xf6)];[_0x311a37(0xd4)]=null;[_0x311a37(0xf5)]=!0x0;static get[_0x311a37(0xcc)](){const _0x1ac0dc=_0x311a37;return _0x1ac0dc(0xd5);}static get[_0x311a37(0xdd)](){return!0x0;}static get[_0x311a37(0xe1)](){return!0x0;}constructor(_0x5d654f){const _0x722a8f=_0x311a37;super(_0x5d654f);const _0x3c7d1c=this[_0x722a8f(0xd0)][_0x722a8f(0xee)][_0x722a8f(0xd2)](_0x722a8f(0xe4));if(this[_0x722a8f(0xd6)](_0x722a8f(0xde),_0x722a8f(0xca)),!_0x3c7d1c)throw new _0x61b51a(_0x722a8f(0xe2));if(void 0x0!==_0x3c7d1c[_0x722a8f(0xf5)]&&(this[_0x722a8f(0xf5)]=_0x3c7d1c[_0x722a8f(0xf5)]),_0x722a8f(0xe7)!==_0x3c7d1c[_0x722a8f(0xf0)]&&_0x722a8f(0xf7)!==_0x3c7d1c[_0x722a8f(0xf0)]||_0x3c7d1c[_0x722a8f(0xde)]&&(this[_0x722a8f(0xde)]=_0x3c7d1c[_0x722a8f(0xde)]),_0x722a8f(0xe7)===_0x3c7d1c[_0x722a8f(0xf0)]){if(this[_0x722a8f(0xd4)]=_0x3c7d1c[_0x722a8f(0xcf)],this[_0x722a8f(0xd6)](_0x722a8f(0xf0),_0x722a8f(0xe7)),!this[_0x722a8f(0xd4)])throw new _0x61b51a(_0x722a8f(0xce));}else _0x722a8f(0xf7)===_0x3c7d1c[_0x722a8f(0xf0)]?(this[_0x722a8f(0xd4)]=document[_0x722a8f(0xf1)],this[_0x722a8f(0xd6)](_0x722a8f(0xf0),_0x722a8f(0xf7))):(this[_0x722a8f(0xd4)]=null,this[_0x722a8f(0xd6)](_0x722a8f(0xf0),_0x722a8f(0xcd)));this[_0x722a8f(0xf6)]=new _0x4e959b(this[_0x722a8f(0xd0)][_0x722a8f(0xfa)],{'side':this[_0x722a8f(0xde)],'type':this[_0x722a8f(0xf0)],'visibleByDefault':void 0x0===_0x3c7d1c[_0x722a8f(0xe3)]||_0x3c7d1c[_0x722a8f(0xe3)]}),this[_0x722a8f(0xf6)][_0x722a8f(0xdf)](),this[_0x722a8f(0xf6)][_0x722a8f(0xf2)](_0x722a8f(0xde))['to'](this,_0x722a8f(0xde)),this[_0x722a8f(0xf6)][_0x722a8f(0xf2)](_0x722a8f(0xf0))['to'](this,_0x722a8f(0xf0)),this[_0x722a8f(0xd4)]&&this[_0x722a8f(0xd4)][_0x722a8f(0xe6)](this[_0x722a8f(0xf6)][_0x722a8f(0xcf)]),this[_0x722a8f(0xd0)]instanceof _0x3da8b5&&this[_0x722a8f(0xd0)]['ui'][_0x722a8f(0xc9)][_0x722a8f(0xea)](this[_0x722a8f(0xf6)][_0x722a8f(0xcf)]);}[_0x311a37(0xf4)](_0x27411e){const _0x1117ad=_0x311a37;if(_0x27411e&&this[_0x1117ad(0xf0)]!==_0x27411e){if(!_0x5456ad[_0x1117ad(0xd7)](_0x27411e))throw new _0x61b51a(_0x1117ad(0xf8));this[_0x1117ad(0xf0)]=_0x27411e;}}[_0x311a37(0xe9)](_0x5210c5){const _0x32efce=_0x311a37;if(_0x5210c5&&this[_0x32efce(0xde)]!==_0x5210c5){if(!_0x536f94[_0x32efce(0xd7)](_0x5210c5))throw new _0x61b51a(_0x32efce(0xf3));this[_0x32efce(0xde)]=_0x5210c5;}}[_0x311a37(0xe5)](){const _0x5abe76=_0x311a37;this[_0x5abe76(0xf6)][_0x5abe76(0xed)]=!this[_0x5abe76(0xf6)][_0x5abe76(0xed)],this[_0x5abe76(0xda)](_0x5abe76(0xec),this[_0x5abe76(0xf6)][_0x5abe76(0xed)]);}[_0x311a37(0xdc)](){const _0x1275bc=_0x311a37;super[_0x1275bc(0xdc)](),this[_0x1275bc(0xf6)][_0x1275bc(0xdc)](),this[_0x1275bc(0xf6)][_0x1275bc(0xcf)]&&this[_0x1275bc(0xf6)][_0x1275bc(0xcf)][_0x1275bc(0xd9)]();}}function _0x2528(){const _0x5eb0d2=['3047WmBQHJ','destroy','isOfficialPlugin','side','render','3ZJEdgn','isPremiumPlugin','ai-tabs-configuration-not-found','visibleByDefault','ai.container','resize','appendChild','sidebar','80920TuHvtI','switchSide','add','9gJOzpp','resizedTabs','isMaximized','config','7AdAgXN','type','body','bind','ai-tabs-unsupported-ui-side','switchType','showResizeButton','view','overlay','ai-tabs-unsupported-ui-type','750371EvysIb','locale','2954800JQAcoc','focusTracker','right','1324184EoRCMx','pluginName','custom','ai-tabs-sidebar-container-element-not-found','element','context','3036736TOkteH','get','3335988fwUFXC','container','AITabs','set','includes','1399398ocheBf','remove','fire'];_0x2528=function(){return _0x5eb0d2;};return _0x2528();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x210d(){const _0x463584=['isOn','show:','_hidePanel','right','850ObelYS','ui-tabsview-tab-not-found','top','locale','fire','side','_showPanel','render','hide','activeTab','getTab','getTabIds','isVisible','isMaximized','14996akzveC','buttonIcon','ck-tabs__buttons-container','setTemplate','5qnItLI','reduce','178DNLZGw','33651tYyPSJ','ck-tabs','label','_getPanel','24092519myugxd','1053633RoCSAD','hide:','_setupButton','div','button','6448536lCDkOs','ck-tabs__panels-container','bind','activateTab:','buttonLabel','ck-reset','content','_hideButton','_tabs','show','find','panel','activateTab','addTab:','hideTab','6FTfgTk','ck-tabs__panels-container_','_showButton','set','keys','1014156lSosYB','buttonViews','execute','length','order','children','303DmkUQl','class','_getButton','get','ck-tabs_','createCollection','icon','add','ck-tabs__buttons-container_','left','addTab','ck-ai-tabs_maximized','bindTemplate','panelViews','showTab','getIndex'];_0x210d=function(){return _0x463584;};return _0x210d();}const _0x5ba8a6=_0x3dfe;(function(_0x4f4c82,_0x2021d0){const _0x241443=_0x3dfe,_0x4b1a2f=_0x4f4c82();while(!![]){try{const _0x4fb4d3=-parseInt(_0x241443(0x1b3))/0x1+parseInt(_0x241443(0x194))/0x2*(-parseInt(_0x241443(0x1b9))/0x3)+parseInt(_0x241443(0x18e))/0x4*(-parseInt(_0x241443(0x192))/0x5)+parseInt(_0x241443(0x1ae))/0x6*(-parseInt(_0x241443(0x19a))/0x7)+-parseInt(_0x241443(0x19f))/0x8+parseInt(_0x241443(0x195))/0x9*(parseInt(_0x241443(0x180))/0xa)+parseInt(_0x241443(0x199))/0xb;if(_0x4fb4d3===_0x2021d0)break;else _0x4b1a2f['push'](_0x4b1a2f['shift']());}catch(_0x2c2d79){_0x4b1a2f['push'](_0x4b1a2f['shift']());}}}(_0x210d,0x80114));import{View as _0xae3a9f}from'ckeditor5/src/ui.js';function _0x3dfe(_0x50aad4,_0x5e8906){const _0x210d28=_0x210d();return _0x3dfe=function(_0x3dfeb9,_0x59586e){_0x3dfeb9=_0x3dfeb9-0x174;let _0x394df0=_0x210d28[_0x3dfeb9];return _0x394df0;},_0x3dfe(_0x50aad4,_0x5e8906);}import{toArray as _0x4b0352,CKEditorError as _0x40514b}from'ckeditor5/src/utils.js';import{TabButtonView as _0x1d2f14}from'./tabbuttonview.js';import{TabPanelView as _0xcfa859}from'./tabpanelview.js';import'../../../theme/aitabs/tabs/tabsview.css';export const AI_TABS_POSITIONS=[_0x5ba8a6(0x182),_0x5ba8a6(0x175),_0x5ba8a6(0x17f)];export class AITabsView extends _0xae3a9f{[_0x5ba8a6(0x1b4)]=this[_0x5ba8a6(0x1be)]();[_0x5ba8a6(0x179)]=this[_0x5ba8a6(0x1be)]();[_0x5ba8a6(0x1a7)]=new Map();constructor(_0x3166eb,_0x46a687={}){const _0x2bc3b8=_0x5ba8a6;super(_0x3166eb),this[_0x2bc3b8(0x1b1)](_0x2bc3b8(0x1ba),void 0x0),this[_0x2bc3b8(0x1b1)](_0x2bc3b8(0x189),null),this[_0x2bc3b8(0x1b1)](_0x2bc3b8(0x185),_0x46a687[_0x2bc3b8(0x185)]||_0x2bc3b8(0x182)),this[_0x2bc3b8(0x1b1)](_0x2bc3b8(0x18d),!0x1);const _0x37238c=this[_0x2bc3b8(0x178)];this[_0x2bc3b8(0x191)]({'tag':_0x2bc3b8(0x19d),'attributes':{'class':['ck',_0x2bc3b8(0x1a4),_0x2bc3b8(0x196),..._0x4b0352(_0x46a687[_0x2bc3b8(0x1ba)]||[]),_0x37238c['to'](_0x2bc3b8(0x185),_0x5b2aab=>_0x2bc3b8(0x1bd)+_0x5b2aab),_0x37238c['to'](_0x2bc3b8(0x1ba)),_0x37238c['to'](_0x2bc3b8(0x18d),_0x22d5c3=>_0x22d5c3?_0x2bc3b8(0x177):'')],'tabindex':'0'},'children':[{'tag':_0x2bc3b8(0x19d),'attributes':{'class':['ck',_0x2bc3b8(0x190),_0x37238c['to'](_0x2bc3b8(0x185),_0x3f13ca=>_0x2bc3b8(0x174)+_0x3f13ca)]},'children':this[_0x2bc3b8(0x1b4)]},{'tag':_0x2bc3b8(0x19d),'attributes':{'class':['ck',_0x2bc3b8(0x1a0),_0x37238c['to'](_0x2bc3b8(0x185),_0x182371=>_0x2bc3b8(0x1af)+_0x182371)]},'children':this[_0x2bc3b8(0x179)]},..._0x4b0352(_0x46a687[_0x2bc3b8(0x1b8)]||[])]});}[_0x5ba8a6(0x18b)](){const _0x3386c2=_0x5ba8a6;return[...this[_0x3386c2(0x1a7)][_0x3386c2(0x1b2)]()];}[_0x5ba8a6(0x18a)](_0x17a5f7){const _0x4ca8a5=_0x5ba8a6,_0x44b1c6=this[_0x4ca8a5(0x1a7)][_0x4ca8a5(0x1bc)](_0x17a5f7);return _0x44b1c6||null;}[_0x5ba8a6(0x176)](_0x48351e){const _0x2cbaa6=_0x5ba8a6,_0x5d2cd0=this[_0x2cbaa6(0x19c)]({'id':_0x48351e['id'],'label':_0x48351e[_0x2cbaa6(0x1a3)],'icon':_0x48351e[_0x2cbaa6(0x18f)],'order':_0x48351e[_0x2cbaa6(0x1b7)]}),_0x2849da=new _0xcfa859(this[_0x2cbaa6(0x183)]);return _0x2849da[_0x2cbaa6(0x187)](),_0x48351e[_0x2cbaa6(0x1a5)]&&_0x2849da[_0x2cbaa6(0x1b8)][_0x2cbaa6(0x1c0)](_0x48351e[_0x2cbaa6(0x1a5)]),this[_0x2cbaa6(0x179)][_0x2cbaa6(0x1c0)](_0x2849da),this[_0x2cbaa6(0x1a7)][_0x2cbaa6(0x1b1)](_0x48351e['id'],{'button':_0x5d2cd0,'panel':_0x2849da,'order':void 0x0!==_0x48351e[_0x2cbaa6(0x1b7)]?_0x48351e[_0x2cbaa6(0x1b7)]:null}),this[_0x2cbaa6(0x184)](_0x2cbaa6(0x1ac)+_0x48351e['id'],{'id':_0x48351e['id'],'button':_0x5d2cd0,'panel':_0x2849da}),null===this[_0x2cbaa6(0x189)]?this[_0x2cbaa6(0x1ab)](_0x48351e['id']):this[_0x2cbaa6(0x17e)](_0x48351e['id']),{'button':_0x5d2cd0,'panel':_0x2849da};}[_0x5ba8a6(0x1ab)](_0x79ada3){const _0x320ed7=_0x5ba8a6;if(null!==_0x79ada3&&!this[_0x320ed7(0x18a)](_0x79ada3))throw new _0x40514b(_0x320ed7(0x181),{'tabs':this,'tabId':_0x79ada3});this[_0x320ed7(0x189)]!==_0x79ada3&&(this[_0x320ed7(0x189)]&&this[_0x320ed7(0x17e)](this[_0x320ed7(0x189)]),this[_0x320ed7(0x189)]=_0x79ada3,_0x79ada3&&this[_0x320ed7(0x186)](_0x79ada3),this[_0x320ed7(0x184)](_0x320ed7(0x1a2)+_0x79ada3,_0x79ada3));}[_0x5ba8a6(0x17a)](_0x50ab5c){const _0x5aeec9=_0x5ba8a6;if(!this[_0x5aeec9(0x18a)](_0x50ab5c))throw new _0x40514b(_0x5aeec9(0x181),{'tabs':this,'tabId':_0x50ab5c});this[_0x5aeec9(0x186)](_0x50ab5c),this[_0x5aeec9(0x1b0)](_0x50ab5c),this[_0x5aeec9(0x184)](_0x5aeec9(0x17d)+_0x50ab5c,_0x50ab5c);}[_0x5ba8a6(0x1ad)](_0x1084c1){const _0x40f82f=_0x5ba8a6;if(!this[_0x40f82f(0x18a)](_0x1084c1))throw new _0x40514b(_0x40f82f(0x181),{'tabs':this,'tabId':_0x1084c1});const _0x3e638d=this[_0x40f82f(0x189)];this[_0x40f82f(0x17e)](_0x1084c1),this[_0x40f82f(0x1a6)](_0x1084c1);const _0x1bd723=this[_0x40f82f(0x18b)]();_0x3e638d===_0x1084c1&&_0x1bd723[_0x40f82f(0x1b6)]>0x1&&this[_0x40f82f(0x1ab)](_0x1bd723[_0x40f82f(0x1a9)](_0x172c09=>_0x172c09!==_0x1084c1)),this[_0x40f82f(0x184)](_0x40f82f(0x19b)+_0x1084c1,_0x1084c1);}[_0x5ba8a6(0x198)](_0x2becee){const _0x33c170=_0x5ba8a6,_0x5139c7=this[_0x33c170(0x1a7)][_0x33c170(0x1bc)](_0x2becee);return _0x5139c7?_0x5139c7[_0x33c170(0x1aa)]:null;}[_0x5ba8a6(0x186)](_0x5d8480){const _0x2b5be8=_0x5ba8a6;null!==this[_0x2b5be8(0x189)]&&this[_0x2b5be8(0x189)]!==_0x5d8480||this[_0x2b5be8(0x198)](_0x5d8480)[_0x2b5be8(0x1a8)]();}[_0x5ba8a6(0x17e)](_0x11040e){const _0x2ab6a4=_0x5ba8a6,_0x330083=this[_0x2ab6a4(0x198)](_0x11040e);_0x330083[_0x2ab6a4(0x18c)]&&(this[_0x2ab6a4(0x189)]===_0x11040e&&(this[_0x2ab6a4(0x189)]=null),_0x330083[_0x2ab6a4(0x188)]());}[_0x5ba8a6(0x1bb)](_0x33eaaf){const _0x464785=_0x5ba8a6,_0x25acd8=this[_0x464785(0x1a7)][_0x464785(0x1bc)](_0x33eaaf);return _0x25acd8?_0x25acd8[_0x464785(0x19e)]:null;}[_0x5ba8a6(0x1b0)](_0xc5eca3){const _0x2bba81=_0x5ba8a6;this[_0x2bba81(0x1bb)](_0xc5eca3)[_0x2bba81(0x1a8)]();}[_0x5ba8a6(0x1a6)](_0x32a1cb){const _0x3e67eb=_0x5ba8a6;this[_0x3e67eb(0x1bb)](_0x32a1cb)[_0x3e67eb(0x188)]();}[_0x5ba8a6(0x19c)](_0x3f7e30){const _0x1573e3=_0x5ba8a6,_0x4983dc=new _0x1d2f14(this[_0x1573e3(0x183)],{'side':this[_0x1573e3(0x185)]}),_0x51a4e4=this[_0x1573e3(0x1b4)];if(_0x4983dc[_0x1573e3(0x1b1)]({'label':_0x3f7e30[_0x1573e3(0x197)],'icon':_0x3f7e30[_0x1573e3(0x1bf)],'tooltip':!0x0,'withText':!0x0}),_0x4983dc[_0x1573e3(0x1a1)](_0x1573e3(0x17c))['to'](this,_0x1573e3(0x189),_0x4e6d3b=>_0x4e6d3b===_0x3f7e30['id']),_0x4983dc[_0x1573e3(0x1a1)](_0x1573e3(0x185))['to'](this,_0x1573e3(0x185)),_0x3f7e30[_0x1573e3(0x1b7)]){const _0x4cd1f7=[...this[_0x1573e3(0x1a7)]][_0x1573e3(0x193)]((_0x3aaaef,_0x246615)=>{const _0x1a9af2=_0x1573e3,_0x3a2ff3=_0x246615[0x0],{order:_0x47d618}=_0x246615[0x1];return!_0x47d618||_0x47d618>_0x3f7e30[_0x1a9af2(0x1b7)]?_0x3aaaef:_0x47d618>=_0x3aaaef[_0x1a9af2(0x1b7)]?{'id':_0x3a2ff3,'order':_0x47d618}:_0x3aaaef;},{'id':'','order':0x0}),_0x100fbb=_0x51a4e4[_0x1573e3(0x17b)](this[_0x1573e3(0x1bb)](_0x4cd1f7['id']));_0x51a4e4[_0x1573e3(0x1c0)](_0x4983dc,_0x100fbb+0x1);}else _0x51a4e4[_0x1573e3(0x1c0)](_0x4983dc);return _0x4983dc['on'](_0x1573e3(0x1b5),()=>{const _0x5bfcb9=_0x1573e3;this[_0x5bfcb9(0x1ab)](_0x3f7e30['id']);}),_0x4983dc;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x58de7f=_0x1663;(function(_0x386a6e,_0x54b08a){const _0x3cb59c=_0x1663,_0x272c15=_0x386a6e();while(!![]){try{const _0x3ea206=-parseInt(_0x3cb59c(0x1d6))/0x1*(-parseInt(_0x3cb59c(0x1db))/0x2)+-parseInt(_0x3cb59c(0x1d9))/0x3+parseInt(_0x3cb59c(0x1d1))/0x4+-parseInt(_0x3cb59c(0x1d0))/0x5+parseInt(_0x3cb59c(0x1dc))/0x6*(-parseInt(_0x3cb59c(0x1d2))/0x7)+-parseInt(_0x3cb59c(0x1e5))/0x8*(parseInt(_0x3cb59c(0x1cf))/0x9)+parseInt(_0x3cb59c(0x1dd))/0xa*(parseInt(_0x3cb59c(0x1d7))/0xb);if(_0x3ea206===_0x54b08a)break;else _0x272c15['push'](_0x272c15['shift']());}catch(_0xe4fa3){_0x272c15['push'](_0x272c15['shift']());}}}(_0x5615,0x89334));import{ButtonView as _0x180c13}from'ckeditor5/src/ui.js';import{toArray as _0x3b6f68}from'ckeditor5/src/utils.js';function _0x1663(_0x2e678f,_0x4a3275){const _0x561532=_0x5615();return _0x1663=function(_0x1663e5,_0x403d3c){_0x1663e5=_0x1663e5-0x1cf;let _0x21dc55=_0x561532[_0x1663e5];return _0x21dc55;},_0x1663(_0x2e678f,_0x4a3275);}import'../../../theme/aitabs/tabs/tabbuttonview.css';export class TabButtonView extends _0x180c13{constructor(_0x54c9c0,_0x313d38={}){const _0x2e451a=_0x1663;super(_0x54c9c0),this[_0x2e451a(0x1d3)]=!0x0,this[_0x2e451a(0x1d4)](_0x2e451a(0x1de),_0x313d38[_0x2e451a(0x1de)]||_0x2e451a(0x1e2));const _0x26486d=this[_0x2e451a(0x1e4)];this[_0x2e451a(0x1df)]({'attributes':{'class':[_0x2e451a(0x1e3),..._0x3b6f68(_0x313d38[_0x2e451a(0x1e0)]||[]),_0x26486d['to'](_0x2e451a(0x1de),_0x3861ac=>_0x2e451a(0x1da)+_0x3861ac),_0x26486d['to'](_0x2e451a(0x1e0))]}});}[_0x58de7f(0x1d8)](){const _0x58e15c=_0x58de7f;this[_0x58e15c(0x1d4)](_0x58e15c(0x1d5),!0x0);}[_0x58de7f(0x1e1)](){const _0x51a4ed=_0x58de7f;this[_0x51a4ed(0x1d4)](_0x51a4ed(0x1d5),!0x1);}}function _0x5615(){const _0x3c3ba1=['extendTemplate','class','hide','top','ck-tab-button','bindTemplate','48FFIRHa','456363ApnBju','2982475HwHlFc','1203448EKdAnR','35AGgPPD','isToggleable','set','isVisible','351576gBQujl','214247BCMGXb','show','2389833lxsPfg','ck-tab-button_','2XwIjcZ','198630biksvd','910ZddXLE','side'];_0x5615=function(){return _0x3c3ba1;};return _0x5615();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x32d65f=_0x211d;(function(_0x163027,_0x1e339f){const _0x3ef471=_0x211d,_0x344f40=_0x163027();while(!![]){try{const _0x2a862b=-parseInt(_0x3ef471(0x141))/0x1*(parseInt(_0x3ef471(0x151))/0x2)+-parseInt(_0x3ef471(0x149))/0x3*(parseInt(_0x3ef471(0x13d))/0x4)+parseInt(_0x3ef471(0x13c))/0x5*(-parseInt(_0x3ef471(0x152))/0x6)+parseInt(_0x3ef471(0x13e))/0x7+-parseInt(_0x3ef471(0x14f))/0x8+-parseInt(_0x3ef471(0x14a))/0x9+-parseInt(_0x3ef471(0x14e))/0xa*(-parseInt(_0x3ef471(0x14b))/0xb);if(_0x2a862b===_0x1e339f)break;else _0x344f40['push'](_0x344f40['shift']());}catch(_0x4457bf){_0x344f40['push'](_0x344f40['shift']());}}}(_0x4a97,0x22f4f));import{View as _0x24d0ee}from'ckeditor5/src/ui.js';import{toArray as _0x4ce04b}from'ckeditor5/src/utils.js';function _0x211d(_0x3d8759,_0x13e0e9){const _0x4a9790=_0x4a97();return _0x211d=function(_0x211d84,_0x3f9c4e){_0x211d84=_0x211d84-0x13c;let _0x205dbc=_0x4a9790[_0x211d84];return _0x205dbc;},_0x211d(_0x3d8759,_0x13e0e9);}function _0x4a97(){const _0x8a89b6=['createCollection','ck-hidden','240BCwoJT','ck-tab-panel','div','bindTemplate','hide','show','isVisible','class','25257FBSHVh','1570545jsDQIc','5401781QTfxuG','set','children','10RnkLBe','870256ZcMXCv','setTemplate','508VpfgsS','180798lNIUOb','35ZRFaxZ','12PYjKrw','1627829cSujgB'];_0x4a97=function(){return _0x8a89b6;};return _0x4a97();}export class TabPanelView extends _0x24d0ee{[_0x32d65f(0x14d)];constructor(_0x1c33ea,_0x4c2347={}){const _0x19288c=_0x32d65f;super(_0x1c33ea);const _0x15ecf6=this[_0x19288c(0x144)];this[_0x19288c(0x14c)](_0x19288c(0x147),!0x1),this[_0x19288c(0x14c)](_0x19288c(0x148),''),this[_0x19288c(0x14d)]=this[_0x19288c(0x13f)](),this[_0x19288c(0x150)]({'tag':_0x19288c(0x143),'attributes':{'class':[_0x19288c(0x142),..._0x4ce04b(_0x4c2347[_0x19288c(0x148)]||[]),_0x15ecf6['to'](_0x19288c(0x148)),_0x15ecf6['if'](_0x19288c(0x147),_0x19288c(0x140),_0x265d06=>!_0x265d06)]},'children':this[_0x19288c(0x14d)]});}[_0x32d65f(0x146)](){const _0x209714=_0x32d65f;this[_0x209714(0x14c)](_0x209714(0x147),!0x0);}[_0x32d65f(0x145)](){const _0x4164e6=_0x32d65f;this[_0x4164e6(0x14c)](_0x4164e6(0x147),!0x1);}}
|