@ckeditor/ckeditor5-ai 46.0.1-alpha.4 → 46.0.1-alpha.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.css +2 -2
- package/dist/index.js +2 -2
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +9 -9
- package/src/adapters/aiadapter.js +1 -1
- package/src/adapters/aitextadapter.js +1 -1
- package/src/adapters/awstextadapter.js +1 -1
- package/src/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant.js +1 -1
- package/src/aiassistantediting.js +1 -1
- package/src/aiassistantui.js +1 -1
- package/src/index.js +1 -1
- package/src/legacyerrors.js +1 -1
- package/src/ui/aiassistantcontroller.js +2 -2
- package/src/ui/form/aiformcontentarea.js +1 -1
- package/src/ui/form/aiformerrorview.js +1 -1
- package/src/ui/form/aiformpromptview.js +1 -1
- package/src/ui/form/aiformtoolbarview.js +1 -1
- package/src/ui/form/aiformview.js +1 -1
- package/src/ui/form/aihistorylistitemview.js +1 -1
- package/src/ui/form/aihistorylistview.js +1 -1
- package/src/ui/form/prompthistory.js +1 -1
- package/src/ui/showaiassistantcommand.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/normalizecommandsconfig.js +1 -1
- package/theme/ai-form.css +2 -2
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x457152=_0x59b0;(function(_0x366a0e,_0x364666){const _0x1be574=_0x59b0,_0x58bac4=_0x366a0e();while(!![]){try{const _0x3cdd17=parseInt(_0x1be574(0x134))/0x1+parseInt(_0x1be574(0x139))/0x2*(parseInt(_0x1be574(0x118))/0x3)+-parseInt(_0x1be574(0x12f))/0x4*(-parseInt(_0x1be574(0x11f))/0x5)+parseInt(_0x1be574(0x138))/0x6+-parseInt(_0x1be574(0x120))/0x7*(-parseInt(_0x1be574(0xf8))/0x8)+-parseInt(_0x1be574(0x106))/0x9+parseInt(_0x1be574(0xfc))/0xa*(-parseInt(_0x1be574(0xec))/0xb);if(_0x3cdd17===_0x364666)break;else _0x58bac4['push'](_0x58bac4['shift']());}catch(_0x4e6fe2){_0x58bac4['push'](_0x58bac4['shift']());}}}(_0x87e2,0x9636b));function _0x59b0(_0x4f328d,_0x2b4c8d){const _0x87e2a7=_0x87e2();return _0x59b0=function(_0x59b0a6,_0x5734c6){_0x59b0a6=_0x59b0a6-0xea;let _0x1b6d0b=_0x87e2a7[_0x59b0a6];return _0x1b6d0b;},_0x59b0(_0x4f328d,_0x2b4c8d);}import{global as _0x3a4187}from'ckeditor5/src/utils.js';function _0x87e2(){const _0xceeda5=['value','appendLoader','86133aNmykG','listenTo','ClipboardItem','setContent','textContent','class','<span>[</span>','37165lHKtoB','2149jXpTQj','wheel','ck-ai-form__content-area--processing','focus','copyButtonView','render','bind','bindTemplate','_createCopyButton','clipboard','write','scrollTo','Copy','body','querySelector','596XZfJsf','ck-ai-form__copy-button-wrapper','style','element','\x20ck-ai-form__copy-button--copied','809342NSnagi','getSelection','locale','lastElementChild','3438312XAHQsg','62MAIjKM','setEndBefore','copy','scrollHeight','change:value','ck-content','appendChild','setTemplate','addRange','8856254uTnlNJ','ck-reset_all-excluded','ck-ai-form__content-area','position','execute','remove','createRange','text/plain','absolute','ck-hidden','ck-ai-form__content-area-wrapper','ck-ai-form__loader','13168DlGBnv','setStartAfter','firstElementChild','<span>]</span>','40IznIiN','ck-ai-form__copy-button','ck-ai-form__content-field','contentFieldView','set','isVisible','_copyHTMLToClipboard','smooth','left','isProcessing','445887ehqaIM','createElement','_createLoader','removeAllRanges','execCommand','change:isProcessing','mousedown','.ck-ai-form__loader','AI\x20is\x20writing...','div','loaderView','icon','-9999px','isEnabled','text/html','innerHTML'];_0x87e2=function(){return _0xceeda5;};return _0x87e2();}import{View as _0x245624,ButtonView as _0x12705e,SpinnerView as _0x290f4a}from'ckeditor5/src/ui.js';import{IconCheck as _0x1a4d75,IconCopy as _0x1298cb}from'ckeditor5/src/icons.js';import{getTranslation as _0xb9c990}from'../../utils/common-translations.js';export class AIFormContentArea extends _0x245624{[_0x457152(0xff)];[_0x457152(0x124)];constructor(_0x5d6edf,_0xa98939=''){const _0x408d6e=_0x457152;super(_0x5d6edf),this[_0x408d6e(0x100)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x56a34a=this[_0x408d6e(0x127)];this[_0x408d6e(0xff)]=new ContentFieldView(_0x5d6edf,_0xa98939),this[_0x408d6e(0x124)]=this[_0x408d6e(0x128)](),this[_0x408d6e(0xea)]({'tag':_0x408d6e(0x10f),'attributes':{'class':['ck',_0x408d6e(0xf6),_0x56a34a['if'](_0x408d6e(0x101),_0x408d6e(0xf5),_0x5ad796=>!_0x5ad796)],'tabindex':'-1'},'children':[{'tag':_0x408d6e(0x10f),'attributes':{'class':['ck',_0x408d6e(0xee),_0x56a34a['if'](_0x408d6e(0x105),_0x408d6e(0x122))]},'children':[this[_0x408d6e(0xff)],{'tag':_0x408d6e(0x10f),'attributes':{'class':['ck',_0x408d6e(0x130)]},'children':[this[_0x408d6e(0x124)]]}]}]});}[_0x457152(0x125)](){const _0x97d85b=_0x457152;super[_0x97d85b(0x125)](),this[_0x97d85b(0x116)]&&this[_0x97d85b(0xff)][_0x97d85b(0x11b)](this[_0x97d85b(0x116)]);let _0x2f4f5b=!0x1;this['on'](_0x97d85b(0x13d),(_0x2d2ab4,_0x371d8f,_0x272bbf)=>{const _0x597f27=_0x97d85b,_0x5ed003=!this[_0x597f27(0xff)][_0x597f27(0x132)][_0x597f27(0x12e)](_0x597f27(0x10d));this[_0x597f27(0xff)][_0x597f27(0x11b)](_0x272bbf),this[_0x597f27(0x105)]&&_0x5ed003&&!_0x2f4f5b&&this[_0x597f27(0x132)][_0x597f27(0x12b)]({'top':this[_0x597f27(0x132)][_0x597f27(0x13c)],'behavior':_0x597f27(0x103)});}),this['on'](_0x97d85b(0x10b),(_0xf88a3e,_0x15407c,_0x1752eb)=>{const _0x567d88=_0x97d85b;_0x2f4f5b=!0x1,_0x1752eb?(this[_0x567d88(0x116)]=null,this[_0x567d88(0xff)][_0x567d88(0x117)]()):this[_0x567d88(0x116)]||this[_0x567d88(0xff)][_0x567d88(0x11b)]('');}),this[_0x97d85b(0x119)](this[_0x97d85b(0x132)],_0x97d85b(0x121),()=>{_0x2f4f5b=!0x0;}),this[_0x97d85b(0x119)](this[_0x97d85b(0x132)],_0x97d85b(0x10c),()=>{_0x2f4f5b=!0x0;});}[_0x457152(0x123)](){const _0x442629=_0x457152;this[_0x442629(0x132)][_0x442629(0x123)]();}[_0x457152(0x128)](){const _0x5b7f21=_0x457152,_0x37156d=this[_0x5b7f21(0x136)],_0x472ed5=new _0x12705e(this[_0x5b7f21(0x136)]),_0x5deccf=_0x5b7f21(0xfd);return _0x472ed5[_0x5b7f21(0x100)]({'label':_0xb9c990(_0x37156d,_0x5b7f21(0x12c)),'icon':_0x1298cb,'class':_0x5deccf,'tooltip':!0x0}),_0x472ed5[_0x5b7f21(0x126)](_0x5b7f21(0x101))['to'](this,_0x5b7f21(0x116),_0x46841f=>!!_0x46841f),_0x472ed5[_0x5b7f21(0x126)](_0x5b7f21(0x113))['to'](this,_0x5b7f21(0x105),_0x175841=>!_0x175841),_0x472ed5['on'](_0x5b7f21(0xf0),()=>{const _0x290a13=_0x5b7f21;this[_0x290a13(0x102)](this[_0x290a13(0xff)][_0x290a13(0x132)]),_0x472ed5[_0x290a13(0x111)]=_0x1a4d75,_0x472ed5[_0x290a13(0x11d)]=_0x5deccf+_0x290a13(0x133),this[_0x290a13(0x123)](),setTimeout(()=>{const _0x5d8e6b=_0x290a13;_0x472ed5[_0x5d8e6b(0x111)]=_0x1298cb,_0x472ed5[_0x5d8e6b(0x11d)]=_0x5deccf;},0x3e8);}),_0x472ed5;}[_0x457152(0x102)](_0x5ed3d1){const _0x465bbc=_0x457152,{window:_0x1538b0,document:_0x3e820e}=_0x3a4187;if(_0x1538b0[_0x465bbc(0x11a)]){const {Blob:_0x32b586,ClipboardItem:_0x412e4a}=_0x1538b0,_0x5e9207=[new _0x412e4a({'text/html':new _0x32b586([_0x5ed3d1[_0x465bbc(0x115)]],{'type':_0x465bbc(0x114)}),'text/plain':new _0x32b586([_0x5ed3d1[_0x465bbc(0x11c)]||''],{'type':_0x465bbc(0xf3)})})];navigator[_0x465bbc(0x129)][_0x465bbc(0x12a)](_0x5e9207);}else{const _0x58c285=_0x3e820e[_0x465bbc(0x107)](_0x465bbc(0x10f));_0x58c285[_0x465bbc(0x131)][_0x465bbc(0xef)]=_0x465bbc(0xf4),_0x58c285[_0x465bbc(0x131)][_0x465bbc(0x104)]=_0x465bbc(0x112),_0x58c285[_0x465bbc(0x115)]=_0x465bbc(0x11e)+_0x5ed3d1[_0x465bbc(0x115)]+_0x465bbc(0xfb),_0x3e820e[_0x465bbc(0x12d)][_0x465bbc(0x13f)](_0x58c285);const _0x10022c=_0x3e820e[_0x465bbc(0xf2)]();_0x10022c[_0x465bbc(0xf9)](_0x58c285[_0x465bbc(0xfa)]),_0x10022c[_0x465bbc(0x13a)](_0x58c285[_0x465bbc(0x137)]);const _0xc99619=_0x1538b0[_0x465bbc(0x135)]();_0xc99619[_0x465bbc(0x109)](),_0xc99619[_0x465bbc(0xeb)](_0x10022c),_0x3e820e[_0x465bbc(0x10a)](_0x465bbc(0x13b)),_0x58c285[_0x465bbc(0xf1)]();}}}export class ContentFieldView extends _0x245624{constructor(_0xad8950,_0x1cba25=''){const _0x33198c=_0x457152;super(_0xad8950),this[_0x33198c(0x110)]=this[_0x33198c(0x108)](),this[_0x33198c(0xea)]({'tag':_0x33198c(0x10f),'attributes':{'class':['ck',_0x33198c(0x13e),_0x1cba25,_0x33198c(0xed),_0x33198c(0xfe)]}});}[_0x457152(0x11b)](_0x225689){const _0x30913a=_0x457152;this[_0x30913a(0x132)][_0x30913a(0x115)]=_0x225689;}[_0x457152(0x117)](){const _0x190b3c=_0x457152;this[_0x190b3c(0x132)][_0x190b3c(0x13f)](this[_0x190b3c(0x110)][_0x190b3c(0x132)]);}[_0x457152(0x108)](){const _0x8aae97=_0x457152,_0x24333c=new _0x245624(),_0x32e1c5=this[_0x8aae97(0x136)],_0x248f83=new _0x290f4a();return _0x248f83[_0x8aae97(0x101)]=!0x0,_0x24333c[_0x8aae97(0xea)]({'tag':_0x8aae97(0x10f),'attributes':{'class':['ck',_0x8aae97(0xf7)]},'children':[_0x248f83,{'text':_0xb9c990(_0x32e1c5,_0x8aae97(0x10e))}]}),_0x24333c[_0x8aae97(0x125)](),_0x24333c;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x4efe11,_0x5cee77){const _0x416230=_0x5cb0,_0x552a0d=_0x4efe11();while(!![]){try{const _0x32d382=-parseInt(_0x416230(0x1c0))/0x1+parseInt(_0x416230(0x1c1))/0x2*(-parseInt(_0x416230(0x1be))/0x3)+parseInt(_0x416230(0x1c2))/0x4*(-parseInt(_0x416230(0x1c5))/0x5)+parseInt(_0x416230(0x1ca))/0x6*(-parseInt(_0x416230(0x1c6))/0x7)+parseInt(_0x416230(0x1cb))/0x8+parseInt(_0x416230(0x1c8))/0x9*(-parseInt(_0x416230(0x1bb))/0xa)+parseInt(_0x416230(0x1c9))/0xb;if(_0x32d382===_0x5cee77)break;else _0x552a0d['push'](_0x552a0d['shift']());}catch(_0x5a8cd7){_0x552a0d['push'](_0x552a0d['shift']());}}}(_0x23d2,0xe2df7));import{IconError as _0x3d535d}from'ckeditor5/src/icons.js';import{View as _0x5c577a,IconView as _0x11262a}from'ckeditor5/src/ui.js';function _0x5cb0(_0x757c45,_0x78e3c2){const _0x23d27b=_0x23d2();return _0x5cb0=function(_0x5cb0c5,_0x4f77b1){_0x5cb0c5=_0x5cb0c5-0x1ba;let _0x2b4c61=_0x23d27b[_0x5cb0c5];return _0x2b4c61;},_0x5cb0(_0x757c45,_0x78e3c2);}export class AIFormErrorView extends _0x5c577a{constructor(_0x280375,_0x5a40e5=''){const _0x482db7=_0x5cb0;super(_0x280375);const _0x4c5cb9=new _0x11262a(),_0x50992e=this[_0x482db7(0x1bc)];this[_0x482db7(0x1c3)](_0x482db7(0x1bd),_0x5a40e5),_0x4c5cb9[_0x482db7(0x1bf)]=_0x3d535d,this[_0x482db7(0x1ba)]({'tag':_0x482db7(0x1c4),'attributes':{'class':['ck',_0x482db7(0x1c7)]},'children':[_0x4c5cb9,{'text':_0x50992e['to'](_0x482db7(0x1bd))}]});}}function _0x23d2(){const _0x344af0=['bindTemplate','text','1077Fjpxcq','content','1346286hUtbat','7114DlYfbA','4LQelJb','set','div','6515940ajcfLG','14eILkDx','ck-ai-form__error','9BHidAS','48689190oHwsTg','447582MGppds','7723128TgXMiO','setTemplate','3867790JQxKhH'];_0x23d2=function(){return _0x344af0;};return _0x23d2();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x3d79(_0x272ad1,_0x26562a){const _0x58431d=_0x5843();return _0x3d79=function(_0x3d7948,_0x2fb9dd){_0x3d7948=_0x3d7948-0xa5;let _0x310fe8=_0x58431d[_0x3d7948];return _0x310fe8;},_0x3d79(_0x272ad1,_0x26562a);}const _0x5cf930=_0x3d79;(function(_0x156be7,_0x4987de){const _0x151ffa=_0x3d79,_0x52968e=_0x156be7();while(!![]){try{const _0x498302=-parseInt(_0x151ffa(0xd8))/0x1*(parseInt(_0x151ffa(0xdb))/0x2)+parseInt(_0x151ffa(0xa7))/0x3+-parseInt(_0x151ffa(0xc5))/0x4+-parseInt(_0x151ffa(0xb0))/0x5*(parseInt(_0x151ffa(0xaf))/0x6)+parseInt(_0x151ffa(0xbf))/0x7*(parseInt(_0x151ffa(0xb7))/0x8)+parseInt(_0x151ffa(0xc6))/0x9+parseInt(_0x151ffa(0xc1))/0xa*(parseInt(_0x151ffa(0xa6))/0xb);if(_0x498302===_0x4987de)break;else _0x52968e['push'](_0x52968e['shift']());}catch(_0x1c9edd){_0x52968e['push'](_0x52968e['shift']());}}}(_0x5843,0xd3b9d));import{Rect as _0x5807a0,global as _0x52a5f3,isVisible as _0x223daf}from'ckeditor5/src/utils.js';function _0x5843(){const _0x180774=['focus','1414388UzUkqr','8763174tAMViS','isVisible','execute','submit','resultsView','uiLanguageDirection','add','locale','fieldWrapperChildren','rtl','filteredView','showHistoryButtonView','ck-ai-form__submit','keystrokes','element','focusFirst','isEmpty','_createSubmitButton','11QLFSuW','excludeScrollbarsAndBorders','Submit','66390pTtiXd','requestAnimationFrame','value','update','bind','target','54153DYCsXs','2157135ReHFQe','_createShowHistoryButton','ck-ai-form__toggle-history','set','focusCycler','maxRows','style','focusLast','18SDegNE','2335525jtUvIA','isOn','History','focusableChildren','fire','fieldView','width','26168wzyVvH','enter','window','render','queryView','submitButtonView','left','right','2212QhzpsI','isEnabled','530eqdPjV','minRows','children'];_0x5843=function(){return _0x180774;};return _0x5843();}import{IconHistory as _0x544c6e,IconSubmit as _0x3153ca}from'ckeditor5/src/icons.js';import{AutocompleteView as _0x14402e,ButtonView as _0x24bba4}from'ckeditor5/src/ui.js';import{getTranslation as _0x457c6f}from'../../utils/common-translations.js';export class AIFormPromptView extends _0x14402e{[_0x5cf930(0xbc)];[_0x5cf930(0xd1)];constructor(_0x4c4536,_0x1f28d4){const _0xdecad5=_0x5cf930;super(_0x4c4536,_0x1f28d4),this[_0xdecad5(0xbb)][_0xdecad5(0xb5)][_0xdecad5(0xc2)]=0x1,this[_0xdecad5(0xbb)][_0xdecad5(0xb5)][_0xdecad5(0xac)]=0x3,this[_0xdecad5(0xbc)]=this[_0xdecad5(0xd7)](),this[_0xdecad5(0xd1)]=this[_0xdecad5(0xa8)](),this[_0xdecad5(0xb3)][_0xdecad5(0xcc)](this[_0xdecad5(0xd1)],0x1),this[_0xdecad5(0xb3)][_0xdecad5(0xcc)](this[_0xdecad5(0xbc)]);}[_0x5cf930(0xba)](){const _0x58f9fe=_0x5cf930;super[_0x58f9fe(0xba)](),this[_0x58f9fe(0xbb)][_0x58f9fe(0xce)][_0x58f9fe(0xcc)](this[_0x58f9fe(0xd1)]),this[_0x58f9fe(0xc3)][_0x58f9fe(0xcc)](this[_0x58f9fe(0xbc)]),this[_0x58f9fe(0xd3)][_0x58f9fe(0xaa)](_0x58f9fe(0xb8),(_0x1ebc16,_0x534bd1)=>{const _0xec1a88=_0x58f9fe;_0x1ebc16[_0xec1a88(0xa5)]==this[_0xec1a88(0xbb)][_0xec1a88(0xb5)][_0xec1a88(0xd4)]&&(this[_0xec1a88(0xc9)](),_0x534bd1());});}[_0x5cf930(0xd7)](){const _0x53a699=_0x5cf930,_0x4ba85c=new _0x24bba4(this[_0x53a699(0xcd)]),_0x361332=this[_0x53a699(0xcd)];return _0x4ba85c[_0x53a699(0xaa)]({'icon':_0x3153ca,'label':_0x457c6f(_0x361332,_0x53a699(0xda)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x53a699(0xd2)}),_0x4ba85c['on'](_0x53a699(0xc8),()=>{const _0x2bb692=_0x53a699;this[_0x2bb692(0xc9)]();}),_0x4ba85c[_0x53a699(0xdf)](_0x53a699(0xc0))['to'](this[_0x53a699(0xbb)][_0x53a699(0xb5)],_0x53a699(0xd6),this,_0x53a699(0xc0),(_0x391d03,_0x5d7fab)=>!_0x391d03&&_0x5d7fab),_0x4ba85c;}[_0x5cf930(0xa8)](){const _0x5e72a9=_0x5cf930,_0x380a01=new _0x24bba4(this[_0x5e72a9(0xcd)]),_0x715e7d=this[_0x5e72a9(0xca)],_0x23e9a8=this[_0x5e72a9(0xcd)];_0x380a01[_0x5e72a9(0xaa)]({'label':_0x457c6f(_0x23e9a8,_0x5e72a9(0xb2)),'withText':!0x1,'icon':_0x544c6e,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x5e72a9(0xa9)}),_0x380a01[_0x5e72a9(0xdf)](_0x5e72a9(0xb1))['to'](_0x715e7d,_0x5e72a9(0xc7)),_0x380a01[_0x5e72a9(0xdf)](_0x5e72a9(0xc0))['to'](this,_0x5e72a9(0xc0)),_0x380a01['on'](_0x5e72a9(0xc8),()=>{const _0x1b2de7=_0x5e72a9;_0x715e7d[_0x1b2de7(0xc7)]=!_0x715e7d[_0x1b2de7(0xc7)],_0x715e7d[_0x1b2de7(0xc7)]?this[_0x1b2de7(0xd0)][_0x1b2de7(0xc4)]():this[_0x1b2de7(0xc4)]();});const _0x3f92e0=()=>{const _0x434ec0=_0x5e72a9;_0x52a5f3[_0x434ec0(0xb9)][_0x434ec0(0xdc)](()=>{const _0x58d576=_0x434ec0;if(_0x223daf(this[_0x58d576(0xd4)])){const _0x10f1dc=new _0x5807a0(this[_0x58d576(0xbb)][_0x58d576(0xb5)][_0x58d576(0xd4)]),_0x4a0928=_0x10f1dc[_0x58d576(0xb6)],_0x4a370e=_0x58d576(0xcf)===_0x23e9a8[_0x58d576(0xcb)]?_0x58d576(0xbd):_0x58d576(0xbe);_0x10f1dc[_0x58d576(0xd9)](),_0x380a01[_0x58d576(0xd4)][_0x58d576(0xad)][_0x4a370e]=_0x4a0928-_0x10f1dc[_0x58d576(0xb6)]+0x1+'px';}});};return this[_0x5e72a9(0xbb)][_0x5e72a9(0xb5)]['on'](_0x5e72a9(0xde),_0x3f92e0),this['on'](_0x5e72a9(0xba),_0x3f92e0),_0x380a01;}[_0x5cf930(0xc9)](){const _0x13dc66=_0x5cf930,_0x45c6d2=this[_0x13dc66(0xbb)][_0x13dc66(0xb5)][_0x13dc66(0xd4)][_0x13dc66(0xdd)];this[_0x13dc66(0xb4)](_0x13dc66(0xc9),_0x45c6d2);}[_0x5cf930(0xc4)](_0x227cba){const _0x3013a5=_0x5cf930;-0x1===_0x227cba?this[_0x3013a5(0xab)][_0x3013a5(0xae)]():this[_0x3013a5(0xab)][_0x3013a5(0xd5)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x40cc1c=_0x4d53;(function(_0x44a445,_0x14b94b){const _0x5e3467=_0x4d53,_0x5d081e=_0x44a445();while(!![]){try{const _0x217e60=-parseInt(_0x5e3467(0xdd))/0x1+-parseInt(_0x5e3467(0xe4))/0x2*(-parseInt(_0x5e3467(0xe6))/0x3)+-parseInt(_0x5e3467(0xee))/0x4*(-parseInt(_0x5e3467(0xe2))/0x5)+-parseInt(_0x5e3467(0xde))/0x6*(parseInt(_0x5e3467(0xfa))/0x7)+parseInt(_0x5e3467(0xd6))/0x8*(parseInt(_0x5e3467(0xd7))/0x9)+-parseInt(_0x5e3467(0xdf))/0xa+-parseInt(_0x5e3467(0xe9))/0xb*(parseInt(_0x5e3467(0xf8))/0xc);if(_0x217e60===_0x14b94b)break;else _0x5d081e['push'](_0x5d081e['shift']());}catch(_0x190c6e){_0x5d081e['push'](_0x5d081e['shift']());}}}(_0xe325,0xdd9fb));import{ToolbarView as _0x53c7e6,ButtonView as _0x5be01a}from'ckeditor5/src/ui.js';function _0xe325(){const _0x27a589=['Try\x20again','set','50WGikUA','ck-hidden','36bOLplb','ck-ai-form__toolbar','259773wmUIep','mainAction','Insert\x20below','75999GeecDd','insertButton','toUpperCase','insert','bind','62916oHItkC','extendTemplate','replaceButton','addMany','AI_','locale','label','items','isVisible','_CONTENT','432sBJfsW','REPLACE','3585463xighkT','_createButton','bindTemplate','376cjgvzO','270747fkvgWJ','replace','stopButton','Stop','tryAgainButton','ck-button-action','212988iFXwRB','12gmTNCN','7359280Eirffg'];_0xe325=function(){return _0x27a589;};return _0xe325();}function _0x4d53(_0x8c1cd7,_0x3bff44){const _0xe325f=_0xe325();return _0x4d53=function(_0x4d53c0,_0x3269b9){_0x4d53c0=_0x4d53c0-0xd5;let _0x172a03=_0xe325f[_0x4d53c0];return _0x172a03;},_0x4d53(_0x8c1cd7,_0x3bff44);}import{getTranslation as _0x56a30b}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x40cc1c(0xd8),'INSERT':_0x40cc1c(0xec)};export class AIFormToolbarView extends _0x53c7e6{constructor(_0x282a7e){const _0x12e6ac=_0x40cc1c;super(_0x282a7e),this[_0x12e6ac(0xe1)](_0x12e6ac(0xf6),!0x1),this[_0x12e6ac(0xe1)](_0x12e6ac(0xe7),AIFormToolbarViewMainActionLabel[_0x12e6ac(0xf9)]),this[_0x12e6ac(0xf0)]=this[_0x12e6ac(0xfb)]('',_0x12e6ac(0xdc)),this[_0x12e6ac(0xf0)][_0x12e6ac(0xed)](_0x12e6ac(0xf4))['to'](this,_0x12e6ac(0xe7),_0x45943f=>_0x56a30b(_0x282a7e,_0x12e6ac(0xf2)+_0x45943f[_0x12e6ac(0xeb)]()+_0x12e6ac(0xf7))),this[_0x12e6ac(0xea)]=this[_0x12e6ac(0xfb)](_0x56a30b(_0x282a7e,_0x12e6ac(0xe8))),this[_0x12e6ac(0xdb)]=this[_0x12e6ac(0xfb)](_0x56a30b(_0x282a7e,_0x12e6ac(0xe0))),this[_0x12e6ac(0xd9)]=this[_0x12e6ac(0xfb)](_0x56a30b(_0x282a7e,_0x12e6ac(0xda)));const _0x3f7d11=this[_0x12e6ac(0xd5)];this[_0x12e6ac(0xef)]({'attributes':{'class':[_0x12e6ac(0xe5),_0x3f7d11['if'](_0x12e6ac(0xf6),_0x12e6ac(0xe3),_0x4da118=>!_0x4da118)]}}),this[_0x12e6ac(0xf5)][_0x12e6ac(0xf1)]([this[_0x12e6ac(0xf0)],this[_0x12e6ac(0xea)],this[_0x12e6ac(0xdb)],this[_0x12e6ac(0xd9)]]);}[_0x40cc1c(0xfb)](_0x807b4f,_0x354dc9){const _0x25f33b=_0x40cc1c,_0x5a1b9c=new _0x5be01a(this[_0x25f33b(0xf3)]);return _0x5a1b9c[_0x25f33b(0xe1)]({'label':_0x807b4f,'class':_0x354dc9||'','isVisible':!0x0,'withText':!0x0}),_0x5a1b9c;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x32c335=_0x5d3e;(function(_0xc6203,_0x18d0eb){const _0x3121a0=_0x5d3e,_0xe7f364=_0xc6203();while(!![]){try{const _0x2760b0=-parseInt(_0x3121a0(0xd5))/0x1*(-parseInt(_0x3121a0(0xb8))/0x2)+parseInt(_0x3121a0(0xc2))/0x3+parseInt(_0x3121a0(0xd9))/0x4+-parseInt(_0x3121a0(0xc9))/0x5*(-parseInt(_0x3121a0(0xe1))/0x6)+parseInt(_0x3121a0(0xd6))/0x7+-parseInt(_0x3121a0(0xea))/0x8*(parseInt(_0x3121a0(0xc6))/0x9)+-parseInt(_0x3121a0(0xe9))/0xa;if(_0x2760b0===_0x18d0eb)break;else _0xe7f364['push'](_0xe7f364['shift']());}catch(_0x8fe235){_0xe7f364['push'](_0xe7f364['shift']());}}}(_0x15cc,0xb25b8));import{FocusTracker as _0x34e4c2,KeystrokeHandler as _0x4b14a7}from'ckeditor5/src/utils.js';import{View as _0x346bdb,FocusCycler as _0x2cd952,createLabeledTextarea as _0x4ca431}from'ckeditor5/src/ui.js';import{AIFormToolbarView as _0x5b5a30,AIFormToolbarViewMainActionLabel as _0x153509}from'./aiformtoolbarview.js';import{AIFormContentArea as _0x59cb44}from'./aiformcontentarea.js';function _0x15cc(){const _0x2eeed0=['div','replaceContent','tryAgainButton','12eFWjXd','bind','prompt','keystrokes','search','isVisible','copyButtonView','isProcessing','25891050imihyU','24128eISLTi','focusFirst','focus','label','submit','Ask\x20AI\x20to\x20edit\x20or\x20generate','items','mainAction','isEnabled','_createHistoryView','AI_ERROR_FAILED','promptView','_createPromptView','replaceButton','ck-hidden','startProcessing','set','execute','REPLACE','trim','stopButton','tryAgainEvent','bindTo','_focusables','submitPrompt','ck-ai-form','isError','insertContentBelow','errorView','add','ck-ai-form-content','render','Ask\x20AI\x20to\x20improve\x20generated\x20text','historyGroupView','clearHistory','32CJbdji','toolbar','element','createCollection','insertButton','clear','focusTracker','queryView','_promptHistory','finishProcessing','2918652XcCUbo','value','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','delegate','1494sCFXxR','bindTemplate','focusCycler','1631970vTKIyU','locale','handleError','setTemplate','tab','listenTo','Empty\x20history','high','reset','text','contentArea','fieldView','16237rQoRSr','7980175IeRExy','_createToolbar','stopProcessing','3179296HsFIaP','fire','chain','focusLast','shift\x20+\x20tab'];_0x15cc=function(){return _0x2eeed0;};return _0x15cc();}function _0x5d3e(_0x5da0e2,_0x1c0fd9){const _0x15ccc5=_0x15cc();return _0x5d3e=function(_0x5d3e42,_0x5d8966){_0x5d3e42=_0x5d3e42-0xab;let _0x380f3f=_0x15ccc5[_0x5d3e42];return _0x380f3f;},_0x5d3e(_0x5da0e2,_0x1c0fd9);}import{AIFormErrorView as _0x3b0a6e}from'./aiformerrorview.js';import{AIFormPromptView as _0x14a62a}from'./aiformpromptview.js';import{AIHistoryListView as _0x4a571c}from'./aihistorylistview.js';import{AIHistoryListItemView as _0x59646f}from'./aihistorylistitemview.js';import{PromptHistory as _0x22b483}from'./prompthistory.js';import{getTranslation as _0x16a0d8}from'../../utils/common-translations.js';import{escape as _0x41b4ae}from'es-toolkit/compat';export class AIFormView extends _0x346bdb{[_0x32c335(0xbe)];[_0x32c335(0xe4)];[_0x32c335(0xd3)];[_0x32c335(0xb9)];[_0x32c335(0xf5)];[_0x32c335(0xb1)];[_0x32c335(0xac)];[_0x32c335(0xc8)];[_0x32c335(0xc0)];constructor(_0x3b0aaf,_0x1d416d,_0x32cba2=''){const _0x40b43c=_0x32c335;super(_0x3b0aaf),this[_0x40b43c(0xfa)](_0x40b43c(0xf2),!0x0),this[_0x40b43c(0xfa)](_0x40b43c(0xe8),!0x1),this[_0x40b43c(0xfa)](_0x40b43c(0xe3),''),this[_0x40b43c(0xfa)](_0x40b43c(0xc3),''),this[_0x40b43c(0xfa)](_0x40b43c(0xaf),!0x1),this[_0x40b43c(0xfa)](_0x40b43c(0xf1),_0x153509[_0x40b43c(0xfc)]),this[_0x40b43c(0xc0)]=new _0x22b483(),this[_0x40b43c(0xb1)]=new _0x3b0a6e(_0x3b0aaf),this[_0x40b43c(0xd3)]=new _0x59cb44(_0x3b0aaf,_0x32cba2),this[_0x40b43c(0xd3)][_0x40b43c(0xe2)](_0x40b43c(0xe8))['to'](this),this[_0x40b43c(0xd3)][_0x40b43c(0xe2)](_0x40b43c(0xc3))['to'](this),this[_0x40b43c(0xb9)]=this[_0x40b43c(0xd7)](),this[_0x40b43c(0xb9)][_0x40b43c(0xe2)](_0x40b43c(0xf1))['to'](this),this[_0x40b43c(0xf5)]=this[_0x40b43c(0xf6)](),this[_0x40b43c(0xbe)]=new _0x34e4c2(),this[_0x40b43c(0xe4)]=new _0x4b14a7(),this[_0x40b43c(0xac)]=this[_0x40b43c(0xbb)]([this[_0x40b43c(0xd3)],this[_0x40b43c(0xd3)][_0x40b43c(0xe7)],this[_0x40b43c(0xb9)],this[_0x40b43c(0xf5)]]),this[_0x40b43c(0xc8)]=new _0x2cd952({'focusables':this[_0x40b43c(0xac)],'focusTracker':this[_0x40b43c(0xbe)],'keystrokeHandler':this[_0x40b43c(0xe4)],'actions':{'focusPrevious':_0x40b43c(0xdd),'focusNext':_0x40b43c(0xcd)}}),this[_0x40b43c(0xc8)][_0x40b43c(0xdb)](this[_0x40b43c(0xf5)][_0x40b43c(0xc8)]),this[_0x40b43c(0xf5)][_0x40b43c(0xbf)][_0x40b43c(0xd4)][_0x40b43c(0xe2)](_0x40b43c(0xc3))['to'](this,_0x40b43c(0xe3));const _0x1552cc=this[_0x40b43c(0xc7)];this[_0x40b43c(0xcc)]({'tag':_0x40b43c(0xde),'attributes':{'class':['ck',_0x40b43c(0xae),_0x1d416d],'tabindex':'-1'},'children':[{'tag':_0x40b43c(0xde),'attributes':{'class':['ck',_0x40b43c(0xb3)]},'children':[{'tag':_0x40b43c(0xde),'attributes':{'class':[_0x1552cc['if'](_0x40b43c(0xaf),_0x40b43c(0xf8),_0x3edd23=>!_0x3edd23)]},'children':[this[_0x40b43c(0xb1)]]},this[_0x40b43c(0xd3)],this[_0x40b43c(0xb9)],this[_0x40b43c(0xf5)]]}]});}[_0x32c335(0xb4)](){const _0x2fd388=_0x32c335;super[_0x2fd388(0xb4)](),this[_0x2fd388(0xbe)][_0x2fd388(0xb2)](this[_0x2fd388(0xd3)][_0x2fd388(0xba)]),this[_0x2fd388(0xbe)][_0x2fd388(0xb2)](this[_0x2fd388(0xd3)][_0x2fd388(0xe7)][_0x2fd388(0xba)]),this[_0x2fd388(0xbe)][_0x2fd388(0xb2)](this[_0x2fd388(0xb9)][_0x2fd388(0xba)]),this[_0x2fd388(0xbe)][_0x2fd388(0xb2)](this[_0x2fd388(0xf5)][_0x2fd388(0xba)]),this[_0x2fd388(0xe4)][_0x2fd388(0xce)](this[_0x2fd388(0xba)]);}[_0x32c335(0xec)](_0x3005f2=0x1){const _0x3fb8da=_0x32c335;-0x1===_0x3005f2?this[_0x3fb8da(0xc8)][_0x3fb8da(0xdc)]():this[_0x3fb8da(0xc8)][_0x3fb8da(0xeb)]();}[_0x32c335(0xd1)](){const _0x4a70f5=_0x32c335;this[_0x4a70f5(0xe3)]='',this[_0x4a70f5(0xc3)]='',this[_0x4a70f5(0xaf)]=!0x1,this[_0x4a70f5(0xf5)][_0x4a70f5(0xd1)](),this[_0x4a70f5(0xd3)][_0x4a70f5(0xe6)]=!0x1,this[_0x4a70f5(0xb9)][_0x4a70f5(0xe6)]=!0x1;}[_0x32c335(0xf6)](){const _0x452c29=_0x32c335,_0x5a1439=this[_0x452c29(0xca)],_0x3f9625=new _0x14a62a(_0x5a1439,{'queryView':{'label':_0x16a0d8(_0x5a1439,_0x452c29(0xef)),'creator':_0x4ca431,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x16a0d8(_0x5a1439,_0x452c29(0xcf)),'secondary':_0x16a0d8(_0x5a1439,_0x452c29(0xc4))}}},'filteredView':this[_0x452c29(0xf3)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x3f9625[_0x452c29(0xe2)](_0x452c29(0xf2))['to'](this,_0x452c29(0xf2),this,_0x452c29(0xe8),(_0x58965f,_0x17490f)=>_0x58965f&&!_0x17490f),this[_0x452c29(0xce)](_0x3f9625,_0x452c29(0xee),(_0x27ca27,_0x39f874)=>{const _0xf861c3=_0x452c29;this[_0xf861c3(0xe3)]=_0x39f874;const _0x1bac23=_0x41b4ae(_0x39f874);this[_0xf861c3(0xda)](_0xf861c3(0xad),_0x1bac23),_0x39f874[_0xf861c3(0xfd)]()&&this[_0xf861c3(0xc0)][_0xf861c3(0xb2)]({'prompt':_0x1bac23},0x0);},{'priority':_0x452c29(0xd0)}),_0x3f9625;}[_0x32c335(0xf3)](){const _0x4c5e25=_0x32c335,_0x205fe3=new _0x4a571c(this[_0x4c5e25(0xca)]);return _0x205fe3[_0x4c5e25(0xb6)][_0x4c5e25(0xf0)][_0x4c5e25(0xab)](this[_0x4c5e25(0xc0)])['as'](_0x59646f),_0x205fe3['on'](_0x4c5e25(0xb7),()=>{const _0xcb6bf3=_0x4c5e25;this[_0xcb6bf3(0xc0)][_0xcb6bf3(0xbd)](),this[_0xcb6bf3(0xf5)][_0xcb6bf3(0xe5)](''),this[_0xcb6bf3(0xf5)][_0xcb6bf3(0xec)]();}),_0x205fe3;}[_0x32c335(0xd7)](){const _0x33c7ea=_0x32c335,_0x144362=new _0x5b5a30(this[_0x33c7ea(0xca)]);return _0x144362[_0x33c7ea(0xf7)][_0x33c7ea(0xe2)](_0x33c7ea(0xf2))['to'](this,_0x33c7ea(0xf2),this,_0x33c7ea(0xe8),this,_0x33c7ea(0xc3),(_0xebd934,_0x17d988,_0x10fea7)=>_0xebd934&&!_0x17d988&&!!_0x10fea7),_0x144362[_0x33c7ea(0xf7)][_0x33c7ea(0xc5)](_0x33c7ea(0xfb))['to'](this,_0x33c7ea(0xdf)),_0x144362[_0x33c7ea(0xbc)][_0x33c7ea(0xe2)](_0x33c7ea(0xf2))['to'](this,_0x33c7ea(0xf2),this,_0x33c7ea(0xe8),this,_0x33c7ea(0xc3),(_0x2559b0,_0x64e19a,_0x2e05ce)=>_0x2559b0&&!_0x64e19a&&!!_0x2e05ce),_0x144362[_0x33c7ea(0xbc)][_0x33c7ea(0xc5)](_0x33c7ea(0xfb))['to'](this,_0x33c7ea(0xb0)),_0x144362[_0x33c7ea(0xe0)][_0x33c7ea(0xe2)](_0x33c7ea(0xf2))['to'](this,_0x33c7ea(0xf2),this,_0x33c7ea(0xe8),(_0x3dd268,_0x52c2b4)=>_0x3dd268&&!_0x52c2b4),_0x144362[_0x33c7ea(0xe0)][_0x33c7ea(0xc5)](_0x33c7ea(0xfb))['to'](this,_0x33c7ea(0xff)),_0x144362[_0x33c7ea(0xfe)][_0x33c7ea(0xe2)](_0x33c7ea(0xf2))['to'](this,_0x33c7ea(0xe8)),_0x144362[_0x33c7ea(0xfe)][_0x33c7ea(0xc5)](_0x33c7ea(0xfb))['to'](this,_0x33c7ea(0xd8)),_0x144362;}[_0x32c335(0xf9)](){const _0x5e3978=_0x32c335;this[_0x5e3978(0xc3)]='',this[_0x5e3978(0xaf)]=!0x1,this[_0x5e3978(0xe8)]=!0x0,this[_0x5e3978(0xd3)][_0x5e3978(0xe6)]=!0x0,this[_0x5e3978(0xb9)][_0x5e3978(0xe6)]=!0x0,this[_0x5e3978(0xd3)][_0x5e3978(0xec)]();}[_0x32c335(0xc1)](){const _0x18c074=_0x32c335,_0x184ecf=this[_0x18c074(0xca)];this[_0x18c074(0xe8)]=!0x1,this[_0x18c074(0xe3)]='',this[_0x18c074(0xf5)][_0x18c074(0xd1)](),this[_0x18c074(0xc3)]&&(this[_0x18c074(0xf5)][_0x18c074(0xbf)][_0x18c074(0xed)]=_0x16a0d8(_0x184ecf,_0x18c074(0xb5)));}[_0x32c335(0xcb)](_0x1ee76d){const _0x279c76=_0x32c335,_0x7a0465=this[_0x279c76(0xca)];this[_0x279c76(0xc1)](),this[_0x279c76(0xaf)]=!0x0,this[_0x279c76(0xb1)][_0x279c76(0xd2)]=_0x1ee76d||_0x16a0d8(_0x7a0465,_0x279c76(0xf4)),this[_0x279c76(0xc3)]||(this[_0x279c76(0xd3)][_0x279c76(0xe6)]=!0x1);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x137295,_0x1d1647){const _0x32526c=_0x32ea,_0x11a468=_0x137295();while(!![]){try{const _0x1bf446=-parseInt(_0x32526c(0x10f))/0x1+parseInt(_0x32526c(0x10d))/0x2*(parseInt(_0x32526c(0x10e))/0x3)+parseInt(_0x32526c(0x112))/0x4+parseInt(_0x32526c(0x118))/0x5+-parseInt(_0x32526c(0x111))/0x6+-parseInt(_0x32526c(0x116))/0x7+-parseInt(_0x32526c(0x109))/0x8*(parseInt(_0x32526c(0x10c))/0x9);if(_0x1bf446===_0x1d1647)break;else _0x11a468['push'](_0x11a468['shift']());}catch(_0x9940d6){_0x11a468['push'](_0x11a468['shift']());}}}(_0x4751,0x32ba3));import{ListItemView as _0x1ec6ba,ButtonView as _0x2d8fd5,ButtonLabelView as _0x1526ee}from'ckeditor5/src/ui.js';import{unescape as _0x18b17a}from'es-toolkit/compat';export class AIHistoryListItemView extends _0x1ec6ba{constructor(_0x37cba1){const _0x262616=_0x32ea;super();const _0x162508=new _0x1526ee(),_0x32dd30=new _0x2d8fd5(this[_0x262616(0x10a)],_0x162508);this[_0x262616(0x10b)][_0x262616(0x114)](_0x32dd30),_0x32dd30[_0x262616(0x113)]({'label':_0x37cba1[_0x262616(0x110)],'withText':!0x0}),_0x32dd30['on'](_0x262616(0x117),()=>{const _0xdec344=_0x262616;this[_0xdec344(0x115)](_0xdec344(0x117),{'value':_0x18b17a(_0x37cba1[_0xdec344(0x110)])});});}}function _0x32ea(_0x1d8603,_0x1d5dbb){const _0x47515d=_0x4751();return _0x32ea=function(_0x32eaee,_0x212cd6){_0x32eaee=_0x32eaee-0x109;let _0x119563=_0x47515d[_0x32eaee];return _0x119563;},_0x32ea(_0x1d8603,_0x1d5dbb);}function _0x4751(){const _0x3df4ea=['1439228wvzEQX','execute','1231910hJBMBp','1971392MDTOyM','locale','children','9fQVkwc','2hbZPwb','858633tRyEhb','19042epoRMQ','prompt','1314078ngfHKJ','1461076IiSVDy','set','add','fire'];_0x4751=function(){return _0x3df4ea;};return _0x4751();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xf2ee2b=_0x1c28;function _0x1c28(_0x22b1cf,_0x551dbc){const _0x26768d=_0x2676();return _0x1c28=function(_0x1c285e,_0xadf7d7){_0x1c285e=_0x1c285e-0x16a;let _0x5d941a=_0x26768d[_0x1c285e];return _0x5d941a;},_0x1c28(_0x22b1cf,_0x551dbc);}(function(_0x8f850f,_0x1f5608){const _0x58a2d8=_0x1c28,_0x2374df=_0x8f850f();while(!![]){try{const _0x59e02b=parseInt(_0x58a2d8(0x173))/0x1*(-parseInt(_0x58a2d8(0x170))/0x2)+-parseInt(_0x58a2d8(0x184))/0x3*(-parseInt(_0x58a2d8(0x183))/0x4)+-parseInt(_0x58a2d8(0x16b))/0x5+parseInt(_0x58a2d8(0x179))/0x6+-parseInt(_0x58a2d8(0x174))/0x7+parseInt(_0x58a2d8(0x181))/0x8*(parseInt(_0x58a2d8(0x16c))/0x9)+-parseInt(_0x58a2d8(0x177))/0xa;if(_0x59e02b===_0x1f5608)break;else _0x2374df['push'](_0x2374df['shift']());}catch(_0x5b361f){_0x2374df['push'](_0x2374df['shift']());}}}(_0x2676,0xbae94));import{ListView as _0x4c1204,ListItemGroupView as _0x5c74c5,ButtonView as _0x1c5813}from'ckeditor5/src/ui.js';function _0x2676(){const _0x57f3f9=['set','27736BABZZn','633IoVnFv','clearHistory','3370810XuoiwA','9ukzqfX','children','length','clearHistoryButton','226SmMNiG','delegate','Clear','15KOhmHm','9550702KLXtzk','add','items','5859890BkgkkJ','_createClearHistoryButton','7663638baqsuB','filter','label','historyGroupView','fire','execute','locale','Prompt\x20history','5211784JRkNyH'];_0x2676=function(){return _0x57f3f9;};return _0x2676();}import{getTranslation as _0x184752}from'../../utils/common-translations.js';export class AIHistoryListView extends _0x4c1204{[_0xf2ee2b(0x17c)];[_0xf2ee2b(0x16f)];constructor(_0x38f7c3){const _0x56450f=_0xf2ee2b;super(_0x38f7c3),this[_0x56450f(0x16f)]=this[_0x56450f(0x178)](),this[_0x56450f(0x17c)]=new _0x5c74c5(),this[_0x56450f(0x17c)][_0x56450f(0x16d)][_0x56450f(0x175)](this[_0x56450f(0x16f)],0x1),this[_0x56450f(0x17c)][_0x56450f(0x17b)]=_0x184752(_0x38f7c3,_0x56450f(0x180)),this[_0x56450f(0x17c)][_0x56450f(0x176)][_0x56450f(0x171)](_0x56450f(0x17e))['to'](this),this[_0x56450f(0x176)][_0x56450f(0x175)](this[_0x56450f(0x17c)]);}[_0xf2ee2b(0x17a)](){const _0x2fd6bd=_0xf2ee2b;let _0x5a12e0=0x0;for(const _0x2df222 of this[_0x2fd6bd(0x176)])_0x5a12e0+=_0x2df222[_0x2fd6bd(0x176)][_0x2fd6bd(0x16e)];return{'resultsCount':_0x5a12e0,'totalItemsCount':_0x5a12e0};}[_0xf2ee2b(0x178)](){const _0x234648=_0xf2ee2b,_0x502614=this[_0x234648(0x17f)],_0x26ec8c=new _0x1c5813(this[_0x234648(0x17f)]);return _0x26ec8c[_0x234648(0x182)]({'label':'('+_0x184752(_0x502614,_0x234648(0x172))+')','withText':!0x0}),_0x26ec8c['on'](_0x234648(0x17e),()=>this[_0x234648(0x17d)](_0x234648(0x16a))),_0x26ec8c;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x192f64=_0x109a;(function(_0x40d843,_0x379e0f){const _0x1a710f=_0x109a,_0x3c2726=_0x40d843();while(!![]){try{const _0x2aeaf6=-parseInt(_0x1a710f(0xe8))/0x1*(parseInt(_0x1a710f(0xdc))/0x2)+parseInt(_0x1a710f(0xe5))/0x3+parseInt(_0x1a710f(0xdb))/0x4+parseInt(_0x1a710f(0xda))/0x5+parseInt(_0x1a710f(0xdd))/0x6+parseInt(_0x1a710f(0xe6))/0x7*(parseInt(_0x1a710f(0xec))/0x8)+-parseInt(_0x1a710f(0xee))/0x9;if(_0x2aeaf6===_0x379e0f)break;else _0x3c2726['push'](_0x3c2726['shift']());}catch(_0x510bb3){_0x3c2726['push'](_0x3c2726['shift']());}}}(_0x2e2f,0xdce85));import{Collection as _0x53969d}from'ckeditor5/src/utils.js';const ts=_0x192f64(0xe4);export class PromptHistory extends _0x53969d{constructor(){const _0x3f1e80=_0x192f64;super(),this[_0x3f1e80(0xe7)](),this['on'](_0x3f1e80(0xeb),(_0x26b674,_0x2f105a)=>{const _0x3b773e=_0x3f1e80,_0x46c8d2=os(_0x2f105a[_0x3b773e(0xd9)]);for(const _0x15612b of this)if(_0x15612b!=_0x2f105a&&os(_0x15612b[_0x3b773e(0xd9)])===_0x46c8d2){this[_0x3b773e(0xe1)](_0x15612b);break;}this[_0x3b773e(0xd8)]>0x14&&this[_0x3b773e(0xe1)](this[_0x3b773e(0xdf)]),this[_0x3b773e(0xea)]();}),this['on'](_0x3f1e80(0xe1),()=>{const _0x346261=_0x3f1e80;this[_0x346261(0xea)]();});}[_0x192f64(0xe7)](){const _0xcdd00d=_0x192f64,_0x337baa=sessionStorage[_0xcdd00d(0xe9)](ts)||'[]';this[_0xcdd00d(0xe2)](JSON[_0xcdd00d(0xf0)](_0x337baa));}[_0x192f64(0xea)](){const _0x2103d9=_0x192f64;sessionStorage[_0x2103d9(0xe3)](ts,JSON[_0x2103d9(0xed)](this[_0x2103d9(0xde)](_0x421d6d=>_0x421d6d)));}}function _0x109a(_0x3df4a9,_0x4b8aff){const _0x2e2f38=_0x2e2f();return _0x109a=function(_0x109a89,_0x1f15c9){_0x109a89=_0x109a89-0xd8;let _0x299ffa=_0x2e2f38[_0x109a89];return _0x299ffa;},_0x109a(_0x3df4a9,_0x4b8aff);}function _0x2e2f(){const _0x4b4fda=['24krgzDc','stringify','42501033gPaXHZ','trim','parse','length','prompt','1576065aRUZTZ','3379456DacPVY','6SBPMdW','10668282OAAewp','map','last','toLowerCase','remove','addMany','setItem','CKEditor/AIFormView/PromptHistory','4194657RcOvGp','3804773CaMXVO','_loadFromSessionStorage','113262IiNGVs','getItem','_saveToSessionStorage','add'];_0x2e2f=function(){return _0x4b4fda;};return _0x2e2f();}function os(_0x1a99bd){const _0x524f28=_0x192f64;return _0x1a99bd[_0x524f28(0xe0)]()[_0x524f28(0xef)]();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3d4c15=_0x2e4d;function _0x2e53(){const _0x115b30=['change:isEnabled','values','model','2814327qGJnit','length','get','showUI','selection','plugins','editor','execute','custom','isEnabled','set','hasContent','_hasContext','element','change:_hasContext','1360006EdkdON','7212fGPmkU','1eqRUge','31060720xCRTeG','requiresContent','3672zQShon','refresh','name','isCollapsed','_commandDefinitions','from','document','ai.aiAssistant.disabledElements','getFirstRange','getSelectedBlocks','config','isEmpty','enabledCommandsIds','9062755JRURzI','3027sEBNkw','add','getItems','getRanges','3059jgIhMk','includes','1814488IDsVxi'];_0x2e53=function(){return _0x115b30;};return _0x2e53();}(function(_0x45bf7b,_0x648233){const _0x4c6b88=_0x2e4d,_0x19d8c3=_0x45bf7b();while(!![]){try{const _0xf41004=parseInt(_0x4c6b88(0x1bd))/0x1*(parseInt(_0x4c6b88(0x1bb))/0x2)+-parseInt(_0x4c6b88(0x1ce))/0x3*(-parseInt(_0x4c6b88(0x1bc))/0x4)+parseInt(_0x4c6b88(0x1cd))/0x5+-parseInt(_0x4c6b88(0x1c0))/0x6*(-parseInt(_0x4c6b88(0x1d2))/0x7)+-parseInt(_0x4c6b88(0x1d4))/0x8+-parseInt(_0x4c6b88(0x1d8))/0x9+-parseInt(_0x4c6b88(0x1be))/0xa;if(_0xf41004===_0x648233)break;else _0x19d8c3['push'](_0x19d8c3['shift']());}catch(_0x298616){_0x19d8c3['push'](_0x19d8c3['shift']());}}}(_0x2e53,0xe3f07));import{Command as _0x53a5f6}from'ckeditor5/src/core.js';function _0x2e4d(_0x138bcd,_0x33e5e5){const _0x2e534e=_0x2e53();return _0x2e4d=function(_0x2e4d5f,_0x2c3b54){_0x2e4d5f=_0x2e4d5f-0x1af;let _0x5aa169=_0x2e534e[_0x2e4d5f];return _0x5aa169;},_0x2e4d(_0x138bcd,_0x33e5e5);}import{AIAssistantUI as _0xed9442}from'../aiassistantui.js';export class ShowAIAssistantCommand extends _0x53a5f6{[_0x3d4c15(0x1c4)];constructor(_0x2168e8,_0x2f4594){const _0x26d5fc=_0x3d4c15;super(_0x2168e8),this[_0x26d5fc(0x1c4)]=_0x2f4594,this[_0x26d5fc(0x1b6)](_0x26d5fc(0x1cc),[]),this['on'](_0x26d5fc(0x1ba),(_0x91538b,_0x59e44c,_0x4b3a65)=>{const _0x4cedd8=_0x26d5fc;this[_0x4cedd8(0x1b5)]&&(this[_0x4cedd8(0x1cc)]=F(this[_0x4cedd8(0x1c4)],_0x4b3a65));}),this[_0x26d5fc(0x1b6)](_0x26d5fc(0x1b8),!0x1),this['on'](_0x26d5fc(0x1d5),(_0x1ddcd7,_0x5dd69f,_0x2475c2)=>{const _0x708305=_0x26d5fc;this[_0x708305(0x1cc)]=_0x2475c2?F(this[_0x708305(0x1c4)],this[_0x708305(0x1b8)]):[];});}[_0x3d4c15(0x1c1)](){const _0x532dd1=_0x3d4c15,_0x436645=this[_0x532dd1(0x1b2)][_0x532dd1(0x1d7)];this[_0x532dd1(0x1b8)]=function(_0x52a915){const _0x182ef2=_0x532dd1,_0x3db67a=_0x52a915[_0x182ef2(0x1c6)][_0x182ef2(0x1b0)];return _0x3db67a[_0x182ef2(0x1c3)]?0x0!==[..._0x3db67a[_0x182ef2(0x1c9)]()][_0x182ef2(0x1d9)]&&![..._0x3db67a[_0x182ef2(0x1c9)]()][0x0][_0x182ef2(0x1cb)]:!!_0x52a915[_0x182ef2(0x1b7)](_0x3db67a[_0x182ef2(0x1c8)]());}(_0x436645);const _0x4c8ceb=_0x436645[_0x532dd1(0x1c6)][_0x532dd1(0x1b0)],_0xa72621=this[_0x532dd1(0x1b2)][_0x532dd1(0x1ca)][_0x532dd1(0x1da)](_0x532dd1(0x1c7));for(const _0x2916d7 of _0x4c8ceb[_0x532dd1(0x1d1)]())for(const _0x4f21df of _0x2916d7[_0x532dd1(0x1d0)]())if(_0x4f21df['is'](_0x532dd1(0x1b9))&&_0xa72621[_0x532dd1(0x1d3)](_0x4f21df[_0x532dd1(0x1c2)]))return void(this[_0x532dd1(0x1b5)]=!0x1);this[_0x532dd1(0x1b5)]=!0x0;}[_0x3d4c15(0x1b3)](_0x4108f9='',_0x19fa93='',_0x287419=_0x3d4c15(0x1b4)){const _0x2c8b16=_0x3d4c15;this[_0x2c8b16(0x1b2)][_0x2c8b16(0x1b1)][_0x2c8b16(0x1da)](_0xed9442)[_0x2c8b16(0x1af)](_0x4108f9,_0x19fa93,_0x287419);}}function F(_0x2f5cea,_0x122960){const _0x11276d=_0x3d4c15,_0x4a401f=new Set();for(const _0x3f2df6 of _0x2f5cea[_0x11276d(0x1d6)]())(_0x122960||!0x1===_0x3f2df6[_0x11276d(0x1bf)])&&_0x4a401f[_0x11276d(0x1cf)](_0x3f2df6['id']);return Array[_0x11276d(0x1c5)](_0x4a401f);}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x2cea47,_0x5cb259,_0x58204e){const t=_0x2cea47['t'];switch(_0x5cb259){case'Edit\x20or\x20review':return t('Edit\x20or\x20review');case'Improve\x20writing':return t('Improve\x20writing');case'Make\x20shorter':return t('Make\x20shorter');case'Make\x20longer':return t('Make\x20longer');case'Simplify\x20language':return t('Simplify\x20language');case'Generate\x20from\x20selection':return t('Generate\x20from\x20selection');case'Summarize':return t('Summarize');case'Continue':return t('Continue');case'Change\x20tone':return t('Change\x20tone');case'Professional':return t('Professional');case'Casual':return t('Casual');case'Direct':return t('Direct');case'Confident':return t('Confident');case'Friendly':return t('Friendly');case'Change\x20style':return t('Change\x20style');case'Business':return t('Business');case'Legal':return t('Legal');case'Journalism':return t('Journalism');case'Poetic':return t('Poetic');case'Translate':return t('Translate');case'English':return t('English');case'Spanish':return t('Spanish');case'German':return t('German');case'Portuguese':return t('Portuguese');case'French':return t('French');case'Simplified\x20Chinese':return t('Simplified\x20Chinese');case'Hindi':return t('Hindi');case'Arabic':return t('Arabic');case'AI\x20Assistant':return t('AI\x20Assistant');case'AI\x20Commands':return t('AI\x20Commands');case'Ask\x20AI\x20to\x20edit\x20or\x20generate':return t('Ask\x20AI\x20to\x20edit\x20or\x20generate');case'Ask\x20AI\x20to\x20improve\x20generated\x20text':return t('Ask\x20AI\x20to\x20improve\x20generated\x20text');case'Copy':return t('Copy');case'Submit':return t('Submit');case'Insert\x20below':return t('Insert\x20below');case'Try\x20again':return t('Try\x20again');case'Stop':return t('Stop');case'AI\x20is\x20writing...':return t('AI\x20is\x20writing...');case'AI\x20is\x20writing':return t('AI\x20is\x20writing');case'Generated\x20content:\x20%0':return t('Generated\x20content:\x20%0',_0x58204e);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x58204e);case'History':return t('History');case'Empty\x20history':return t('Empty\x20history');case'Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.':return t('Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.');case'Prompt\x20history':return t('Prompt\x20history');case'Clear':return t('Clear');case'AI_REPLACE_CONTENT':return t({'id':'AI_REPLACE_CONTENT','string':'Replace'});case'AI_INSERT_CONTENT':return t({'id':'AI_INSERT_CONTENT','string':'Insert'});case'AI_ERROR_GET_HEADERS':return t({'id':'AI_ERROR_GET_HEADERS','string':'Preparing\x20request\x20headers\x20failed'});case'AI_ERROR_GET_PARAMETERS':return t({'id':'AI_ERROR_GET_PARAMETERS','string':'Preparing\x20request\x20parameters\x20failed'});case'AI_ERROR_UNSUPPORTED_MODEL':return t({'id':'AI_ERROR_UNSUPPORTED_MODEL','string':'The\x20requested\x20AI\x20model\x20(\x22%0\x22)\x20is\x20not\x20supported'},_0x58204e);case'AI_ERROR_CONTEXT_LENGTH':return t({'id':'AI_ERROR_CONTEXT_LENGTH','string':'Selected\x20content\x20is\x20too\x20long'});case'AI_ERROR_MODERATION':return t({'id':'AI_ERROR_MODERATION','string':'Requested\x20query\x20does\x20not\x20pass\x20moderation\x20rules'});case'AI_ERROR_FAILED':return t({'id':'AI_ERROR_FAILED','string':'Failed\x20to\x20communicate\x20with\x20the\x20AI\x20service'});default:return _0x5cb259;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(
|
|
23
|
+
export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(_0x44d5a8,_0x16ee6d){const _0x2904a4=(0x0,_0x16ee6d['t'])('Other');return _0x44d5a8['length']?'groupId'in _0x44d5a8[0x0]?_0x44d5a8:[{'groupId':'_ungrouppedCommands','groupLabel':_0x2904a4,'order':0x1/0x0,'commands':_0x44d5a8}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0x2904a4,'order':0x1/0x0,'commands':[]}];}
|
package/theme/ai-form.css
CHANGED
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
|
|
29
29
|
@mixin ck-media-phone {
|
|
30
30
|
/* Allow the for the layout to be fluid in narrow viewports to avoid breaking it due to limited
|
|
31
|
-
* horizontal space (https://github.com/
|
|
31
|
+
* horizontal space (https://github.com/ckeditor/ckeditor5-commercial/issues/5913). */
|
|
32
32
|
--ck-ai-form-view-width: 100vw;
|
|
33
33
|
}
|
|
34
34
|
|
|
@@ -193,7 +193,7 @@
|
|
|
193
193
|
|
|
194
194
|
/* Squash the textarea horizontally if necessary on narrow layouts
|
|
195
195
|
* to avoid breaking the layout even at the cost of the placeholder
|
|
196
|
-
* being cut off (https://github.com/
|
|
196
|
+
* being cut off (https://github.com/ckeditor/ckeditor5-commercial/issues/5913). */
|
|
197
197
|
@mixin ck-media-phone {
|
|
198
198
|
--ck-input-width: auto;
|
|
199
199
|
}
|