@ckeditor/ckeditor5-uploadcare 47.6.1 → 48.0.0-alpha.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 +45 -45
- package/dist/index-editor.css +3296 -206
- package/dist/index.css +3295 -303
- 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 +3 -3
- package/{src → dist}/uploadcareediting.d.ts +4 -3
- 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 +4 -3
- 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 +4 -3
- package/{src → dist}/utils/dialogfocusmanagerview.d.ts +2 -2
- package/package.json +22 -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 _0x107d5b}from'ckeditor5/src/core.js';import{ButtonView as _0x268dee}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x2e7462}from'ckeditor5/src/icons.js';import{createElement as _0x3432ba}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 _0x107d5b{['_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 _0x137869=this['editor'];_0x137869['ui']['componentFactory']['add']('uploadcareImageEdit',_0x5d7fdd=>{const _0x5c6a4b=_0x137869['commands']['get']('uploadcareImageEdit'),_0x2a5bd1=new _0x268dee(_0x5d7fdd),t=_0x5d7fdd['t'];return _0x2a5bd1['set']({'icon':_0x2e7462,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x2a5bd1['bind']('isEnabled')['to'](_0x5c6a4b),_0x2a5bd1['bind']('isOn')['to'](_0x5c6a4b,'isActive'),this['listenTo'](_0x2a5bd1,'execute',()=>{_0x137869['execute']('uploadcareImageEdit'),_0x137869['editing']['view']['focus']();}),_0x2a5bd1;}),this['_initConfig']();}['_initConfig'](){const _0x56c193=_0x3432ba(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x56c193),this['listenTo'](this['editor'],'destroy',()=>{_0x56c193['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 _0x1158(_0x1df9b3,_0x59af88){const _0x394e0a=_0x394e();return _0x1158=function(_0x11586e,_0x141f5c){_0x11586e=_0x11586e-0x1bd;let _0x38f063=_0x394e0a[_0x11586e];return _0x38f063;},_0x1158(_0x1df9b3,_0x59af88);}const _0x2f6c9b=_0x1158;(function(_0x2c99f4,_0xeba576){const _0x5d6eeb=_0x1158,_0x5ed4c6=_0x2c99f4();while(!![]){try{const _0x27ca50=parseInt(_0x5d6eeb(0x1ce))/0x1+-parseInt(_0x5d6eeb(0x1cc))/0x2+parseInt(_0x5d6eeb(0x1bd))/0x3*(-parseInt(_0x5d6eeb(0x1bf))/0x4)+parseInt(_0x5d6eeb(0x1cd))/0x5+-parseInt(_0x5d6eeb(0x1d0))/0x6+-parseInt(_0x5d6eeb(0x1c2))/0x7*(parseInt(_0x5d6eeb(0x1d1))/0x8)+parseInt(_0x5d6eeb(0x1be))/0x9;if(_0x27ca50===_0xeba576)break;else _0x5ed4c6['push'](_0x5ed4c6['shift']());}catch(_0x3d26db){_0x5ed4c6['push'](_0x5ed4c6['shift']());}}}(_0x394e,0x26c3f));function _0x394e(){const _0x5b4ab6=['model','editor','579dwiaml','1473075pjnWtb','428zxLbOU','imageBlock','document','2275EMMoBY','isEnabled','removeAttribute','change','element','selection','sizes','execute','getSelectedElement','srcset','196232gSRaYR','1088140xVFofs','152560HHONPi','refresh','1188828pmCmAq','1432ixwYSu','setAttributes','imageInline'];_0x394e=function(){return _0x5b4ab6;};return _0x394e();}import{Command as _0x4d1f20}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x4d1f20{[_0x2f6c9b(0x1cf)](){const _0x45e50b=_0x2f6c9b,_0x3b18b1=this[_0x45e50b(0x1d5)][_0x45e50b(0x1d4)][_0x45e50b(0x1c1)][_0x45e50b(0x1c7)][_0x45e50b(0x1ca)]();this[_0x45e50b(0x1c3)]=Boolean(_0x3b18b1&&(_0x3b18b1['is'](_0x45e50b(0x1c6),_0x45e50b(0x1c0))||_0x3b18b1['is'](_0x45e50b(0x1c6),_0x45e50b(0x1d3))));}[_0x2f6c9b(0x1c9)](_0x3049f6){const _0x22152d=_0x2f6c9b,_0x423442=this[_0x22152d(0x1d5)][_0x22152d(0x1d4)][_0x22152d(0x1c1)][_0x22152d(0x1c7)][_0x22152d(0x1ca)]();this[_0x22152d(0x1d5)][_0x22152d(0x1d4)][_0x22152d(0x1c5)](_0x413ce9=>{const _0x33c67d=_0x22152d;_0x413ce9[_0x33c67d(0x1d2)](_0x3049f6,_0x423442),_0x413ce9[_0x33c67d(0x1c4)](_0x33c67d(0x1cb),_0x423442),_0x413ce9[_0x33c67d(0x1c4)](_0x33c67d(0x1c8),_0x423442);});}}
|
|
@@ -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 _0x1bf0(_0x434b02,_0x19cb88){var _0x45a24a=_0x45a2();return _0x1bf0=function(_0x1bf0b5,_0x58225b){_0x1bf0b5=_0x1bf0b5-0x1ed;var _0x3b45aa=_0x45a24a[_0x1bf0b5];return _0x3b45aa;},_0x1bf0(_0x434b02,_0x19cb88);}var _0x5d7a56=_0x1bf0;(function(_0x364348,_0x5129c9){var _0x1e6e10=_0x1bf0,_0x293509=_0x364348();while(!![]){try{var _0x517346=-parseInt(_0x1e6e10(0x1f5))/0x1+-parseInt(_0x1e6e10(0x1fc))/0x2*(parseInt(_0x1e6e10(0x1fd))/0x3)+-parseInt(_0x1e6e10(0x1f3))/0x4*(-parseInt(_0x1e6e10(0x1f1))/0x5)+parseInt(_0x1e6e10(0x1ed))/0x6*(-parseInt(_0x1e6e10(0x1f4))/0x7)+-parseInt(_0x1e6e10(0x1f7))/0x8*(parseInt(_0x1e6e10(0x1fa))/0x9)+-parseInt(_0x1e6e10(0x1f6))/0xa*(-parseInt(_0x1e6e10(0x1f0))/0xb)+parseInt(_0x1e6e10(0x1f8))/0xc;if(_0x517346===_0x5129c9)break;else _0x293509['push'](_0x293509['shift']());}catch(_0x26f532){_0x293509['push'](_0x293509['shift']());}}}(_0x45a2,0xea237));import{Plugin as _0x2ade88}from'ckeditor5/src/core.js';function _0x45a2(){var _0x275837=['24SmESZI','67805088JTLtDj','UploadcareImageEdit','3362598XrMlvm','pluginName','1302514fJGFhp','3fyXZjx','2139774BrfoTt','requires','isOfficialPlugin','176qCtuzN','451795EsAdvz','isPremiumPlugin','16eqpJEZ','35MIYvzF','1802553bFXlvU','190620WhmBZJ'];_0x45a2=function(){return _0x275837;};return _0x45a2();}import{UploadcareImageEditEditing as _0x4fb9f0}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x2e5073}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x2ade88{static get[_0x5d7a56(0x1fb)](){var _0x2cc5bf=_0x5d7a56;return _0x2cc5bf(0x1f9);}static get[_0x5d7a56(0x1ee)](){return[_0x4fb9f0,_0x2e5073];}static get[_0x5d7a56(0x1ef)](){return!0x0;}static get[_0x5d7a56(0x1f2)](){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 _0x34eaab=_0x14e9;function _0x14e9(_0x40f203,_0x5ae9e0){const _0x5423de=_0x5423();return _0x14e9=function(_0x14e92e,_0x277457){_0x14e92e=_0x14e92e-0x18c;let _0x2604e0=_0x5423de[_0x14e92e];return _0x2604e0;},_0x14e9(_0x40f203,_0x5ae9e0);}(function(_0xc2c2ec,_0x48d804){const _0x3ed6e6=_0x14e9,_0x4cd8f8=_0xc2c2ec();while(!![]){try{const _0x57b0a4=parseInt(_0x3ed6e6(0x1a5))/0x1+parseInt(_0x3ed6e6(0x1c9))/0x2*(-parseInt(_0x3ed6e6(0x1d6))/0x3)+parseInt(_0x3ed6e6(0x19e))/0x4*(parseInt(_0x3ed6e6(0x18d))/0x5)+-parseInt(_0x3ed6e6(0x1b2))/0x6*(parseInt(_0x3ed6e6(0x1cc))/0x7)+parseInt(_0x3ed6e6(0x197))/0x8*(-parseInt(_0x3ed6e6(0x1d1))/0x9)+-parseInt(_0x3ed6e6(0x1d2))/0xa*(-parseInt(_0x3ed6e6(0x1b1))/0xb)+parseInt(_0x3ed6e6(0x1a8))/0xc*(parseInt(_0x3ed6e6(0x19d))/0xd);if(_0x57b0a4===_0x48d804)break;else _0x4cd8f8['push'](_0x4cd8f8['shift']());}catch(_0x3f684a){_0x4cd8f8['push'](_0x4cd8f8['shift']());}}}(_0x5423,0xaae42));function _0x5423(){const _0x1f6a80=['evaluationLimit','reduce','uploadcareLicenseKeyInvalid','registerIntegration','UploadcareUI','ImageInsertUI','_licenseKeyCheckInterval','bind','_createMenuBarButtons','pluginName','Replace','2Gjuwqc','_createToolbarButton','uploadcareLicenseKeyValid','3290HeWCFn','url','_getIntegrationKey','uploadcareLicenseKeyUsageLimit','shortText','9ANnmJw','90OnPwov','map','execute','_showLicenseError','2510409usqKhA','forEach','_createButton','config','entries','uploadcare','push','GDrive','text','35ltovFG','usageLimit','init','tooltip','domainLimit','afterInit','uploadcareLicenseKeyNotAllowed','isEnabled','Facebook','upload','7454584CInccC','plugins','uploadcareLicenseKeyEvaluationLimit','Insert','commands','isPremiumPlugin','1937eQeqVd','241876BgeHSR','editor','locale','type','has','get','destroy','910279bUOBVj','Uploadcare','Dropbox','77076vsSDUH','OneDrive','isOfficialPlugin','uploadcare.uploader.sourceList','withText','GPhotos','invalid','isImageSelected','Local','441023qAoaVY','2334lJfAMD','expired','uploadcareLicenseKeyDomainLimit','licenseKey','icon','URL','_createDropdownButtons','label','_normalizeConfigSourceList','assetManager','uploadcareLicenseKeyExpired','featureNotAllowed'];_0x5423=function(){return _0x1f6a80;};return _0x5423();}import{Plugin as _0x5b5fc6}from'ckeditor5/src/core.js';import{IconDropbox as _0x519923,IconFacebook as _0x416ae3,IconGoogleDrive as _0x50a966,IconGooglePhotos as _0x5b9657,IconUploadcareImageUpload as _0x204f33,IconUploadcareLink as _0x540f18,IconOneDrive as _0x218def}from'ckeditor5/src/icons.js';import{ButtonView as _0x57a467,MenuBarMenuListItemButtonView as _0x132c51}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x2d6c8b}from'./uploadcareconfig.js';import{getTranslation as _0x20d536}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';export class UploadcareUI extends _0x5b5fc6{[_0x34eaab(0x1b5)];[_0x34eaab(0x1c4)];static get[_0x34eaab(0x1c7)](){const _0x286ade=_0x34eaab;return _0x286ade(0x1c2);}static get[_0x34eaab(0x1aa)](){return!0x0;}static get[_0x34eaab(0x19c)](){return!0x0;}[_0x34eaab(0x18f)](){const _0x4cb87d=_0x34eaab;this[_0x4cb87d(0x1b5)]=this[_0x4cb87d(0x19f)][_0x4cb87d(0x1d9)][_0x4cb87d(0x1a3)](_0x4cb87d(0x1b5));const _0x503480=this[_0x4cb87d(0x19f)];this[_0x4cb87d(0x1c4)]=setInterval(()=>{const _0x57a975=_0x4cb87d;let _0x36046c;for(const _0x2dcaa6 in _0x503480){const _0x188460=_0x2dcaa6,_0x34eaa4=_0x503480[_0x188460];if(_0x57a975(0x1cb)==_0x34eaa4||_0x57a975(0x1c0)==_0x34eaa4||_0x57a975(0x1bc)==_0x34eaa4||_0x57a975(0x1b4)==_0x34eaa4||_0x57a975(0x193)==_0x34eaa4||_0x57a975(0x199)==_0x34eaa4||_0x57a975(0x1cf)==_0x34eaa4){delete _0x503480[_0x188460],_0x36046c=_0x34eaa4,clearInterval(this[_0x57a975(0x1c4)]),this[_0x57a975(0x1c4)]=void 0x0;break;}}_0x57a975(0x1c0)==_0x36046c&&_0x503480[_0x57a975(0x1d5)](_0x57a975(0x1ae)),_0x57a975(0x1bc)==_0x36046c&&_0x503480[_0x57a975(0x1d5)](_0x57a975(0x1b3)),_0x57a975(0x1b4)==_0x36046c&&_0x503480[_0x57a975(0x1d5)](_0x57a975(0x191)),_0x57a975(0x193)==_0x36046c&&_0x503480[_0x57a975(0x1d5)](_0x57a975(0x1bd),_0x57a975(0x1a6)),_0x57a975(0x199)==_0x36046c&&_0x503480[_0x57a975(0x1d5)](_0x57a975(0x1be)),_0x57a975(0x1cf)==_0x36046c&&_0x503480[_0x57a975(0x1d5)](_0x57a975(0x18e));},0x3e8);}[_0x34eaab(0x192)](){const _0x297969=_0x34eaab,{editor:_0xb2489d}=this,_0x40ff88=_0xb2489d[_0x297969(0x19b)][_0x297969(0x1a3)](_0x297969(0x1db));if(!_0x40ff88)return;const _0x1c426a=this[_0x297969(0x1ba)](_0xb2489d[_0x297969(0x1d9)][_0x297969(0x1a3)](_0x297969(0x1ab)))[_0x297969(0x1bf)]((_0x5d795e,_0x2ee85f)=>{const _0x55a8c4=_0x297969,_0x2a156f=this[_0x55a8c4(0x1ce)](_0x2ee85f[_0x55a8c4(0x1a1)]);return _0x5d795e[_0x2a156f]||(_0x5d795e[_0x2a156f]=[]),_0x5d795e[_0x2a156f][_0x55a8c4(0x1dc)](_0x2ee85f),_0x5d795e;},{});_0xb2489d[_0x297969(0x198)][_0x297969(0x1a2)](_0x297969(0x1c3))&&_0xb2489d[_0x297969(0x19b)][_0x297969(0x1a3)](_0x297969(0x1db))&&Object[_0x297969(0x1da)](_0x1c426a)[_0x297969(0x1d7)](([_0x2982a9,_0x315865])=>{const _0x1ebb43=_0x297969;_0xb2489d[_0x1ebb43(0x198)][_0x1ebb43(0x1a3)](_0x1ebb43(0x1c3))[_0x1ebb43(0x1c1)]({'name':_0x2982a9,'observable':()=>_0x40ff88,'buttonViewCreator':()=>this[_0x1ebb43(0x1ca)](_0x315865),'formViewCreator':()=>this[_0x1ebb43(0x1b8)](_0x315865),'menuBarButtonViewCreator':()=>this[_0x1ebb43(0x1c6)](_0x315865),'override':_0x1ebb43(0x1bb)!==_0x2982a9});});}[_0x34eaab(0x1a4)](){const _0x4a1966=_0x34eaab;super[_0x4a1966(0x1a4)](),this[_0x4a1966(0x1c4)]&&clearInterval(this[_0x4a1966(0x1c4)]);}[_0x34eaab(0x1ba)](_0x494e32){const _0x2817f2=_0x34eaab,{locale:_0xa1b3cd}=this[_0x2817f2(0x19f)];return _0x494e32[_0x2817f2(0x1d3)](_0xa6eb6e=>{const _0x4edf26=_0x2817f2,_0x21363c=_0x20d536(_0xa1b3cd,_0xa6eb6e,_0x4edf26(0x19a));switch(_0xa6eb6e){case _0x2d6c8b[_0x4edf26(0x1b0)]:return{'icon':_0x204f33,'type':_0x2d6c8b[_0x4edf26(0x1b0)],..._0x21363c};case _0x2d6c8b[_0x4edf26(0x1b7)]:return{'icon':_0x540f18,'type':_0x2d6c8b[_0x4edf26(0x1b7)],..._0x21363c};case _0x2d6c8b[_0x4edf26(0x1a7)]:return{'icon':_0x519923,'type':_0x2d6c8b[_0x4edf26(0x1a7)],..._0x21363c};case _0x2d6c8b[_0x4edf26(0x195)]:return{'icon':_0x416ae3,'type':_0x2d6c8b[_0x4edf26(0x195)],..._0x21363c};case _0x2d6c8b[_0x4edf26(0x1dd)]:return{'icon':_0x50a966,'type':_0x2d6c8b[_0x4edf26(0x1dd)],..._0x21363c};case _0x2d6c8b[_0x4edf26(0x1ad)]:return{'icon':_0x5b9657,'type':_0x2d6c8b[_0x4edf26(0x1ad)],..._0x21363c};case _0x2d6c8b[_0x4edf26(0x1a9)]:return{'icon':_0x218def,'type':_0x2d6c8b[_0x4edf26(0x1a9)],..._0x21363c};}});}[_0x34eaab(0x1ce)](_0x4d77fd){const _0x3bfe9c=_0x34eaab;switch(_0x4d77fd){case _0x2d6c8b[_0x3bfe9c(0x1b0)]:return _0x3bfe9c(0x196);case _0x2d6c8b[_0x3bfe9c(0x1b7)]:return _0x3bfe9c(0x1cd);default:return _0x3bfe9c(0x1bb);}}[_0x34eaab(0x1d8)](_0x368334,_0x207c66){const _0x3af681=_0x34eaab,_0x3d9f64=this[_0x3af681(0x19f)],_0x24bbc0=new _0x368334(_0x3d9f64[_0x3af681(0x1a0)]),_0x411ed7=_0x3d9f64[_0x3af681(0x19b)][_0x3af681(0x1a3)](_0x3af681(0x1db));return _0x24bbc0[_0x3af681(0x1c5)](_0x3af681(0x194))['to'](_0x411ed7),_0x24bbc0['on'](_0x3af681(0x1d4),()=>{const _0x4447d2=_0x3af681;_0x411ed7[_0x4447d2(0x1d4)](_0x207c66);}),_0x24bbc0;}[_0x34eaab(0x1ca)](_0x122a29){const _0x3d6f7e=_0x34eaab,{locale:_0x5d9342}=this[_0x3d6f7e(0x19f)],_0xeed83b=this[_0x3d6f7e(0x19f)][_0x3d6f7e(0x198)][_0x3d6f7e(0x1a3)](_0x3d6f7e(0x1c3)),_0x9525c9=_0x122a29[0x0],_0x943570=this[_0x3d6f7e(0x1d8)](_0x57a467,_0x9525c9[_0x3d6f7e(0x1a1)]);return _0x943570[_0x3d6f7e(0x1b6)]=_0x9525c9[_0x3d6f7e(0x1b6)],_0x943570[_0x3d6f7e(0x1c5)](_0x3d6f7e(0x1b9))['to'](_0xeed83b,_0x3d6f7e(0x1af),_0x4c2f49=>_0x20d536(_0x5d9342,_0x9525c9[_0x3d6f7e(0x1a1)],_0x4c2f49?_0x3d6f7e(0x1c8):_0x3d6f7e(0x19a))[_0x3d6f7e(0x18c)]),_0x943570[_0x3d6f7e(0x190)]=!0x0,_0x943570;}[_0x34eaab(0x1b8)](_0xa98cfb){const _0x333188=_0x34eaab,{locale:_0x75880f}=this[_0x333188(0x19f)],_0x34065e=this[_0x333188(0x19f)][_0x333188(0x198)][_0x333188(0x1a3)](_0x333188(0x1c3));return _0xa98cfb[_0x333188(0x1d3)](_0x1d823b=>{const _0x5d6e98=_0x333188,_0x49354c=this[_0x5d6e98(0x1d8)](_0x57a467,_0x1d823b[_0x5d6e98(0x1a1)]);return _0x49354c[_0x5d6e98(0x1ac)]=!0x0,_0x49354c[_0x5d6e98(0x1b6)]=_0x1d823b[_0x5d6e98(0x1b6)],_0x49354c[_0x5d6e98(0x1c5)](_0x5d6e98(0x1b9))['to'](_0x34065e,_0x5d6e98(0x1af),_0x595328=>_0x20d536(_0x75880f,_0x1d823b[_0x5d6e98(0x1a1)],_0x595328?_0x5d6e98(0x1c8):_0x5d6e98(0x19a))[_0x5d6e98(0x18c)]),_0x49354c;});}[_0x34eaab(0x1c6)](_0x1b4edf){const _0x82f671=_0x34eaab;return _0x1b4edf[_0x82f671(0x1d3)](_0x59128d=>{const _0x21ec6f=_0x82f671,_0x2cfadf=this[_0x21ec6f(0x1d8)](_0x132c51,_0x59128d[_0x21ec6f(0x1a1)]);return _0x2cfadf[_0x21ec6f(0x1b6)]=_0x59128d[_0x21ec6f(0x1b6)],_0x2cfadf[_0x21ec6f(0x1b9)]=_0x59128d[_0x21ec6f(0x1d0)],_0x2cfadf;});}}
|
|
@@ -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 _0x53086d}from'ckeditor5/src/core.js';import{FileRepository as _0x309592}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x4558ba}from'./uploadcareediting.js';import{UploadUtils as _0x3c7c4d}from'./utils/uploadutils.js';import{getImageUrls as _0x576466}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x53086d{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x309592,_0x4558ba];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x2a9cfe=this['editor'];if(!!!_0x2a9cfe['config']['get']('uploadcare'))return;_0x2a9cfe['plugins']['get'](_0x309592)['createUploadAdapter']=_0x28c22d=>new k(_0x28c22d,_0x2a9cfe),_0x2a9cfe['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x168333,{imageElement:_0x2d2fed,data:_0x120de7})=>{_0x2a9cfe['model']['change'](_0x11c7e4=>{_0x11c7e4['setAttribute']('uploadcareImageId',_0x120de7['uploadcareImageId'],_0x2d2fed);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x427617,_0x56895f){this['loader']=_0x427617,this['editor']=_0x56895f,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x3e236e=await this['loader']['file'];return _0x3c7c4d['upload']({'file':_0x3e236e,'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':_0x1e4a8a=>{_0x1e4a8a&&_0x1e4a8a['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x1e4a8a['value']);}})['then'](async _0x45a99=>{const {imageFallbackUrl:_0x30349e,imageSources:_0x140e6d}=_0x576466(_0x45a99['cdnUrl'],_0x45a99['imageInfo']['width']);return{'uploadcareImageId':_0x45a99['uuid'],'default':_0x30349e,'sources':_0x140e6d};})['catch'](()=>{const _0x59c379=t('Cannot\x20upload\x20file:')+('\x20'+_0x3e236e['name']+'.');return Promise['reject'](_0x59c379);});}['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 _0x56d556}from'../uploadcareconfig.js';export function getTranslation(_0x154087,_0x1f1eb1,_0x5ef426){const t=_0x154087['t'],_0x485405=_0x154087['t'];switch(_0x1f1eb1){case _0x56d556['Local']:return{'text':_0x485405('Insert'===_0x5ef426?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x485405('From\x20computer')};case _0x56d556['URL']:return{'text':'Insert'===_0x5ef426?_0x485405('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x485405('Via\x20URL')};case _0x56d556['Dropbox']:return{'text':t('Insert'===_0x5ef426?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x56d556['Facebook']:return{'text':t('Insert'===_0x5ef426?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x56d556['GDrive']:return{'text':t('Insert'===_0x5ef426?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x56d556['GPhotos']:return{'text':t('Insert'===_0x5ef426?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x56d556['OneDrive']:return{'text':t('Insert'===_0x5ef426?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x1f1eb1;}}
|
|
@@ -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 _0x49c577=_0x1e4b;(function(_0x32c578,_0x1632ee){var _0xca7101=_0x1e4b,_0x4b6deb=_0x32c578();while(!![]){try{var _0x161c0f=parseInt(_0xca7101(0xee))/0x1*(parseInt(_0xca7101(0xf0))/0x2)+parseInt(_0xca7101(0xed))/0x3+parseInt(_0xca7101(0xe9))/0x4+parseInt(_0xca7101(0xf4))/0x5+-parseInt(_0xca7101(0xef))/0x6+-parseInt(_0xca7101(0xea))/0x7+parseInt(_0xca7101(0xf1))/0x8;if(_0x161c0f===_0x1632ee)break;else _0x4b6deb['push'](_0x4b6deb['shift']());}catch(_0x3df1bd){_0x4b6deb['push'](_0x4b6deb['shift']());}}}(_0x5d37,0x3b8e2));import{FocusTracker as _0x50dc71}from'ckeditor5/src/utils.js';import{View as _0x4aad7a,FocusCycler as _0x58c2c8}from'ckeditor5/src/ui.js';function _0x1e4b(_0x166140,_0x4ddce5){var _0x5d371a=_0x5d37();return _0x1e4b=function(_0x1e4b49,_0x316ef1){_0x1e4b49=_0x1e4b49-0xe7;var _0x5b107c=_0x5d371a[_0x1e4b49];return _0x5b107c;},_0x1e4b(_0x166140,_0x4ddce5);}function _0x5d37(){var _0x2b0f8f=['98810LJkeTI','focusCycler','true','div','fire','focusTracker','884436rwQxga','1876287aiiIqp','forwardCycle','bindTemplate','796050pkkFNc','1YyzOPA','2836242DjEUxP','190006oBaVta','3067696TlzTJn','getFocusableElement','createCollection'];_0x5d37=function(){return _0x2b0f8f;};return _0x5d37();}import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x4aad7a{[_0x49c577(0xe8)];[_0x49c577(0xf5)];constructor(_0x51e230){var _0x5bf78e=_0x49c577;super(_0x51e230),this[_0x5bf78e(0xe8)]=new _0x50dc71(),this[_0x5bf78e(0xf5)]=new _0x58c2c8({'focusables':this[_0x5bf78e(0xf3)](),'focusTracker':this[_0x5bf78e(0xe8)]});}[_0x49c577(0xf2)](){var _0x3a68e1=_0x49c577;return{'tag':_0x3a68e1(0xf7),'attributes':{'aria-hidden':_0x3a68e1(0xf6),'tabindex':'0'},'on':{'focus':this[_0x3a68e1(0xec)]['to'](()=>{var _0x3d0971=_0x3a68e1;this[_0x3d0971(0xf5)][_0x3d0971(0xe7)](_0x3d0971(0xeb));})}};}}
|
|
@@ -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(_0x3c5fab,_0x47690b){const _0x25112f=_0x1a03,_0x2a0448=_0x3c5fab();while(!![]){try{const _0x33c361=-parseInt(_0x25112f(0xb4))/0x1*(-parseInt(_0x25112f(0x9f))/0x2)+-parseInt(_0x25112f(0x94))/0x3*(parseInt(_0x25112f(0xaf))/0x4)+-parseInt(_0x25112f(0xa1))/0x5+parseInt(_0x25112f(0x96))/0x6+parseInt(_0x25112f(0x9b))/0x7+-parseInt(_0x25112f(0xb5))/0x8+parseInt(_0x25112f(0xb2))/0x9;if(_0x33c361===_0x47690b)break;else _0x2a0448['push'](_0x2a0448['shift']());}catch(_0x58d3b1){_0x2a0448['push'](_0x2a0448['shift']());}}}(_0x2f80,0x2dc8b));function _0x1a03(_0x4129e9,_0x565c9e){const _0x2f806e=_0x2f80();return _0x1a03=function(_0x1a0388,_0xc663db){_0x1a0388=_0x1a0388-0x81;let _0x176f6d=_0x2f806e[_0x1a0388];return _0x176f6d;},_0x1a03(_0x4129e9,_0x565c9e);}import{global as _0x1df3f2,DomEmitterMixin as _0x27b4f3}from'ckeditor5/src/utils.js';export function createEditabilityChecker(_0x268cad){const _0x1ad585=_0x1a03,_0x4f5b=z(_0x268cad);return _0x298dd2=>!(!_0x298dd2||!_0x298dd2['is'](_0x1ad585(0x95),_0x1ad585(0x8b))&&!_0x298dd2['is'](_0x1ad585(0x95),_0x1ad585(0x93)))&&(!!_0x298dd2[_0x1ad585(0xab)](_0x1ad585(0x83))||!!_0x298dd2[_0x1ad585(0xab)](_0x1ad585(0x90))&&_0x4f5b(_0x298dd2[_0x1ad585(0x84)](_0x1ad585(0x90))));}export function getImageUrls(_0x5618e5,_0x20a4e0){const _0xe490b2=_0x1a03,_0x141957=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960][_0xe490b2(0x82)](_0x14f5cd=>_0x14f5cd<=_0x20a4e0)[_0xe490b2(0x92)](_0x33cbc5=>_0x5618e5[_0xe490b2(0x8f)](/\/$/,'')+_0xe490b2(0xad)+_0x33cbc5+_0xe490b2(0x88)+_0x33cbc5+'w');return{'imageFallbackUrl':_0x5618e5,'imageSources':[{'srcset':_0x141957[_0xe490b2(0xa6)](',\x20'),'sizes':_0xe490b2(0x8c)+_0x20a4e0+_0xe490b2(0xa7)+_0x20a4e0+'px','type':_0xe490b2(0x8a)}]};}export function getImageDimension(_0x23738f,_0x13ec04,_0x1a43ff){const _0x191a57=_0x1a03,_0x42a8b8=_0x23738f[_0x191a57(0xb6)](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x42a8b8?parseInt(_0x42a8b8[0x1],0xa):_0x13ec04,'height':_0x42a8b8?parseInt(_0x42a8b8[0x2],0xa):_0x1a43ff};}export function showImageProcessingIndicator(_0x42ae80,_0x4153f3){const _0xcb81fc=_0x1a03,_0x5571e6=new(_0x27b4f3())(),_0x1f31af=_0x42ae80[_0xcb81fc(0xa4)][_0xcb81fc(0xa5)](_0xcb81fc(0xa3)),_0x1a7a85=_0x42ae80[_0xcb81fc(0x8d)][_0xcb81fc(0x9d)][_0xcb81fc(0xaa)](_0x4153f3),_0x48f026=_0x1f31af[_0xcb81fc(0xa2)](_0x1a7a85),_0x1d4b92=_0x42ae80[_0xcb81fc(0x8d)][_0xcb81fc(0xae)][_0xcb81fc(0x87)][_0xcb81fc(0xa0)](_0x48f026),_0x1b2e58=_0x4153f3[_0xcb81fc(0x84)](_0xcb81fc(0x99)),_0x33181c=_0x4153f3[_0xcb81fc(0x84)](_0xcb81fc(0xac)),_0xc5c354=_0xcb81fc(0x9c);_0x42ae80[_0xcb81fc(0x8d)][_0xcb81fc(0xae)][_0xcb81fc(0xa8)](_0x21ff4b=>{const _0x4c9cf9=_0xcb81fc;_0x21ff4b[_0x4c9cf9(0xb7)](_0xc5c354,_0x1a7a85),_0x21ff4b[_0x4c9cf9(0xa9)](_0x4c9cf9(0x89),_0x1b2e58+'/'+_0x33181c,_0x48f026);}),_0x5571e6[_0xcb81fc(0xb3)](_0x1d4b92,_0xcb81fc(0x9e),()=>{const _0x1e2e01=_0xcb81fc;_0x5571e6[_0x1e2e01(0x97)](_0x1d4b92,_0x1e2e01(0x9e)),_0x42ae80[_0x1e2e01(0x8d)][_0x1e2e01(0xae)][_0x1e2e01(0xa8)](_0xf0711a=>{const _0x59a8fc=_0x1e2e01;_0xf0711a[_0x59a8fc(0xb8)](_0xc5c354,_0x1a7a85),_0xf0711a[_0x59a8fc(0x98)](_0x59a8fc(0x89),_0x48f026);});});}function z(_0x4596e6){const _0xe048c0=_0x1a03;if(Array[_0xe048c0(0x85)](_0x4596e6)){const _0x41632c=_0x4596e6[_0xe048c0(0x92)](z);return _0x54f1b7=>_0x41632c[_0xe048c0(0x8e)](_0x17ca68=>_0x17ca68(_0x54f1b7));}if(_0xe048c0(0x86)==_0x4596e6){const _0x53dbd8=_0x1df3f2[_0xe048c0(0xb0)][_0xe048c0(0xb1)][_0xe048c0(0x86)];return _0x5e70f6=>new URL(_0x5e70f6,_0x1df3f2[_0xe048c0(0x91)][_0xe048c0(0x81)])[_0xe048c0(0x86)]==_0x53dbd8;}return _0xe048c0(0x9a)==typeof _0x4596e6?_0x4596e6:_0x4596e6 instanceof RegExp?_0x57140e=>!(!_0x57140e[_0xe048c0(0xb6)](_0x4596e6)&&!_0x57140e[_0xe048c0(0x8f)](/^https?:\/\//,'')[_0xe048c0(0xb6)](_0x4596e6)):()=>!0x1;}function _0x2f80(){const _0x588ae4=['listenTo','2nbpEtY','1746616ZQBmTH','match','addClass','removeClass','baseURI','filter','uploadcareImageId','getAttribute','isArray','origin','domConverter','x/\x20','aspect-ratio','image/webp','imageBlock','(max-width:\x20','editing','some','replace','src','document','map','imageInline','872238spDFSM','element','460734TfrOXN','stopListening','removeStyle','width','function','2597399nEIKSV','image-processing','mapper','load','282166glcbcp','viewToDom','839260FhBqpD','findViewImgElement','ImageUtils','plugins','get','join','px)\x20100vw,\x20','change','setStyle','toViewElement','hasAttribute','height','/-/resize/','view','4PBHxyy','window','location','1209996FFGVKh'];_0x2f80=function(){return _0x588ae4;};return _0x2f80();}
|
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(_0x28beca,_0x34e1c3){var _0x19f59d=_0x4db0,_0x29daa8=_0x28beca();while(!![]){try{var _0x4ae640=-parseInt(_0x19f59d(0x19e))/0x1+parseInt(_0x19f59d(0x19a))/0x2+-parseInt(_0x19f59d(0x19c))/0x3+parseInt(_0x19f59d(0x194))/0x4*(parseInt(_0x19f59d(0x193))/0x5)+-parseInt(_0x19f59d(0x195))/0x6*(-parseInt(_0x19f59d(0x198))/0x7)+-parseInt(_0x19f59d(0x197))/0x8*(-parseInt(_0x19f59d(0x199))/0x9)+parseInt(_0x19f59d(0x19b))/0xa;if(_0x4ae640===_0x34e1c3)break;else _0x29daa8['push'](_0x29daa8['shift']());}catch(_0x41b779){_0x29daa8['push'](_0x29daa8['shift']());}}}(_0x4c5f,0x92145));function _0x4c5f(){var _0x2a865f=['target','27312udMRmF','70yphFJW','1107gGJKyq','63194DrMkhe','7801080JCLjry','2123472QoworN','includes','159468lOLiDv','1520WFEhyl','876UlUzIn','100458vqQMqr'];_0x4c5f=function(){return _0x2a865f;};return _0x4c5f();}import{getAncestors as _0x29cd12}from'ckeditor5/src/utils.js';function _0x4db0(_0x345dd3,_0xc974a1){var _0x4c5fce=_0x4c5f();return _0x4db0=function(_0x4db057,_0x443a77){_0x4db057=_0x4db057-0x193;var _0x4abbe2=_0x4c5fce[_0x4db057];return _0x4abbe2;},_0x4db0(_0x345dd3,_0xc974a1);}export function isAncestor(_0x3bb15d,_0x3bbd15){var _0x5e9a2c=_0x4db0;return _0x29cd12(_0x3bb15d[_0x5e9a2c(0x196)])[_0x5e9a2c(0x19d)](_0x3bbd15);}
|
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 _0x42331a=_0x4f8e;(function(_0x454052,_0x4d7e51){var _0x27a930=_0x4f8e,_0x5b2eed=_0x454052();while(!![]){try{var _0x546fc6=-parseInt(_0x27a930(0x1a2))/0x1*(-parseInt(_0x27a930(0x19f))/0x2)+parseInt(_0x27a930(0x1a9))/0x3+parseInt(_0x27a930(0x1a7))/0x4+parseInt(_0x27a930(0x19d))/0x5*(-parseInt(_0x27a930(0x1a0))/0x6)+parseInt(_0x27a930(0x1a5))/0x7+-parseInt(_0x27a930(0x1a8))/0x8*(-parseInt(_0x27a930(0x1a6))/0x9)+parseInt(_0x27a930(0x19e))/0xa*(-parseInt(_0x27a930(0x1a3))/0xb);if(_0x546fc6===_0x4d7e51)break;else _0x5b2eed['push'](_0x5b2eed['shift']());}catch(_0x13d953){_0x5b2eed['push'](_0x5b2eed['shift']());}}}(_0x22fe,0xc143e));function _0x22fe(){var _0x43f601=['3328qYXhXo','12cygjXc','getInfo','369geQafk','22HLwgtB','upload','6072045VfDDDM','63yRUpQM','3889940kPVtxd','1596152wNCptH','2577003AZJfUT','437135JIqett','18715510RzWcUm'];_0x22fe=function(){return _0x43f601;};return _0x22fe();}import{uploadFile as _0x4613a9,info as _0x31c891}from'@uploadcare/upload-client';function _0x4f8e(_0x393dd7,_0x293c11){var _0x22feae=_0x22fe();return _0x4f8e=function(_0x4f8e95,_0x422c70){_0x4f8e95=_0x4f8e95-0x19d;var _0x2835a5=_0x22feae[_0x4f8e95];return _0x2835a5;},_0x4f8e(_0x393dd7,_0x293c11);}export class UploadUtils{static[_0x42331a(0x1a4)]({file:_0x4f6e91,..._0x596731}){return _0x4613a9(_0x4f6e91,_0x596731);}static[_0x42331a(0x1a1)](_0x1f7bbd,_0xb96d43){return _0x31c891(_0x1f7bbd,_0xb96d43);}}
|
|
@@ -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
|