@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20260115.0 → 0.0.0-nightly-next-20260115.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/{src → dist}/augmentation.d.ts +4 -0
- package/{src → dist}/index.d.ts +4 -0
- 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 +7 -3
- package/{src → dist}/ui/uploadcareformview.d.ts +5 -1
- package/{src → dist}/uploadcare.d.ts +5 -1
- package/{src → dist}/uploadcarecommand.d.ts +6 -2
- package/{src → dist}/uploadcareconfig.d.ts +5 -1
- package/{src → dist}/uploadcareediting.d.ts +6 -2
- package/{src → dist}/uploadcareimageedit/ui/uploadcareimageeditcontroller.d.ts +9 -5
- package/{src → dist}/uploadcareimageedit/ui/uploadcareimageeditformeditingview.d.ts +6 -2
- package/{src → dist}/uploadcareimageedit/ui/uploadcareimageeditformerrorview.d.ts +6 -2
- package/{src → dist}/uploadcareimageedit/ui/uploadcareimageeditformloadingview.d.ts +6 -2
- package/{src → dist}/uploadcareimageedit/ui/uploadcareimageeditformview.d.ts +5 -1
- package/{src → dist}/uploadcareimageedit/uploadcareimageeditcommand.d.ts +6 -2
- package/{src → dist}/uploadcareimageedit/uploadcareimageeditediting.d.ts +6 -2
- package/{src → dist}/uploadcareimageedit/uploadcareimageeditui.d.ts +5 -1
- package/{src → dist}/uploadcareimageedit/uploadcareimagereplacecommand.d.ts +5 -1
- package/{src → dist}/uploadcareimageedit.d.ts +5 -1
- package/{src → dist}/uploadcareui.d.ts +5 -1
- package/{src → dist}/uploadcareuploadadapter.d.ts +6 -2
- package/{src → dist}/utils/common-translations.d.ts +4 -0
- package/{src → dist}/utils/dialogfocusmanagerview.d.ts +6 -2
- package/{src → dist}/utils/editingutils.d.ts +4 -0
- package/{src → dist}/utils/isancestor.d.ts +4 -0
- package/{src → dist}/utils/uploadutils.d.ts +4 -0
- 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
|
@@ -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 _0x478bed}from'ckeditor5/src/core.js';import{ButtonView as _0x207470}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x50d699}from'ckeditor5/src/icons.js';import{createElement as _0x26a572}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 _0x478bed{['_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 _0x1d9f34=this['editor'];_0x1d9f34['ui']['componentFactory']['add']('uploadcareImageEdit',_0x5b2c10=>{const _0xb28065=_0x1d9f34['commands']['get']('uploadcareImageEdit'),_0x357dee=new _0x207470(_0x5b2c10),t=_0x5b2c10['t'];return _0x357dee['set']({'icon':_0x50d699,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x357dee['bind']('isEnabled')['to'](_0xb28065),_0x357dee['bind']('isOn')['to'](_0xb28065,'isActive'),this['listenTo'](_0x357dee,'execute',()=>{_0x1d9f34['execute']('uploadcareImageEdit'),_0x1d9f34['editing']['view']['focus']();}),_0x357dee;}),this['_initConfig']();}['_initConfig'](){const _0x4782d1=_0x26a572(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x4782d1),this['listenTo'](this['editor'],'destroy',()=>{_0x4782d1['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
|
-
const _0x32e2d4=_0x1081;function _0x1081(_0x303b8d,_0x51db80){const _0x2d544f=_0x2d54();return _0x1081=function(_0x108172,_0x35439a){_0x108172=_0x108172-0x1c9;let _0x25bd3d=_0x2d544f[_0x108172];return _0x25bd3d;},_0x1081(_0x303b8d,_0x51db80);}(function(_0x376597,_0x47378d){const _0xb499b=_0x1081,_0x1874d0=_0x376597();while(!![]){try{const _0x2dc91f=-parseInt(_0xb499b(0x1cc))/0x1+-parseInt(_0xb499b(0x1e0))/0x2+-parseInt(_0xb499b(0x1df))/0x3+-parseInt(_0xb499b(0x1cb))/0x4*(parseInt(_0xb499b(0x1e2))/0x5)+parseInt(_0xb499b(0x1d7))/0x6*(parseInt(_0xb499b(0x1ca))/0x7)+-parseInt(_0xb499b(0x1d4))/0x8+-parseInt(_0xb499b(0x1d3))/0x9*(-parseInt(_0xb499b(0x1dc))/0xa);if(_0x2dc91f===_0x47378d)break;else _0x1874d0['push'](_0x1874d0['shift']());}catch(_0x48cf11){_0x1874d0['push'](_0x1874d0['shift']());}}}(_0x2d54,0x6aefe));import{Command as _0x33a62f}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x33a62f{[_0x32e2d4(0x1dd)](){const _0x358906=_0x32e2d4,_0x3e0551=this[_0x358906(0x1d0)][_0x358906(0x1cd)][_0x358906(0x1d8)][_0x358906(0x1d5)][_0x358906(0x1da)]();this[_0x358906(0x1db)]=Boolean(_0x3e0551&&(_0x3e0551['is'](_0x358906(0x1de),_0x358906(0x1c9))||_0x3e0551['is'](_0x358906(0x1de),_0x358906(0x1e1))));}[_0x32e2d4(0x1d6)](_0x1ed915){const _0x36d7c0=_0x32e2d4,_0x2e4923=this[_0x36d7c0(0x1d0)][_0x36d7c0(0x1cd)][_0x36d7c0(0x1d8)][_0x36d7c0(0x1d5)][_0x36d7c0(0x1da)]();this[_0x36d7c0(0x1d0)][_0x36d7c0(0x1cd)][_0x36d7c0(0x1d1)](_0x466c41=>{const _0x2cade7=_0x36d7c0;_0x466c41[_0x2cade7(0x1ce)](_0x1ed915,_0x2e4923),_0x466c41[_0x2cade7(0x1cf)](_0x2cade7(0x1d9),_0x2e4923),_0x466c41[_0x2cade7(0x1cf)](_0x2cade7(0x1d2),_0x2e4923);});}}function _0x2d54(){const _0x4f1730=['2856168tvYyFO','selection','execute','2814uXkRNP','document','srcset','getSelectedElement','isEnabled','540BnkCHH','refresh','element','1841595hYRlkD','537474sAamtc','imageInline','5sBLIUo','imageBlock','1169wPDEbk','2603112ExTBDz','326032LKqNLO','model','setAttributes','removeAttribute','editor','change','sizes','429354EXdkjk'];_0x2d54=function(){return _0x4f1730;};return _0x2d54();}
|
|
@@ -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 _0x1d214f=_0xeb7d;(function(_0x49f9fe,_0x2a32a4){var _0x42f9a2=_0xeb7d,_0x5bc635=_0x49f9fe();while(!![]){try{var _0x2b277f=parseInt(_0x42f9a2(0x123))/0x1*(-parseInt(_0x42f9a2(0x11d))/0x2)+parseInt(_0x42f9a2(0x122))/0x3+-parseInt(_0x42f9a2(0x125))/0x4+-parseInt(_0x42f9a2(0x11e))/0x5*(parseInt(_0x42f9a2(0x11a))/0x6)+parseInt(_0x42f9a2(0x120))/0x7+-parseInt(_0x42f9a2(0x119))/0x8+parseInt(_0x42f9a2(0x11f))/0x9;if(_0x2b277f===_0x2a32a4)break;else _0x5bc635['push'](_0x5bc635['shift']());}catch(_0x29f1da){_0x5bc635['push'](_0x5bc635['shift']());}}}(_0x2488,0x9388b));function _0x2488(){var _0x5142da=['2480004aoCHYD','148AWCNLS','isOfficialPlugin','4390336bvuTQL','isPremiumPlugin','9591384BtmNvb','3522WfLnGM','UploadcareImageEdit','requires','15656OYLjIq','3715PotGYo','24239439qnolVv','6828864TfhKzf','pluginName'];_0x2488=function(){return _0x5142da;};return _0x2488();}import{Plugin as _0x471266}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0xea6794}from'./uploadcareimageedit/uploadcareimageeditediting.js';function _0xeb7d(_0x1547c6,_0x566127){var _0x24882c=_0x2488();return _0xeb7d=function(_0xeb7d63,_0x141191){_0xeb7d63=_0xeb7d63-0x119;var _0x4f6b58=_0x24882c[_0xeb7d63];return _0x4f6b58;},_0xeb7d(_0x1547c6,_0x566127);}import{UploadcareImageEditUI as _0x5f6aae}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x471266{static get[_0x1d214f(0x121)](){var _0x109d73=_0x1d214f;return _0x109d73(0x11b);}static get[_0x1d214f(0x11c)](){return[_0xea6794,_0x5f6aae];}static get[_0x1d214f(0x124)](){return!0x0;}static get[_0x1d214f(0x126)](){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 _0x4798b4=_0x3917;(function(_0x5e0247,_0x55f40e){const _0x3b56d8=_0x3917,_0x506d24=_0x5e0247();while(!![]){try{const _0x3a05f6=parseInt(_0x3b56d8(0xe9))/0x1*(-parseInt(_0x3b56d8(0xb2))/0x2)+parseInt(_0x3b56d8(0xd5))/0x3+-parseInt(_0x3b56d8(0xbb))/0x4+-parseInt(_0x3b56d8(0xb6))/0x5*(parseInt(_0x3b56d8(0xba))/0x6)+-parseInt(_0x3b56d8(0xb3))/0x7*(parseInt(_0x3b56d8(0xaf))/0x8)+parseInt(_0x3b56d8(0xc1))/0x9*(-parseInt(_0x3b56d8(0xdd))/0xa)+parseInt(_0x3b56d8(0xdb))/0xb*(parseInt(_0x3b56d8(0xd6))/0xc);if(_0x3a05f6===_0x55f40e)break;else _0x506d24['push'](_0x506d24['shift']());}catch(_0x4074bf){_0x506d24['push'](_0x506d24['shift']());}}}(_0x4ba3,0xbfdb9));import{Plugin as _0x4851f6}from'ckeditor5/src/core.js';import{IconDropbox as _0x50a2b3,IconFacebook as _0x519b19,IconGoogleDrive as _0x81303c,IconGooglePhotos as _0x45f99b,IconUploadcareImageUpload as _0x526276,IconUploadcareLink as _0x18a202,IconOneDrive as _0x2596d2}from'ckeditor5/src/icons.js';function _0x3917(_0x17022d,_0x3bb6a1){const _0x4ba323=_0x4ba3();return _0x3917=function(_0x391782,_0x5a4c06){_0x391782=_0x391782-0xa7;let _0x15593d=_0x4ba323[_0x391782];return _0x15593d;},_0x3917(_0x17022d,_0x3bb6a1);}import{ButtonView as _0x2ef1da,MenuBarMenuListItemButtonView as _0xb5a093}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x465f63}from'./uploadcareconfig.js';import{getTranslation as _0x4c2cec}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';function _0x4ba3(){const _0x1c5e41=['afterInit','registerIntegration','get','has','GDrive','uploadcareLicenseKeyExpired','licenseKey','isPremiumPlugin','destroy','_createDropdownButtons','uploadcareLicenseKeyNotAllowed','_getIntegrationKey','2609448XlVxgX','12rIDkIq','execute','icon','usageLimit','withText','53359438wwsqtm','domainLimit','10zPjVVk','invalid','_normalizeConfigSourceList','type','isImageSelected','init','isOfficialPlugin','Local','url','uploadcareLicenseKeyValid','reduce','text','52449KhCyXG','isEnabled','_createButton','_createToolbarButton','forEach','locale','map','expired','ImageInsertUI','uploadcareLicenseKeyEvaluationLimit','_createMenuBarButtons','Facebook','commands','uploadcareLicenseKeyInvalid','shortText','URL','pluginName','GPhotos','editor','featureNotAllowed','upload','label','uploadcare','53848UStfgp','config','uploadcareLicenseKeyUsageLimit','20ughZDG','938feHuDA','tooltip','evaluationLimit','4204945vOmROF','_showLicenseError','UploadcareUI','Dropbox','6mfEToF','5448620Wowzww','uploadcare.uploader.sourceList','bind','Insert','assetManager','plugins','11747133cSHEMW','push','uploadcareLicenseKeyDomainLimit','OneDrive','Replace','entries','_licenseKeyCheckInterval','Uploadcare'];_0x4ba3=function(){return _0x1c5e41;};return _0x4ba3();}export class UploadcareUI extends _0x4851f6{[_0x4798b4(0xcf)];[_0x4798b4(0xc7)];static get[_0x4798b4(0xa8)](){const _0x2cd490=_0x4798b4;return _0x2cd490(0xb8);}static get[_0x4798b4(0xe3)](){return!0x0;}static get[_0x4798b4(0xd0)](){return!0x0;}[_0x4798b4(0xe2)](){const _0x4e16fc=_0x4798b4;this[_0x4e16fc(0xcf)]=this[_0x4e16fc(0xaa)][_0x4e16fc(0xb0)][_0x4e16fc(0xcb)](_0x4e16fc(0xcf));const _0x456fb8=this[_0x4e16fc(0xaa)];this[_0x4e16fc(0xc7)]=setInterval(()=>{const _0x533305=_0x4e16fc;let _0x58742c;for(const _0x3fb2f9 in _0x456fb8){const _0x1837cc=_0x3fb2f9,_0x15900a=_0x456fb8[_0x1837cc];if(_0x533305(0xe6)==_0x15900a||_0x533305(0xf6)==_0x15900a||_0x533305(0xce)==_0x15900a||_0x533305(0xc3)==_0x15900a||_0x533305(0xd3)==_0x15900a||_0x533305(0xf2)==_0x15900a||_0x533305(0xb1)==_0x15900a){delete _0x456fb8[_0x1837cc],_0x58742c=_0x15900a,clearInterval(this[_0x533305(0xc7)]),this[_0x533305(0xc7)]=void 0x0;break;}}_0x533305(0xf6)==_0x58742c&&_0x456fb8[_0x533305(0xb7)](_0x533305(0xde)),_0x533305(0xce)==_0x58742c&&_0x456fb8[_0x533305(0xb7)](_0x533305(0xf0)),_0x533305(0xc3)==_0x58742c&&_0x456fb8[_0x533305(0xb7)](_0x533305(0xdc)),_0x533305(0xd3)==_0x58742c&&_0x456fb8[_0x533305(0xb7)](_0x533305(0xab),_0x533305(0xc8)),_0x533305(0xf2)==_0x58742c&&_0x456fb8[_0x533305(0xb7)](_0x533305(0xb5)),_0x533305(0xb1)==_0x58742c&&_0x456fb8[_0x533305(0xb7)](_0x533305(0xd9));},0x3e8);}[_0x4798b4(0xc9)](){const _0x34fa9f=_0x4798b4,{editor:_0x162b86}=this,_0x2aff54=_0x162b86[_0x34fa9f(0xf5)][_0x34fa9f(0xcb)](_0x34fa9f(0xae));if(!_0x2aff54)return;const _0x58abde=this[_0x34fa9f(0xdf)](_0x162b86[_0x34fa9f(0xb0)][_0x34fa9f(0xcb)](_0x34fa9f(0xbc)))[_0x34fa9f(0xe7)]((_0x44ad3b,_0x29073e)=>{const _0x4e1a1b=_0x34fa9f,_0x4fe8a1=this[_0x4e1a1b(0xd4)](_0x29073e[_0x4e1a1b(0xe0)]);return _0x44ad3b[_0x4fe8a1]||(_0x44ad3b[_0x4fe8a1]=[]),_0x44ad3b[_0x4fe8a1][_0x4e1a1b(0xc2)](_0x29073e),_0x44ad3b;},{});_0x162b86[_0x34fa9f(0xc0)][_0x34fa9f(0xcc)](_0x34fa9f(0xf1))&&_0x162b86[_0x34fa9f(0xf5)][_0x34fa9f(0xcb)](_0x34fa9f(0xae))&&Object[_0x34fa9f(0xc6)](_0x58abde)[_0x34fa9f(0xed)](([_0x5a00ac,_0x17165c])=>{const _0x1d3f37=_0x34fa9f;_0x162b86[_0x1d3f37(0xc0)][_0x1d3f37(0xcb)](_0x1d3f37(0xf1))[_0x1d3f37(0xca)]({'name':_0x5a00ac,'observable':()=>_0x2aff54,'buttonViewCreator':()=>this[_0x1d3f37(0xec)](_0x17165c),'formViewCreator':()=>this[_0x1d3f37(0xd2)](_0x17165c),'menuBarButtonViewCreator':()=>this[_0x1d3f37(0xf3)](_0x17165c),'override':_0x1d3f37(0xbf)!==_0x5a00ac});});}[_0x4798b4(0xd1)](){const _0x54485b=_0x4798b4;super[_0x54485b(0xd1)](),this[_0x54485b(0xc7)]&&clearInterval(this[_0x54485b(0xc7)]);}[_0x4798b4(0xdf)](_0x230b3f){const _0x366be3=_0x4798b4,{locale:_0x37e1cc}=this[_0x366be3(0xaa)];return _0x230b3f[_0x366be3(0xef)](_0x46671f=>{const _0x256178=_0x366be3,_0x2f0d7f=_0x4c2cec(_0x37e1cc,_0x46671f,_0x256178(0xbe));switch(_0x46671f){case _0x465f63[_0x256178(0xe4)]:return{'icon':_0x526276,'type':_0x465f63[_0x256178(0xe4)],..._0x2f0d7f};case _0x465f63[_0x256178(0xa7)]:return{'icon':_0x18a202,'type':_0x465f63[_0x256178(0xa7)],..._0x2f0d7f};case _0x465f63[_0x256178(0xb9)]:return{'icon':_0x50a2b3,'type':_0x465f63[_0x256178(0xb9)],..._0x2f0d7f};case _0x465f63[_0x256178(0xf4)]:return{'icon':_0x519b19,'type':_0x465f63[_0x256178(0xf4)],..._0x2f0d7f};case _0x465f63[_0x256178(0xcd)]:return{'icon':_0x81303c,'type':_0x465f63[_0x256178(0xcd)],..._0x2f0d7f};case _0x465f63[_0x256178(0xa9)]:return{'icon':_0x45f99b,'type':_0x465f63[_0x256178(0xa9)],..._0x2f0d7f};case _0x465f63[_0x256178(0xc4)]:return{'icon':_0x2596d2,'type':_0x465f63[_0x256178(0xc4)],..._0x2f0d7f};}});}[_0x4798b4(0xd4)](_0x1f29c0){const _0x3a54df=_0x4798b4;switch(_0x1f29c0){case _0x465f63[_0x3a54df(0xe4)]:return _0x3a54df(0xac);case _0x465f63[_0x3a54df(0xa7)]:return _0x3a54df(0xe5);default:return _0x3a54df(0xbf);}}[_0x4798b4(0xeb)](_0x59741c,_0x3c3d4a){const _0xd1f9e5=_0x4798b4,_0x505845=this[_0xd1f9e5(0xaa)],_0x23add6=new _0x59741c(_0x505845[_0xd1f9e5(0xee)]),_0xbb6159=_0x505845[_0xd1f9e5(0xf5)][_0xd1f9e5(0xcb)](_0xd1f9e5(0xae));return _0x23add6[_0xd1f9e5(0xbd)](_0xd1f9e5(0xea))['to'](_0xbb6159),_0x23add6['on'](_0xd1f9e5(0xd7),()=>{const _0x12633c=_0xd1f9e5;_0xbb6159[_0x12633c(0xd7)](_0x3c3d4a);}),_0x23add6;}[_0x4798b4(0xec)](_0x10c3e6){const _0xeb266b=_0x4798b4,{locale:_0x59dc8d}=this[_0xeb266b(0xaa)],_0x248a33=this[_0xeb266b(0xaa)][_0xeb266b(0xc0)][_0xeb266b(0xcb)](_0xeb266b(0xf1)),_0x593b82=_0x10c3e6[0x0],_0x1f4a86=this[_0xeb266b(0xeb)](_0x2ef1da,_0x593b82[_0xeb266b(0xe0)]);return _0x1f4a86[_0xeb266b(0xd8)]=_0x593b82[_0xeb266b(0xd8)],_0x1f4a86[_0xeb266b(0xbd)](_0xeb266b(0xad))['to'](_0x248a33,_0xeb266b(0xe1),_0x153c84=>_0x4c2cec(_0x59dc8d,_0x593b82[_0xeb266b(0xe0)],_0x153c84?_0xeb266b(0xc5):_0xeb266b(0xbe))[_0xeb266b(0xe8)]),_0x1f4a86[_0xeb266b(0xb4)]=!0x0,_0x1f4a86;}[_0x4798b4(0xd2)](_0x52b30e){const _0x3b4ee1=_0x4798b4,{locale:_0x485bc0}=this[_0x3b4ee1(0xaa)],_0x25ed1e=this[_0x3b4ee1(0xaa)][_0x3b4ee1(0xc0)][_0x3b4ee1(0xcb)](_0x3b4ee1(0xf1));return _0x52b30e[_0x3b4ee1(0xef)](_0x89e0dd=>{const _0x3e95e9=_0x3b4ee1,_0x125ae0=this[_0x3e95e9(0xeb)](_0x2ef1da,_0x89e0dd[_0x3e95e9(0xe0)]);return _0x125ae0[_0x3e95e9(0xda)]=!0x0,_0x125ae0[_0x3e95e9(0xd8)]=_0x89e0dd[_0x3e95e9(0xd8)],_0x125ae0[_0x3e95e9(0xbd)](_0x3e95e9(0xad))['to'](_0x25ed1e,_0x3e95e9(0xe1),_0x3d6ce2=>_0x4c2cec(_0x485bc0,_0x89e0dd[_0x3e95e9(0xe0)],_0x3d6ce2?_0x3e95e9(0xc5):_0x3e95e9(0xbe))[_0x3e95e9(0xe8)]),_0x125ae0;});}[_0x4798b4(0xf3)](_0x204d24){const _0x520e6a=_0x4798b4;return _0x204d24[_0x520e6a(0xef)](_0x4fec28=>{const _0x78ec41=_0x520e6a,_0x22ae2c=this[_0x78ec41(0xeb)](_0xb5a093,_0x4fec28[_0x78ec41(0xe0)]);return _0x22ae2c[_0x78ec41(0xd8)]=_0x4fec28[_0x78ec41(0xd8)],_0x22ae2c[_0x78ec41(0xad)]=_0x4fec28[_0x78ec41(0xf7)],_0x22ae2c;});}}
|
|
@@ -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 _0x3db835}from'ckeditor5/src/core.js';import{FileRepository as _0x4c8afa}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x448426}from'./uploadcareediting.js';import{UploadUtils as _0x1d1e10}from'./utils/uploadutils.js';import{getImageUrls as _0x190068}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x3db835{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x4c8afa,_0x448426];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x3fddea=this['editor'];if(!!!_0x3fddea['config']['get']('uploadcare'))return;_0x3fddea['plugins']['get'](_0x4c8afa)['createUploadAdapter']=_0x577192=>new k(_0x577192,_0x3fddea),_0x3fddea['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x27bfd8,{imageElement:_0x2f6f47,data:_0x50b454})=>{_0x3fddea['model']['change'](_0x55811e=>{_0x55811e['setAttribute']('uploadcareImageId',_0x50b454['uploadcareImageId'],_0x2f6f47);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x2845a3,_0x56658e){this['loader']=_0x2845a3,this['editor']=_0x56658e,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0xddb825=await this['loader']['file'];return _0x1d1e10['upload']({'file':_0xddb825,'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':_0x45926c=>{_0x45926c&&_0x45926c['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x45926c['value']);}})['then'](async _0x369f4a=>{const {imageFallbackUrl:_0x4785aa,imageSources:_0xe6bebb}=_0x190068(_0x369f4a['cdnUrl'],_0x369f4a['imageInfo']['width']);return{'uploadcareImageId':_0x369f4a['uuid'],'default':_0x4785aa,'sources':_0xe6bebb};})['catch'](()=>{const _0x1c2340=t('Cannot\x20upload\x20file:')+('\x20'+_0xddb825['name']+'.');return Promise['reject'](_0x1c2340);});}['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 _0x51407b}from'../uploadcareconfig.js';export function getTranslation(_0x493dff,_0x5b2102,_0x3fe4ef){const t=_0x493dff['t'],_0x37c8b4=_0x493dff['t'];switch(_0x5b2102){case _0x51407b['Local']:return{'text':_0x37c8b4('Insert'===_0x3fe4ef?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x37c8b4('From\x20computer')};case _0x51407b['URL']:return{'text':'Insert'===_0x3fe4ef?_0x37c8b4('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x37c8b4('Via\x20URL')};case _0x51407b['Dropbox']:return{'text':t('Insert'===_0x3fe4ef?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x51407b['Facebook']:return{'text':t('Insert'===_0x3fe4ef?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x51407b['GDrive']:return{'text':t('Insert'===_0x3fe4ef?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x51407b['GPhotos']:return{'text':t('Insert'===_0x3fe4ef?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x51407b['OneDrive']:return{'text':t('Insert'===_0x3fe4ef?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x5b2102;}}
|
|
@@ -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 _0x47bf0a=_0x507a;function _0x3a61(){var _0x70b51c=['createCollection','focusTracker','getFocusableElement','forwardCycle','true','496611BKHhmX','880VRysau','div','7244028tQHWns','733987kmtiNs','12590TBQrgp','26983746ZYIhSO','396674WpoIMo','8jrOJwN','bindTemplate','fire','8643691fdRYIX','focusCycler'];_0x3a61=function(){return _0x70b51c;};return _0x3a61();}function _0x507a(_0x50b9ea,_0xaf0110){var _0x3a61fb=_0x3a61();return _0x507a=function(_0x507a26,_0x1a87cb){_0x507a26=_0x507a26-0x1ba;var _0x4d40fa=_0x3a61fb[_0x507a26];return _0x4d40fa;},_0x507a(_0x50b9ea,_0xaf0110);}(function(_0xee23c9,_0x569973){var _0x143dd4=_0x507a,_0x375723=_0xee23c9();while(!![]){try{var _0x264905=parseInt(_0x143dd4(0x1c0))/0x1+-parseInt(_0x143dd4(0x1c3))/0x2+parseInt(_0x143dd4(0x1bc))/0x3+-parseInt(_0x143dd4(0x1bd))/0x4*(parseInt(_0x143dd4(0x1c1))/0x5)+-parseInt(_0x143dd4(0x1bf))/0x6+-parseInt(_0x143dd4(0x1c7))/0x7*(parseInt(_0x143dd4(0x1c4))/0x8)+parseInt(_0x143dd4(0x1c2))/0x9;if(_0x264905===_0x569973)break;else _0x375723['push'](_0x375723['shift']());}catch(_0x2babef){_0x375723['push'](_0x375723['shift']());}}}(_0x3a61,0xabb26));import{FocusTracker as _0x227511}from'ckeditor5/src/utils.js';import{View as _0x1c01f1,FocusCycler as _0x502087}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x1c01f1{[_0x47bf0a(0x1ca)];[_0x47bf0a(0x1c8)];constructor(_0x34d228){var _0x18c36b=_0x47bf0a;super(_0x34d228),this[_0x18c36b(0x1ca)]=new _0x227511(),this[_0x18c36b(0x1c8)]=new _0x502087({'focusables':this[_0x18c36b(0x1c9)](),'focusTracker':this[_0x18c36b(0x1ca)]});}[_0x47bf0a(0x1cb)](){var _0x489270=_0x47bf0a;return{'tag':_0x489270(0x1be),'attributes':{'aria-hidden':_0x489270(0x1bb),'tabindex':'0'},'on':{'focus':this[_0x489270(0x1c5)]['to'](()=>{var _0x448516=_0x489270;this[_0x448516(0x1c8)][_0x448516(0x1c6)](_0x448516(0x1ba));})}};}}
|
|
@@ -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(_0x5a4f43,_0x575e9c){const _0x1c8167=_0x3bc2,_0x555674=_0x5a4f43();while(!![]){try{const _0x2150c9=-parseInt(_0x1c8167(0x193))/0x1*(parseInt(_0x1c8167(0x1a3))/0x2)+-parseInt(_0x1c8167(0x19b))/0x3*(parseInt(_0x1c8167(0x188))/0x4)+-parseInt(_0x1c8167(0x1a7))/0x5*(parseInt(_0x1c8167(0x19c))/0x6)+-parseInt(_0x1c8167(0x181))/0x7+parseInt(_0x1c8167(0x17d))/0x8+parseInt(_0x1c8167(0x16e))/0x9+-parseInt(_0x1c8167(0x170))/0xa*(-parseInt(_0x1c8167(0x175))/0xb);if(_0x2150c9===_0x575e9c)break;else _0x555674['push'](_0x555674['shift']());}catch(_0x30c384){_0x555674['push'](_0x555674['shift']());}}}(_0x4e69,0x9b2d7));import{global as _0x5d85a2,DomEmitterMixin as _0xea6091}from'ckeditor5/src/utils.js';export function createEditabilityChecker(_0x28bfd1){const _0x889654=_0x3bc2,_0xad6e05=G(_0x28bfd1);return _0x3c3728=>!(!_0x3c3728||!_0x3c3728['is'](_0x889654(0x176),_0x889654(0x195))&&!_0x3c3728['is'](_0x889654(0x176),_0x889654(0x184)))&&(!!_0x3c3728[_0x889654(0x172)](_0x889654(0x18e))||!!_0x3c3728[_0x889654(0x172)](_0x889654(0x16f))&&_0xad6e05(_0x3c3728[_0x889654(0x19a)](_0x889654(0x16f))));}export function getImageUrls(_0x5ab058,_0x53223f){const _0x6f3e2e=_0x3bc2,_0x4c81f8=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960][_0x6f3e2e(0x19e)](_0x5503b7=>_0x5503b7<=_0x53223f)[_0x6f3e2e(0x18a)](_0x3082af=>_0x5ab058[_0x6f3e2e(0x174)](/\/$/,'')+_0x6f3e2e(0x19d)+_0x3082af+_0x6f3e2e(0x189)+_0x3082af+'w');return{'imageFallbackUrl':_0x5ab058,'imageSources':[{'srcset':_0x4c81f8[_0x6f3e2e(0x17c)](',\x20'),'sizes':_0x6f3e2e(0x1a5)+_0x53223f+_0x6f3e2e(0x171)+_0x53223f+'px','type':_0x6f3e2e(0x197)}]};}function _0x3bc2(_0x30427a,_0x5c6160){const _0x4e6997=_0x4e69();return _0x3bc2=function(_0x3bc2a7,_0x30023e){_0x3bc2a7=_0x3bc2a7-0x16e;let _0x5563af=_0x4e6997[_0x3bc2a7];return _0x5563af;},_0x3bc2(_0x30427a,_0x5c6160);}export function getImageDimension(_0x2a5602,_0x5e96ca,_0xcd4fcb){const _0x56b5f1=_0x3bc2,_0x1bf1b7=_0x2a5602[_0x56b5f1(0x194)](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x1bf1b7?parseInt(_0x1bf1b7[0x1],0xa):_0x5e96ca,'height':_0x1bf1b7?parseInt(_0x1bf1b7[0x2],0xa):_0xcd4fcb};}export function showImageProcessingIndicator(_0x2c5967,_0x1a8868){const _0x370b70=_0x3bc2,_0x52d731=new(_0xea6091())(),_0xe7fac8=_0x2c5967[_0x370b70(0x17e)][_0x370b70(0x18b)](_0x370b70(0x17b)),_0x529e65=_0x2c5967[_0x370b70(0x182)][_0x370b70(0x180)][_0x370b70(0x199)](_0x1a8868),_0x46c2f6=_0xe7fac8[_0x370b70(0x187)](_0x529e65),_0xad0cca=_0x2c5967[_0x370b70(0x182)][_0x370b70(0x17a)][_0x370b70(0x18c)][_0x370b70(0x179)](_0x46c2f6),_0x4d171b=_0x1a8868[_0x370b70(0x19a)](_0x370b70(0x183)),_0x16e758=_0x1a8868[_0x370b70(0x19a)](_0x370b70(0x1a6)),_0x19290a=_0x370b70(0x198);_0x2c5967[_0x370b70(0x182)][_0x370b70(0x17a)][_0x370b70(0x1a4)](_0x204997=>{const _0x40d84e=_0x370b70;_0x204997[_0x40d84e(0x19f)](_0x19290a,_0x529e65),_0x204997[_0x40d84e(0x1a2)](_0x40d84e(0x1a0),_0x4d171b+'/'+_0x16e758,_0x46c2f6);}),_0x52d731[_0x370b70(0x17f)](_0xad0cca,_0x370b70(0x192),()=>{const _0x3c4ac5=_0x370b70;_0x52d731[_0x3c4ac5(0x177)](_0xad0cca,_0x3c4ac5(0x192)),_0x2c5967[_0x3c4ac5(0x182)][_0x3c4ac5(0x17a)][_0x3c4ac5(0x1a4)](_0x187583=>{const _0x58ed03=_0x3c4ac5;_0x187583[_0x58ed03(0x18f)](_0x19290a,_0x529e65),_0x187583[_0x58ed03(0x190)](_0x58ed03(0x1a0),_0x46c2f6);});});}function G(_0x24c31b){const _0x1b0a3a=_0x3bc2;if(Array[_0x1b0a3a(0x196)](_0x24c31b)){const _0x177ca5=_0x24c31b[_0x1b0a3a(0x18a)](G);return _0x128159=>_0x177ca5[_0x1b0a3a(0x1a1)](_0xba671f=>_0xba671f(_0x128159));}if(_0x1b0a3a(0x18d)==_0x24c31b){const _0x138e39=_0x5d85a2[_0x1b0a3a(0x186)][_0x1b0a3a(0x185)][_0x1b0a3a(0x18d)];return _0x57716d=>new URL(_0x57716d,_0x5d85a2[_0x1b0a3a(0x191)][_0x1b0a3a(0x173)])[_0x1b0a3a(0x18d)]==_0x138e39;}return _0x1b0a3a(0x178)==typeof _0x24c31b?_0x24c31b:_0x24c31b instanceof RegExp?_0x232691=>!(!_0x232691[_0x1b0a3a(0x194)](_0x24c31b)&&!_0x232691[_0x1b0a3a(0x174)](/^https?:\/\//,'')[_0x1b0a3a(0x194)](_0x24c31b)):()=>!0x1;}function _0x4e69(){const _0x15921e=['5478exfmno','/-/resize/','filter','addClass','aspect-ratio','some','setStyle','305148xVNLDR','change','(max-width:\x20','height','355ePFZoz','9422244xrvvlO','src','24496520SPEzTZ','px)\x20100vw,\x20','hasAttribute','baseURI','replace','11SaPEaE','element','stopListening','function','viewToDom','view','ImageUtils','join','1159216dQHkHW','plugins','listenTo','mapper','7938763pgMhbI','editing','width','imageInline','location','window','findViewImgElement','4mtaUUC','x/\x20','map','get','domConverter','origin','uploadcareImageId','removeClass','removeStyle','document','load','6lRVszW','match','imageBlock','isArray','image/webp','image-processing','toViewElement','getAttribute','2674461pwLlsX'];_0x4e69=function(){return _0x15921e;};return _0x4e69();}
|
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(_0x19b08e,_0x16a269){var _0x55a58d=_0x37ae,_0x4a1594=_0x19b08e();while(!![]){try{var _0x147d63=parseInt(_0x55a58d(0x1c9))/0x1+parseInt(_0x55a58d(0x1c4))/0x2*(parseInt(_0x55a58d(0x1ce))/0x3)+parseInt(_0x55a58d(0x1ca))/0x4*(-parseInt(_0x55a58d(0x1cb))/0x5)+parseInt(_0x55a58d(0x1c5))/0x6+parseInt(_0x55a58d(0x1c8))/0x7*(parseInt(_0x55a58d(0x1c6))/0x8)+-parseInt(_0x55a58d(0x1d1))/0x9*(-parseInt(_0x55a58d(0x1d0))/0xa)+-parseInt(_0x55a58d(0x1c7))/0xb*(parseInt(_0x55a58d(0x1cc))/0xc);if(_0x147d63===_0x16a269)break;else _0x4a1594['push'](_0x4a1594['shift']());}catch(_0x298d07){_0x4a1594['push'](_0x4a1594['shift']());}}}(_0x37fd,0x9c987));function _0x37fd(){var _0x39e6cb=['4QHvEQJ','3078170adJKcI','8664GoUbHd','target','714Gilujs','includes','20vlsRaJ','1771074zqrElm','1378iOSBDu','3612516LDSpvY','128iGIbnc','14509drDEWI','374486mUXsxr','193759uiGrBw'];_0x37fd=function(){return _0x39e6cb;};return _0x37fd();}function _0x37ae(_0x4be954,_0x36d91e){var _0x37fd08=_0x37fd();return _0x37ae=function(_0x37aeb8,_0x9631cf){_0x37aeb8=_0x37aeb8-0x1c4;var _0xfb96c5=_0x37fd08[_0x37aeb8];return _0xfb96c5;},_0x37ae(_0x4be954,_0x36d91e);}import{getAncestors as _0x45c94e}from'ckeditor5/src/utils.js';export function isAncestor(_0x3fa646,_0x531c45){var _0x58f4a7=_0x37ae;return _0x45c94e(_0x3fa646[_0x58f4a7(0x1cd)])[_0x58f4a7(0x1cf)](_0x531c45);}
|
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 _0x2e3032=_0x4ea7;(function(_0x184096,_0x344960){var _0x8295a8=_0x4ea7,_0x3c7c15=_0x184096();while(!![]){try{var _0x7bc315=-parseInt(_0x8295a8(0x1b6))/0x1+parseInt(_0x8295a8(0x1be))/0x2+-parseInt(_0x8295a8(0x1b5))/0x3+parseInt(_0x8295a8(0x1c0))/0x4*(parseInt(_0x8295a8(0x1ba))/0x5)+-parseInt(_0x8295a8(0x1b9))/0x6*(parseInt(_0x8295a8(0x1b7))/0x7)+-parseInt(_0x8295a8(0x1bb))/0x8+parseInt(_0x8295a8(0x1b8))/0x9*(parseInt(_0x8295a8(0x1bd))/0xa);if(_0x7bc315===_0x344960)break;else _0x3c7c15['push'](_0x3c7c15['shift']());}catch(_0xf8957b){_0x3c7c15['push'](_0x3c7c15['shift']());}}}(_0x2f1a,0xe2833));function _0x4ea7(_0x4e4533,_0x30b562){var _0x2f1ad5=_0x2f1a();return _0x4ea7=function(_0x4ea7ff,_0x553489){_0x4ea7ff=_0x4ea7ff-0x1b5;var _0x5f433a=_0x2f1ad5[_0x4ea7ff];return _0x5f433a;},_0x4ea7(_0x4e4533,_0x30b562);}import{uploadFile as _0x314a5c,info as _0x14e885}from'@uploadcare/upload-client';export class UploadUtils{static[_0x2e3032(0x1bf)]({file:_0x9f926,..._0x348de4}){return _0x314a5c(_0x9f926,_0x348de4);}static[_0x2e3032(0x1bc)](_0x214f33,_0x4d11c8){return _0x14e885(_0x214f33,_0x4d11c8);}}function _0x2f1a(){var _0x57734a=['getInfo','11810WgWxyR','3525894gxlkLk','upload','177172eKCDTU','4280805IsCHDi','374121gCdohJ','608741MKlUNO','14274KfAXha','96hkjWgb','190lxqeSL','9591104dvTzVk'];_0x2f1a=function(){return _0x57734a;};return _0x2f1a();}
|
|
@@ -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
|
-
}
|