@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20260129.0 → 0.0.0-nightly-next-20260129.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 _0x2e5bca}from'ckeditor5/src/core.js';import{ButtonView as _0x4286c9}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x5c7501}from'ckeditor5/src/icons.js';import{createElement as _0x536e65}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 _0x2e5bca{['_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 _0x4614c0=this['editor'];_0x4614c0['ui']['componentFactory']['add']('uploadcareImageEdit',_0x7a5ae6=>{const _0x5103a7=_0x4614c0['commands']['get']('uploadcareImageEdit'),_0x54eb4b=new _0x4286c9(_0x7a5ae6),t=_0x7a5ae6['t'];return _0x54eb4b['set']({'icon':_0x5c7501,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x54eb4b['bind']('isEnabled')['to'](_0x5103a7),_0x54eb4b['bind']('isOn')['to'](_0x5103a7,'isActive'),this['listenTo'](_0x54eb4b,'execute',()=>{_0x4614c0['execute']('uploadcareImageEdit'),_0x4614c0['editing']['view']['focus']();}),_0x54eb4b;}),this['_initConfig']();}['_initConfig'](){const _0x76a6ba=_0x536e65(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x76a6ba),this['listenTo'](this['editor'],'destroy',()=>{_0x76a6ba['remove']();});}}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
const _0x2bde97=_0x314e;function _0x314e(_0x2bb13a,_0x2df8bb){const _0x2fc981=_0x2fc9();return _0x314e=function(_0x314edd,_0x28c3ed){_0x314edd=_0x314edd-0x1ed;let _0x46665c=_0x2fc981[_0x314edd];return _0x46665c;},_0x314e(_0x2bb13a,_0x2df8bb);}(function(_0xde0928,_0x50d9b7){const _0x51a1b4=_0x314e,_0xe650c8=_0xde0928();while(!![]){try{const _0x14196b=-parseInt(_0x51a1b4(0x1f7))/0x1+-parseInt(_0x51a1b4(0x203))/0x2*(parseInt(_0x51a1b4(0x1f8))/0x3)+parseInt(_0x51a1b4(0x204))/0x4*(parseInt(_0x51a1b4(0x1fa))/0x5)+parseInt(_0x51a1b4(0x1ed))/0x6+parseInt(_0x51a1b4(0x1f0))/0x7*(-parseInt(_0x51a1b4(0x1fc))/0x8)+parseInt(_0x51a1b4(0x205))/0x9*(parseInt(_0x51a1b4(0x208))/0xa)+parseInt(_0x51a1b4(0x1fe))/0xb*(parseInt(_0x51a1b4(0x202))/0xc);if(_0x14196b===_0x50d9b7)break;else _0xe650c8['push'](_0xe650c8['shift']());}catch(_0x54c650){_0xe650c8['push'](_0xe650c8['shift']());}}}(_0x2fc9,0x32ed9));function _0x2fc9(){const _0x23f487=['refresh','24985QWqflx','getSelectedElement','88oCIdWG','imageInline','671PUNizD','removeAttribute','document','element','75396xyCbse','490qjVOKb','132boeiOE','912807yEwfyW','change','sizes','10NsBFBt','846276lDjoqb','model','execute','26439JNUYJv','srcset','selection','setAttributes','isEnabled','imageBlock','editor','399365HrxGtk','1728AGNwzw'];_0x2fc9=function(){return _0x23f487;};return _0x2fc9();}import{Command as _0x1864f1}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x1864f1{[_0x2bde97(0x1f9)](){const _0x3f88ae=_0x2bde97,_0x4708ef=this[_0x3f88ae(0x1f6)][_0x3f88ae(0x1ee)][_0x3f88ae(0x200)][_0x3f88ae(0x1f2)][_0x3f88ae(0x1fb)]();this[_0x3f88ae(0x1f4)]=Boolean(_0x4708ef&&(_0x4708ef['is'](_0x3f88ae(0x201),_0x3f88ae(0x1f5))||_0x4708ef['is'](_0x3f88ae(0x201),_0x3f88ae(0x1fd))));}[_0x2bde97(0x1ef)](_0x580897){const _0x525f67=_0x2bde97,_0x3d02a0=this[_0x525f67(0x1f6)][_0x525f67(0x1ee)][_0x525f67(0x200)][_0x525f67(0x1f2)][_0x525f67(0x1fb)]();this[_0x525f67(0x1f6)][_0x525f67(0x1ee)][_0x525f67(0x206)](_0x11bf69=>{const _0x114207=_0x525f67;_0x11bf69[_0x114207(0x1f3)](_0x580897,_0x3d02a0),_0x11bf69[_0x114207(0x1ff)](_0x114207(0x1f1),_0x3d02a0),_0x11bf69[_0x114207(0x1ff)](_0x114207(0x207),_0x3d02a0);});}}
|
|
@@ -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 _0xca221=_0x5c9e;(function(_0x5e15d7,_0x431f72){var _0x505cbc=_0x5c9e,_0x3307fd=_0x5e15d7();while(!![]){try{var _0x1f3203=-parseInt(_0x505cbc(0x116))/0x1*(parseInt(_0x505cbc(0x11b))/0x2)+parseInt(_0x505cbc(0x10e))/0x3+-parseInt(_0x505cbc(0x119))/0x4+-parseInt(_0x505cbc(0x11d))/0x5*(parseInt(_0x505cbc(0x114))/0x6)+-parseInt(_0x505cbc(0x10f))/0x7*(parseInt(_0x505cbc(0x110))/0x8)+parseInt(_0x505cbc(0x11a))/0x9*(-parseInt(_0x505cbc(0x118))/0xa)+parseInt(_0x505cbc(0x117))/0xb*(parseInt(_0x505cbc(0x11c))/0xc);if(_0x1f3203===_0x431f72)break;else _0x3307fd['push'](_0x3307fd['shift']());}catch(_0x3955ef){_0x3307fd['push'](_0x3307fd['shift']());}}}(_0x33c6,0x2ac87));import{Plugin as _0x5a5534}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0xc67e94}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x445131}from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x5c9e(_0x4c8421,_0x8632be){var _0x33c6fb=_0x33c6();return _0x5c9e=function(_0x5c9ead,_0x392bf4){_0x5c9ead=_0x5c9ead-0x10e;var _0x46f4fe=_0x33c6fb[_0x5c9ead];return _0x46f4fe;},_0x5c9e(_0x4c8421,_0x8632be);}function _0x33c6(){var _0x5a28ed=['4768TujUdf','requires','isOfficialPlugin','UploadcareImageEdit','18azjyqz','isPremiumPlugin','43238YqxrQK','9009913cBkXoe','78950vuwsPf','351888eBzhzI','243cvnfYV','6sdftov','12pvXJln','437765NQRSGc','pluginName','638910ZrpQjc','1918ActakN'];_0x33c6=function(){return _0x5a28ed;};return _0x33c6();}export class UploadcareImageEdit extends _0x5a5534{static get[_0xca221(0x11e)](){var _0x22537a=_0xca221;return _0x22537a(0x113);}static get[_0xca221(0x111)](){return[_0xc67e94,_0x445131];}static get[_0xca221(0x112)](){return!0x0;}static get[_0xca221(0x115)](){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 _0x43383f=_0x3740;function _0x54d6(){const _0x178e33=['uploadcareLicenseKeyInvalid','pluginName','GDrive','Facebook','tooltip','url','_createButton','Dropbox','Replace','upload','entries','uploadcareLicenseKeyDomainLimit','uploadcareLicenseKeyExpired','isImageSelected','UploadcareUI','URL','_createMenuBarButtons','domainLimit','273123JxsBVn','isEnabled','plugins','reduce','featureNotAllowed','shortText','config','_getIntegrationKey','_showLicenseError','text','327490hAFUYn','_licenseKeyCheckInterval','get','Insert','GPhotos','withText','_createToolbarButton','push','_normalizeConfigSourceList','isPremiumPlugin','5QpKFCt','126306QdZXXk','forEach','evaluationLimit','uploadcareLicenseKeyEvaluationLimit','invalid','isOfficialPlugin','commands','1356xgcPBj','editor','destroy','Uploadcare','OneDrive','152634ttQbDo','usageLimit','execute','788eGrjEO','946428KtsVTm','map','22rOHnld','label','assetManager','184TskDLm','uploadcare.uploader.sourceList','has','uploadcareLicenseKeyUsageLimit','registerIntegration','uploadcare','bind','_createDropdownButtons','expired','ImageInsertUI','licenseKey','uploadcareLicenseKeyValid','afterInit','type','icon','uploadcareLicenseKeyNotAllowed','init','Local','locale','7091CyMxUe'];_0x54d6=function(){return _0x178e33;};return _0x54d6();}(function(_0x8fa4c6,_0x59d5bd){const _0x87fac3=_0x3740,_0x2fbf50=_0x8fa4c6();while(!![]){try{const _0x147abf=parseInt(_0x87fac3(0x1f5))/0x1+-parseInt(_0x87fac3(0x219))/0x2*(-parseInt(_0x87fac3(0x211))/0x3)+-parseInt(_0x87fac3(0x21a))/0x4+parseInt(_0x87fac3(0x209))/0x5*(parseInt(_0x87fac3(0x216))/0x6)+-parseInt(_0x87fac3(0x232))/0x7*(parseInt(_0x87fac3(0x21f))/0x8)+-parseInt(_0x87fac3(0x20a))/0x9+-parseInt(_0x87fac3(0x1ff))/0xa*(parseInt(_0x87fac3(0x21c))/0xb);if(_0x147abf===_0x59d5bd)break;else _0x2fbf50['push'](_0x2fbf50['shift']());}catch(_0x2497d6){_0x2fbf50['push'](_0x2fbf50['shift']());}}}(_0x54d6,0x217fc));import{Plugin as _0x125e36}from'ckeditor5/src/core.js';import{IconDropbox as _0x313b18,IconFacebook as _0x8f427c,IconGoogleDrive as _0xe69871,IconGooglePhotos as _0x24b94d,IconUploadcareImageUpload as _0x6c9195,IconUploadcareLink as _0x6e3087,IconOneDrive as _0x1e6a38}from'ckeditor5/src/icons.js';import{ButtonView as _0x42342f,MenuBarMenuListItemButtonView as _0x313430}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x1b8350}from'./uploadcareconfig.js';import{getTranslation as _0x25a813}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 _0x3740(_0x146581,_0x3ed7b4){const _0x54d6ec=_0x54d6();return _0x3740=function(_0x3740dc,_0x4d7d22){_0x3740dc=_0x3740dc-0x1f2;let _0x51149b=_0x54d6ec[_0x3740dc];return _0x51149b;},_0x3740(_0x146581,_0x3ed7b4);}export class UploadcareUI extends _0x125e36{[_0x43383f(0x229)];[_0x43383f(0x200)];static get[_0x43383f(0x234)](){const _0x2982c9=_0x43383f;return _0x2982c9(0x241);}static get[_0x43383f(0x20f)](){return!0x0;}static get[_0x43383f(0x208)](){return!0x0;}[_0x43383f(0x22f)](){const _0xc6723b=_0x43383f;this[_0xc6723b(0x229)]=this[_0xc6723b(0x212)][_0xc6723b(0x1fb)][_0xc6723b(0x201)](_0xc6723b(0x229));const _0x46064f=this[_0xc6723b(0x212)];this[_0xc6723b(0x200)]=setInterval(()=>{const _0x4c59b6=_0xc6723b;let _0x183d55;for(const _0x1eb535 in _0x46064f){const _0xf2ffa3=_0x1eb535,_0x27def4=_0x46064f[_0xf2ffa3];if(_0x4c59b6(0x22a)==_0x27def4||_0x4c59b6(0x233)==_0x27def4||_0x4c59b6(0x23f)==_0x27def4||_0x4c59b6(0x23e)==_0x27def4||_0x4c59b6(0x22e)==_0x27def4||_0x4c59b6(0x20d)==_0x27def4||_0x4c59b6(0x222)==_0x27def4){delete _0x46064f[_0xf2ffa3],_0x183d55=_0x27def4,clearInterval(this[_0x4c59b6(0x200)]),this[_0x4c59b6(0x200)]=void 0x0;break;}}_0x4c59b6(0x233)==_0x183d55&&_0x46064f[_0x4c59b6(0x1fd)](_0x4c59b6(0x20e)),_0x4c59b6(0x23f)==_0x183d55&&_0x46064f[_0x4c59b6(0x1fd)](_0x4c59b6(0x227)),_0x4c59b6(0x23e)==_0x183d55&&_0x46064f[_0x4c59b6(0x1fd)](_0x4c59b6(0x1f4)),_0x4c59b6(0x22e)==_0x183d55&&_0x46064f[_0x4c59b6(0x1fd)](_0x4c59b6(0x1f9),_0x4c59b6(0x214)),_0x4c59b6(0x20d)==_0x183d55&&_0x46064f[_0x4c59b6(0x1fd)](_0x4c59b6(0x20c)),_0x4c59b6(0x222)==_0x183d55&&_0x46064f[_0x4c59b6(0x1fd)](_0x4c59b6(0x217));},0x3e8);}[_0x43383f(0x22b)](){const _0x5c6873=_0x43383f,{editor:_0x31beab}=this,_0x4d396f=_0x31beab[_0x5c6873(0x210)][_0x5c6873(0x201)](_0x5c6873(0x224));if(!_0x4d396f)return;const _0x27ca5a=this[_0x5c6873(0x207)](_0x31beab[_0x5c6873(0x1fb)][_0x5c6873(0x201)](_0x5c6873(0x220)))[_0x5c6873(0x1f8)]((_0x496bad,_0x404426)=>{const _0xca4bde=_0x5c6873,_0x28a21a=this[_0xca4bde(0x1fc)](_0x404426[_0xca4bde(0x22c)]);return _0x496bad[_0x28a21a]||(_0x496bad[_0x28a21a]=[]),_0x496bad[_0x28a21a][_0xca4bde(0x206)](_0x404426),_0x496bad;},{});_0x31beab[_0x5c6873(0x1f7)][_0x5c6873(0x221)](_0x5c6873(0x228))&&_0x31beab[_0x5c6873(0x210)][_0x5c6873(0x201)](_0x5c6873(0x224))&&Object[_0x5c6873(0x23d)](_0x27ca5a)[_0x5c6873(0x20b)](([_0x3e3724,_0xc2eeef])=>{const _0x2a128f=_0x5c6873;_0x31beab[_0x2a128f(0x1f7)][_0x2a128f(0x201)](_0x2a128f(0x228))[_0x2a128f(0x223)]({'name':_0x3e3724,'observable':()=>_0x4d396f,'buttonViewCreator':()=>this[_0x2a128f(0x205)](_0xc2eeef),'formViewCreator':()=>this[_0x2a128f(0x226)](_0xc2eeef),'menuBarButtonViewCreator':()=>this[_0x2a128f(0x1f3)](_0xc2eeef),'override':_0x2a128f(0x21e)!==_0x3e3724});});}[_0x43383f(0x213)](){const _0x4ec9a7=_0x43383f;super[_0x4ec9a7(0x213)](),this[_0x4ec9a7(0x200)]&&clearInterval(this[_0x4ec9a7(0x200)]);}[_0x43383f(0x207)](_0x49d756){const _0x47d9f7=_0x43383f,{locale:_0x3f4845}=this[_0x47d9f7(0x212)];return _0x49d756[_0x47d9f7(0x21b)](_0x3b1114=>{const _0x4a85ac=_0x47d9f7,_0x13cb8d=_0x25a813(_0x3f4845,_0x3b1114,_0x4a85ac(0x202));switch(_0x3b1114){case _0x1b8350[_0x4a85ac(0x230)]:return{'icon':_0x6c9195,'type':_0x1b8350[_0x4a85ac(0x230)],..._0x13cb8d};case _0x1b8350[_0x4a85ac(0x1f2)]:return{'icon':_0x6e3087,'type':_0x1b8350[_0x4a85ac(0x1f2)],..._0x13cb8d};case _0x1b8350[_0x4a85ac(0x23a)]:return{'icon':_0x313b18,'type':_0x1b8350[_0x4a85ac(0x23a)],..._0x13cb8d};case _0x1b8350[_0x4a85ac(0x236)]:return{'icon':_0x8f427c,'type':_0x1b8350[_0x4a85ac(0x236)],..._0x13cb8d};case _0x1b8350[_0x4a85ac(0x235)]:return{'icon':_0xe69871,'type':_0x1b8350[_0x4a85ac(0x235)],..._0x13cb8d};case _0x1b8350[_0x4a85ac(0x203)]:return{'icon':_0x24b94d,'type':_0x1b8350[_0x4a85ac(0x203)],..._0x13cb8d};case _0x1b8350[_0x4a85ac(0x215)]:return{'icon':_0x1e6a38,'type':_0x1b8350[_0x4a85ac(0x215)],..._0x13cb8d};}});}[_0x43383f(0x1fc)](_0x3f5d82){const _0x39b528=_0x43383f;switch(_0x3f5d82){case _0x1b8350[_0x39b528(0x230)]:return _0x39b528(0x23c);case _0x1b8350[_0x39b528(0x1f2)]:return _0x39b528(0x238);default:return _0x39b528(0x21e);}}[_0x43383f(0x239)](_0x130320,_0x3c712e){const _0x59f74f=_0x43383f,_0x1afa4d=this[_0x59f74f(0x212)],_0x4fbabd=new _0x130320(_0x1afa4d[_0x59f74f(0x231)]),_0x130bd5=_0x1afa4d[_0x59f74f(0x210)][_0x59f74f(0x201)](_0x59f74f(0x224));return _0x4fbabd[_0x59f74f(0x225)](_0x59f74f(0x1f6))['to'](_0x130bd5),_0x4fbabd['on'](_0x59f74f(0x218),()=>{const _0x55f462=_0x59f74f;_0x130bd5[_0x55f462(0x218)](_0x3c712e);}),_0x4fbabd;}[_0x43383f(0x205)](_0x24f94e){const _0x4b5987=_0x43383f,{locale:_0x57a61e}=this[_0x4b5987(0x212)],_0x2b2527=this[_0x4b5987(0x212)][_0x4b5987(0x1f7)][_0x4b5987(0x201)](_0x4b5987(0x228)),_0x367a39=_0x24f94e[0x0],_0x199605=this[_0x4b5987(0x239)](_0x42342f,_0x367a39[_0x4b5987(0x22c)]);return _0x199605[_0x4b5987(0x22d)]=_0x367a39[_0x4b5987(0x22d)],_0x199605[_0x4b5987(0x225)](_0x4b5987(0x21d))['to'](_0x2b2527,_0x4b5987(0x240),_0x5caf1e=>_0x25a813(_0x57a61e,_0x367a39[_0x4b5987(0x22c)],_0x5caf1e?_0x4b5987(0x23b):_0x4b5987(0x202))[_0x4b5987(0x1fe)]),_0x199605[_0x4b5987(0x237)]=!0x0,_0x199605;}[_0x43383f(0x226)](_0x9532c0){const _0x364ec8=_0x43383f,{locale:_0x82c13f}=this[_0x364ec8(0x212)],_0x3d9996=this[_0x364ec8(0x212)][_0x364ec8(0x1f7)][_0x364ec8(0x201)](_0x364ec8(0x228));return _0x9532c0[_0x364ec8(0x21b)](_0x43e37e=>{const _0x256872=_0x364ec8,_0x3c9d6f=this[_0x256872(0x239)](_0x42342f,_0x43e37e[_0x256872(0x22c)]);return _0x3c9d6f[_0x256872(0x204)]=!0x0,_0x3c9d6f[_0x256872(0x22d)]=_0x43e37e[_0x256872(0x22d)],_0x3c9d6f[_0x256872(0x225)](_0x256872(0x21d))['to'](_0x3d9996,_0x256872(0x240),_0x3ed2b3=>_0x25a813(_0x82c13f,_0x43e37e[_0x256872(0x22c)],_0x3ed2b3?_0x256872(0x23b):_0x256872(0x202))[_0x256872(0x1fe)]),_0x3c9d6f;});}[_0x43383f(0x1f3)](_0x4cfb7e){const _0x2d4143=_0x43383f;return _0x4cfb7e[_0x2d4143(0x21b)](_0x446ee8=>{const _0x5435ef=_0x2d4143,_0x580253=this[_0x5435ef(0x239)](_0x313430,_0x446ee8[_0x5435ef(0x22c)]);return _0x580253[_0x5435ef(0x22d)]=_0x446ee8[_0x5435ef(0x22d)],_0x580253[_0x5435ef(0x21d)]=_0x446ee8[_0x5435ef(0x1fa)],_0x580253;});}}
|
|
@@ -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 _0x15f8db}from'ckeditor5/src/core.js';import{FileRepository as _0x3366b2}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x374d27}from'./uploadcareediting.js';import{UploadUtils as _0x30204f}from'./utils/uploadutils.js';import{getImageUrls as _0xfaa7ea}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x15f8db{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x3366b2,_0x374d27];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x502fce=this['editor'];if(!!!_0x502fce['config']['get']('uploadcare'))return;_0x502fce['plugins']['get'](_0x3366b2)['createUploadAdapter']=_0x430257=>new k(_0x430257,_0x502fce),_0x502fce['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x384b54,{imageElement:_0x381756,data:_0x53b47c})=>{_0x502fce['model']['change'](_0xe2956d=>{_0xe2956d['setAttribute']('uploadcareImageId',_0x53b47c['uploadcareImageId'],_0x381756);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x149bd1,_0xf9c0d6){this['loader']=_0x149bd1,this['editor']=_0xf9c0d6,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x5f03c1=await this['loader']['file'];return _0x30204f['upload']({'file':_0x5f03c1,'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':_0x48c8f5=>{_0x48c8f5&&_0x48c8f5['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x48c8f5['value']);}})['then'](async _0x449c2b=>{const {imageFallbackUrl:_0x2ddd7c,imageSources:_0x49cbfa}=_0xfaa7ea(_0x449c2b['cdnUrl'],_0x449c2b['imageInfo']['width']);return{'uploadcareImageId':_0x449c2b['uuid'],'default':_0x2ddd7c,'sources':_0x49cbfa};})['catch'](()=>{const _0x1dfbbb=t('Cannot\x20upload\x20file:')+('\x20'+_0x5f03c1['name']+'.');return Promise['reject'](_0x1dfbbb);});}['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 _0x313300}from'../uploadcareconfig.js';export function getTranslation(_0x583ab9,_0xd6e371,_0x484e2e){const t=_0x583ab9['t'],_0x3510fe=_0x583ab9['t'];switch(_0xd6e371){case _0x313300['Local']:return{'text':_0x3510fe('Insert'===_0x484e2e?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x3510fe('From\x20computer')};case _0x313300['URL']:return{'text':'Insert'===_0x484e2e?_0x3510fe('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x3510fe('Via\x20URL')};case _0x313300['Dropbox']:return{'text':t('Insert'===_0x484e2e?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x313300['Facebook']:return{'text':t('Insert'===_0x484e2e?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x313300['GDrive']:return{'text':t('Insert'===_0x484e2e?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x313300['GPhotos']:return{'text':t('Insert'===_0x484e2e?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x313300['OneDrive']:return{'text':t('Insert'===_0x484e2e?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0xd6e371;}}
|
|
@@ -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 _0x1fedc1=_0x325e;function _0x325e(_0x190248,_0x183a5f){var _0x55b839=_0x55b8();return _0x325e=function(_0x325e56,_0x42bc1){_0x325e56=_0x325e56-0x93;var _0xd5846c=_0x55b839[_0x325e56];return _0xd5846c;},_0x325e(_0x190248,_0x183a5f);}(function(_0xfdc5e1,_0xb80558){var _0x43991d=_0x325e,_0x4f295c=_0xfdc5e1();while(!![]){try{var _0x309c5f=parseInt(_0x43991d(0xa2))/0x1*(parseInt(_0x43991d(0xa4))/0x2)+parseInt(_0x43991d(0x96))/0x3*(-parseInt(_0x43991d(0x95))/0x4)+parseInt(_0x43991d(0xa1))/0x5+-parseInt(_0x43991d(0x9f))/0x6*(parseInt(_0x43991d(0xa3))/0x7)+-parseInt(_0x43991d(0x94))/0x8*(parseInt(_0x43991d(0x99))/0x9)+-parseInt(_0x43991d(0xa7))/0xa+parseInt(_0x43991d(0xa5))/0xb*(parseInt(_0x43991d(0x98))/0xc);if(_0x309c5f===_0xb80558)break;else _0x4f295c['push'](_0x4f295c['shift']());}catch(_0x334807){_0x4f295c['push'](_0x4f295c['shift']());}}}(_0x55b8,0xe33c9));function _0x55b8(){var _0x14273d=['true','5719860uIiYXh','focusCycler','1021816eobHJv','12FylaPL','70989AVfgeC','forwardCycle','372kNPPkV','81HeLUNZ','bindTemplate','fire','createCollection','focusTracker','getFocusableElement','8430702UnvtUt','div','8109015zagXHo','608kZoPwl','7cugwmj','4718yWQBfU','380501UBmahe'];_0x55b8=function(){return _0x14273d;};return _0x55b8();}import{FocusTracker as _0x553efa}from'ckeditor5/src/utils.js';import{View as _0x529861,FocusCycler as _0x40f86d}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x529861{[_0x1fedc1(0x9d)];[_0x1fedc1(0x93)];constructor(_0x5f02e0){var _0x3a648d=_0x1fedc1;super(_0x5f02e0),this[_0x3a648d(0x9d)]=new _0x553efa(),this[_0x3a648d(0x93)]=new _0x40f86d({'focusables':this[_0x3a648d(0x9c)](),'focusTracker':this[_0x3a648d(0x9d)]});}[_0x1fedc1(0x9e)](){var _0x248c9e=_0x1fedc1;return{'tag':_0x248c9e(0xa0),'attributes':{'aria-hidden':_0x248c9e(0xa6),'tabindex':'0'},'on':{'focus':this[_0x248c9e(0x9a)]['to'](()=>{var _0x5d564c=_0x248c9e;this[_0x5d564c(0x93)][_0x5d564c(0x9b)](_0x5d564c(0x97));})}};}}
|
|
@@ -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(_0x42eb2a,_0x1f63c7){const _0x4997a5=_0x4283,_0x172073=_0x42eb2a();while(!![]){try{const _0x3ff466=-parseInt(_0x4997a5(0x1c2))/0x1*(parseInt(_0x4997a5(0x1bb))/0x2)+-parseInt(_0x4997a5(0x1c0))/0x3+-parseInt(_0x4997a5(0x1ea))/0x4*(-parseInt(_0x4997a5(0x1e4))/0x5)+parseInt(_0x4997a5(0x1f1))/0x6*(-parseInt(_0x4997a5(0x1d3))/0x7)+parseInt(_0x4997a5(0x1db))/0x8+parseInt(_0x4997a5(0x1ee))/0x9+-parseInt(_0x4997a5(0x1ec))/0xa*(-parseInt(_0x4997a5(0x1c8))/0xb);if(_0x3ff466===_0x1f63c7)break;else _0x172073['push'](_0x172073['shift']());}catch(_0x5516c8){_0x172073['push'](_0x172073['shift']());}}}(_0x39dc,0x4fadd));import{global as _0x25b189,DomEmitterMixin as _0x28e689}from'ckeditor5/src/utils.js';export function createEditabilityChecker(_0x520549){const _0xc28d8=_0x4283,_0x2ce718=G(_0x520549);return _0x41184f=>!(!_0x41184f||!_0x41184f['is'](_0xc28d8(0x1e5),_0xc28d8(0x1c4))&&!_0x41184f['is'](_0xc28d8(0x1e5),_0xc28d8(0x1bc)))&&(!!_0x41184f[_0xc28d8(0x1d2)](_0xc28d8(0x1d4))||!!_0x41184f[_0xc28d8(0x1d2)](_0xc28d8(0x1e1))&&_0x2ce718(_0x41184f[_0xc28d8(0x1cd)](_0xc28d8(0x1e1))));}export function getImageUrls(_0x3b1ff6,_0x1ec770){const _0x1abfe7=_0x4283,_0x65844b=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960][_0x1abfe7(0x1f3)](_0x3c0fbe=>_0x3c0fbe<=_0x1ec770)[_0x1abfe7(0x1bd)](_0x31ed9f=>_0x3b1ff6[_0x1abfe7(0x1f4)](/\/$/,'')+_0x1abfe7(0x1e2)+_0x31ed9f+_0x1abfe7(0x1be)+_0x31ed9f+'w');return{'imageFallbackUrl':_0x3b1ff6,'imageSources':[{'srcset':_0x65844b[_0x1abfe7(0x1e6)](',\x20'),'sizes':_0x1abfe7(0x1c5)+_0x1ec770+_0x1abfe7(0x1e8)+_0x1ec770+'px','type':_0x1abfe7(0x1cf)}]};}export function getImageDimension(_0x3394d2,_0x4f97ae,_0x58069e){const _0x251481=_0x4283,_0x27b5ac=_0x3394d2[_0x251481(0x1c7)](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x27b5ac?parseInt(_0x27b5ac[0x1],0xa):_0x4f97ae,'height':_0x27b5ac?parseInt(_0x27b5ac[0x2],0xa):_0x58069e};}export function showImageProcessingIndicator(_0x4b13a1,_0x1edeb4){const _0xd4a940=_0x4283,_0x2e9b64=new(_0x28e689())(),_0x1add33=_0x4b13a1[_0xd4a940(0x1eb)][_0xd4a940(0x1cc)](_0xd4a940(0x1d8)),_0x564904=_0x4b13a1[_0xd4a940(0x1d5)][_0xd4a940(0x1d1)][_0xd4a940(0x1bf)](_0x1edeb4),_0x5b74e9=_0x1add33[_0xd4a940(0x1ce)](_0x564904),_0x3bb2ed=_0x4b13a1[_0xd4a940(0x1d5)][_0xd4a940(0x1e9)][_0xd4a940(0x1dc)][_0xd4a940(0x1c1)](_0x5b74e9),_0xdaad18=_0x1edeb4[_0xd4a940(0x1cd)](_0xd4a940(0x1d9)),_0x2661c2=_0x1edeb4[_0xd4a940(0x1cd)](_0xd4a940(0x1c9)),_0x5984cb=_0xd4a940(0x1cb);_0x4b13a1[_0xd4a940(0x1d5)][_0xd4a940(0x1e9)][_0xd4a940(0x1dd)](_0x592899=>{const _0x57eef3=_0xd4a940;_0x592899[_0x57eef3(0x1ef)](_0x5984cb,_0x564904),_0x592899[_0x57eef3(0x1ed)](_0x57eef3(0x1d6),_0xdaad18+'/'+_0x2661c2,_0x5b74e9);}),_0x2e9b64[_0xd4a940(0x1da)](_0x3bb2ed,_0xd4a940(0x1d0),()=>{const _0x364598=_0xd4a940;_0x2e9b64[_0x364598(0x1f0)](_0x3bb2ed,_0x364598(0x1d0)),_0x4b13a1[_0x364598(0x1d5)][_0x364598(0x1e9)][_0x364598(0x1dd)](_0x1227a4=>{const _0x90f31=_0x364598;_0x1227a4[_0x90f31(0x1d7)](_0x5984cb,_0x564904),_0x1227a4[_0x90f31(0x1ca)](_0x90f31(0x1d6),_0x5b74e9);});});}function _0x4283(_0x31b5b3,_0x5d6d89){const _0x39dc1b=_0x39dc();return _0x4283=function(_0x428315,_0xa11c25){_0x428315=_0x428315-0x1bb;let _0x4a5abc=_0x39dc1b[_0x428315];return _0x4a5abc;},_0x4283(_0x31b5b3,_0x5d6d89);}function G(_0x12dd14){const _0x2c885d=_0x4283;if(Array[_0x2c885d(0x1e7)](_0x12dd14)){const _0x59f632=_0x12dd14[_0x2c885d(0x1bd)](G);return _0x5a545e=>_0x59f632[_0x2c885d(0x1de)](_0x2e3d6b=>_0x2e3d6b(_0x5a545e));}if(_0x2c885d(0x1c3)==_0x12dd14){const _0x1d52b6=_0x25b189[_0x2c885d(0x1e3)][_0x2c885d(0x1f2)][_0x2c885d(0x1c3)];return _0x32608d=>new URL(_0x32608d,_0x25b189[_0x2c885d(0x1e0)][_0x2c885d(0x1c6)])[_0x2c885d(0x1c3)]==_0x1d52b6;}return _0x2c885d(0x1df)==typeof _0x12dd14?_0x12dd14:_0x12dd14 instanceof RegExp?_0x2f71ab=>!(!_0x2f71ab[_0x2c885d(0x1c7)](_0x12dd14)&&!_0x2f71ab[_0x2c885d(0x1f4)](/^https?:\/\//,'')[_0x2c885d(0x1c7)](_0x12dd14)):()=>!0x1;}function _0x39dc(){const _0x166ac1=['load','mapper','hasAttribute','1008GzvUNL','uploadcareImageId','editing','aspect-ratio','removeClass','ImageUtils','width','listenTo','4149384trygpI','domConverter','change','some','function','document','src','/-/resize/','window','10JAPCNS','element','join','isArray','px)\x20100vw,\x20','view','216044CyYdDC','plugins','3780GcPUFG','setStyle','3380850bwGyZd','addClass','stopListening','18726fcgnRf','location','filter','replace','40494ErxLga','imageInline','map','x/\x20','toViewElement','540789cArTKa','viewToDom','31YkuKPE','origin','imageBlock','(max-width:\x20','baseURI','match','16918GBWowq','height','removeStyle','image-processing','get','getAttribute','findViewImgElement','image/webp'];_0x39dc=function(){return _0x166ac1;};return _0x39dc();}
|
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 _0x805c(_0x478fdb,_0x578ee4){var _0x13d80c=_0x13d8();return _0x805c=function(_0x805c34,_0xe3f3ed){_0x805c34=_0x805c34-0xc4;var _0x3a3db1=_0x13d80c[_0x805c34];return _0x3a3db1;},_0x805c(_0x478fdb,_0x578ee4);}(function(_0x3d6062,_0xce3c0a){var _0x4b2391=_0x805c,_0x2230e7=_0x3d6062();while(!![]){try{var _0x8544bd=-parseInt(_0x4b2391(0xc8))/0x1*(parseInt(_0x4b2391(0xcb))/0x2)+-parseInt(_0x4b2391(0xc7))/0x3+parseInt(_0x4b2391(0xc5))/0x4*(parseInt(_0x4b2391(0xcc))/0x5)+-parseInt(_0x4b2391(0xc9))/0x6+parseInt(_0x4b2391(0xce))/0x7+-parseInt(_0x4b2391(0xc6))/0x8+parseInt(_0x4b2391(0xcd))/0x9;if(_0x8544bd===_0xce3c0a)break;else _0x2230e7['push'](_0x2230e7['shift']());}catch(_0x345b6d){_0x2230e7['push'](_0x2230e7['shift']());}}}(_0x13d8,0x54a73));function _0x13d8(){var _0x161c84=['4354952ABqZdW','target','8hcVFxn','832624kQLWRK','279876TyCVnF','115183NvogHO','1423200kMFBOp','includes','2elXDNz','250195fSBgjE','1568502WfgKMU'];_0x13d8=function(){return _0x161c84;};return _0x13d8();}import{getAncestors as _0x3014e2}from'ckeditor5/src/utils.js';export function isAncestor(_0x466d77,_0x3419c6){var _0x1040ff=_0x805c;return _0x3014e2(_0x466d77[_0x1040ff(0xc4)])[_0x1040ff(0xca)](_0x3419c6);}
|
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
|
-
function _0x4f41(_0xe73ad,_0x54bbb2){var _0x3f6645=_0x3f66();return _0x4f41=function(_0x4f41e3,_0x5db14d){_0x4f41e3=_0x4f41e3-0xa6;var _0x417f10=_0x3f6645[_0x4f41e3];return _0x417f10;},_0x4f41(_0xe73ad,_0x54bbb2);}var _0x272fd9=_0x4f41;(function(_0x2c065f,_0x2478e9){var _0x17c7ad=_0x4f41,_0x1978cd=_0x2c065f();while(!![]){try{var _0x4b4e00=parseInt(_0x17c7ad(0xb0))/0x1+-parseInt(_0x17c7ad(0xae))/0x2*(parseInt(_0x17c7ad(0xa9))/0x3)+-parseInt(_0x17c7ad(0xaf))/0x4+-parseInt(_0x17c7ad(0xa8))/0x5*(-parseInt(_0x17c7ad(0xa6))/0x6)+parseInt(_0x17c7ad(0xb2))/0x7*(-parseInt(_0x17c7ad(0xaa))/0x8)+parseInt(_0x17c7ad(0xa7))/0x9*(-parseInt(_0x17c7ad(0xad))/0xa)+parseInt(_0x17c7ad(0xac))/0xb;if(_0x4b4e00===_0x2478e9)break;else _0x1978cd['push'](_0x1978cd['shift']());}catch(_0x40e3b0){_0x1978cd['push'](_0x1978cd['shift']());}}}(_0x3f66,0x8d52a));function _0x3f66(){var _0x2b607e=['3698552jgsdQw','108793hYZlbr','upload','31675jqMpom','12WOhiXH','9SBMlZw','262835jfMEbS','21smPgRb','176ZXWWUx','getInfo','37912798wrGbit','9065170hGymRf','328852kxDINc'];_0x3f66=function(){return _0x2b607e;};return _0x3f66();}import{uploadFile as _0x4141a2,info as _0x3320f4}from'@uploadcare/upload-client';export class UploadUtils{static[_0x272fd9(0xb1)]({file:_0xc7170,..._0x4df0b4}){return _0x4141a2(_0xc7170,_0x4df0b4);}static[_0x272fd9(0xab)](_0x21d77a,_0x45554a){return _0x3320f4(_0x21d77a,_0x45554a);}}
|
|
@@ -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
|