@ckeditor/ckeditor5-ai 47.0.0-alpha.0 → 47.0.0-alpha.1
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-editor.css +105 -11
- package/dist/index.css +105 -11
- 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.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/model/aichatmodels.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichat/utils/scrollmanager.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +1 -1
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aiconfig.d.ts +11 -0
- 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.d.ts +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/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/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeediting.d.ts +1 -1
- package/src/aireviewmode/aireviewmodeediting.js +1 -1
- package/src/aireviewmode/aireviewmodeui.d.ts +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.d.ts +1 -0
- 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/aireviewmodechecklistitemresultview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.d.ts +4 -0
- 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/aireviewmode/utils/common-translations.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/aitabsmainview.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
- package/src/index.js +1 -1
- package/theme/aireviewmode/aireviewmode-check-list.css +112 -11
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x2204(_0x3f4280,_0x7ed745){const _0x1196d2=_0x1196();return _0x2204=function(_0x2204d8,_0x495757){_0x2204d8=_0x2204d8-0xde;let _0x21899f=_0x1196d2[_0x2204d8];return _0x21899f;},_0x2204(_0x3f4280,_0x7ed745);}const _0x24aeb0=_0x2204;function _0x1196(){const _0x3576ed=['3996kevvZm','ck-ai-review-mode__form-item','36203687wFfKTh','_formItem','div','18300xTetaB','12HMxuRh','10KbbFxU','42SQpoMj','561FJYAJS','ck-reset_all','59689tVfyrt','locale','add','formValue','13361238bVgYWr','2143575BwTxIw','formType','resetToDefault','dropdown','1705iNFArA','bind','children','ck-form__row_with-submit','set','argsKey','24qgmmfc','value','5972967PwGDae','setTemplate'];_0x1196=function(){return _0x3576ed;};return _0x1196();}(function(_0x2095a2,_0x584217){const _0x36ad84=_0x2204,_0x193ca1=_0x2095a2();while(!![]){try{const _0x39cc25=-parseInt(_0x36ad84(0xe3))/0x1*(parseInt(_0x36ad84(0xe0))/0x2)+-parseInt(_0x36ad84(0xe1))/0x3*(parseInt(_0x36ad84(0xfb))/0x4)+-parseInt(_0x36ad84(0xec))/0x5*(parseInt(_0x36ad84(0xf6))/0x6)+parseInt(_0x36ad84(0xf4))/0x7+parseInt(_0x36ad84(0xf2))/0x8*(parseInt(_0x36ad84(0xe8))/0x9)+parseInt(_0x36ad84(0xdf))/0xa*(-parseInt(_0x36ad84(0xe7))/0xb)+parseInt(_0x36ad84(0xde))/0xc*(parseInt(_0x36ad84(0xf8))/0xd);if(_0x39cc25===_0x584217)break;else _0x193ca1['push'](_0x193ca1['shift']());}catch(_0x58a66b){_0x193ca1['push'](_0x193ca1['shift']());}}}(_0x1196,0xc3c9b));import{FormRowView as _0x5ec5f3,ListItemView as _0x443c91}from'ckeditor5/src/ui.js';import{AIReviewModeFormDropdownView as _0xa30d76}from'./aireviewmodeformdropdown.js';export class AIReviewModeFormManagerView extends _0x443c91{[_0x24aeb0(0xf9)]=null;constructor(_0x9ffc8d,_0xc2d88c,_0x27bca9){const _0xc3845c=_0x24aeb0;super(_0x9ffc8d),this[_0xc3845c(0xf1)]=_0xc2d88c?.[_0xc3845c(0xf1)];if(_0xc3845c(0xeb)===_0xc2d88c[_0xc3845c(0xe9)])this[_0xc3845c(0xf9)]=new _0xa30d76(this[_0xc3845c(0xe4)],_0xc2d88c);this[_0xc3845c(0xf0)](_0xc3845c(0xf3),''),this[_0xc3845c(0xed)](_0xc3845c(0xf3))['to'](this[_0xc3845c(0xf9)],_0xc3845c(0xe6));const _0x31e2fa=new _0x5ec5f3(this[_0xc3845c(0xe4)],{'children':[this[_0xc3845c(0xf9)]],'class':[_0x27bca9?_0xc3845c(0xef):'']});_0x27bca9&&_0x31e2fa[_0xc3845c(0xee)][_0xc3845c(0xe5)](_0x27bca9),this[_0xc3845c(0xf5)]({'tag':_0xc3845c(0xfa),'attributes':{'class':['ck',_0xc3845c(0xf7),_0xc3845c(0xe2)]},'children':[_0x31e2fa]});}[_0x24aeb0(0xea)](){const _0x317b22=_0x24aeb0;this[_0x317b22(0xf9)][_0x317b22(0xea)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x3bbd43,_0x5248ee){const {t:t}=_0x3bbd43;switch(_0x5248ee){case'AI_REVIEW_MODE_STOP_GENERATING':return t({'id':'AI_REVIEW_MODE_STOP_GENERATING','string':'Stop\x20generating'});case'AI_REVIEW_MODE_HIDE_CHANGES':return t({'id':'AI_REVIEW_MODE_HIDE_CHANGES','string':'Hide\x20changes'});case'AI_REVIEW_MODE_SHOW_CHANGES':return t({'id':'AI_REVIEW_MODE_SHOW_CHANGES','string':'Show\x20changes'});case'AI_REVIEW_MODE_ACCEPT_ALL':return t({'id':'AI_REVIEW_MODE_ACCEPT_ALL','string':'Accept\x20all'});case'AI_REVIEW_MODE_EXIT_REVIEW':return t({'id':'AI_REVIEW_MODE_EXIT_REVIEW','string':'Exit\x20review'});case'AI_REVIEW_MODE_ACCEPT_CHANGE':return t({'id':'AI_REVIEW_MODE_ACCEPT_CHANGE','string':'Accept'});case'AI_REVIEW_MODE_DISMISS_CHANGE':return t({'id':'AI_REVIEW_MODE_DISMISS_CHANGE','string':'Dismiss'});case'AI_REVIEW_MODE_LEARN_MORE':return t({'id':'AI_REVIEW_MODE_LEARN_MORE','string':'Learn\x20more'});case'AI_REVIEW_MODE_COMPLETED_TEXT':return t({'id':'AI_REVIEW_MODE_COMPLETED_TEXT','string':'There\x27s\x20nothing\x20left\x20to\x20review.\x20You\x20can\x20now\x20return\x20to\x20the\x20command\x20list.'});case'AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL':return t({'id':'AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL','string':'Finish\x20Review'});case'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE':return t({'id':'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE','string':'Review\x20complete.\x20Finish\x20when\x20ready.'});case'AI_REVIEW_MODE_GENERAL_ERROR_MESSAGE':return t({'id':'AI_REVIEW_MODE_GENERAL_ERROR_MESSAGE','string':'Sorry,\x20we\x20couldn\x27t\x20generate\x20the\x20whole\x20review\x20properly.\x20Please\x20try\x20again\x20in\x20a\x20moment.'});case'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE':return t({'id':'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE','string':'Not\x20everything\x20went\x20through,\x20but\x20the\x20completed\x20items\x20are\x20listed\x20below.'});case'AI_REVIEW_MODE':return t({'id':'AI_REVIEW_MODE','string':'Review\x20Mode'});default:return _0x5248ee;}}
|
package/src/aitabs/aitabs.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x15bfb4=_0x543a;function _0xcbfc(){const _0x2f99af=['36ObjUrU','isPremiumPlugin','overlay','get','element','sidebar','bind','config','destroy','ai-tabs-configuration-not-found','focusTracker','switchSide','654rBeZFl','showResizeButton','includes','3630072QHZLBf','339441MdFbyS','510462atOnRb','ai-tabs-unsupported-ui-side','context','ai-tabs-unsupported-ui-type','1917KlfPCs','set','resize','20797iBmWAY','332945FntGCw','add','render','AITabs','body','42znWiXW','type','view','locale','custom','isMaximized','ai.container','pluginName','isOfficialPlugin','switchType','container','side','remove','resizedTabs','right','appendChild','fire','ai-tabs-sidebar-container-element-not-found','22211400cEzinu'];_0xcbfc=function(){return _0x2f99af;};return _0xcbfc();}(function(_0x24123c,_0x28c370){const _0x3ce02a=_0x543a,_0x26fc49=_0x24123c();while(!![]){try{const _0x3e1a29=parseInt(_0x3ce02a(0xdb))/0x1*(-parseInt(_0x3ce02a(0xd2))/0x2)+-parseInt(_0x3ce02a(0xd6))/0x3*(parseInt(_0x3ce02a(0xc6))/0x4)+-parseInt(_0x3ce02a(0xdf))/0x5*(-parseInt(_0x3ce02a(0xe4))/0x6)+-parseInt(_0x3ce02a(0xde))/0x7+-parseInt(_0x3ce02a(0xd5))/0x8+parseInt(_0x3ce02a(0xd7))/0x9+parseInt(_0x3ce02a(0xc5))/0xa;if(_0x3e1a29===_0x28c370)break;else _0x26fc49['push'](_0x26fc49['shift']());}catch(_0x492871){_0x26fc49['push'](_0x26fc49['shift']());}}}(_0xcbfc,0x9cc15));import{ContextPlugin as _0x22a847,Editor as _0x47dd26}from'ckeditor5/src/core.js';import{CKEditorError as _0x2822d}from'ckeditor5/src/utils.js';function _0x543a(_0x5a8814,_0x3ef430){const _0xcbfcbc=_0xcbfc();return _0x543a=function(_0x543a44,_0x1dcbbf){_0x543a44=_0x543a44-0xc0;let _0x5078c0=_0xcbfcbc[_0x543a44];return _0x5078c0;},_0x543a(_0x5a8814,_0x3ef430);}import{AITabsMainView as _0xa32927,AI_TABS_VIEW_SIDES as _0x130743,AI_TABS_VIEW_TYPES as _0x4be6a7}from'./aitabsmainview.js';export class AITabs extends _0x22a847{[_0x15bfb4(0xe6)];[_0x15bfb4(0xee)]=null;[_0x15bfb4(0xd3)]=!0x0;static get[_0x15bfb4(0xeb)](){const _0x37d5fa=_0x15bfb4;return _0x37d5fa(0xe2);}static get[_0x15bfb4(0xec)](){return!0x0;}static get[_0x15bfb4(0xc7)](){return!0x0;}constructor(_0x4ef73a){const _0xee567f=_0x15bfb4;super(_0x4ef73a);const _0x2ddc8f=this[_0xee567f(0xd9)][_0xee567f(0xcd)][_0xee567f(0xc9)](_0xee567f(0xea));if(this[_0xee567f(0xdc)](_0xee567f(0xef),_0xee567f(0xc1)),!_0x2ddc8f)throw new _0x2822d(_0xee567f(0xcf));if(void 0x0!==_0x2ddc8f[_0xee567f(0xd3)]&&(this[_0xee567f(0xd3)]=_0x2ddc8f[_0xee567f(0xd3)]),_0xee567f(0xcb)!==_0x2ddc8f[_0xee567f(0xe5)]&&_0xee567f(0xc8)!==_0x2ddc8f[_0xee567f(0xe5)]||_0x2ddc8f[_0xee567f(0xef)]&&(this[_0xee567f(0xef)]=_0x2ddc8f[_0xee567f(0xef)]),_0xee567f(0xcb)===_0x2ddc8f[_0xee567f(0xe5)]){if(this[_0xee567f(0xee)]=_0x2ddc8f[_0xee567f(0xca)],this[_0xee567f(0xdc)](_0xee567f(0xe5),_0xee567f(0xcb)),!this[_0xee567f(0xee)])throw new _0x2822d(_0xee567f(0xc4));}else _0xee567f(0xc8)===_0x2ddc8f[_0xee567f(0xe5)]?(this[_0xee567f(0xee)]=document[_0xee567f(0xe3)],this[_0xee567f(0xdc)](_0xee567f(0xe5),_0xee567f(0xc8))):(this[_0xee567f(0xee)]=null,this[_0xee567f(0xdc)](_0xee567f(0xe5),_0xee567f(0xe8)));this[_0xee567f(0xe6)]=new _0xa32927(this[_0xee567f(0xd9)][_0xee567f(0xe7)],{'side':this[_0xee567f(0xef)],'type':this[_0xee567f(0xe5)]}),this[_0xee567f(0xe6)][_0xee567f(0xe1)](),this[_0xee567f(0xe6)][_0xee567f(0xcc)](_0xee567f(0xef))['to'](this,_0xee567f(0xef)),this[_0xee567f(0xe6)][_0xee567f(0xcc)](_0xee567f(0xe5))['to'](this,_0xee567f(0xe5)),this[_0xee567f(0xee)]&&this[_0xee567f(0xee)][_0xee567f(0xc2)](this[_0xee567f(0xe6)][_0xee567f(0xca)]),this[_0xee567f(0xd9)]instanceof _0x47dd26&&this[_0xee567f(0xd9)]['ui'][_0xee567f(0xd0)][_0xee567f(0xe0)](this[_0xee567f(0xe6)][_0xee567f(0xca)]);}[_0x15bfb4(0xed)](_0x1c0dcd){const _0x333bdc=_0x15bfb4;if(_0x1c0dcd&&this[_0x333bdc(0xe5)]!==_0x1c0dcd){if(!_0x4be6a7[_0x333bdc(0xd4)](_0x1c0dcd))throw new _0x2822d(_0x333bdc(0xda));this[_0x333bdc(0xe5)]=_0x1c0dcd;}}[_0x15bfb4(0xd1)](_0x9b8812){const _0x95a16e=_0x15bfb4;if(_0x9b8812&&this[_0x95a16e(0xef)]!==_0x9b8812){if(!_0x130743[_0x95a16e(0xd4)](_0x9b8812))throw new _0x2822d(_0x95a16e(0xd8));this[_0x95a16e(0xef)]=_0x9b8812;}}[_0x15bfb4(0xdd)](){const _0xcd1fd6=_0x15bfb4;this[_0xcd1fd6(0xe6)][_0xcd1fd6(0xe9)]=!this[_0xcd1fd6(0xe6)][_0xcd1fd6(0xe9)],this[_0xcd1fd6(0xc3)](_0xcd1fd6(0xc0),this[_0xcd1fd6(0xe6)][_0xcd1fd6(0xe9)]);}[_0x15bfb4(0xce)](){const _0x40ab87=_0x15bfb4;super[_0x40ab87(0xce)](),this[_0x40ab87(0xe6)][_0x40ab87(0xce)](),this[_0x40ab87(0xe6)][_0x40ab87(0xca)]&&this[_0x40ab87(0xe6)][_0x40ab87(0xca)][_0x40ab87(0xf0)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2e7631=_0x5f4f;(function(_0x1039f4,_0x42475b){const _0x4dd94c=_0x5f4f,_0x2e3525=_0x1039f4();while(!![]){try{const _0x38b0ce=-parseInt(_0x4dd94c(0x173))/0x1*(-parseInt(_0x4dd94c(0x17f))/0x2)+-parseInt(_0x4dd94c(0x176))/0x3*(-parseInt(_0x4dd94c(0x17e))/0x4)+-parseInt(_0x4dd94c(0x169))/0x5*(-parseInt(_0x4dd94c(0x16c))/0x6)+-parseInt(_0x4dd94c(0x16d))/0x7+-parseInt(_0x4dd94c(0x179))/0x8+parseInt(_0x4dd94c(0x16f))/0x9+-parseInt(_0x4dd94c(0x17d))/0xa;if(_0x38b0ce===_0x42475b)break;else _0x2e3525['push'](_0x2e3525['shift']());}catch(_0x31f1db){_0x2e3525['push'](_0x2e3525['shift']());}}}(_0x4ff7,0x2a502));function _0x4ff7(){const _0x40e092=['14qYEgqQ','ck-ai-tabs','bindTemplate','custom','1463530UmVHrE','extendTemplate','ck-ai-tabs__sidebar','6hhWdqv','131306wXpyhd','type','2701845hweLXt','withText','add','ck-ai-tabs__overlay','40418QmaqtF','buttonViews','left','69SXBDhd','side','overlay','1387888GPDbNI','set','sidebar','right','7918220qbvPkd','48964EedqYy'];_0x4ff7=function(){return _0x40e092;};return _0x4ff7();}import{AITabsView as _0x22c864}from'./tabs/aitabsview.js';import'../../theme/aitabs/aitabsview.css';function _0x5f4f(_0x4c4e92,_0x96724){const _0x4ff7d2=_0x4ff7();return _0x5f4f=function(_0x5f4ff7,_0x4615a2){_0x5f4ff7=_0x5f4ff7-0x166;let _0x5b89d6=_0x4ff7d2[_0x5f4ff7];return _0x5b89d6;},_0x5f4f(_0x4c4e92,_0x96724);}export const AI_TABS_VIEW_TYPES=[_0x2e7631(0x178),_0x2e7631(0x17b),_0x2e7631(0x168)];export const AI_TABS_VIEW_SIDES=[_0x2e7631(0x175),_0x2e7631(0x17c)];export class AITabsMainView extends _0x22c864{constructor(_0x4e3f3a,_0x841e83={}){const _0x43e465=_0x2e7631;super(_0x4e3f3a,_0x841e83),this[_0x43e465(0x17a)](_0x43e465(0x16e),_0x841e83[_0x43e465(0x16e)]||_0x43e465(0x17b)),this[_0x43e465(0x17a)](_0x43e465(0x177),_0x841e83[_0x43e465(0x177)]||_0x43e465(0x17c));const _0x58c175=this[_0x43e465(0x167)];this[_0x43e465(0x16a)]({'attributes':{'class':[_0x43e465(0x166),_0x58c175['if'](_0x43e465(0x16e),_0x43e465(0x172),_0x55507e=>_0x43e465(0x178)===_0x55507e),_0x58c175['if'](_0x43e465(0x16e),_0x43e465(0x16b),_0x510639=>_0x43e465(0x17b)===_0x510639)]}}),this[_0x43e465(0x174)]['on'](_0x43e465(0x171),(_0x3901ac,_0x6100e1)=>{const _0x169232=_0x43e465;_0x6100e1[_0x169232(0x17a)](_0x169232(0x170),!0x1);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x53f090=_0x15e2;function _0x15e2(_0x59e36a,_0x389c33){const _0x3f763c=_0x3f76();return _0x15e2=function(_0x15e2a8,_0x4c0a8b){_0x15e2a8=_0x15e2a8-0x96;let _0x9dd545=_0x3f763c[_0x15e2a8];return _0x9dd545;},_0x15e2(_0x59e36a,_0x389c33);}(function(_0x3f1678,_0x3939a9){const _0x2ac492=_0x15e2,_0x104c55=_0x3f1678();while(!![]){try{const _0x52cbdd=parseInt(_0x2ac492(0xdf))/0x1*(parseInt(_0x2ac492(0xc9))/0x2)+parseInt(_0x2ac492(0xa4))/0x3+-parseInt(_0x2ac492(0xd6))/0x4+parseInt(_0x2ac492(0xca))/0x5+parseInt(_0x2ac492(0xbb))/0x6+-parseInt(_0x2ac492(0xa1))/0x7+-parseInt(_0x2ac492(0xbd))/0x8;if(_0x52cbdd===_0x3939a9)break;else _0x104c55['push'](_0x104c55['shift']());}catch(_0x20fb9c){_0x104c55['push'](_0x104c55['shift']());}}}(_0x3f76,0x869c3));function _0x3f76(){const _0x5b7537=['fire','_showPanel','addTab:','getTab','getTabIds','ck-ai-tabs_maximized','activeTab','bindTemplate','keys','show:','ck-tabs__buttons-container_','content','ck-tabs__panels-container','panelViews','3017310iIBcZi','_hideButton','248368kfhmcy','ck-tabs__panels-container_','label','_hidePanel','setTemplate','ck-tabs__buttons-container','isVisible','side','top','button','bind','order','1218116XCUjnE','1181040pyLNlf','showTab','hide','createCollection','ck-tabs_','_setupButton','hideTab','reduce','children','panel','ck-tabs','find','3752096hIGobT','div','ui-tabsview-tab-not-found','show','isMaximized','buttonLabel','activateTab','locale','addTab','1oDMPSi','_tabs','activateTab:','set','left','getIndex','execute','right','add','_getPanel','icon','render','6232793TvFSqb','get','buttonIcon','3188043oWmyLC','isOn','buttonViews','_showButton','hide:','ck-reset','_getButton','length','class'];_0x3f76=function(){return _0x5b7537;};return _0x3f76();}import{View as _0x1a9592}from'ckeditor5/src/ui.js';import{toArray as _0x40f0e9,CKEditorError as _0x2641a6}from'ckeditor5/src/utils.js';import{TabButtonView as _0x3c9062}from'./tabbuttonview.js';import{TabPanelView as _0x190e0e}from'./tabpanelview.js';import'../../../theme/aitabs/tabs/tabsview.css';export const AI_TABS_POSITIONS=[_0x53f090(0xc5),_0x53f090(0x99),_0x53f090(0x9c)];export class AITabsView extends _0x1a9592{[_0x53f090(0xa6)]=this[_0x53f090(0xcd)]();[_0x53f090(0xba)]=this[_0x53f090(0xcd)]();[_0x53f090(0x96)]=new Map();constructor(_0x2ec753,_0x57c229={}){const _0x333662=_0x53f090;super(_0x2ec753),this[_0x333662(0x98)](_0x333662(0xac),void 0x0),this[_0x333662(0x98)](_0x333662(0xb3),null),this[_0x333662(0x98)](_0x333662(0xc4),_0x57c229[_0x333662(0xc4)]||_0x333662(0xc5)),this[_0x333662(0x98)](_0x333662(0xda),!0x1);const _0x1ef65f=this[_0x333662(0xb4)];this[_0x333662(0xc1)]({'tag':_0x333662(0xd7),'attributes':{'class':['ck',_0x333662(0xa9),_0x333662(0xd4),..._0x40f0e9(_0x57c229[_0x333662(0xac)]||[]),_0x1ef65f['to'](_0x333662(0xc4),_0x52e838=>_0x333662(0xce)+_0x52e838),_0x1ef65f['to'](_0x333662(0xac)),_0x1ef65f['to'](_0x333662(0xda),_0x1a0243=>_0x1a0243?_0x333662(0xb2):'')],'tabindex':'0'},'children':[{'tag':_0x333662(0xd7),'attributes':{'class':['ck',_0x333662(0xc2),_0x1ef65f['to'](_0x333662(0xc4),_0x562a05=>_0x333662(0xb7)+_0x562a05)]},'children':this[_0x333662(0xa6)]},{'tag':_0x333662(0xd7),'attributes':{'class':['ck',_0x333662(0xb9),_0x1ef65f['to'](_0x333662(0xc4),_0x5d4ef4=>_0x333662(0xbe)+_0x5d4ef4)]},'children':this[_0x333662(0xba)]},..._0x40f0e9(_0x57c229[_0x333662(0xd2)]||[])]});}[_0x53f090(0xb1)](){const _0x1de257=_0x53f090;return[...this[_0x1de257(0x96)][_0x1de257(0xb5)]()];}[_0x53f090(0xb0)](_0x2ab388){const _0x4cf13d=_0x53f090,_0xced442=this[_0x4cf13d(0x96)][_0x4cf13d(0xa2)](_0x2ab388);return _0xced442||null;}[_0x53f090(0xde)](_0x28210c){const _0x58a299=_0x53f090,_0x5c2602=this[_0x58a299(0xcf)]({'id':_0x28210c['id'],'label':_0x28210c[_0x58a299(0xdb)],'icon':_0x28210c[_0x58a299(0xa3)],'order':_0x28210c[_0x58a299(0xc8)]}),_0x2b9095=new _0x190e0e(this[_0x58a299(0xdd)]);return _0x2b9095[_0x58a299(0xa0)](),_0x28210c[_0x58a299(0xb8)]&&_0x2b9095[_0x58a299(0xd2)][_0x58a299(0x9d)](_0x28210c[_0x58a299(0xb8)]),this[_0x58a299(0xba)][_0x58a299(0x9d)](_0x2b9095),this[_0x58a299(0x96)][_0x58a299(0x98)](_0x28210c['id'],{'button':_0x5c2602,'panel':_0x2b9095,'order':void 0x0!==_0x28210c[_0x58a299(0xc8)]?_0x28210c[_0x58a299(0xc8)]:null}),this[_0x58a299(0xad)](_0x58a299(0xaf)+_0x28210c['id'],{'id':_0x28210c['id'],'button':_0x5c2602,'panel':_0x2b9095}),null===this[_0x58a299(0xb3)]?this[_0x58a299(0xdc)](_0x28210c['id']):this[_0x58a299(0xc0)](_0x28210c['id']),{'button':_0x5c2602,'panel':_0x2b9095};}[_0x53f090(0xdc)](_0x341bd8){const _0x108275=_0x53f090;if(null!==_0x341bd8&&!this[_0x108275(0xb0)](_0x341bd8))throw new _0x2641a6(_0x108275(0xd8),{'tabs':this,'tabId':_0x341bd8});this[_0x108275(0xb3)]!==_0x341bd8&&(this[_0x108275(0xb3)]&&this[_0x108275(0xc0)](this[_0x108275(0xb3)]),this[_0x108275(0xb3)]=_0x341bd8,_0x341bd8&&this[_0x108275(0xae)](_0x341bd8),this[_0x108275(0xad)](_0x108275(0x97)+_0x341bd8,_0x341bd8));}[_0x53f090(0xcb)](_0x4fded9){const _0xf072e3=_0x53f090;if(!this[_0xf072e3(0xb0)](_0x4fded9))throw new _0x2641a6(_0xf072e3(0xd8),{'tabs':this,'tabId':_0x4fded9});this[_0xf072e3(0xae)](_0x4fded9),this[_0xf072e3(0xa7)](_0x4fded9),this[_0xf072e3(0xad)](_0xf072e3(0xb6)+_0x4fded9,_0x4fded9);}[_0x53f090(0xd0)](_0x50da92){const _0x5b5939=_0x53f090;if(!this[_0x5b5939(0xb0)](_0x50da92))throw new _0x2641a6(_0x5b5939(0xd8),{'tabs':this,'tabId':_0x50da92});const _0x36f6d8=this[_0x5b5939(0xb3)];this[_0x5b5939(0xc0)](_0x50da92),this[_0x5b5939(0xbc)](_0x50da92);const _0x19d2e2=this[_0x5b5939(0xb1)]();_0x36f6d8===_0x50da92&&_0x19d2e2[_0x5b5939(0xab)]>0x1&&this[_0x5b5939(0xdc)](_0x19d2e2[_0x5b5939(0xd5)](_0x492c9e=>_0x492c9e!==_0x50da92)),this[_0x5b5939(0xad)](_0x5b5939(0xa8)+_0x50da92,_0x50da92);}[_0x53f090(0x9e)](_0x712991){const _0x518ece=_0x53f090,_0x32cfb9=this[_0x518ece(0x96)][_0x518ece(0xa2)](_0x712991);return _0x32cfb9?_0x32cfb9[_0x518ece(0xd3)]:null;}[_0x53f090(0xae)](_0x19deff){const _0x3bfd3f=_0x53f090;null!==this[_0x3bfd3f(0xb3)]&&this[_0x3bfd3f(0xb3)]!==_0x19deff||this[_0x3bfd3f(0x9e)](_0x19deff)[_0x3bfd3f(0xd9)]();}[_0x53f090(0xc0)](_0x508ad4){const _0x3c6215=_0x53f090,_0x49f333=this[_0x3c6215(0x9e)](_0x508ad4);_0x49f333[_0x3c6215(0xc3)]&&(this[_0x3c6215(0xb3)]===_0x508ad4&&(this[_0x3c6215(0xb3)]=null),_0x49f333[_0x3c6215(0xcc)]());}[_0x53f090(0xaa)](_0x422e43){const _0x26edc3=_0x53f090,_0x1c41b8=this[_0x26edc3(0x96)][_0x26edc3(0xa2)](_0x422e43);return _0x1c41b8?_0x1c41b8[_0x26edc3(0xc6)]:null;}[_0x53f090(0xa7)](_0x3159d){const _0x3fa559=_0x53f090;this[_0x3fa559(0xaa)](_0x3159d)[_0x3fa559(0xd9)]();}[_0x53f090(0xbc)](_0x1a672e){const _0xd38217=_0x53f090;this[_0xd38217(0xaa)](_0x1a672e)[_0xd38217(0xcc)]();}[_0x53f090(0xcf)](_0x45a956){const _0x6a6cd8=_0x53f090,_0x214322=new _0x3c9062(this[_0x6a6cd8(0xdd)],{'side':this[_0x6a6cd8(0xc4)]}),_0x3c4e97=this[_0x6a6cd8(0xa6)];if(_0x214322[_0x6a6cd8(0x98)]({'label':_0x45a956[_0x6a6cd8(0xbf)],'icon':_0x45a956[_0x6a6cd8(0x9f)],'tooltip':!0x0,'withText':!0x0}),_0x214322[_0x6a6cd8(0xc7)](_0x6a6cd8(0xa5))['to'](this,_0x6a6cd8(0xb3),_0x2aeff4=>_0x2aeff4===_0x45a956['id']),_0x214322[_0x6a6cd8(0xc7)](_0x6a6cd8(0xc4))['to'](this,_0x6a6cd8(0xc4)),_0x45a956[_0x6a6cd8(0xc8)]){const _0x418c60=[...this[_0x6a6cd8(0x96)]][_0x6a6cd8(0xd1)]((_0x23a740,_0x39e1ea)=>{const _0x155c0d=_0x6a6cd8,_0x482368=_0x39e1ea[0x0],{order:_0x480bf0}=_0x39e1ea[0x1];return!_0x480bf0||_0x480bf0>_0x45a956[_0x155c0d(0xc8)]?_0x23a740:_0x480bf0>=_0x23a740[_0x155c0d(0xc8)]?{'id':_0x482368,'order':_0x480bf0}:_0x23a740;},{'id':'','order':0x0}),_0x12e0bf=_0x3c4e97[_0x6a6cd8(0x9a)](this[_0x6a6cd8(0xaa)](_0x418c60['id']));_0x3c4e97[_0x6a6cd8(0x9d)](_0x214322,_0x12e0bf+0x1);}else _0x3c4e97[_0x6a6cd8(0x9d)](_0x214322);return _0x214322['on'](_0x6a6cd8(0x9b),()=>{const _0x115d8a=_0x6a6cd8;this[_0x115d8a(0xdc)](_0x45a956['id']);}),_0x214322;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x392908=_0x81a1;(function(_0x156efa,_0x4ee7d0){const _0x337829=_0x81a1,_0x1ae98d=_0x156efa();while(!![]){try{const _0x3246b1=-parseInt(_0x337829(0x1dd))/0x1*(parseInt(_0x337829(0x1e9))/0x2)+parseInt(_0x337829(0x1e6))/0x3+-parseInt(_0x337829(0x1ef))/0x4*(-parseInt(_0x337829(0x1e5))/0x5)+-parseInt(_0x337829(0x1df))/0x6+parseInt(_0x337829(0x1ea))/0x7*(-parseInt(_0x337829(0x1e0))/0x8)+parseInt(_0x337829(0x1e4))/0x9+-parseInt(_0x337829(0x1ed))/0xa*(-parseInt(_0x337829(0x1ee))/0xb);if(_0x3246b1===_0x4ee7d0)break;else _0x1ae98d['push'](_0x1ae98d['shift']());}catch(_0x68d85e){_0x1ae98d['push'](_0x1ae98d['shift']());}}}(_0x5128,0xb9c22));import{ButtonView as _0x3dedbb}from'ckeditor5/src/ui.js';import{toArray as _0x4a0135}from'ckeditor5/src/utils.js';import'../../../theme/aitabs/tabs/tabbuttonview.css';export class TabButtonView extends _0x3dedbb{constructor(_0x2a03c8,_0xff8369={}){const _0x5373d8=_0x81a1;super(_0x2a03c8),this[_0x5373d8(0x1e3)]=!0x0,this[_0x5373d8(0x1eb)](_0x5373d8(0x1de),_0xff8369[_0x5373d8(0x1de)]||_0x5373d8(0x1e1));const _0x197dc4=this[_0x5373d8(0x1ec)];this[_0x5373d8(0x1f1)]({'attributes':{'class':[_0x5373d8(0x1e7),..._0x4a0135(_0xff8369[_0x5373d8(0x1f3)]||[]),_0x197dc4['to'](_0x5373d8(0x1de),_0x538c58=>_0x5373d8(0x1f0)+_0x538c58),_0x197dc4['to'](_0x5373d8(0x1f3))]}});}[_0x392908(0x1f2)](){const _0x359402=_0x392908;this[_0x359402(0x1eb)](_0x359402(0x1e8),!0x0);}[_0x392908(0x1e2)](){const _0x348e6f=_0x392908;this[_0x348e6f(0x1eb)](_0x348e6f(0x1e8),!0x1);}}function _0x81a1(_0x574959,_0x5ee998){const _0x5128b8=_0x5128();return _0x81a1=function(_0x81a144,_0x507c14){_0x81a144=_0x81a144-0x1dd;let _0x446853=_0x5128b8[_0x81a144];return _0x446853;},_0x81a1(_0x574959,_0x5ee998);}function _0x5128(){const _0x40127d=['2643045ENYbkO','ck-tab-button','isVisible','8EUArBa','182uqrWfs','set','bindTemplate','10YacDUR','13533542EmEPqd','412JiFjyK','ck-tab-button_','extendTemplate','show','class','311791AANLUg','side','7496868mchFWy','111640ZkmQGW','top','hide','isToggleable','3867903LKwuoF','52390tNpFgr'];_0x5128=function(){return _0x40127d;};return _0x5128();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x5915(_0x530198,_0x1647ad){const _0x3a6bdd=_0x3a6b();return _0x5915=function(_0x59157e,_0x303b49){_0x59157e=_0x59157e-0x198;let _0x4b8427=_0x3a6bdd[_0x59157e];return _0x4b8427;},_0x5915(_0x530198,_0x1647ad);}const _0x574b81=_0x5915;function _0x3a6b(){const _0x10a98d=['set','333146ZdQYzV','65979zCoQRt','show','setTemplate','6IIWlCw','ck-hidden','hide','ck-tab-panel','createCollection','1017ntoeXF','bindTemplate','32uCavtF','228GtIUvB','1vsEmjy','class','div','isVisible','825015MFFLPN','110136PsgCem','children','18238aZDRmu','3760aEzTZb','383474KgLUYB'];_0x3a6b=function(){return _0x10a98d;};return _0x3a6b();}(function(_0xc9fc98,_0x4f294c){const _0x19bf2d=_0x5915,_0x5435ba=_0xc9fc98();while(!![]){try{const _0x5c36de=-parseInt(_0x19bf2d(0x1af))/0x1*(-parseInt(_0x19bf2d(0x1a2))/0x2)+-parseInt(_0x19bf2d(0x1a3))/0x3*(parseInt(_0x19bf2d(0x1ad))/0x4)+parseInt(_0x19bf2d(0x19b))/0x5+parseInt(_0x19bf2d(0x1a6))/0x6*(-parseInt(_0x19bf2d(0x1a0))/0x7)+parseInt(_0x19bf2d(0x19c))/0x8+-parseInt(_0x19bf2d(0x1ab))/0x9*(parseInt(_0x19bf2d(0x19f))/0xa)+-parseInt(_0x19bf2d(0x19e))/0xb*(-parseInt(_0x19bf2d(0x1ae))/0xc);if(_0x5c36de===_0x4f294c)break;else _0x5435ba['push'](_0x5435ba['shift']());}catch(_0x52a4c3){_0x5435ba['push'](_0x5435ba['shift']());}}}(_0x3a6b,0x194cf));import{View as _0x190a3e}from'ckeditor5/src/ui.js';import{toArray as _0x1f09e5}from'ckeditor5/src/utils.js';export class TabPanelView extends _0x190a3e{[_0x574b81(0x19d)];constructor(_0x4c704c,_0x1f5739={}){const _0xb6e5d5=_0x574b81;super(_0x4c704c);const _0x58e9dc=this[_0xb6e5d5(0x1ac)];this[_0xb6e5d5(0x1a1)](_0xb6e5d5(0x19a),!0x1),this[_0xb6e5d5(0x19d)]=this[_0xb6e5d5(0x1aa)](),this[_0xb6e5d5(0x1a5)]({'tag':_0xb6e5d5(0x199),'attributes':{'class':[_0xb6e5d5(0x1a9),..._0x1f09e5(_0x1f5739[_0xb6e5d5(0x198)]||[]),_0x58e9dc['to'](_0xb6e5d5(0x198)),_0x58e9dc['if'](_0xb6e5d5(0x19a),_0xb6e5d5(0x1a7),_0x5aa2d4=>!_0x5aa2d4)]},'children':this[_0xb6e5d5(0x19d)]});}[_0x574b81(0x1a4)](){const _0x4cd789=_0x574b81;this[_0x4cd789(0x1a1)](_0x4cd789(0x19a),!0x0);}[_0x574b81(0x1a8)](){const _0x3085b0=_0x574b81;this[_0x3085b0(0x1a1)](_0x3085b0(0x19a),!0x1);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x222f78,_0xab8d27){var _0x4a01a4=_0x5181,_0x2b8f25=_0x222f78();while(!![]){try{var _0x22c89b=-parseInt(_0x4a01a4(0x106))/0x1+parseInt(_0x4a01a4(0x107))/0x2*(parseInt(_0x4a01a4(0x109))/0x3)+parseInt(_0x4a01a4(0x108))/0x4+parseInt(_0x4a01a4(0x104))/0x5+parseInt(_0x4a01a4(0x102))/0x6*(-parseInt(_0x4a01a4(0x103))/0x7)+parseInt(_0x4a01a4(0x105))/0x8*(-parseInt(_0x4a01a4(0x10a))/0x9)+-parseInt(_0x4a01a4(0x101))/0xa;if(_0x22c89b===_0xab8d27)break;else _0x2b8f25['push'](_0x2b8f25['shift']());}catch(_0x485f43){_0x2b8f25['push'](_0x2b8f25['shift']());}}}(_0x1318,0x27360));export{AIAssistant,getDefaultAICommands}from'./aiassistant/aiassistant.js';export{AIAssistantUI}from'./aiassistant/aiassistantui.js';export{AIAdapter,AIRequestError}from'./aiassistant/adapters/aiadapter.js';export{AITextAdapter}from'./aiassistant/adapters/aitextadapter.js';export{OpenAITextAdapter}from'./aiassistant/adapters/openaitextadapter.js';export{AWSTextAdapter}from'./aiassistant/adapters/awstextadapter.js';function _0x1318(){var _0x351ebd=['928952GHWIpj','5127mmNYfz','927jpavcm','1373730NcJGFB','2562CKaJHG','490GpbwsE','340595qhmfmb','5992FTkiPf','30350EySDzf','158aHYujt'];_0x1318=function(){return _0x351ebd;};return _0x1318();}export{ShowAIAssistantCommand}from'./aiassistant/ui/showaiassistantcommand.js';export{AITabs}from'./aitabs/aitabs.js';export{AIConnector}from'./aicore/aiconnector.js';export{createResizeButton}from'./aicore/utils/createresizebutton.js';export{AIChat}from'./aichat/aichat.js';export{AIChatController}from'./aichat/aichatcontroller.js';export{AIEditing}from'./aicore/aiediting.js';export{AIChatUI}from'./aichat/aichatui.js';function _0x5181(_0x254152,_0x5ebb1c){var _0x1318d2=_0x1318();return _0x5181=function(_0x51819c,_0x432d19){_0x51819c=_0x51819c-0x101;var _0x4496d1=_0x1318d2[_0x51819c];return _0x4496d1;},_0x5181(_0x254152,_0x5ebb1c);}export{AIChatHistory}from'./aichathistory/aichathistory.js';export{AIChatHistoryController}from'./aichathistory/aichathistorycontroller.js';export{AIChatHistoryUI}from'./aichathistory/aichathistoryui.js';export{AIQuickActions}from'./aiquickactions/aiquickactions.js';export{AIQuickActionsUI,AIQuickActionType}from'./aiquickactions/aiquickactionsui.js';export{AIActions}from'./aiactions/aiactions.js';export{AIBalloon}from'./aiballoon/aiballoon.js';export{AIReviewMode}from'./aireviewmode/aireviewmode.js';export{AIReviewModeController}from'./aireviewmode/aireviewmodecontroller.js';export{AIReviewModeEditing}from'./aireviewmode/aireviewmodeediting.js';export{AIReviewModeUI}from'./aireviewmode/aireviewmodeui.js';export{AIReviewCheck}from'./aireviewmode/model/aireviewcheck.js';export{AIReviewCheckResult}from'./aireviewmode/model/aireviewcheckresult.js';export{AIReviewCheckRun}from'./aireviewmode/model/aireviewcheckrun.js';import'./augmentation.js';
|
|
@@ -13,9 +13,16 @@
|
|
|
13
13
|
--ck-ai-check-list-item-title-color: var(--ck-color-text);
|
|
14
14
|
--ck-ai-check-list-item-description-color: hsla(0, 0%, 44%, 1);
|
|
15
15
|
--ck-ai-check-list-item-title-icon-color: hsla(0, 0%, 44%, 1);
|
|
16
|
+
--ck-ai-check-list-model-dropdown-width: 426px;
|
|
17
|
+
--ck-ai-check-list-model-dropdown-max-height: 340px;
|
|
18
|
+
--ck-ai-check-list-model-dropdown-arrow-drop-shadow: 0 -2px 0px var(--ck-color-shadow-drop);
|
|
16
19
|
}
|
|
17
20
|
|
|
18
21
|
.ck.ck-ai-review-mode {
|
|
22
|
+
& * {
|
|
23
|
+
font-family: var(--ck-ai-chat-font-family) !important;
|
|
24
|
+
}
|
|
25
|
+
|
|
19
26
|
& .ck-ai-review-mode__check-list {
|
|
20
27
|
position: relative;
|
|
21
28
|
height: 100%;
|
|
@@ -34,6 +41,25 @@
|
|
|
34
41
|
transition-duration: 0s;
|
|
35
42
|
}
|
|
36
43
|
|
|
44
|
+
& .ck-ai-review-mode__check-list-item-description {
|
|
45
|
+
color: var(--ck-ai-check-list-item-description-color);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
& .ck-ai-review-mode__check-list-item-title-text,
|
|
49
|
+
& .ck-ai-review-mode__check-list-item-description {
|
|
50
|
+
white-space: normal;
|
|
51
|
+
line-height: 1.3;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
&:hover {
|
|
55
|
+
cursor: pointer;
|
|
56
|
+
|
|
57
|
+
& .ck-ai-review-mode__check-list-item-title-text,
|
|
58
|
+
& .ck-ai-review-mode__check-list-item-description {
|
|
59
|
+
cursor: pointer;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
37
63
|
&.ck-ai-review-mode__check-list-item_rendered {
|
|
38
64
|
opacity: 1;
|
|
39
65
|
visibility: visible;
|
|
@@ -52,12 +78,6 @@
|
|
|
52
78
|
box-shadow: 3px 0px 0px 0px var(--ck-ai-check-list-item-active-border-color) inset;
|
|
53
79
|
}
|
|
54
80
|
|
|
55
|
-
& .ck-ai-review-mode__check-list-item-title-text,
|
|
56
|
-
& .ck-ai-review-mode__check-list-item-description {
|
|
57
|
-
white-space: normal;
|
|
58
|
-
line-height: 1.3;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
81
|
& .ck-ai-review-mode__check-list-item-title {
|
|
62
82
|
display: flex;
|
|
63
83
|
justify-content: space-between;
|
|
@@ -96,10 +116,6 @@
|
|
|
96
116
|
}
|
|
97
117
|
}
|
|
98
118
|
|
|
99
|
-
& .ck-ai-review-mode__check-list-item-description {
|
|
100
|
-
color: var(--ck-ai-check-list-item-description-color);
|
|
101
|
-
}
|
|
102
|
-
|
|
103
119
|
/* Parameterized form view. */
|
|
104
120
|
& .ck-ai-review-mode__check-list-item-parameterized {
|
|
105
121
|
& .ck.ck-form__row {
|
|
@@ -117,7 +133,7 @@
|
|
|
117
133
|
& .ck-button.ck-dropdown__button {
|
|
118
134
|
border-color: hsl(216, 5%, 81%);
|
|
119
135
|
|
|
120
|
-
& .ck-button__label {
|
|
136
|
+
& > .ck-button__label {
|
|
121
137
|
width: 100%;
|
|
122
138
|
}
|
|
123
139
|
}
|
|
@@ -149,6 +165,91 @@
|
|
|
149
165
|
}
|
|
150
166
|
}
|
|
151
167
|
}
|
|
168
|
+
|
|
169
|
+
& .ck-ai-review-mode__check-list-item-model-dropdown {
|
|
170
|
+
|
|
171
|
+
& > .ck.ck-button.ck-dropdown__button {
|
|
172
|
+
font-size: .9em;
|
|
173
|
+
|
|
174
|
+
&.ck-on,
|
|
175
|
+
&:active {
|
|
176
|
+
background-color: var(--ck-ai-button-secondary-active-background-color);
|
|
177
|
+
color: var(--ck-ai-background-color-action-button);
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
& > .ck.ck-button__label {
|
|
181
|
+
width: auto;
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
& .ck-dropdown__panel {
|
|
186
|
+
width: var(--ck-ai-check-list-model-dropdown-width);
|
|
187
|
+
padding-top: var(--ck-spacing-standard);
|
|
188
|
+
top: calc(100% + var(--ck-balloon-arrow-height));
|
|
189
|
+
bottom: auto;
|
|
190
|
+
|
|
191
|
+
&.ck-dropdown__panel_se {
|
|
192
|
+
&::before,
|
|
193
|
+
&::after {
|
|
194
|
+
content: '';
|
|
195
|
+
position: absolute;
|
|
196
|
+
left: calc(2 * var(--ck-balloon-arrow-half-width));
|
|
197
|
+
top: calc(-1 * var(--ck-balloon-arrow-height) + 2px);
|
|
198
|
+
width: 0;
|
|
199
|
+
height: 0;
|
|
200
|
+
border-style: solid;
|
|
201
|
+
border-width: 0 var(--ck-balloon-arrow-height) var(--ck-balloon-arrow-half-width) var(--ck-balloon-arrow-half-width);
|
|
202
|
+
border-color: transparent transparent var(--ck-color-panel-background) transparent;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
&::before {
|
|
206
|
+
z-index: var(--ck-balloon-panel-arrow-z-index);
|
|
207
|
+
margin-bottom: calc(-1 * var(--ck-balloon-border-width));
|
|
208
|
+
filter: drop-shadow(var(--ck-ai-check-list-model-dropdown-arrow-drop-shadow));
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
&::after {
|
|
212
|
+
z-index: calc(var(--ck-balloon-panel-arrow-z-index) + 1);
|
|
213
|
+
margin-bottom: calc(var(--ck-balloon-arrow-offset) - var(--ck-balloon-border-width));
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
& > .ck-list {
|
|
217
|
+
max-height: var(--ck-ai-check-list-model-dropdown-max-height);
|
|
218
|
+
overflow-y: scroll;
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
& > .ck.ck-list {
|
|
223
|
+
gap: var(--ck-spacing-standard);
|
|
224
|
+
|
|
225
|
+
& > .ck.ck-list__item {
|
|
226
|
+
& > .ck.ck-button.ck-list-item-button {
|
|
227
|
+
align-items: baseline;
|
|
228
|
+
|
|
229
|
+
& .ck-list-item-button__check-holder {
|
|
230
|
+
flex-shrink: 0;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
& .ck-ai-review-mode__check-list-item-model-dropdown-name {
|
|
234
|
+
line-height: 1.3;
|
|
235
|
+
font-weight: 500;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
& .ck-ai-review-mode__check-list-item-model-dropdown-description {
|
|
239
|
+
padding-top: var(--ck-spacing-tiny);
|
|
240
|
+
line-height: 1.3;
|
|
241
|
+
|
|
242
|
+
& > span {
|
|
243
|
+
color: var(--ck-ai-chat-color-icon);
|
|
244
|
+
line-height: 1;
|
|
245
|
+
white-space: normal;
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
}
|
|
152
253
|
}
|
|
153
254
|
}
|
|
154
255
|
}
|