ckbox 1.1.0 → 1.1.1-dev.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/README.md +105 -2
- package/dist/ckbox.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +22 -3
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*/
|
|
4
|
-
(function(
|
|
4
|
+
const _0x52ff39=_0x52f2;(function(_0xaa0687,_0x3ae5fd){const _0x383fbe=_0x52f2,_0x5dd4a6=_0xaa0687();while(!![]){try{const _0x23f713=parseInt(_0x383fbe(0x15d))/0x1*(parseInt(_0x383fbe(0x165))/0x2)+-parseInt(_0x383fbe(0x164))/0x3*(-parseInt(_0x383fbe(0x166))/0x4)+-parseInt(_0x383fbe(0x15b))/0x5+-parseInt(_0x383fbe(0x160))/0x6*(-parseInt(_0x383fbe(0x16b))/0x7)+-parseInt(_0x383fbe(0x16a))/0x8*(parseInt(_0x383fbe(0x163))/0x9)+parseInt(_0x383fbe(0x162))/0xa*(-parseInt(_0x383fbe(0x159))/0xb)+-parseInt(_0x383fbe(0x168))/0xc*(parseInt(_0x383fbe(0x167))/0xd);if(_0x23f713===_0x3ae5fd)break;else _0x5dd4a6['push'](_0x5dd4a6['shift']());}catch(_0x25750d){_0x5dd4a6['push'](_0x5dd4a6['shift']());}}}(_0x3276,0x3c5a8));import*as _0x2dee2d from'react';export{_0x2dee2d as React};import*as _0x5f1231 from'react-dom/client';import{CKBox as _0x388f93,version}from'@ckbox/core';export{version}from'@ckbox/core';function _0x3276(){const _0x46a1ca=['assets','freeze','onClose','1953039CIhytc','call','1770165tPYiXV','CKBox','3563kRRlHZ','boolean','bind','1754862bFInEv','createRoot','20HPgHjk','14121wWOUrj','21882yiWzrD','154cdQmBf','228UPKqnP','351CvfcSA','4692ikfIOj','dialog','80AKbPgo','7gIrnas','createElement'];_0x3276=function(){return _0x46a1ca;};return _0x3276();}function _0x52f2(_0x37a71c,_0x5cf426){const _0x327647=_0x3276();return _0x52f2=function(_0x52f2d3,_0x462ec8){_0x52f2d3=_0x52f2d3-0x157;let _0x5256d1=_0x327647[_0x52f2d3];return _0x5256d1;},_0x52f2(_0x37a71c,_0x5cf426);}const getDialogProps=(_0x211c6b,_0x68df78)=>{const _0x7b73a0=_0x52f2,_0x56bd13=_0x211c6b[_0x7b73a0(0x169)];if(!_0x56bd13)return![];if(typeof _0x56bd13==='boolean'){const _0x43f87=()=>{_0x68df78();};return{'open':!![],'onClose':_0x43f87};}const _0x5e4e6e=()=>{const _0x4aa2d5=_0x7b73a0;var _0x101467;(_0x101467=_0x56bd13[_0x4aa2d5(0x158)])===null||_0x101467===void 0x0?void 0x0:_0x101467[_0x4aa2d5(0x15a)](_0x56bd13),_0x68df78();};return{..._0x56bd13,'open':!![],'onClose':_0x5e4e6e};},getAssetsProps=(_0x189666,_0x3d18c4)=>{const _0x27d361=_0x52f2;var _0x41dfa7;const _0x33aec7=(_0x41dfa7=_0x189666[_0x27d361(0x16d)])===null||_0x41dfa7===void 0x0?void 0x0:_0x41dfa7['onChoose'];if(!_0x33aec7)return _0x189666[_0x27d361(0x16d)];const _0x39d7f6=_0x4cbe31=>{const _0x233aa0=_0x27d361;var _0x5b4602;_0x33aec7(_0x4cbe31),_0x3d18c4&&typeof _0x3d18c4!==_0x233aa0(0x15e)&&((_0x5b4602=_0x3d18c4[_0x233aa0(0x158)])===null||_0x5b4602===void 0x0?void 0x0:_0x5b4602['call'](_0x3d18c4));};return{..._0x189666[_0x27d361(0x16d)],'onChoose':_0x39d7f6};},mount=(_0x31c0c8,_0x42732f)=>{const _0xbaba97=_0x52f2,_0x251ac7=_0x5f1231[_0xbaba97(0x161)](_0x31c0c8),_0x2c4537=_0x251ac7['unmount'][_0xbaba97(0x15f)](_0x251ac7),_0x384549=getDialogProps(_0x42732f,_0x2c4537),_0x5e1242=getAssetsProps(_0x42732f,_0x384549);return _0x251ac7['render'](_0x2dee2d[_0xbaba97(0x16c)](_0x388f93,{..._0x42732f,'assets':_0x5e1242,'dialog':_0x384549})),{'unmount':_0x2c4537};};var CKBox=Object[_0x52ff39(0x157)]({'__proto__':null,'mount':mount,'React':_0x2dee2d,'version':version});(function(){const _0x3821e2=_0x52ff39,_0x38c0f7=globalThis;!_0x38c0f7[_0x3821e2(0x15c)]&&(_0x38c0f7[_0x3821e2(0x15c)]=CKBox);}());export{mount};
|
package/package.json
CHANGED
|
@@ -1,12 +1,31 @@
|
|
|
1
1
|
{
|
|
2
|
+
"homepage": "https://ckeditor.com/ckbox",
|
|
3
|
+
"keywords": [
|
|
4
|
+
"file manager",
|
|
5
|
+
"ckeditor",
|
|
6
|
+
"file upload",
|
|
7
|
+
"image upload",
|
|
8
|
+
"upload",
|
|
9
|
+
"files",
|
|
10
|
+
"drag and drop",
|
|
11
|
+
"multilingual",
|
|
12
|
+
"component",
|
|
13
|
+
"react",
|
|
14
|
+
"uploader",
|
|
15
|
+
"rescaling images",
|
|
16
|
+
"responsive images",
|
|
17
|
+
"webp",
|
|
18
|
+
"api",
|
|
19
|
+
"cross-domain"
|
|
20
|
+
],
|
|
21
|
+
"license": "SEE LICENSE IN LICENSE.md",
|
|
2
22
|
"name": "ckbox",
|
|
3
|
-
"version": "1.1.0",
|
|
23
|
+
"version": "1.1.1-dev.0",
|
|
4
24
|
"description": "Main CKBox package",
|
|
5
25
|
"main": "dist/index.js",
|
|
6
26
|
"types": "dist/index.d.ts",
|
|
7
|
-
"license": "SEE LICENSE IN LICENSE.md",
|
|
8
27
|
"dependencies": {
|
|
9
|
-
"@ckbox/core": "1.1.0",
|
|
28
|
+
"@ckbox/core": "1.1.1-dev.0",
|
|
10
29
|
"@types/react": "^18.0.15",
|
|
11
30
|
"@types/react-dom": "^18.0.6",
|
|
12
31
|
"react": "^18.2.0",
|