@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20260130.0 → 0.0.0-nightly-next-20260130.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ckeditor5-metadata.json +2 -2
- package/dist/index.js +3 -3
- 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/{src → dist}/ui/uploadcarecontroller.d.ts +3 -3
- package/{src → dist}/ui/uploadcareformview.d.ts +1 -1
- package/{src → dist}/uploadcare.d.ts +1 -1
- package/{src → dist}/uploadcarecommand.d.ts +2 -2
- package/{src → dist}/uploadcareconfig.d.ts +1 -1
- package/{src → dist}/uploadcareediting.d.ts +2 -2
- package/{src → dist}/uploadcareimageedit/ui/uploadcareimageeditcontroller.d.ts +5 -5
- package/{src → dist}/uploadcareimageedit/ui/uploadcareimageeditformeditingview.d.ts +2 -2
- package/{src → dist}/uploadcareimageedit/ui/uploadcareimageeditformerrorview.d.ts +2 -2
- package/{src → dist}/uploadcareimageedit/ui/uploadcareimageeditformloadingview.d.ts +2 -2
- package/{src → dist}/uploadcareimageedit/ui/uploadcareimageeditformview.d.ts +1 -1
- package/{src → dist}/uploadcareimageedit/uploadcareimageeditcommand.d.ts +2 -2
- package/{src → dist}/uploadcareimageedit/uploadcareimageeditediting.d.ts +2 -2
- package/{src → dist}/uploadcareimageedit/uploadcareimageeditui.d.ts +1 -1
- package/{src → dist}/uploadcareimageedit/uploadcareimagereplacecommand.d.ts +1 -1
- package/{src → dist}/uploadcareimageedit.d.ts +1 -1
- package/{src → dist}/uploadcareui.d.ts +1 -1
- package/{src → dist}/uploadcareuploadadapter.d.ts +2 -2
- package/{src → dist}/utils/dialogfocusmanagerview.d.ts +2 -2
- package/package.json +23 -46
- package/build/translations/af.js +0 -1
- package/build/translations/ar.js +0 -1
- package/build/translations/ast.js +0 -1
- package/build/translations/az.js +0 -1
- package/build/translations/be.js +0 -1
- package/build/translations/bg.js +0 -1
- package/build/translations/bn.js +0 -1
- package/build/translations/bs.js +0 -1
- package/build/translations/ca.js +0 -1
- package/build/translations/cs.js +0 -1
- package/build/translations/da.js +0 -1
- package/build/translations/de-ch.js +0 -1
- package/build/translations/de.js +0 -1
- package/build/translations/el.js +0 -1
- package/build/translations/en-au.js +0 -1
- package/build/translations/en-gb.js +0 -1
- package/build/translations/eo.js +0 -1
- package/build/translations/es-co.js +0 -1
- package/build/translations/es.js +0 -1
- package/build/translations/et.js +0 -1
- package/build/translations/eu.js +0 -1
- package/build/translations/fa.js +0 -1
- package/build/translations/fi.js +0 -1
- package/build/translations/fr.js +0 -1
- package/build/translations/gl.js +0 -1
- package/build/translations/gu.js +0 -1
- package/build/translations/he.js +0 -1
- package/build/translations/hi.js +0 -1
- package/build/translations/hr.js +0 -1
- package/build/translations/hu.js +0 -1
- package/build/translations/hy.js +0 -1
- package/build/translations/id.js +0 -1
- package/build/translations/it.js +0 -1
- package/build/translations/ja.js +0 -1
- package/build/translations/jv.js +0 -1
- package/build/translations/kk.js +0 -1
- package/build/translations/km.js +0 -1
- package/build/translations/kn.js +0 -1
- package/build/translations/ko.js +0 -1
- package/build/translations/ku.js +0 -1
- package/build/translations/lt.js +0 -1
- package/build/translations/lv.js +0 -1
- package/build/translations/ms.js +0 -1
- package/build/translations/nb.js +0 -1
- package/build/translations/ne.js +0 -1
- package/build/translations/nl.js +0 -1
- package/build/translations/no.js +0 -1
- package/build/translations/oc.js +0 -1
- package/build/translations/pl.js +0 -1
- package/build/translations/pt-br.js +0 -1
- package/build/translations/pt.js +0 -1
- package/build/translations/ro.js +0 -1
- package/build/translations/ru.js +0 -1
- package/build/translations/si.js +0 -1
- package/build/translations/sk.js +0 -1
- package/build/translations/sl.js +0 -1
- package/build/translations/sq.js +0 -1
- package/build/translations/sr-latn.js +0 -1
- package/build/translations/sr.js +0 -1
- package/build/translations/sv.js +0 -1
- package/build/translations/th.js +0 -1
- package/build/translations/ti.js +0 -1
- package/build/translations/tk.js +0 -1
- package/build/translations/tr.js +0 -1
- package/build/translations/tt.js +0 -1
- package/build/translations/ug.js +0 -1
- package/build/translations/uk.js +0 -1
- package/build/translations/ur.js +0 -1
- package/build/translations/uz.js +0 -1
- package/build/translations/vi.js +0 -1
- package/build/translations/zh-cn.js +0 -1
- package/build/translations/zh.js +0 -1
- package/build/uploadcare.js +0 -5
- package/lang/contexts.json +0 -24
- package/lang/translations/af.po +0 -100
- package/lang/translations/ar.po +0 -100
- package/lang/translations/ast.po +0 -100
- package/lang/translations/az.po +0 -100
- package/lang/translations/be.po +0 -100
- package/lang/translations/bg.po +0 -100
- package/lang/translations/bn.po +0 -100
- package/lang/translations/bs.po +0 -100
- package/lang/translations/ca.po +0 -100
- package/lang/translations/cs.po +0 -100
- package/lang/translations/da.po +0 -100
- package/lang/translations/de-ch.po +0 -100
- package/lang/translations/de.po +0 -100
- package/lang/translations/el.po +0 -100
- package/lang/translations/en-au.po +0 -100
- package/lang/translations/en-gb.po +0 -100
- package/lang/translations/en.po +0 -100
- package/lang/translations/eo.po +0 -100
- package/lang/translations/es-co.po +0 -100
- package/lang/translations/es.po +0 -100
- package/lang/translations/et.po +0 -100
- package/lang/translations/eu.po +0 -100
- package/lang/translations/fa.po +0 -100
- package/lang/translations/fi.po +0 -100
- package/lang/translations/fr.po +0 -100
- package/lang/translations/gl.po +0 -100
- package/lang/translations/gu.po +0 -100
- package/lang/translations/he.po +0 -100
- package/lang/translations/hi.po +0 -100
- package/lang/translations/hr.po +0 -100
- package/lang/translations/hu.po +0 -100
- package/lang/translations/hy.po +0 -100
- package/lang/translations/id.po +0 -100
- package/lang/translations/it.po +0 -100
- package/lang/translations/ja.po +0 -100
- package/lang/translations/jv.po +0 -100
- package/lang/translations/kk.po +0 -100
- package/lang/translations/km.po +0 -100
- package/lang/translations/kn.po +0 -100
- package/lang/translations/ko.po +0 -100
- package/lang/translations/ku.po +0 -100
- package/lang/translations/lt.po +0 -100
- package/lang/translations/lv.po +0 -100
- package/lang/translations/ms.po +0 -100
- package/lang/translations/nb.po +0 -100
- package/lang/translations/ne.po +0 -100
- package/lang/translations/nl.po +0 -100
- package/lang/translations/no.po +0 -100
- package/lang/translations/oc.po +0 -100
- package/lang/translations/pl.po +0 -100
- package/lang/translations/pt-br.po +0 -100
- package/lang/translations/pt.po +0 -100
- package/lang/translations/ro.po +0 -100
- package/lang/translations/ru.po +0 -100
- package/lang/translations/si.po +0 -100
- package/lang/translations/sk.po +0 -100
- package/lang/translations/sl.po +0 -100
- package/lang/translations/sq.po +0 -100
- package/lang/translations/sr-latn.po +0 -100
- package/lang/translations/sr.po +0 -100
- package/lang/translations/sv.po +0 -100
- package/lang/translations/th.po +0 -100
- package/lang/translations/ti.po +0 -100
- package/lang/translations/tk.po +0 -100
- package/lang/translations/tr.po +0 -100
- package/lang/translations/tt.po +0 -100
- package/lang/translations/ug.po +0 -100
- package/lang/translations/uk.po +0 -100
- package/lang/translations/ur.po +0 -100
- package/lang/translations/uz.po +0 -100
- package/lang/translations/vi.po +0 -100
- package/lang/translations/zh-cn.po +0 -100
- package/lang/translations/zh.po +0 -100
- package/src/augmentation.js +0 -23
- package/src/index.js +0 -23
- package/src/ui/uploadcarecontroller.js +0 -24
- package/src/ui/uploadcareformview.js +0 -23
- package/src/uploadcare.js +0 -23
- package/src/uploadcarecommand.js +0 -23
- package/src/uploadcareconfig.js +0 -23
- package/src/uploadcareediting.js +0 -23
- package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +0 -24
- package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +0 -23
- package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +0 -23
- package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +0 -23
- package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +0 -23
- package/src/uploadcareimageedit/uploadcareimageeditcommand.js +0 -23
- package/src/uploadcareimageedit/uploadcareimageeditediting.js +0 -23
- package/src/uploadcareimageedit/uploadcareimageeditui.js +0 -23
- package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +0 -23
- package/src/uploadcareimageedit.js +0 -23
- package/src/uploadcareui.js +0 -23
- package/src/uploadcareuploadadapter.js +0 -23
- package/src/utils/common-translations.js +0 -23
- package/src/utils/dialogfocusmanagerview.js +0 -23
- package/src/utils/editingutils.js +0 -23
- package/src/utils/isancestor.js +0 -23
- package/src/utils/uploadutils.js +0 -23
- package/theme/uploadcare-form.css +0 -201
- package/theme/uploadcare-theme.css +0 -20
- package/theme/uploadcareimageedit.css +0 -64
- /package/{src → dist}/augmentation.d.ts +0 -0
- /package/{src → dist}/index.d.ts +0 -0
- /package/{src → dist}/utils/common-translations.d.ts +0 -0
- /package/{src → dist}/utils/editingutils.d.ts +0 -0
- /package/{src → dist}/utils/isancestor.d.ts +0 -0
- /package/{src → dist}/utils/uploadutils.d.ts +0 -0
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
import{Plugin as _0x3b74f5}from'ckeditor5/src/core.js';import{ButtonView as _0x593fb7}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x292129}from'ckeditor5/src/icons.js';import{createElement as _0x2e70a6}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export class UploadcareImageEditUI extends _0x3b74f5{['_imageCache']=new Map();static get['pluginName'](){return'UploadcareImageEditUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['imageCache'](){return this['_imageCache'];}['init'](){const _0x3080e2=this['editor'];_0x3080e2['ui']['componentFactory']['add']('uploadcareImageEdit',_0x1e96ef=>{const _0xa03594=_0x3080e2['commands']['get']('uploadcareImageEdit'),_0x2f2003=new _0x593fb7(_0x1e96ef),t=_0x1e96ef['t'];return _0x2f2003['set']({'icon':_0x292129,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x2f2003['bind']('isEnabled')['to'](_0xa03594),_0x2f2003['bind']('isOn')['to'](_0xa03594,'isActive'),this['listenTo'](_0x2f2003,'execute',()=>{_0x3080e2['execute']('uploadcareImageEdit'),_0x3080e2['editing']['view']['focus']();}),_0x2f2003;}),this['_initConfig']();}['_initConfig'](){const _0x221c54=_0x2e70a6(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x221c54),this['listenTo'](this['editor'],'destroy',()=>{_0x221c54['remove']();});}}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
function _0x4285(){const _0x274da3=['refresh','selection','execute','editor','1986760LKPBDy','1278759eKwnPw','change','removeAttribute','isEnabled','setAttributes','imageInline','model','document','2484AvftDw','srcset','sizes','3474632QxftDY','1658052TAEZpI','331171LynZSZ','1535dJkCUo','imageBlock','406718wNdUdn','getSelectedElement','element'];_0x4285=function(){return _0x274da3;};return _0x4285();}const _0x4dec6f=_0xa809;(function(_0x5e8721,_0x2daa50){const _0x3489e9=_0xa809,_0x56e0cd=_0x5e8721();while(!![]){try{const _0xfab5ca=-parseInt(_0x3489e9(0x1d9))/0x1+parseInt(_0x3489e9(0x1c4))/0x2+-parseInt(_0x3489e9(0x1cc))/0x3+parseInt(_0x3489e9(0x1d4))/0x4*(-parseInt(_0x3489e9(0x1da))/0x5)+parseInt(_0x3489e9(0x1d8))/0x6+parseInt(_0x3489e9(0x1d7))/0x7+parseInt(_0x3489e9(0x1cb))/0x8;if(_0xfab5ca===_0x2daa50)break;else _0x56e0cd['push'](_0x56e0cd['shift']());}catch(_0x325b26){_0x56e0cd['push'](_0x56e0cd['shift']());}}}(_0x4285,0x4377f));function _0xa809(_0x3b26b8,_0x3cc1ac){const _0x42855a=_0x4285();return _0xa809=function(_0xa8092a,_0x26debb){_0xa8092a=_0xa8092a-0x1c4;let _0x35f566=_0x42855a[_0xa8092a];return _0x35f566;},_0xa809(_0x3b26b8,_0x3cc1ac);}import{Command as _0x3fa5f1}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x3fa5f1{[_0x4dec6f(0x1c7)](){const _0x1198bb=_0x4dec6f,_0x2b6076=this[_0x1198bb(0x1ca)][_0x1198bb(0x1d2)][_0x1198bb(0x1d3)][_0x1198bb(0x1c8)][_0x1198bb(0x1c5)]();this[_0x1198bb(0x1cf)]=Boolean(_0x2b6076&&(_0x2b6076['is'](_0x1198bb(0x1c6),_0x1198bb(0x1db))||_0x2b6076['is'](_0x1198bb(0x1c6),_0x1198bb(0x1d1))));}[_0x4dec6f(0x1c9)](_0x1e685b){const _0xc1a0a7=_0x4dec6f,_0x491264=this[_0xc1a0a7(0x1ca)][_0xc1a0a7(0x1d2)][_0xc1a0a7(0x1d3)][_0xc1a0a7(0x1c8)][_0xc1a0a7(0x1c5)]();this[_0xc1a0a7(0x1ca)][_0xc1a0a7(0x1d2)][_0xc1a0a7(0x1cd)](_0x22a5da=>{const _0x3a0bee=_0xc1a0a7;_0x22a5da[_0x3a0bee(0x1d0)](_0x1e685b,_0x491264),_0x22a5da[_0x3a0bee(0x1ce)](_0x3a0bee(0x1d5),_0x491264),_0x22a5da[_0x3a0bee(0x1ce)](_0x3a0bee(0x1d6),_0x491264);});}}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
function _0x1407(){var _0x16b578=['pluginName','requires','6825030xtOwqy','293936QAyQEa','1298LsXsjd','isPremiumPlugin','8FEmjxo','6689070ErXSst','7CayDwc','66840GFbISJ','UploadcareImageEdit','2019265lvlWid','isOfficialPlugin','4317656JgSgYJ','93urnlaO','112940NuqeEP'];_0x1407=function(){return _0x16b578;};return _0x1407();}function _0x5845(_0x21f0b5,_0x3445b2){var _0x140790=_0x1407();return _0x5845=function(_0x5845c8,_0x4c540e){_0x5845c8=_0x5845c8-0xbb;var _0x8bb6b0=_0x140790[_0x5845c8];return _0x8bb6b0;},_0x5845(_0x21f0b5,_0x3445b2);}var _0x3757a0=_0x5845;(function(_0x425a7d,_0x2495d3){var _0x46c32c=_0x5845,_0x1a1113=_0x425a7d();while(!![]){try{var _0x114f6b=parseInt(_0x46c32c(0xbd))/0x1+parseInt(_0x46c32c(0xc3))/0x2*(-parseInt(_0x46c32c(0xc8))/0x3)+-parseInt(_0x46c32c(0xc0))/0x4*(parseInt(_0x46c32c(0xc5))/0x5)+parseInt(_0x46c32c(0xbc))/0x6+parseInt(_0x46c32c(0xc2))/0x7*(parseInt(_0x46c32c(0xc7))/0x8)+-parseInt(_0x46c32c(0xc1))/0x9+-parseInt(_0x46c32c(0xc9))/0xa*(-parseInt(_0x46c32c(0xbe))/0xb);if(_0x114f6b===_0x2495d3)break;else _0x1a1113['push'](_0x1a1113['shift']());}catch(_0x2ac203){_0x1a1113['push'](_0x1a1113['shift']());}}}(_0x1407,0xaf054));import{Plugin as _0x2f5b4b}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x5ee768}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x2e1f5d}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x2f5b4b{static get[_0x3757a0(0xca)](){var _0xfb9571=_0x3757a0;return _0xfb9571(0xc4);}static get[_0x3757a0(0xbb)](){return[_0x5ee768,_0x2e1f5d];}static get[_0x3757a0(0xc6)](){return!0x0;}static get[_0x3757a0(0xbf)](){return!0x0;}}
|
package/src/uploadcareui.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
const _0x232cba=_0x2468;function _0x2d15(){const _0x378c65=['afterInit','type','_createDropdownButtons','4301625TwRwqC','text','_normalizeConfigSourceList','forEach','GPhotos','plugins','upload','get','ImageInsertUI','shortText','isImageSelected','uploadcareLicenseKeyDomainLimit','isOfficialPlugin','locale','_showLicenseError','editor','GDrive','push','reduce','domainLimit','destroy','Dropbox','uploadcare','has','4196XnpcxT','expired','withText','8526042ePOunh','85aRDDCr','_licenseKeyCheckInterval','URL','_createMenuBarButtons','_createButton','_createToolbarButton','icon','UploadcareUI','uploadcareLicenseKeyEvaluationLimit','pluginName','label','Local','4157928skgBes','registerIntegration','uploadcareLicenseKeyInvalid','assetManager','2969048gGKzoZ','config','OneDrive','430680IUSIno','Uploadcare','uploadcareLicenseKeyUsageLimit','bind','init','entries','tooltip','isPremiumPlugin','map','execute','uploadcareLicenseKeyNotAllowed','commands','Facebook','Replace','url','isEnabled','1mpAGTn','licenseKey','10060071JjEGMc','_getIntegrationKey','Insert','uploadcare.uploader.sourceList','evaluationLimit','uploadcareLicenseKeyValid','invalid','usageLimit','featureNotAllowed','uploadcareLicenseKeyExpired'];_0x2d15=function(){return _0x378c65;};return _0x2d15();}(function(_0x3878af,_0x23beac){const _0x14bbe4=_0x2468,_0x8ed171=_0x3878af();while(!![]){try{const _0x4eff36=parseInt(_0x14bbe4(0x107))/0x1*(-parseInt(_0x14bbe4(0xe0))/0x2)+-parseInt(_0x14bbe4(0xc8))/0x3+-parseInt(_0x14bbe4(0xf4))/0x4+parseInt(_0x14bbe4(0xe4))/0x5*(parseInt(_0x14bbe4(0xf7))/0x6)+parseInt(_0x14bbe4(0x109))/0x7+-parseInt(_0x14bbe4(0xf0))/0x8+parseInt(_0x14bbe4(0xe3))/0x9;if(_0x4eff36===_0x23beac)break;else _0x8ed171['push'](_0x8ed171['shift']());}catch(_0x3e3ba7){_0x8ed171['push'](_0x8ed171['shift']());}}}(_0x2d15,0xdd617));import{Plugin as _0x46734c}from'ckeditor5/src/core.js';import{IconDropbox as _0x461c75,IconFacebook as _0x7d0c7,IconGoogleDrive as _0x318153,IconGooglePhotos as _0x3def1a,IconUploadcareImageUpload as _0x5f1ff9,IconUploadcareLink as _0x271765,IconOneDrive as _0x2c35d5}from'ckeditor5/src/icons.js';import{ButtonView as _0x34ed14,MenuBarMenuListItemButtonView as _0x76c515}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x4c814b}from'./uploadcareconfig.js';import{getTranslation as _0x30d003}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';function _0x2468(_0x54975c,_0x8ec491){const _0x2d1554=_0x2d15();return _0x2468=function(_0x24688c,_0x3eb1ba){_0x24688c=_0x24688c-0xc2;let _0x371f34=_0x2d1554[_0x24688c];return _0x371f34;},_0x2468(_0x54975c,_0x8ec491);}import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x46734c{[_0x232cba(0x108)];[_0x232cba(0xe5)];static get[_0x232cba(0xed)](){const _0x3c0165=_0x232cba;return _0x3c0165(0xeb);}static get[_0x232cba(0xd4)](){return!0x0;}static get[_0x232cba(0xfe)](){return!0x0;}[_0x232cba(0xfb)](){const _0x54198d=_0x232cba;this[_0x54198d(0x108)]=this[_0x54198d(0xd7)][_0x54198d(0xf5)][_0x54198d(0xcf)](_0x54198d(0x108));const _0xc71155=this[_0x54198d(0xd7)];this[_0x54198d(0xe5)]=setInterval(()=>{const _0x1b3dc1=_0x54198d;let _0x49140d;for(const _0xfb04d2 in _0xc71155){const _0x17dd00=_0xfb04d2,_0x49dd7a=_0xc71155[_0x17dd00];if(_0x1b3dc1(0x10e)==_0x49dd7a||_0x1b3dc1(0xf2)==_0x49dd7a||_0x1b3dc1(0xc4)==_0x49dd7a||_0x1b3dc1(0xd3)==_0x49dd7a||_0x1b3dc1(0x101)==_0x49dd7a||_0x1b3dc1(0xec)==_0x49dd7a||_0x1b3dc1(0xf9)==_0x49dd7a){delete _0xc71155[_0x17dd00],_0x49140d=_0x49dd7a,clearInterval(this[_0x1b3dc1(0xe5)]),this[_0x1b3dc1(0xe5)]=void 0x0;break;}}_0x1b3dc1(0xf2)==_0x49140d&&_0xc71155[_0x1b3dc1(0xd6)](_0x1b3dc1(0x10f)),_0x1b3dc1(0xc4)==_0x49140d&&_0xc71155[_0x1b3dc1(0xd6)](_0x1b3dc1(0xe1)),_0x1b3dc1(0xd3)==_0x49140d&&_0xc71155[_0x1b3dc1(0xd6)](_0x1b3dc1(0xdb)),_0x1b3dc1(0x101)==_0x49140d&&_0xc71155[_0x1b3dc1(0xd6)](_0x1b3dc1(0xc3),_0x1b3dc1(0xf8)),_0x1b3dc1(0xec)==_0x49140d&&_0xc71155[_0x1b3dc1(0xd6)](_0x1b3dc1(0x10d)),_0x1b3dc1(0xf9)==_0x49140d&&_0xc71155[_0x1b3dc1(0xd6)](_0x1b3dc1(0xc2));},0x3e8);}[_0x232cba(0xc5)](){const _0x5639a4=_0x232cba,{editor:_0x58c68e}=this,_0x156c61=_0x58c68e[_0x5639a4(0x102)][_0x5639a4(0xcf)](_0x5639a4(0xde));if(!_0x156c61)return;const _0x78663d=this[_0x5639a4(0xca)](_0x58c68e[_0x5639a4(0xf5)][_0x5639a4(0xcf)](_0x5639a4(0x10c)))[_0x5639a4(0xda)]((_0xe01f69,_0x25df0d)=>{const _0x3aa298=_0x5639a4,_0x3718ea=this[_0x3aa298(0x10a)](_0x25df0d[_0x3aa298(0xc6)]);return _0xe01f69[_0x3718ea]||(_0xe01f69[_0x3718ea]=[]),_0xe01f69[_0x3718ea][_0x3aa298(0xd9)](_0x25df0d),_0xe01f69;},{});_0x58c68e[_0x5639a4(0xcd)][_0x5639a4(0xdf)](_0x5639a4(0xd0))&&_0x58c68e[_0x5639a4(0x102)][_0x5639a4(0xcf)](_0x5639a4(0xde))&&Object[_0x5639a4(0xfc)](_0x78663d)[_0x5639a4(0xcb)](([_0x1df911,_0x32c9a0])=>{const _0x4d3cc5=_0x5639a4;_0x58c68e[_0x4d3cc5(0xcd)][_0x4d3cc5(0xcf)](_0x4d3cc5(0xd0))[_0x4d3cc5(0xf1)]({'name':_0x1df911,'observable':()=>_0x156c61,'buttonViewCreator':()=>this[_0x4d3cc5(0xe9)](_0x32c9a0),'formViewCreator':()=>this[_0x4d3cc5(0xc7)](_0x32c9a0),'menuBarButtonViewCreator':()=>this[_0x4d3cc5(0xe7)](_0x32c9a0),'override':_0x4d3cc5(0xf3)!==_0x1df911});});}[_0x232cba(0xdc)](){const _0x4b1941=_0x232cba;super[_0x4b1941(0xdc)](),this[_0x4b1941(0xe5)]&&clearInterval(this[_0x4b1941(0xe5)]);}[_0x232cba(0xca)](_0x1bee91){const _0x2e6f0a=_0x232cba,{locale:_0x2f2784}=this[_0x2e6f0a(0xd7)];return _0x1bee91[_0x2e6f0a(0xff)](_0x3a9e28=>{const _0x6f7053=_0x2e6f0a,_0x4df636=_0x30d003(_0x2f2784,_0x3a9e28,_0x6f7053(0x10b));switch(_0x3a9e28){case _0x4c814b[_0x6f7053(0xef)]:return{'icon':_0x5f1ff9,'type':_0x4c814b[_0x6f7053(0xef)],..._0x4df636};case _0x4c814b[_0x6f7053(0xe6)]:return{'icon':_0x271765,'type':_0x4c814b[_0x6f7053(0xe6)],..._0x4df636};case _0x4c814b[_0x6f7053(0xdd)]:return{'icon':_0x461c75,'type':_0x4c814b[_0x6f7053(0xdd)],..._0x4df636};case _0x4c814b[_0x6f7053(0x103)]:return{'icon':_0x7d0c7,'type':_0x4c814b[_0x6f7053(0x103)],..._0x4df636};case _0x4c814b[_0x6f7053(0xd8)]:return{'icon':_0x318153,'type':_0x4c814b[_0x6f7053(0xd8)],..._0x4df636};case _0x4c814b[_0x6f7053(0xcc)]:return{'icon':_0x3def1a,'type':_0x4c814b[_0x6f7053(0xcc)],..._0x4df636};case _0x4c814b[_0x6f7053(0xf6)]:return{'icon':_0x2c35d5,'type':_0x4c814b[_0x6f7053(0xf6)],..._0x4df636};}});}[_0x232cba(0x10a)](_0x3e6b3e){const _0x1121ab=_0x232cba;switch(_0x3e6b3e){case _0x4c814b[_0x1121ab(0xef)]:return _0x1121ab(0xce);case _0x4c814b[_0x1121ab(0xe6)]:return _0x1121ab(0x105);default:return _0x1121ab(0xf3);}}[_0x232cba(0xe8)](_0x40429f,_0x2ef888){const _0x2a97f3=_0x232cba,_0x27b350=this[_0x2a97f3(0xd7)],_0x42aba4=new _0x40429f(_0x27b350[_0x2a97f3(0xd5)]),_0x784ad6=_0x27b350[_0x2a97f3(0x102)][_0x2a97f3(0xcf)](_0x2a97f3(0xde));return _0x42aba4[_0x2a97f3(0xfa)](_0x2a97f3(0x106))['to'](_0x784ad6),_0x42aba4['on'](_0x2a97f3(0x100),()=>{const _0x565673=_0x2a97f3;_0x784ad6[_0x565673(0x100)](_0x2ef888);}),_0x42aba4;}[_0x232cba(0xe9)](_0x3b39aa){const _0x526cd7=_0x232cba,{locale:_0x116276}=this[_0x526cd7(0xd7)],_0x3bc392=this[_0x526cd7(0xd7)][_0x526cd7(0xcd)][_0x526cd7(0xcf)](_0x526cd7(0xd0)),_0x10477a=_0x3b39aa[0x0],_0x235a0e=this[_0x526cd7(0xe8)](_0x34ed14,_0x10477a[_0x526cd7(0xc6)]);return _0x235a0e[_0x526cd7(0xea)]=_0x10477a[_0x526cd7(0xea)],_0x235a0e[_0x526cd7(0xfa)](_0x526cd7(0xee))['to'](_0x3bc392,_0x526cd7(0xd2),_0xa7111=>_0x30d003(_0x116276,_0x10477a[_0x526cd7(0xc6)],_0xa7111?_0x526cd7(0x104):_0x526cd7(0x10b))[_0x526cd7(0xc9)]),_0x235a0e[_0x526cd7(0xfd)]=!0x0,_0x235a0e;}[_0x232cba(0xc7)](_0x484b42){const _0xd6c83e=_0x232cba,{locale:_0x789e49}=this[_0xd6c83e(0xd7)],_0x2a52ce=this[_0xd6c83e(0xd7)][_0xd6c83e(0xcd)][_0xd6c83e(0xcf)](_0xd6c83e(0xd0));return _0x484b42[_0xd6c83e(0xff)](_0x2cda29=>{const _0x121ba8=_0xd6c83e,_0x1947c6=this[_0x121ba8(0xe8)](_0x34ed14,_0x2cda29[_0x121ba8(0xc6)]);return _0x1947c6[_0x121ba8(0xe2)]=!0x0,_0x1947c6[_0x121ba8(0xea)]=_0x2cda29[_0x121ba8(0xea)],_0x1947c6[_0x121ba8(0xfa)](_0x121ba8(0xee))['to'](_0x2a52ce,_0x121ba8(0xd2),_0x328d9d=>_0x30d003(_0x789e49,_0x2cda29[_0x121ba8(0xc6)],_0x328d9d?_0x121ba8(0x104):_0x121ba8(0x10b))[_0x121ba8(0xc9)]),_0x1947c6;});}[_0x232cba(0xe7)](_0x5a7d64){const _0x3b56a5=_0x232cba;return _0x5a7d64[_0x3b56a5(0xff)](_0x588b45=>{const _0x36725e=_0x3b56a5,_0x3b5028=this[_0x36725e(0xe8)](_0x76c515,_0x588b45[_0x36725e(0xc6)]);return _0x3b5028[_0x36725e(0xea)]=_0x588b45[_0x36725e(0xea)],_0x3b5028[_0x36725e(0xee)]=_0x588b45[_0x36725e(0xd1)],_0x3b5028;});}}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
import{Plugin as _0x9fc945}from'ckeditor5/src/core.js';import{FileRepository as _0x2c7f29}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x331f81}from'./uploadcareediting.js';import{UploadUtils as _0x286ec0}from'./utils/uploadutils.js';import{getImageUrls as _0x3c8291}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x9fc945{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x2c7f29,_0x331f81];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x550e32=this['editor'];if(!!!_0x550e32['config']['get']('uploadcare'))return;_0x550e32['plugins']['get'](_0x2c7f29)['createUploadAdapter']=_0xa882a1=>new k(_0xa882a1,_0x550e32),_0x550e32['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x102513,{imageElement:_0x44fbda,data:_0x462c11})=>{_0x550e32['model']['change'](_0x590d58=>{_0x590d58['setAttribute']('uploadcareImageId',_0x462c11['uploadcareImageId'],_0x44fbda);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x4e7750,_0x37b63a){this['loader']=_0x4e7750,this['editor']=_0x37b63a,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x42d4f2=await this['loader']['file'];return _0x286ec0['upload']({'file':_0x42d4f2,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0xfa3f2a=>{_0xfa3f2a&&_0xfa3f2a['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0xfa3f2a['value']);}})['then'](async _0x1c1a16=>{const {imageFallbackUrl:_0x16964e,imageSources:_0x58da6c}=_0x3c8291(_0x1c1a16['cdnUrl'],_0x1c1a16['imageInfo']['width']);return{'uploadcareImageId':_0x1c1a16['uuid'],'default':_0x16964e,'sources':_0x58da6c};})['catch'](()=>{const _0x316054=t('Cannot\x20upload\x20file:')+('\x20'+_0x42d4f2['name']+'.');return Promise['reject'](_0x316054);});}['abort'](){this['controller']['abort']();}}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
import{UploadcareSource as _0x251cf3}from'../uploadcareconfig.js';export function getTranslation(_0x56e990,_0x3f31fe,_0x4562f9){const t=_0x56e990['t'],_0x4deb08=_0x56e990['t'];switch(_0x3f31fe){case _0x251cf3['Local']:return{'text':_0x4deb08('Insert'===_0x4562f9?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x4deb08('From\x20computer')};case _0x251cf3['URL']:return{'text':'Insert'===_0x4562f9?_0x4deb08('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x4deb08('Via\x20URL')};case _0x251cf3['Dropbox']:return{'text':t('Insert'===_0x4562f9?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x251cf3['Facebook']:return{'text':t('Insert'===_0x4562f9?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x251cf3['GDrive']:return{'text':t('Insert'===_0x4562f9?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x251cf3['GPhotos']:return{'text':t('Insert'===_0x4562f9?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x251cf3['OneDrive']:return{'text':t('Insert'===_0x4562f9?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x3f31fe;}}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var _0xbf32d7=_0x2c1c;(function(_0x520fc6,_0x2cf273){var _0x2be49c=_0x2c1c,_0x1ccf81=_0x520fc6();while(!![]){try{var _0x559593=parseInt(_0x2be49c(0x1d5))/0x1*(parseInt(_0x2be49c(0x1d9))/0x2)+parseInt(_0x2be49c(0x1d6))/0x3+-parseInt(_0x2be49c(0x1d8))/0x4+-parseInt(_0x2be49c(0x1d4))/0x5*(-parseInt(_0x2be49c(0x1cf))/0x6)+parseInt(_0x2be49c(0x1cc))/0x7+-parseInt(_0x2be49c(0x1dd))/0x8*(-parseInt(_0x2be49c(0x1d1))/0x9)+-parseInt(_0x2be49c(0x1d7))/0xa;if(_0x559593===_0x2cf273)break;else _0x1ccf81['push'](_0x1ccf81['shift']());}catch(_0x4e0643){_0x1ccf81['push'](_0x1ccf81['shift']());}}}(_0x22de,0xb48d2));import{FocusTracker as _0x4c5d9d}from'ckeditor5/src/utils.js';function _0x2c1c(_0x2d3a70,_0x522ebb){var _0x22de5e=_0x22de();return _0x2c1c=function(_0x2c1c85,_0x5e94c1){_0x2c1c85=_0x2c1c85-0x1cc;var _0x5dc859=_0x22de5e[_0x2c1c85];return _0x5dc859;},_0x2c1c(_0x2d3a70,_0x522ebb);}import{View as _0x1375f7,FocusCycler as _0x51ad7c}from'ckeditor5/src/ui.js';function _0x22de(){var _0x388eb5=['focusCycler','536cPjNep','fire','2353729UcHYQi','true','bindTemplate','14556IennqU','focusTracker','133677OMwFms','getFocusableElement','createCollection','1530yejTcv','18gQzkfz','800400hUOjhM','17650800LASltu','1109472VeNEPj','49048AiQnYf','div','forwardCycle'];_0x22de=function(){return _0x388eb5;};return _0x22de();}import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x1375f7{[_0xbf32d7(0x1d0)];[_0xbf32d7(0x1dc)];constructor(_0x29b9b6){var _0x1542f2=_0xbf32d7;super(_0x29b9b6),this[_0x1542f2(0x1d0)]=new _0x4c5d9d(),this[_0x1542f2(0x1dc)]=new _0x51ad7c({'focusables':this[_0x1542f2(0x1d3)](),'focusTracker':this[_0x1542f2(0x1d0)]});}[_0xbf32d7(0x1d2)](){var _0xe42aa7=_0xbf32d7;return{'tag':_0xe42aa7(0x1da),'attributes':{'aria-hidden':_0xe42aa7(0x1cd),'tabindex':'0'},'on':{'focus':this[_0xe42aa7(0x1ce)]['to'](()=>{var _0xef9bd0=_0xe42aa7;this[_0xef9bd0(0x1dc)][_0xef9bd0(0x1de)](_0xef9bd0(0x1db));})}};}}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
(function(_0x55e578,_0x1247f5){const _0x1cd1ef=_0x56ea,_0x162255=_0x55e578();while(!![]){try{const _0x2441b4=-parseInt(_0x1cd1ef(0xa9))/0x1*(-parseInt(_0x1cd1ef(0x88))/0x2)+parseInt(_0x1cd1ef(0xa6))/0x3*(parseInt(_0x1cd1ef(0x87))/0x4)+parseInt(_0x1cd1ef(0x98))/0x5+parseInt(_0x1cd1ef(0xa0))/0x6*(-parseInt(_0x1cd1ef(0xb2))/0x7)+parseInt(_0x1cd1ef(0xa1))/0x8+parseInt(_0x1cd1ef(0x8e))/0x9+-parseInt(_0x1cd1ef(0x92))/0xa;if(_0x2441b4===_0x1247f5)break;else _0x162255['push'](_0x162255['shift']());}catch(_0x5dc7dc){_0x162255['push'](_0x162255['shift']());}}}(_0x57b2,0xe49e0));import{global as _0x2618f0,DomEmitterMixin as _0x569cf5}from'ckeditor5/src/utils.js';function _0x56ea(_0xd1f830,_0x5a4b96){const _0x57b27b=_0x57b2();return _0x56ea=function(_0x56ea33,_0x44a1d0){_0x56ea33=_0x56ea33-0x87;let _0x2ef72b=_0x57b27b[_0x56ea33];return _0x2ef72b;},_0x56ea(_0xd1f830,_0x5a4b96);}function _0x57b2(){const _0x23f609=['6lRoEQi','14918272QoyIzc','plugins','aspect-ratio','px)\x20100vw,\x20','change','316368eDMcGa','removeClass','document','1774JcOmxn','baseURI','load','origin','(max-width:\x20','imageBlock','toViewElement','/-/resize/','filter','10937591Fszpiu','element','uploadcareImageId','isArray','view','hasAttribute','some','match','width','join','replace','getAttribute','mapper','setStyle','4JcjzUw','614aNvuEN','x/\x20','location','map','imageInline','viewToDom','2889648lUxgfK','src','domConverter','stopListening','9206830SknRxD','removeStyle','image-processing','ImageUtils','editing','window','2918410EeVCZE','height','listenTo','function','addClass','image/webp','findViewImgElement','get'];_0x57b2=function(){return _0x23f609;};return _0x57b2();}export function createEditabilityChecker(_0x36eb5a){const _0xe84409=_0x56ea,_0x177e76=z(_0x36eb5a);return _0x3a8f82=>!(!_0x3a8f82||!_0x3a8f82['is'](_0xe84409(0xb3),_0xe84409(0xae))&&!_0x3a8f82['is'](_0xe84409(0xb3),_0xe84409(0x8c)))&&(!!_0x3a8f82[_0xe84409(0xb7)](_0xe84409(0xb4))||!!_0x3a8f82[_0xe84409(0xb7)](_0xe84409(0x8f))&&_0x177e76(_0x3a8f82[_0xe84409(0xbd)](_0xe84409(0x8f))));}export function getImageUrls(_0x1e7c0b,_0x403343){const _0x41734c=_0x56ea,_0x5be2f8=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960][_0x41734c(0xb1)](_0x1715fa=>_0x1715fa<=_0x403343)[_0x41734c(0x8b)](_0x256607=>_0x1e7c0b[_0x41734c(0xbc)](/\/$/,'')+_0x41734c(0xb0)+_0x256607+_0x41734c(0x89)+_0x256607+'w');return{'imageFallbackUrl':_0x1e7c0b,'imageSources':[{'srcset':_0x5be2f8[_0x41734c(0xbb)](',\x20'),'sizes':_0x41734c(0xad)+_0x403343+_0x41734c(0xa4)+_0x403343+'px','type':_0x41734c(0x9d)}]};}export function getImageDimension(_0x44c0f8,_0x1729a8,_0x25469a){const _0x508a64=_0x56ea,_0x3a57cb=_0x44c0f8[_0x508a64(0xb9)](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x3a57cb?parseInt(_0x3a57cb[0x1],0xa):_0x1729a8,'height':_0x3a57cb?parseInt(_0x3a57cb[0x2],0xa):_0x25469a};}export function showImageProcessingIndicator(_0x5640b8,_0x565880){const _0x3d1edb=_0x56ea,_0x4a9b98=new(_0x569cf5())(),_0xac62c6=_0x5640b8[_0x3d1edb(0xa2)][_0x3d1edb(0x9f)](_0x3d1edb(0x95)),_0x1558c6=_0x5640b8[_0x3d1edb(0x96)][_0x3d1edb(0xbe)][_0x3d1edb(0xaf)](_0x565880),_0xc7985c=_0xac62c6[_0x3d1edb(0x9e)](_0x1558c6),_0x483ced=_0x5640b8[_0x3d1edb(0x96)][_0x3d1edb(0xb6)][_0x3d1edb(0x90)][_0x3d1edb(0x8d)](_0xc7985c),_0x3cde25=_0x565880[_0x3d1edb(0xbd)](_0x3d1edb(0xba)),_0x51a59d=_0x565880[_0x3d1edb(0xbd)](_0x3d1edb(0x99)),_0x39b314=_0x3d1edb(0x94);_0x5640b8[_0x3d1edb(0x96)][_0x3d1edb(0xb6)][_0x3d1edb(0xa5)](_0x3bc4f9=>{const _0x17fafd=_0x3d1edb;_0x3bc4f9[_0x17fafd(0x9c)](_0x39b314,_0x1558c6),_0x3bc4f9[_0x17fafd(0xbf)](_0x17fafd(0xa3),_0x3cde25+'/'+_0x51a59d,_0xc7985c);}),_0x4a9b98[_0x3d1edb(0x9a)](_0x483ced,_0x3d1edb(0xab),()=>{const _0x482460=_0x3d1edb;_0x4a9b98[_0x482460(0x91)](_0x483ced,_0x482460(0xab)),_0x5640b8[_0x482460(0x96)][_0x482460(0xb6)][_0x482460(0xa5)](_0x1699a3=>{const _0x2b3d0e=_0x482460;_0x1699a3[_0x2b3d0e(0xa7)](_0x39b314,_0x1558c6),_0x1699a3[_0x2b3d0e(0x93)](_0x2b3d0e(0xa3),_0xc7985c);});});}function z(_0x33e8d6){const _0x2e2044=_0x56ea;if(Array[_0x2e2044(0xb5)](_0x33e8d6)){const _0x312c47=_0x33e8d6[_0x2e2044(0x8b)](z);return _0x39cac7=>_0x312c47[_0x2e2044(0xb8)](_0x2e81a5=>_0x2e81a5(_0x39cac7));}if(_0x2e2044(0xac)==_0x33e8d6){const _0x104b5c=_0x2618f0[_0x2e2044(0x97)][_0x2e2044(0x8a)][_0x2e2044(0xac)];return _0x3e53ad=>new URL(_0x3e53ad,_0x2618f0[_0x2e2044(0xa8)][_0x2e2044(0xaa)])[_0x2e2044(0xac)]==_0x104b5c;}return _0x2e2044(0x9b)==typeof _0x33e8d6?_0x33e8d6:_0x33e8d6 instanceof RegExp?_0x471d3a=>!(!_0x471d3a[_0x2e2044(0xb9)](_0x33e8d6)&&!_0x471d3a[_0x2e2044(0xbc)](/^https?:\/\//,'')[_0x2e2044(0xb9)](_0x33e8d6)):()=>!0x1;}
|
package/src/utils/isancestor.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
function _0xd407(_0x25df24,_0x9ce6cc){var _0xd1ba1=_0xd1ba();return _0xd407=function(_0xd4075,_0x3afdb5){_0xd4075=_0xd4075-0x128;var _0x2d8b83=_0xd1ba1[_0xd4075];return _0x2d8b83;},_0xd407(_0x25df24,_0x9ce6cc);}(function(_0x4fff98,_0x25190e){var _0x2a5f66=_0xd407,_0x3388bd=_0x4fff98();while(!![]){try{var _0x110279=parseInt(_0x2a5f66(0x128))/0x1+parseInt(_0x2a5f66(0x130))/0x2+parseInt(_0x2a5f66(0x12b))/0x3+-parseInt(_0x2a5f66(0x133))/0x4*(-parseInt(_0x2a5f66(0x129))/0x5)+parseInt(_0x2a5f66(0x12a))/0x6*(parseInt(_0x2a5f66(0x132))/0x7)+parseInt(_0x2a5f66(0x12c))/0x8+parseInt(_0x2a5f66(0x12d))/0x9*(-parseInt(_0x2a5f66(0x12f))/0xa);if(_0x110279===_0x25190e)break;else _0x3388bd['push'](_0x3388bd['shift']());}catch(_0x5ac9e8){_0x3388bd['push'](_0x3388bd['shift']());}}}(_0xd1ba,0x98434));function _0xd1ba(){var _0x17dcc5=['620MvJoTG','956039OioSEI','14415YuEoEC','768zBvKPL','265521qfWjGq','8426200GyIXjY','273753caxFFZ','includes','880jSuNCh','1509820huInFH','target','42LPaAwd'];_0xd1ba=function(){return _0x17dcc5;};return _0xd1ba();}import{getAncestors as _0x466394}from'ckeditor5/src/utils.js';export function isAncestor(_0x4a91e2,_0x58327e){var _0x50205a=_0xd407;return _0x466394(_0x4a91e2[_0x50205a(0x131)])[_0x50205a(0x12e)](_0x58327e);}
|
package/src/utils/uploadutils.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var _0x2acd8c=_0x2c44;function _0x2c44(_0x3478a8,_0xb9f8b7){var _0x12b0c3=_0x12b0();return _0x2c44=function(_0x2c444e,_0xf3e65b){_0x2c444e=_0x2c444e-0x1ec;var _0x437e57=_0x12b0c3[_0x2c444e];return _0x437e57;},_0x2c44(_0x3478a8,_0xb9f8b7);}(function(_0x55ab76,_0x492991){var _0x519785=_0x2c44,_0x184932=_0x55ab76();while(!![]){try{var _0x411ea9=parseInt(_0x519785(0x1f2))/0x1*(-parseInt(_0x519785(0x1f0))/0x2)+parseInt(_0x519785(0x1ef))/0x3+-parseInt(_0x519785(0x1f7))/0x4+parseInt(_0x519785(0x1ec))/0x5+parseInt(_0x519785(0x1f5))/0x6*(-parseInt(_0x519785(0x1ee))/0x7)+-parseInt(_0x519785(0x1f3))/0x8+-parseInt(_0x519785(0x1f4))/0x9*(-parseInt(_0x519785(0x1ed))/0xa);if(_0x411ea9===_0x492991)break;else _0x184932['push'](_0x184932['shift']());}catch(_0x8e24f5){_0x184932['push'](_0x184932['shift']());}}}(_0x12b0,0xd8b7d));function _0x12b0(){var _0x53bd7b=['8728760gphCzX','117243rNfOqt','6QdDKvU','upload','19264oLfQEK','5905535PiUIjv','1510jehIfT','7793359vfhBeQ','4773015NEsbYm','8oPcAQA','getInfo','410566kfpWGN'];_0x12b0=function(){return _0x53bd7b;};return _0x12b0();}import{uploadFile as _0x50fa3b,info as _0x26cfc0}from'@uploadcare/upload-client';export class UploadUtils{static[_0x2acd8c(0x1f6)]({file:_0x4366e1,..._0x45ddab}){return _0x50fa3b(_0x4366e1,_0x45ddab);}static[_0x2acd8c(0x1f1)](_0x486280,_0x2e5211){return _0x26cfc0(_0x486280,_0x2e5211);}}
|
|
@@ -1,201 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* What you're currently looking at is the source code of a legally protected, proprietary software.
|
|
3
|
-
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
4
|
-
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
5
|
-
*
|
|
6
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
8
|
-
*/
|
|
9
|
-
|
|
10
|
-
@import "@ckeditor/ckeditor5-theme-lark/theme/ckeditor5-ui/mixins/_button.css";
|
|
11
|
-
|
|
12
|
-
:root {
|
|
13
|
-
--ck-uploadcare-form-view-width: 700px;
|
|
14
|
-
--ck-uploadcare-external-source-view-height: 350px;
|
|
15
|
-
--ck-uploadcare-color-image-background: oklch(0.97 0 0);
|
|
16
|
-
--ck-uploadcare-color-icon-error: hsl(15, 100%, 43%);
|
|
17
|
-
--ck-uploadcare-color-skeleton: hsl(0, 0%, 98%);
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
/* stylelint-disable no-descending-specificity */
|
|
21
|
-
.ck .ck-uploadcare-form,
|
|
22
|
-
.ck .ck-uploadcare-form:not(#\#) {
|
|
23
|
-
max-width: 100%;
|
|
24
|
-
width: var(--ck-uploadcare-form-view-width);
|
|
25
|
-
|
|
26
|
-
.ck-uploadcare-form__loading {
|
|
27
|
-
.ck-uploadcare-form__loading-spinner {
|
|
28
|
-
width: 100%;
|
|
29
|
-
height: var(--ck-uploadcare-external-source-view-height);
|
|
30
|
-
background-color: var(--ck-uploadcare-color-image-background);
|
|
31
|
-
|
|
32
|
-
display: flex;
|
|
33
|
-
align-items: center;
|
|
34
|
-
justify-content: center;
|
|
35
|
-
flex-direction: column;
|
|
36
|
-
|
|
37
|
-
.ck-spinner-container {
|
|
38
|
-
margin-bottom: 10px;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.ck-uploadcare-form__error {
|
|
44
|
-
.ck-uploadcare-form__error-contents {
|
|
45
|
-
width: 100%;
|
|
46
|
-
height: var(--ck-uploadcare-external-source-view-height);
|
|
47
|
-
background-color: var(--ck-uploadcare-color-image-background);
|
|
48
|
-
|
|
49
|
-
display: flex;
|
|
50
|
-
align-items: center;
|
|
51
|
-
justify-content: center;
|
|
52
|
-
flex-direction: column;
|
|
53
|
-
gap: 5px;
|
|
54
|
-
|
|
55
|
-
h3 {
|
|
56
|
-
font-weight: 700;
|
|
57
|
-
padding: 0;
|
|
58
|
-
margin: 0;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.ck-icon {
|
|
62
|
-
color: var(--ck-uploadcare-color-icon-error);
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
.ck-button {
|
|
66
|
-
margin-top: 10px;
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
.ck-uploadcare-form__skeleton {
|
|
72
|
-
width: 100%;
|
|
73
|
-
height: 115px;
|
|
74
|
-
|
|
75
|
-
div {
|
|
76
|
-
height: 50%;
|
|
77
|
-
display: flex;
|
|
78
|
-
box-sizing: border-box;
|
|
79
|
-
min-width: 100%;
|
|
80
|
-
flex-direction: row;
|
|
81
|
-
justify-content: center;
|
|
82
|
-
align-items: center;
|
|
83
|
-
|
|
84
|
-
span {
|
|
85
|
-
display: block;
|
|
86
|
-
width: 32px;
|
|
87
|
-
height: 32px;
|
|
88
|
-
background-color: var(--ck-uploadcare-color-skeleton);
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
div + div {
|
|
93
|
-
gap: 20px;
|
|
94
|
-
|
|
95
|
-
span:first-child {
|
|
96
|
-
position: absolute;
|
|
97
|
-
left: 8px;
|
|
98
|
-
width: 80px;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
span:last-child {
|
|
102
|
-
position: absolute;
|
|
103
|
-
right: 8px;
|
|
104
|
-
width: 80px;
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
div:first-child {
|
|
109
|
-
gap: 4px;
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
/* The following styles overrides the default Uploadcare styles */
|
|
114
|
-
|
|
115
|
-
/* stylelint-disable selector-type-no-unknown */
|
|
116
|
-
.mini-btn {
|
|
117
|
-
display: none;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
.uc-viewport {
|
|
121
|
-
height: var(--ck-uploadcare-external-source-view-height);
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
uc-btn-ui button, .uc-primary-btn, .uc-secondary-btn {
|
|
125
|
-
padding: var(--ck-spacing-tiny) var(--ck-spacing-standard);
|
|
126
|
-
min-width: var(--ck-ui-component-min-height);
|
|
127
|
-
min-height: var(--ck-ui-component-min-height);
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
.uc-primary-btn, uc-btn-ui.uc-primary button {
|
|
131
|
-
@mixin ck-button-colors --ck-color-button-action;
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
.uc-secondary-btn, uc-btn-ui.uc-secondary button {
|
|
135
|
-
@mixin ck-button-colors --ck-color-button-default;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
uc-upload-list {
|
|
139
|
-
& .uc-toolbar {
|
|
140
|
-
gap: var(--ck-spacing-large);
|
|
141
|
-
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
& .uc-files {
|
|
145
|
-
padding-top: var(--ck-spacing-large);
|
|
146
|
-
max-height: var(--ck-uploadcare-external-source-view-height);
|
|
147
|
-
overflow-y: auto;
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
.uc-content {
|
|
152
|
-
padding: var(--ck-spacing-large);
|
|
153
|
-
gap: var(--ck-spacing-large);
|
|
154
|
-
|
|
155
|
-
& > .uc-iframe-wrapper {
|
|
156
|
-
height: var(--ck-uploadcare-external-source-view-height);
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
& > .uc-toolbar {
|
|
160
|
-
padding: var(--ck-spacing-large) 0 0;
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
uc-start-from {
|
|
165
|
-
& .uc-content {
|
|
166
|
-
gap: 0;
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
uc-file-item {
|
|
171
|
-
& > .uc-inner {
|
|
172
|
-
font-size: 1em;
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
& > .uc-inner:where([finished]) .uc-badge {
|
|
177
|
-
background: var(--ck-color-button-action-active-background);
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
uc-external-source .uc-cancel-btn {
|
|
182
|
-
visibility: hidden;
|
|
183
|
-
pointer-events: none;
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
uc-activity-header {
|
|
187
|
-
display: none;
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
uc-source-list {
|
|
191
|
-
display: none;
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
uc-cloud-image-editor-block {
|
|
195
|
-
[icon="closeMax"] .uc-icon_left {
|
|
196
|
-
transform: rotate(90deg);
|
|
197
|
-
}
|
|
198
|
-
}
|
|
199
|
-
/* stylelint-enable selector-type-no-unknown */
|
|
200
|
-
}
|
|
201
|
-
/* stylelint-enable no-descending-specificity */
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* What you're currently looking at is the source code of a legally protected, proprietary software.
|
|
3
|
-
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
4
|
-
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
5
|
-
*
|
|
6
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
8
|
-
*/
|
|
9
|
-
|
|
10
|
-
.ck-uploadcare-theme {
|
|
11
|
-
--uc-font-size: 13px; /* --ck-font-size-base */
|
|
12
|
-
--uc-radius: 2px; /* --ck-border-radius */
|
|
13
|
-
--uc-padding: calc(0.6em * 1.5); /* --ck-spacing-large */
|
|
14
|
-
|
|
15
|
-
--uc-primary-oklch-light: 54.45% 0.182 263.76;
|
|
16
|
-
--uc-foreground-light: hsl(0, 0%, 20%); /* --ck-color-text */
|
|
17
|
-
--uc-secondary-foreground-light: hsl(0, 0%, 20%); /* --ck-color-text */
|
|
18
|
-
--uc-muted-foreground-light: hsl(0, 0%, 20%); /* --ck-color-text */
|
|
19
|
-
--uc-border-light: hsl(220, 6%, 81%); /* --ck-color-base-border */
|
|
20
|
-
}
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* What you're currently looking at is the source code of a legally protected, proprietary software.
|
|
3
|
-
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
4
|
-
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
5
|
-
*
|
|
6
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
8
|
-
*/
|
|
9
|
-
|
|
10
|
-
:root {
|
|
11
|
-
--ck-image-processing-highlight-color: hsl(220, 10%, 98%);
|
|
12
|
-
--ck-image-processing-background-color: hsl(220, 10%, 90%);
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.ck.ck-editor__editable {
|
|
16
|
-
& .image, & .image-inline {
|
|
17
|
-
&.image-processing picture {
|
|
18
|
-
position: relative;
|
|
19
|
-
display: block;
|
|
20
|
-
width: 100%;
|
|
21
|
-
height: 100%;
|
|
22
|
-
|
|
23
|
-
&:before {
|
|
24
|
-
content: '';
|
|
25
|
-
|
|
26
|
-
position: absolute;
|
|
27
|
-
top: 0;
|
|
28
|
-
left: 0;
|
|
29
|
-
z-index: 1;
|
|
30
|
-
|
|
31
|
-
height: 100%;
|
|
32
|
-
width: 100%;
|
|
33
|
-
|
|
34
|
-
background: linear-gradient(
|
|
35
|
-
90deg,
|
|
36
|
-
var(--ck-image-processing-background-color),
|
|
37
|
-
var(--ck-image-processing-highlight-color),
|
|
38
|
-
var(--ck-image-processing-background-color)
|
|
39
|
-
);
|
|
40
|
-
background-size: 200% 100%;
|
|
41
|
-
|
|
42
|
-
animation: ck-image-processing-animation 2s linear infinite;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
& img {
|
|
46
|
-
height: 100%;
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
&.image-processing-blur {
|
|
51
|
-
clip-path: inset(0);
|
|
52
|
-
filter: blur(1.6rem);
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
@keyframes ck-image-processing-animation {
|
|
58
|
-
0% {
|
|
59
|
-
background-position: 200% 0;
|
|
60
|
-
}
|
|
61
|
-
100% {
|
|
62
|
-
background-position: -200% 0;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
File without changes
|
/package/{src → dist}/index.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|