@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20260118.0 → 0.0.0-nightly-next-20260118.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ckeditor5-metadata.json +2 -2
- package/dist/index.js +3 -3
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/{src → dist}/ui/uploadcarecontroller.d.ts +3 -3
- package/{src → dist}/ui/uploadcareformview.d.ts +1 -1
- package/{src → dist}/uploadcare.d.ts +1 -1
- package/{src → dist}/uploadcarecommand.d.ts +2 -2
- package/{src → dist}/uploadcareconfig.d.ts +1 -1
- package/{src → dist}/uploadcareediting.d.ts +2 -2
- package/{src → dist}/uploadcareimageedit/ui/uploadcareimageeditcontroller.d.ts +5 -5
- package/{src → dist}/uploadcareimageedit/ui/uploadcareimageeditformeditingview.d.ts +2 -2
- package/{src → dist}/uploadcareimageedit/ui/uploadcareimageeditformerrorview.d.ts +2 -2
- package/{src → dist}/uploadcareimageedit/ui/uploadcareimageeditformloadingview.d.ts +2 -2
- package/{src → dist}/uploadcareimageedit/ui/uploadcareimageeditformview.d.ts +1 -1
- package/{src → dist}/uploadcareimageedit/uploadcareimageeditcommand.d.ts +2 -2
- package/{src → dist}/uploadcareimageedit/uploadcareimageeditediting.d.ts +2 -2
- package/{src → dist}/uploadcareimageedit/uploadcareimageeditui.d.ts +1 -1
- package/{src → dist}/uploadcareimageedit/uploadcareimagereplacecommand.d.ts +1 -1
- package/{src → dist}/uploadcareimageedit.d.ts +1 -1
- package/{src → dist}/uploadcareui.d.ts +1 -1
- package/{src → dist}/uploadcareuploadadapter.d.ts +2 -2
- package/{src → dist}/utils/dialogfocusmanagerview.d.ts +2 -2
- package/package.json +23 -46
- package/build/translations/af.js +0 -1
- package/build/translations/ar.js +0 -1
- package/build/translations/ast.js +0 -1
- package/build/translations/az.js +0 -1
- package/build/translations/be.js +0 -1
- package/build/translations/bg.js +0 -1
- package/build/translations/bn.js +0 -1
- package/build/translations/bs.js +0 -1
- package/build/translations/ca.js +0 -1
- package/build/translations/cs.js +0 -1
- package/build/translations/da.js +0 -1
- package/build/translations/de-ch.js +0 -1
- package/build/translations/de.js +0 -1
- package/build/translations/el.js +0 -1
- package/build/translations/en-au.js +0 -1
- package/build/translations/en-gb.js +0 -1
- package/build/translations/eo.js +0 -1
- package/build/translations/es-co.js +0 -1
- package/build/translations/es.js +0 -1
- package/build/translations/et.js +0 -1
- package/build/translations/eu.js +0 -1
- package/build/translations/fa.js +0 -1
- package/build/translations/fi.js +0 -1
- package/build/translations/fr.js +0 -1
- package/build/translations/gl.js +0 -1
- package/build/translations/gu.js +0 -1
- package/build/translations/he.js +0 -1
- package/build/translations/hi.js +0 -1
- package/build/translations/hr.js +0 -1
- package/build/translations/hu.js +0 -1
- package/build/translations/hy.js +0 -1
- package/build/translations/id.js +0 -1
- package/build/translations/it.js +0 -1
- package/build/translations/ja.js +0 -1
- package/build/translations/jv.js +0 -1
- package/build/translations/kk.js +0 -1
- package/build/translations/km.js +0 -1
- package/build/translations/kn.js +0 -1
- package/build/translations/ko.js +0 -1
- package/build/translations/ku.js +0 -1
- package/build/translations/lt.js +0 -1
- package/build/translations/lv.js +0 -1
- package/build/translations/ms.js +0 -1
- package/build/translations/nb.js +0 -1
- package/build/translations/ne.js +0 -1
- package/build/translations/nl.js +0 -1
- package/build/translations/no.js +0 -1
- package/build/translations/oc.js +0 -1
- package/build/translations/pl.js +0 -1
- package/build/translations/pt-br.js +0 -1
- package/build/translations/pt.js +0 -1
- package/build/translations/ro.js +0 -1
- package/build/translations/ru.js +0 -1
- package/build/translations/si.js +0 -1
- package/build/translations/sk.js +0 -1
- package/build/translations/sl.js +0 -1
- package/build/translations/sq.js +0 -1
- package/build/translations/sr-latn.js +0 -1
- package/build/translations/sr.js +0 -1
- package/build/translations/sv.js +0 -1
- package/build/translations/th.js +0 -1
- package/build/translations/ti.js +0 -1
- package/build/translations/tk.js +0 -1
- package/build/translations/tr.js +0 -1
- package/build/translations/tt.js +0 -1
- package/build/translations/ug.js +0 -1
- package/build/translations/uk.js +0 -1
- package/build/translations/ur.js +0 -1
- package/build/translations/uz.js +0 -1
- package/build/translations/vi.js +0 -1
- package/build/translations/zh-cn.js +0 -1
- package/build/translations/zh.js +0 -1
- package/build/uploadcare.js +0 -5
- package/lang/contexts.json +0 -24
- package/lang/translations/af.po +0 -100
- package/lang/translations/ar.po +0 -100
- package/lang/translations/ast.po +0 -100
- package/lang/translations/az.po +0 -100
- package/lang/translations/be.po +0 -100
- package/lang/translations/bg.po +0 -100
- package/lang/translations/bn.po +0 -100
- package/lang/translations/bs.po +0 -100
- package/lang/translations/ca.po +0 -100
- package/lang/translations/cs.po +0 -100
- package/lang/translations/da.po +0 -100
- package/lang/translations/de-ch.po +0 -100
- package/lang/translations/de.po +0 -100
- package/lang/translations/el.po +0 -100
- package/lang/translations/en-au.po +0 -100
- package/lang/translations/en-gb.po +0 -100
- package/lang/translations/en.po +0 -100
- package/lang/translations/eo.po +0 -100
- package/lang/translations/es-co.po +0 -100
- package/lang/translations/es.po +0 -100
- package/lang/translations/et.po +0 -100
- package/lang/translations/eu.po +0 -100
- package/lang/translations/fa.po +0 -100
- package/lang/translations/fi.po +0 -100
- package/lang/translations/fr.po +0 -100
- package/lang/translations/gl.po +0 -100
- package/lang/translations/gu.po +0 -100
- package/lang/translations/he.po +0 -100
- package/lang/translations/hi.po +0 -100
- package/lang/translations/hr.po +0 -100
- package/lang/translations/hu.po +0 -100
- package/lang/translations/hy.po +0 -100
- package/lang/translations/id.po +0 -100
- package/lang/translations/it.po +0 -100
- package/lang/translations/ja.po +0 -100
- package/lang/translations/jv.po +0 -100
- package/lang/translations/kk.po +0 -100
- package/lang/translations/km.po +0 -100
- package/lang/translations/kn.po +0 -100
- package/lang/translations/ko.po +0 -100
- package/lang/translations/ku.po +0 -100
- package/lang/translations/lt.po +0 -100
- package/lang/translations/lv.po +0 -100
- package/lang/translations/ms.po +0 -100
- package/lang/translations/nb.po +0 -100
- package/lang/translations/ne.po +0 -100
- package/lang/translations/nl.po +0 -100
- package/lang/translations/no.po +0 -100
- package/lang/translations/oc.po +0 -100
- package/lang/translations/pl.po +0 -100
- package/lang/translations/pt-br.po +0 -100
- package/lang/translations/pt.po +0 -100
- package/lang/translations/ro.po +0 -100
- package/lang/translations/ru.po +0 -100
- package/lang/translations/si.po +0 -100
- package/lang/translations/sk.po +0 -100
- package/lang/translations/sl.po +0 -100
- package/lang/translations/sq.po +0 -100
- package/lang/translations/sr-latn.po +0 -100
- package/lang/translations/sr.po +0 -100
- package/lang/translations/sv.po +0 -100
- package/lang/translations/th.po +0 -100
- package/lang/translations/ti.po +0 -100
- package/lang/translations/tk.po +0 -100
- package/lang/translations/tr.po +0 -100
- package/lang/translations/tt.po +0 -100
- package/lang/translations/ug.po +0 -100
- package/lang/translations/uk.po +0 -100
- package/lang/translations/ur.po +0 -100
- package/lang/translations/uz.po +0 -100
- package/lang/translations/vi.po +0 -100
- package/lang/translations/zh-cn.po +0 -100
- package/lang/translations/zh.po +0 -100
- package/src/augmentation.js +0 -23
- package/src/index.js +0 -23
- package/src/ui/uploadcarecontroller.js +0 -24
- package/src/ui/uploadcareformview.js +0 -23
- package/src/uploadcare.js +0 -23
- package/src/uploadcarecommand.js +0 -23
- package/src/uploadcareconfig.js +0 -23
- package/src/uploadcareediting.js +0 -23
- package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +0 -24
- package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +0 -23
- package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +0 -23
- package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +0 -23
- package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +0 -23
- package/src/uploadcareimageedit/uploadcareimageeditcommand.js +0 -23
- package/src/uploadcareimageedit/uploadcareimageeditediting.js +0 -23
- package/src/uploadcareimageedit/uploadcareimageeditui.js +0 -23
- package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +0 -23
- package/src/uploadcareimageedit.js +0 -23
- package/src/uploadcareui.js +0 -23
- package/src/uploadcareuploadadapter.js +0 -23
- package/src/utils/common-translations.js +0 -23
- package/src/utils/dialogfocusmanagerview.js +0 -23
- package/src/utils/editingutils.js +0 -23
- package/src/utils/isancestor.js +0 -23
- package/src/utils/uploadutils.js +0 -23
- package/theme/uploadcare-form.css +0 -201
- package/theme/uploadcare-theme.css +0 -20
- package/theme/uploadcareimageedit.css +0 -64
- /package/{src → dist}/augmentation.d.ts +0 -0
- /package/{src → dist}/index.d.ts +0 -0
- /package/{src → dist}/utils/common-translations.d.ts +0 -0
- /package/{src → dist}/utils/editingutils.d.ts +0 -0
- /package/{src → dist}/utils/isancestor.d.ts +0 -0
- /package/{src → dist}/utils/uploadutils.d.ts +0 -0
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
import{Plugin as _0x2fbba5}from'ckeditor5/src/core.js';import{ButtonView as _0x1ea314}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x256be2}from'ckeditor5/src/icons.js';import{createElement as _0x371eab}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 _0x2fbba5{['_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 _0x292e2c=this['editor'];_0x292e2c['ui']['componentFactory']['add']('uploadcareImageEdit',_0x1225d3=>{const _0x26e734=_0x292e2c['commands']['get']('uploadcareImageEdit'),_0xbf388d=new _0x1ea314(_0x1225d3),t=_0x1225d3['t'];return _0xbf388d['set']({'icon':_0x256be2,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0xbf388d['bind']('isEnabled')['to'](_0x26e734),_0xbf388d['bind']('isOn')['to'](_0x26e734,'isActive'),this['listenTo'](_0xbf388d,'execute',()=>{_0x292e2c['execute']('uploadcareImageEdit'),_0x292e2c['editing']['view']['focus']();}),_0xbf388d;}),this['_initConfig']();}['_initConfig'](){const _0x345ba5=_0x371eab(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x345ba5),this['listenTo'](this['editor'],'destroy',()=>{_0x345ba5['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 _0x1a71(_0x465c77,_0x39812b){const _0x3f355f=_0x3f35();return _0x1a71=function(_0x1a7131,_0xdb92f1){_0x1a7131=_0x1a7131-0xd4;let _0x47c912=_0x3f355f[_0x1a7131];return _0x47c912;},_0x1a71(_0x465c77,_0x39812b);}const _0xbd8785=_0x1a71;function _0x3f35(){const _0x3febdb=['1719522AsFhDN','getSelectedElement','refresh','selection','setAttributes','10565SEFldI','removeAttribute','isEnabled','2317bajVnq','9075gXcGrj','document','5038410gygkAu','change','227756EyUcRz','element','78OmVdTT','2712GdSrBB','execute','imageInline','srcset','editor','479628spxaCi','model','sizes','imageBlock','220WaTBJi'];_0x3f35=function(){return _0x3febdb;};return _0x3f35();}(function(_0x30fc88,_0x52a23b){const _0x166261=_0x1a71,_0x566ab0=_0x30fc88();while(!![]){try{const _0x45f4ed=parseInt(_0x166261(0xe5))/0x1+parseInt(_0x166261(0xe7))/0x2*(parseInt(_0x166261(0xe1))/0x3)+-parseInt(_0x166261(0xd7))/0x4*(-parseInt(_0x166261(0xdd))/0x5)+parseInt(_0x166261(0xed))/0x6+parseInt(_0x166261(0xe0))/0x7*(-parseInt(_0x166261(0xe8))/0x8)+parseInt(_0x166261(0xd8))/0x9+-parseInt(_0x166261(0xe3))/0xa;if(_0x45f4ed===_0x52a23b)break;else _0x566ab0['push'](_0x566ab0['shift']());}catch(_0x4c9903){_0x566ab0['push'](_0x566ab0['shift']());}}}(_0x3f35,0x1c89c));import{Command as _0x2efae7}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x2efae7{[_0xbd8785(0xda)](){const _0x19ef6a=_0xbd8785,_0xc3621d=this[_0x19ef6a(0xec)][_0x19ef6a(0xd4)][_0x19ef6a(0xe2)][_0x19ef6a(0xdb)][_0x19ef6a(0xd9)]();this[_0x19ef6a(0xdf)]=Boolean(_0xc3621d&&(_0xc3621d['is'](_0x19ef6a(0xe6),_0x19ef6a(0xd6))||_0xc3621d['is'](_0x19ef6a(0xe6),_0x19ef6a(0xea))));}[_0xbd8785(0xe9)](_0xe05629){const _0x341950=_0xbd8785,_0x4af020=this[_0x341950(0xec)][_0x341950(0xd4)][_0x341950(0xe2)][_0x341950(0xdb)][_0x341950(0xd9)]();this[_0x341950(0xec)][_0x341950(0xd4)][_0x341950(0xe4)](_0x1885ea=>{const _0x29a15f=_0x341950;_0x1885ea[_0x29a15f(0xdc)](_0xe05629,_0x4af020),_0x1885ea[_0x29a15f(0xde)](_0x29a15f(0xeb),_0x4af020),_0x1885ea[_0x29a15f(0xde)](_0x29a15f(0xd5),_0x4af020);});}}
|
|
@@ -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 _0x410261=_0x5a5a;(function(_0x407757,_0x4ad393){var _0x4ddc36=_0x5a5a,_0x9f6f0e=_0x407757();while(!![]){try{var _0x1ad61a=parseInt(_0x4ddc36(0x11c))/0x1+-parseInt(_0x4ddc36(0x115))/0x2+parseInt(_0x4ddc36(0x113))/0x3*(-parseInt(_0x4ddc36(0x11a))/0x4)+parseInt(_0x4ddc36(0x111))/0x5*(-parseInt(_0x4ddc36(0x10f))/0x6)+-parseInt(_0x4ddc36(0x116))/0x7+-parseInt(_0x4ddc36(0x117))/0x8+-parseInt(_0x4ddc36(0x11d))/0x9*(-parseInt(_0x4ddc36(0x112))/0xa);if(_0x1ad61a===_0x4ad393)break;else _0x9f6f0e['push'](_0x9f6f0e['shift']());}catch(_0xc35533){_0x9f6f0e['push'](_0x9f6f0e['shift']());}}}(_0x8544,0xe426b));function _0x8544(){var _0x333134=['13405257OWbnlm','33864iyXwHO','UploadcareImageEdit','1315YeIGnZ','40UpXfgz','45870WvoXCf','isPremiumPlugin','2037228YcBMCG','11396770sCJElS','2916208kKVxOX','requires','isOfficialPlugin','452NxmByD','pluginName','1200007QCzZuZ'];_0x8544=function(){return _0x333134;};return _0x8544();}import{Plugin as _0x5d871b}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x467f4c}from'./uploadcareimageedit/uploadcareimageeditediting.js';function _0x5a5a(_0x392d77,_0x125261){var _0x85442f=_0x8544();return _0x5a5a=function(_0x5a5af7,_0x3ede14){_0x5a5af7=_0x5a5af7-0x10f;var _0x5a027d=_0x85442f[_0x5a5af7];return _0x5a027d;},_0x5a5a(_0x392d77,_0x125261);}import{UploadcareImageEditUI as _0x4142d5}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x5d871b{static get[_0x410261(0x11b)](){var _0x40b072=_0x410261;return _0x40b072(0x110);}static get[_0x410261(0x118)](){return[_0x467f4c,_0x4142d5];}static get[_0x410261(0x119)](){return!0x0;}static get[_0x410261(0x114)](){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 _0x4dcea8=_0x9cd5;(function(_0x5f1e41,_0x271b98){const _0x470ccc=_0x9cd5,_0x59c1ac=_0x5f1e41();while(!![]){try{const _0xc36ceb=parseInt(_0x470ccc(0x1a4))/0x1+-parseInt(_0x470ccc(0x1af))/0x2*(parseInt(_0x470ccc(0x1b8))/0x3)+-parseInt(_0x470ccc(0x1a8))/0x4+parseInt(_0x470ccc(0x1e1))/0x5*(-parseInt(_0x470ccc(0x1b9))/0x6)+-parseInt(_0x470ccc(0x1c1))/0x7+parseInt(_0x470ccc(0x19a))/0x8*(-parseInt(_0x470ccc(0x1a2))/0x9)+parseInt(_0x470ccc(0x1c2))/0xa;if(_0xc36ceb===_0x271b98)break;else _0x59c1ac['push'](_0x59c1ac['shift']());}catch(_0x48ad19){_0x59c1ac['push'](_0x59c1ac['shift']());}}}(_0x3449,0x9c61d));import{Plugin as _0x386a90}from'ckeditor5/src/core.js';import{IconDropbox as _0x58bb16,IconFacebook as _0x2eb2f8,IconGoogleDrive as _0x2cd82a,IconGooglePhotos as _0x5acbd5,IconUploadcareImageUpload as _0x4e929a,IconUploadcareLink as _0x57d734,IconOneDrive as _0x564018}from'ckeditor5/src/icons.js';function _0x9cd5(_0x211d58,_0x22dddd){const _0x34495f=_0x3449();return _0x9cd5=function(_0x9cd59c,_0x44b72c){_0x9cd59c=_0x9cd59c-0x197;let _0x1896a9=_0x34495f[_0x9cd59c];return _0x1896a9;},_0x9cd5(_0x211d58,_0x22dddd);}import{ButtonView as _0x4eca97,MenuBarMenuListItemButtonView as _0x55f544}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x1b319f}from'./uploadcareconfig.js';import{getTranslation as _0x3273a0}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 _0x3449(){const _0x338cb2=['isEnabled','map','registerIntegration','uploadcare.uploader.sourceList','_createToolbarButton','shortText','get','1305SodIIp','evaluationLimit','140234KEcjyT','upload','uploadcareLicenseKeyNotAllowed','_normalizeConfigSourceList','3830916JfhAxF','url','Facebook','_showLicenseError','uploadcareLicenseKeyUsageLimit','label','plugins','2aVmvsU','isPremiumPlugin','uploadcareLicenseKeyInvalid','editor','_createDropdownButtons','bind','init','uploadcareLicenseKeyValid','OneDrive','1191315bZuJpf','4896FeGvTX','Replace','icon','Uploadcare','assetManager','isImageSelected','Dropbox','Insert','3365621jHiScK','33961270nJnszL','GDrive','type','usageLimit','text','_createButton','forEach','config','_licenseKeyCheckInterval','Local','commands','UploadcareUI','domainLimit','withText','locale','execute','isOfficialPlugin','destroy','licenseKey','uploadcareLicenseKeyExpired','tooltip','has','push','_getIntegrationKey','GPhotos','_createMenuBarButtons','expired','URL','pluginName','uploadcare','entries','3590gZfvha','featureNotAllowed','invalid','afterInit','uploadcareLicenseKeyEvaluationLimit','reduce','uploadcareLicenseKeyDomainLimit','ImageInsertUI','26168fENyxz'];_0x3449=function(){return _0x338cb2;};return _0x3449();}export class UploadcareUI extends _0x386a90{[_0x4dcea8(0x1d4)];[_0x4dcea8(0x1ca)];static get[_0x4dcea8(0x1de)](){const _0x5394f2=_0x4dcea8;return _0x5394f2(0x1cd);}static get[_0x4dcea8(0x1d2)](){return!0x0;}static get[_0x4dcea8(0x1b0)](){return!0x0;}[_0x4dcea8(0x1b5)](){const _0x50d7c2=_0x4dcea8;this[_0x50d7c2(0x1d4)]=this[_0x50d7c2(0x1b2)][_0x50d7c2(0x1c9)][_0x50d7c2(0x1a1)](_0x50d7c2(0x1d4));const _0x23537e=this[_0x50d7c2(0x1b2)];this[_0x50d7c2(0x1ca)]=setInterval(()=>{const _0x54ed4c=_0x50d7c2;let _0x344a9a;for(const _0x31ff90 in _0x23537e){const _0x3ebd41=_0x31ff90,_0x5242b1=_0x23537e[_0x3ebd41];if(_0x54ed4c(0x1b6)==_0x5242b1||_0x54ed4c(0x1b1)==_0x5242b1||_0x54ed4c(0x1d5)==_0x5242b1||_0x54ed4c(0x198)==_0x5242b1||_0x54ed4c(0x1a6)==_0x5242b1||_0x54ed4c(0x1e5)==_0x5242b1||_0x54ed4c(0x1ac)==_0x5242b1){delete _0x23537e[_0x3ebd41],_0x344a9a=_0x5242b1,clearInterval(this[_0x54ed4c(0x1ca)]),this[_0x54ed4c(0x1ca)]=void 0x0;break;}}_0x54ed4c(0x1b1)==_0x344a9a&&_0x23537e[_0x54ed4c(0x1ab)](_0x54ed4c(0x1e3)),_0x54ed4c(0x1d5)==_0x344a9a&&_0x23537e[_0x54ed4c(0x1ab)](_0x54ed4c(0x1dc)),_0x54ed4c(0x198)==_0x344a9a&&_0x23537e[_0x54ed4c(0x1ab)](_0x54ed4c(0x1ce)),_0x54ed4c(0x1a6)==_0x344a9a&&_0x23537e[_0x54ed4c(0x1ab)](_0x54ed4c(0x1e2),_0x54ed4c(0x1bc)),_0x54ed4c(0x1e5)==_0x344a9a&&_0x23537e[_0x54ed4c(0x1ab)](_0x54ed4c(0x1a3)),_0x54ed4c(0x1ac)==_0x344a9a&&_0x23537e[_0x54ed4c(0x1ab)](_0x54ed4c(0x1c5));},0x3e8);}[_0x4dcea8(0x1e4)](){const _0x441fa6=_0x4dcea8,{editor:_0x2d30e9}=this,_0x870c83=_0x2d30e9[_0x441fa6(0x1cc)][_0x441fa6(0x1a1)](_0x441fa6(0x1df));if(!_0x870c83)return;const _0x3b0941=this[_0x441fa6(0x1a7)](_0x2d30e9[_0x441fa6(0x1c9)][_0x441fa6(0x1a1)](_0x441fa6(0x19e)))[_0x441fa6(0x197)]((_0x2a82c5,_0x16c99b)=>{const _0x413695=_0x441fa6,_0x256df6=this[_0x413695(0x1d9)](_0x16c99b[_0x413695(0x1c4)]);return _0x2a82c5[_0x256df6]||(_0x2a82c5[_0x256df6]=[]),_0x2a82c5[_0x256df6][_0x413695(0x1d8)](_0x16c99b),_0x2a82c5;},{});_0x2d30e9[_0x441fa6(0x1ae)][_0x441fa6(0x1d7)](_0x441fa6(0x199))&&_0x2d30e9[_0x441fa6(0x1cc)][_0x441fa6(0x1a1)](_0x441fa6(0x1df))&&Object[_0x441fa6(0x1e0)](_0x3b0941)[_0x441fa6(0x1c8)](([_0x4569ff,_0x3703ec])=>{const _0x5c0cf6=_0x441fa6;_0x2d30e9[_0x5c0cf6(0x1ae)][_0x5c0cf6(0x1a1)](_0x5c0cf6(0x199))[_0x5c0cf6(0x19d)]({'name':_0x4569ff,'observable':()=>_0x870c83,'buttonViewCreator':()=>this[_0x5c0cf6(0x19f)](_0x3703ec),'formViewCreator':()=>this[_0x5c0cf6(0x1b3)](_0x3703ec),'menuBarButtonViewCreator':()=>this[_0x5c0cf6(0x1db)](_0x3703ec),'override':_0x5c0cf6(0x1bd)!==_0x4569ff});});}[_0x4dcea8(0x1d3)](){const _0x16d62b=_0x4dcea8;super[_0x16d62b(0x1d3)](),this[_0x16d62b(0x1ca)]&&clearInterval(this[_0x16d62b(0x1ca)]);}[_0x4dcea8(0x1a7)](_0x166498){const _0xcfec5b=_0x4dcea8,{locale:_0x9acae3}=this[_0xcfec5b(0x1b2)];return _0x166498[_0xcfec5b(0x19c)](_0x3579d8=>{const _0x230d90=_0xcfec5b,_0x1bbf34=_0x3273a0(_0x9acae3,_0x3579d8,_0x230d90(0x1c0));switch(_0x3579d8){case _0x1b319f[_0x230d90(0x1cb)]:return{'icon':_0x4e929a,'type':_0x1b319f[_0x230d90(0x1cb)],..._0x1bbf34};case _0x1b319f[_0x230d90(0x1dd)]:return{'icon':_0x57d734,'type':_0x1b319f[_0x230d90(0x1dd)],..._0x1bbf34};case _0x1b319f[_0x230d90(0x1bf)]:return{'icon':_0x58bb16,'type':_0x1b319f[_0x230d90(0x1bf)],..._0x1bbf34};case _0x1b319f[_0x230d90(0x1aa)]:return{'icon':_0x2eb2f8,'type':_0x1b319f[_0x230d90(0x1aa)],..._0x1bbf34};case _0x1b319f[_0x230d90(0x1c3)]:return{'icon':_0x2cd82a,'type':_0x1b319f[_0x230d90(0x1c3)],..._0x1bbf34};case _0x1b319f[_0x230d90(0x1da)]:return{'icon':_0x5acbd5,'type':_0x1b319f[_0x230d90(0x1da)],..._0x1bbf34};case _0x1b319f[_0x230d90(0x1b7)]:return{'icon':_0x564018,'type':_0x1b319f[_0x230d90(0x1b7)],..._0x1bbf34};}});}[_0x4dcea8(0x1d9)](_0x5efa12){const _0x1fc7df=_0x4dcea8;switch(_0x5efa12){case _0x1b319f[_0x1fc7df(0x1cb)]:return _0x1fc7df(0x1a5);case _0x1b319f[_0x1fc7df(0x1dd)]:return _0x1fc7df(0x1a9);default:return _0x1fc7df(0x1bd);}}[_0x4dcea8(0x1c7)](_0x507214,_0x6071a9){const _0x166b0e=_0x4dcea8,_0x26eacb=this[_0x166b0e(0x1b2)],_0x32374d=new _0x507214(_0x26eacb[_0x166b0e(0x1d0)]),_0x5b307e=_0x26eacb[_0x166b0e(0x1cc)][_0x166b0e(0x1a1)](_0x166b0e(0x1df));return _0x32374d[_0x166b0e(0x1b4)](_0x166b0e(0x19b))['to'](_0x5b307e),_0x32374d['on'](_0x166b0e(0x1d1),()=>{const _0x2497cd=_0x166b0e;_0x5b307e[_0x2497cd(0x1d1)](_0x6071a9);}),_0x32374d;}[_0x4dcea8(0x19f)](_0xb6a24c){const _0x522090=_0x4dcea8,{locale:_0x2e4f26}=this[_0x522090(0x1b2)],_0x232481=this[_0x522090(0x1b2)][_0x522090(0x1ae)][_0x522090(0x1a1)](_0x522090(0x199)),_0x442e5a=_0xb6a24c[0x0],_0x340742=this[_0x522090(0x1c7)](_0x4eca97,_0x442e5a[_0x522090(0x1c4)]);return _0x340742[_0x522090(0x1bb)]=_0x442e5a[_0x522090(0x1bb)],_0x340742[_0x522090(0x1b4)](_0x522090(0x1ad))['to'](_0x232481,_0x522090(0x1be),_0x59a4b1=>_0x3273a0(_0x2e4f26,_0x442e5a[_0x522090(0x1c4)],_0x59a4b1?_0x522090(0x1ba):_0x522090(0x1c0))[_0x522090(0x1c6)]),_0x340742[_0x522090(0x1d6)]=!0x0,_0x340742;}[_0x4dcea8(0x1b3)](_0x389e36){const _0x513775=_0x4dcea8,{locale:_0x993181}=this[_0x513775(0x1b2)],_0x4d630a=this[_0x513775(0x1b2)][_0x513775(0x1ae)][_0x513775(0x1a1)](_0x513775(0x199));return _0x389e36[_0x513775(0x19c)](_0x4637bc=>{const _0xeebfd5=_0x513775,_0x893033=this[_0xeebfd5(0x1c7)](_0x4eca97,_0x4637bc[_0xeebfd5(0x1c4)]);return _0x893033[_0xeebfd5(0x1cf)]=!0x0,_0x893033[_0xeebfd5(0x1bb)]=_0x4637bc[_0xeebfd5(0x1bb)],_0x893033[_0xeebfd5(0x1b4)](_0xeebfd5(0x1ad))['to'](_0x4d630a,_0xeebfd5(0x1be),_0x12cbe8=>_0x3273a0(_0x993181,_0x4637bc[_0xeebfd5(0x1c4)],_0x12cbe8?_0xeebfd5(0x1ba):_0xeebfd5(0x1c0))[_0xeebfd5(0x1c6)]),_0x893033;});}[_0x4dcea8(0x1db)](_0x15544c){const _0x313430=_0x4dcea8;return _0x15544c[_0x313430(0x19c)](_0x294437=>{const _0x273dd7=_0x313430,_0x537abe=this[_0x273dd7(0x1c7)](_0x55f544,_0x294437[_0x273dd7(0x1c4)]);return _0x537abe[_0x273dd7(0x1bb)]=_0x294437[_0x273dd7(0x1bb)],_0x537abe[_0x273dd7(0x1ad)]=_0x294437[_0x273dd7(0x1a0)],_0x537abe;});}}
|
|
@@ -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 _0x4705a7}from'ckeditor5/src/core.js';import{FileRepository as _0x50f94f}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x2bb6ed}from'./uploadcareediting.js';import{UploadUtils as _0x493209}from'./utils/uploadutils.js';import{getImageUrls as _0x51d76a}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x4705a7{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x50f94f,_0x2bb6ed];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x200223=this['editor'];if(!!!_0x200223['config']['get']('uploadcare'))return;_0x200223['plugins']['get'](_0x50f94f)['createUploadAdapter']=_0x5d621a=>new k(_0x5d621a,_0x200223),_0x200223['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x46dc08,{imageElement:_0x281bb1,data:_0x381ff4})=>{_0x200223['model']['change'](_0x5eaf39=>{_0x5eaf39['setAttribute']('uploadcareImageId',_0x381ff4['uploadcareImageId'],_0x281bb1);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x50234b,_0x30254c){this['loader']=_0x50234b,this['editor']=_0x30254c,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x3aa5c7=await this['loader']['file'];return _0x493209['upload']({'file':_0x3aa5c7,'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':_0x50f66b=>{_0x50f66b&&_0x50f66b['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x50f66b['value']);}})['then'](async _0x3d2101=>{const {imageFallbackUrl:_0x29d11b,imageSources:_0x54753b}=_0x51d76a(_0x3d2101['cdnUrl'],_0x3d2101['imageInfo']['width']);return{'uploadcareImageId':_0x3d2101['uuid'],'default':_0x29d11b,'sources':_0x54753b};})['catch'](()=>{const _0x5da110=t('Cannot\x20upload\x20file:')+('\x20'+_0x3aa5c7['name']+'.');return Promise['reject'](_0x5da110);});}['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 _0x1b8874}from'../uploadcareconfig.js';export function getTranslation(_0xa076cd,_0x277542,_0x8d0325){const t=_0xa076cd['t'],_0x4bed4f=_0xa076cd['t'];switch(_0x277542){case _0x1b8874['Local']:return{'text':_0x4bed4f('Insert'===_0x8d0325?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x4bed4f('From\x20computer')};case _0x1b8874['URL']:return{'text':'Insert'===_0x8d0325?_0x4bed4f('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x4bed4f('Via\x20URL')};case _0x1b8874['Dropbox']:return{'text':t('Insert'===_0x8d0325?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x1b8874['Facebook']:return{'text':t('Insert'===_0x8d0325?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x1b8874['GDrive']:return{'text':t('Insert'===_0x8d0325?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x1b8874['GPhotos']:return{'text':t('Insert'===_0x8d0325?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x1b8874['OneDrive']:return{'text':t('Insert'===_0x8d0325?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x277542;}}
|
|
@@ -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 _0x20dda6=_0x2db9;function _0x2db9(_0x347d81,_0x52dac3){var _0x5cb69e=_0x5cb6();return _0x2db9=function(_0x2db969,_0x1306f4){_0x2db969=_0x2db969-0x11a;var _0x43815b=_0x5cb69e[_0x2db969];return _0x43815b;},_0x2db9(_0x347d81,_0x52dac3);}(function(_0x1ef676,_0x307036){var _0x2db0b6=_0x2db9,_0x63128=_0x1ef676();while(!![]){try{var _0x42e4d1=-parseInt(_0x2db0b6(0x11d))/0x1+parseInt(_0x2db0b6(0x127))/0x2*(parseInt(_0x2db0b6(0x12e))/0x3)+parseInt(_0x2db0b6(0x12b))/0x4*(-parseInt(_0x2db0b6(0x12a))/0x5)+parseInt(_0x2db0b6(0x128))/0x6*(-parseInt(_0x2db0b6(0x129))/0x7)+-parseInt(_0x2db0b6(0x11f))/0x8*(parseInt(_0x2db0b6(0x122))/0x9)+-parseInt(_0x2db0b6(0x11a))/0xa*(parseInt(_0x2db0b6(0x125))/0xb)+parseInt(_0x2db0b6(0x120))/0xc;if(_0x42e4d1===_0x307036)break;else _0x63128['push'](_0x63128['shift']());}catch(_0x354f08){_0x63128['push'](_0x63128['shift']());}}}(_0x5cb6,0xc5b8d));import{FocusTracker as _0x4f1475}from'ckeditor5/src/utils.js';import{View as _0x2da169,FocusCycler as _0x2c77fa}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';function _0x5cb6(){var _0x1e3094=['forwardCycle','45729CBZNWX','true','focusTracker','55EIpvtk','focusCycler','302madXld','56724TxnWwG','217MktzbH','725dfIJjw','37768vUXlcl','bindTemplate','div','19104NKuiUI','2219470nQZxGu','createCollection','fire','817249TYplBC','getFocusableElement','1544epbhWS','53016984BaxQcr'];_0x5cb6=function(){return _0x1e3094;};return _0x5cb6();}export class DialogFocusManagerView extends _0x2da169{[_0x20dda6(0x124)];[_0x20dda6(0x126)];constructor(_0x504aa3){var _0x217e85=_0x20dda6;super(_0x504aa3),this[_0x217e85(0x124)]=new _0x4f1475(),this[_0x217e85(0x126)]=new _0x2c77fa({'focusables':this[_0x217e85(0x11b)](),'focusTracker':this[_0x217e85(0x124)]});}[_0x20dda6(0x11e)](){var _0x23aa1c=_0x20dda6;return{'tag':_0x23aa1c(0x12d),'attributes':{'aria-hidden':_0x23aa1c(0x123),'tabindex':'0'},'on':{'focus':this[_0x23aa1c(0x12c)]['to'](()=>{var _0x5a367b=_0x23aa1c;this[_0x5a367b(0x126)][_0x5a367b(0x11c)](_0x5a367b(0x121));})}};}}
|
|
@@ -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 _0x2cba(){const _0x1f30e1=['536932ZXqSGR','origin','stopListening','aspect-ratio','15468HPIVWs','533607hqzrHE','domConverter','load','element','window','filter','listenTo','getAttribute','px)\x20100vw,\x20','(max-width:\x20','image-processing','plugins','removeClass','hasAttribute','mapper','128050uxhQXk','src','image/webp','10sLWypj','2754096AkpDER','viewToDom','ImageUtils','view','some','addClass','map','x/\x20','uploadcareImageId','width','function','replace','imageInline','editing','toViewElement','18516gcrCgi','removeStyle','164698cspjpv','imageBlock','setStyle','322UkTkXo','isArray','height','findViewImgElement','change','get','join','baseURI','location','45xNHOGp','document','match','/-/resize/'];_0x2cba=function(){return _0x1f30e1;};return _0x2cba();}function _0x1ea3(_0x558794,_0x711242){const _0x2cba13=_0x2cba();return _0x1ea3=function(_0x1ea3f7,_0x41b8c7){_0x1ea3f7=_0x1ea3f7-0xf5;let _0x45f125=_0x2cba13[_0x1ea3f7];return _0x45f125;},_0x1ea3(_0x558794,_0x711242);}(function(_0x48dd91,_0x31d71a){const _0x3e9360=_0x1ea3,_0x21189f=_0x48dd91();while(!![]){try{const _0x36ec1c=parseInt(_0x3e9360(0x10e))/0x1+parseInt(_0x3e9360(0x11e))/0x2+parseInt(_0x3e9360(0x123))/0x3+parseInt(_0x3e9360(0x122))/0x4*(parseInt(_0x3e9360(0xfc))/0x5)+parseInt(_0x3e9360(0x10c))/0x6*(-parseInt(_0x3e9360(0x111))/0x7)+-parseInt(_0x3e9360(0xfd))/0x8+parseInt(_0x3e9360(0x11a))/0x9*(parseInt(_0x3e9360(0xf9))/0xa);if(_0x36ec1c===_0x31d71a)break;else _0x21189f['push'](_0x21189f['shift']());}catch(_0x3f0e2d){_0x21189f['push'](_0x21189f['shift']());}}}(_0x2cba,0x2ffde));import{global as _0x136a66,DomEmitterMixin as _0x8baea2}from'ckeditor5/src/utils.js';export function createEditabilityChecker(_0x3f21e3){const _0x3ae55c=_0x1ea3,_0x38fb9d=G(_0x3f21e3);return _0x4db587=>!(!_0x4db587||!_0x4db587['is'](_0x3ae55c(0x126),_0x3ae55c(0x10f))&&!_0x4db587['is'](_0x3ae55c(0x126),_0x3ae55c(0x109)))&&(!!_0x4db587[_0x3ae55c(0xf7)](_0x3ae55c(0x105))||!!_0x4db587[_0x3ae55c(0xf7)](_0x3ae55c(0xfa))&&_0x38fb9d(_0x4db587[_0x3ae55c(0x12a)](_0x3ae55c(0xfa))));}export function getImageUrls(_0x8c8278,_0x48fccd){const _0x571b81=_0x1ea3,_0x157ba9=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960][_0x571b81(0x128)](_0x5b90ac=>_0x5b90ac<=_0x48fccd)[_0x571b81(0x103)](_0x525935=>_0x8c8278[_0x571b81(0x108)](/\/$/,'')+_0x571b81(0x11d)+_0x525935+_0x571b81(0x104)+_0x525935+'w');return{'imageFallbackUrl':_0x8c8278,'imageSources':[{'srcset':_0x157ba9[_0x571b81(0x117)](',\x20'),'sizes':_0x571b81(0x12c)+_0x48fccd+_0x571b81(0x12b)+_0x48fccd+'px','type':_0x571b81(0xfb)}]};}export function getImageDimension(_0x4a414f,_0x41ced6,_0x204845){const _0xb2bb04=_0x1ea3,_0x2f2fca=_0x4a414f[_0xb2bb04(0x11c)](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x2f2fca?parseInt(_0x2f2fca[0x1],0xa):_0x41ced6,'height':_0x2f2fca?parseInt(_0x2f2fca[0x2],0xa):_0x204845};}export function showImageProcessingIndicator(_0x1b8442,_0xe66559){const _0x4e0674=_0x1ea3,_0x2fcf86=new(_0x8baea2())(),_0x347bee=_0x1b8442[_0x4e0674(0xf5)][_0x4e0674(0x116)](_0x4e0674(0xff)),_0x2d3d1b=_0x1b8442[_0x4e0674(0x10a)][_0x4e0674(0xf8)][_0x4e0674(0x10b)](_0xe66559),_0x2038fb=_0x347bee[_0x4e0674(0x114)](_0x2d3d1b),_0x2b1e03=_0x1b8442[_0x4e0674(0x10a)][_0x4e0674(0x100)][_0x4e0674(0x124)][_0x4e0674(0xfe)](_0x2038fb),_0x2820e6=_0xe66559[_0x4e0674(0x12a)](_0x4e0674(0x106)),_0x54a1e1=_0xe66559[_0x4e0674(0x12a)](_0x4e0674(0x113)),_0x4ac03b=_0x4e0674(0x12d);_0x1b8442[_0x4e0674(0x10a)][_0x4e0674(0x100)][_0x4e0674(0x115)](_0x5dc7bb=>{const _0x18ce2c=_0x4e0674;_0x5dc7bb[_0x18ce2c(0x102)](_0x4ac03b,_0x2d3d1b),_0x5dc7bb[_0x18ce2c(0x110)](_0x18ce2c(0x121),_0x2820e6+'/'+_0x54a1e1,_0x2038fb);}),_0x2fcf86[_0x4e0674(0x129)](_0x2b1e03,_0x4e0674(0x125),()=>{const _0x43a42f=_0x4e0674;_0x2fcf86[_0x43a42f(0x120)](_0x2b1e03,_0x43a42f(0x125)),_0x1b8442[_0x43a42f(0x10a)][_0x43a42f(0x100)][_0x43a42f(0x115)](_0x147eee=>{const _0x5ce044=_0x43a42f;_0x147eee[_0x5ce044(0xf6)](_0x4ac03b,_0x2d3d1b),_0x147eee[_0x5ce044(0x10d)](_0x5ce044(0x121),_0x2038fb);});});}function G(_0x7ab8ed){const _0x26a2dc=_0x1ea3;if(Array[_0x26a2dc(0x112)](_0x7ab8ed)){const _0x57e30a=_0x7ab8ed[_0x26a2dc(0x103)](G);return _0xdb7fc3=>_0x57e30a[_0x26a2dc(0x101)](_0x4e3dc7=>_0x4e3dc7(_0xdb7fc3));}if(_0x26a2dc(0x11f)==_0x7ab8ed){const _0x3fc6f1=_0x136a66[_0x26a2dc(0x127)][_0x26a2dc(0x119)][_0x26a2dc(0x11f)];return _0x5027c7=>new URL(_0x5027c7,_0x136a66[_0x26a2dc(0x11b)][_0x26a2dc(0x118)])[_0x26a2dc(0x11f)]==_0x3fc6f1;}return _0x26a2dc(0x107)==typeof _0x7ab8ed?_0x7ab8ed:_0x7ab8ed instanceof RegExp?_0x29711f=>!(!_0x29711f[_0x26a2dc(0x11c)](_0x7ab8ed)&&!_0x29711f[_0x26a2dc(0x108)](/^https?:\/\//,'')[_0x26a2dc(0x11c)](_0x7ab8ed)):()=>!0x1;}
|
package/src/utils/isancestor.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
function _0x5a68(){var _0xd87f81=['14090499xcgyiE','includes','1778316qhNLOF','4xtxLDq','5KqngOw','5022210vJCaoj','37640304xBnXct','1539900FORhcL','6128913IFYCJT','2540JSULaK','2sDEMRj','target','8XGEbfE','76285ewNPgp'];_0x5a68=function(){return _0xd87f81;};return _0x5a68();}(function(_0x5bf2ae,_0x3fc94f){var _0x25812d=_0x2797,_0xd64175=_0x5bf2ae();while(!![]){try{var _0x5dd9b6=parseInt(_0x25812d(0x98))/0x1*(parseInt(_0x25812d(0x90))/0x2)+parseInt(_0x25812d(0x93))/0x3*(-parseInt(_0x25812d(0x91))/0x4)+-parseInt(_0x25812d(0x92))/0x5*(parseInt(_0x25812d(0x95))/0x6)+parseInt(_0x25812d(0x96))/0x7+-parseInt(_0x25812d(0x8c))/0x8*(-parseInt(_0x25812d(0x8e))/0x9)+-parseInt(_0x25812d(0x97))/0xa*(-parseInt(_0x25812d(0x8d))/0xb)+-parseInt(_0x25812d(0x94))/0xc;if(_0x5dd9b6===_0x3fc94f)break;else _0xd64175['push'](_0xd64175['shift']());}catch(_0x4a8085){_0xd64175['push'](_0xd64175['shift']());}}}(_0x5a68,0xdf09c));function _0x2797(_0x2ce697,_0x32270c){var _0x5a68bd=_0x5a68();return _0x2797=function(_0x279748,_0x168e03){_0x279748=_0x279748-0x8c;var _0x3d978e=_0x5a68bd[_0x279748];return _0x3d978e;},_0x2797(_0x2ce697,_0x32270c);}import{getAncestors as _0x3c5b28}from'ckeditor5/src/utils.js';export function isAncestor(_0x29ac71,_0x86d233){var _0x2b5b44=_0x2797;return _0x3c5b28(_0x29ac71[_0x2b5b44(0x99)])[_0x2b5b44(0x8f)](_0x86d233);}
|
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 _0x5a64d4=_0x6f4b;(function(_0x3f55a3,_0x4e180f){var _0xcde685=_0x6f4b,_0x275d21=_0x3f55a3();while(!![]){try{var _0x5933dd=-parseInt(_0xcde685(0x137))/0x1*(parseInt(_0xcde685(0x136))/0x2)+-parseInt(_0xcde685(0x134))/0x3*(parseInt(_0xcde685(0x12f))/0x4)+parseInt(_0xcde685(0x133))/0x5*(-parseInt(_0xcde685(0x13b))/0x6)+parseInt(_0xcde685(0x13a))/0x7*(-parseInt(_0xcde685(0x13c))/0x8)+-parseInt(_0xcde685(0x13d))/0x9*(-parseInt(_0xcde685(0x130))/0xa)+parseInt(_0xcde685(0x135))/0xb*(-parseInt(_0xcde685(0x132))/0xc)+-parseInt(_0xcde685(0x138))/0xd*(-parseInt(_0xcde685(0x139))/0xe);if(_0x5933dd===_0x4e180f)break;else _0x275d21['push'](_0x275d21['shift']());}catch(_0x308cc3){_0x275d21['push'](_0x275d21['shift']());}}}(_0x261c,0xe476e));function _0x6f4b(_0x457a68,_0x275481){var _0x261cc0=_0x261c();return _0x6f4b=function(_0x6f4b33,_0xa950ef){_0x6f4b33=_0x6f4b33-0x12e;var _0x1e8237=_0x261cc0[_0x6f4b33];return _0x1e8237;},_0x6f4b(_0x457a68,_0x275481);}import{uploadFile as _0x596090,info as _0x4fd4cd}from'@uploadcare/upload-client';function _0x261c(){var _0xff9cb=['8iYNMIG','70OPPmrg','getInfo','12gCQxBV','46315PlYvJf','1014051fvLeVZ','9614099gvwoAV','29596sVAaDx','65ZtdcQq','13UFkqVT','59889998wYHURb','14zVKaeR','750WnqBwA','1036104vumxKE','754389NELieg','upload'];_0x261c=function(){return _0xff9cb;};return _0x261c();}export class UploadUtils{static[_0x5a64d4(0x12e)]({file:_0x67a90f,..._0x5cd745}){return _0x596090(_0x67a90f,_0x5cd745);}static[_0x5a64d4(0x131)](_0xf6eba3,_0x2a094d){return _0x4fd4cd(_0xf6eba3,_0x2a094d);}}
|
|
@@ -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
|