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/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(_0x27184c,_0x66a18a){const _0x467cfe=_0x1d61,_0xd6c715=_0x27184c();while(!![]){try{const _0x17089d=parseInt(_0x467cfe(0x1a9))/0x1+parseInt(_0x467cfe(0x19e))/0x2*(-parseInt(_0x467cfe(0x1ab))/0x3)+parseInt(_0x467cfe(0x1a3))/0x4*(parseInt(_0x467cfe(0x1b2))/0x5)+-parseInt(_0x467cfe(0x1a4))/0x6+parseInt(_0x467cfe(0x1a6))/0x7*(parseInt(_0x467cfe(0x1a7))/0x8)+parseInt(_0x467cfe(0x1b0))/0x9+-parseInt(_0x467cfe(0x1ae))/0xa;if(_0x17089d===_0x66a18a)break;else _0xd6c715['push'](_0xd6c715['shift']());}catch(_0x52ac87){_0xd6c715['push'](_0xd6c715['shift']());}}}(_0x58b9,0x4af4b));function _0x1d61(_0x116f2f,_0x5a5f8f){const _0x58b9cc=_0x58b9();return _0x1d61=function(_0x1d612d,_0x4d3495){_0x1d612d=_0x1d612d-0x19e;let _0x3e204e=_0x58b9cc[_0x1d612d];return _0x3e204e;},_0x1d61(_0x116f2f,_0x5a5f8f);}import*as _0x173fc3 from'react';export{_0x173fc3 as React};import*as _0x550986 from'react-dom/client';import{CKBox as _0x23c8a2,version}from'@ckbox/core';export{version}from'@ckbox/core';const getDialogProps=(_0x3ba40c,_0x25af94)=>{const _0x36f23b=_0x1d61,_0x123021=_0x3ba40c[_0x36f23b(0x1a1)];if(!_0x123021)return![];if(typeof _0x123021===_0x36f23b(0x1aa)){const _0x39fa15=()=>{_0x25af94();};return{'open':!![],'onClose':_0x39fa15};}const _0x3c7fd9=()=>{const _0x391110=_0x36f23b;var _0x21eb27;(_0x21eb27=_0x123021[_0x391110(0x1b1)])===null||_0x21eb27===void 0x0?void 0x0:_0x21eb27['call'](_0x123021),_0x25af94();};return{..._0x123021,'open':!![],'onClose':_0x3c7fd9};},getAssetsProps=(_0x2ec516,_0x9e3efe)=>{const _0x31bffe=_0x1d61;var _0x38e4e2;const _0x3f206d=(_0x38e4e2=_0x2ec516[_0x31bffe(0x1a2)])===null||_0x38e4e2===void 0x0?void 0x0:_0x38e4e2[_0x31bffe(0x1ac)];if(!_0x3f206d)return _0x2ec516['assets'];const _0x417487=_0x21ea80=>{const _0x4ee1ee=_0x31bffe;var _0x454c75;_0x3f206d(_0x21ea80),_0x9e3efe&&typeof _0x9e3efe!==_0x4ee1ee(0x1aa)&&((_0x454c75=_0x9e3efe[_0x4ee1ee(0x1b1)])===null||_0x454c75===void 0x0?void 0x0:_0x454c75[_0x4ee1ee(0x1a8)](_0x9e3efe));};return{..._0x2ec516['assets'],'onChoose':_0x417487};},mount=(_0x4af4f1,_0x38dc20)=>{const _0xc515b0=_0x1d61,_0x5dabaa=_0x550986[_0xc515b0(0x19f)](_0x4af4f1),_0x3ded54=_0x5dabaa[_0xc515b0(0x1ad)][_0xc515b0(0x1a5)](_0x5dabaa),_0x4ed8c5=getDialogProps(_0x38dc20,_0x3ded54),_0x30a8a5=getAssetsProps(_0x38dc20,_0x4ed8c5);return _0x5dabaa[_0xc515b0(0x1a0)](_0x173fc3['createElement'](_0x23c8a2,{..._0x38dc20,'assets':_0x30a8a5,'dialog':_0x4ed8c5})),{'unmount':_0x3ded54};};var CKBox=Object['freeze']({'__proto__':null,'mount':mount,'React':_0x173fc3,'version':version});(function(){const _0x418cb7=_0x1d61,_0x587e83=globalThis;!_0x587e83['CKBox']&&(_0x587e83[_0x418cb7(0x1af)]=CKBox);}());function _0x58b9(){const _0x29fcce=['88nvTpNN','call','499074ucNDJf','boolean','1572fcvMHt','onChoose','unmount','1541470YdQxVG','CKBox','9702aJctuj','onClose','2931365LLmqKM','2186XDwmaV','createRoot','render','dialog','assets','4WeChgA','597774fCxown','bind','29974vbkmuk'];_0x58b9=function(){return _0x29fcce;};return _0x58b9();}export{mount};
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",