ckbox 2.9.0-rc.0 → 2.9.0-rc.2

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-2023, CKSource Holding sp. z o.o. All rights reserved.
3
3
  */
4
- const _0x398c15=_0x5b9d;(function(_0x1530b4,_0x1d6fd3){const _0x2b06c2=_0x5b9d,_0x3d55cd=_0x1530b4();while(!![]){try{const _0x43e4e1=parseInt(_0x2b06c2(0x1a1))/0x1+parseInt(_0x2b06c2(0x195))/0x2+-parseInt(_0x2b06c2(0x1a0))/0x3*(-parseInt(_0x2b06c2(0x199))/0x4)+-parseInt(_0x2b06c2(0x1a5))/0x5*(-parseInt(_0x2b06c2(0x19b))/0x6)+parseInt(_0x2b06c2(0x198))/0x7+parseInt(_0x2b06c2(0x19c))/0x8+-parseInt(_0x2b06c2(0x1a3))/0x9;if(_0x43e4e1===_0x1d6fd3)break;else _0x3d55cd['push'](_0x3d55cd['shift']());}catch(_0x59cfd9){_0x3d55cd['push'](_0x3d55cd['shift']());}}}(_0xaf6a,0x2fa20));import*as _0x2431b2 from'react';export{_0x2431b2 as React};function _0xaf6a(){const _0x441ff9=['unmount','1015878trxTVd','3017840cGPJrK','render','dialog','call','10419lJHxVQ','363503tsjzOY','createElement','10988325pzRrRn','createRoot','5ehkKvf','assets','onChoose','bind','boolean','onClose','509792GyUghS','CKBox','freeze','1684676cOmRET','12wNHOAk'];_0xaf6a=function(){return _0x441ff9;};return _0xaf6a();}import*as _0x2b6ff2 from'react-dom/client';import{CKBox as _0x32bcc0,CKBoxImageEditor,version}from'@ckbox/core';export{version}from'@ckbox/core';const getDialogProps=(_0x1cb0d1,_0xc5db95)=>{const _0x351320=_0x5b9d,_0x5de55f=_0x1cb0d1[_0x351320(0x19e)];if(!_0x5de55f)return![];if(typeof _0x5de55f===_0x351320(0x193)){const _0x531127=()=>{_0xc5db95();};return{'open':!![],'onClose':_0x531127};}const _0x1375d2=()=>{const _0x4772e8=_0x351320;var _0x90574d;(_0x90574d=_0x5de55f[_0x4772e8(0x194)])===null||_0x90574d===void 0x0?void 0x0:_0x90574d[_0x4772e8(0x19f)](_0x5de55f),_0xc5db95();};return{..._0x5de55f,'open':!![],'onClose':_0x1375d2};},getAssetsProps=(_0x449fc1,_0x533739)=>{const _0x3eec9e=_0x5b9d;var _0x564139;const _0x388054=(_0x564139=_0x449fc1['assets'])===null||_0x564139===void 0x0?void 0x0:_0x564139[_0x3eec9e(0x1a7)];if(!_0x388054)return _0x449fc1[_0x3eec9e(0x1a6)];const _0x3b1998=_0xe491e7=>{const _0x3ca568=_0x3eec9e;var _0x59bda2;_0x388054(_0xe491e7),_0x533739&&typeof _0x533739!==_0x3ca568(0x193)&&((_0x59bda2=_0x533739[_0x3ca568(0x194)])===null||_0x59bda2===void 0x0?void 0x0:_0x59bda2[_0x3ca568(0x19f)](_0x533739));};return{..._0x449fc1[_0x3eec9e(0x1a6)],'onChoose':_0x3b1998};},mount=(_0x42cea3,_0xbb890)=>{const _0xcea95b=_0x5b9d,_0x270b68=_0x2b6ff2[_0xcea95b(0x1a4)](_0x42cea3),_0xb2e78=_0x270b68['unmount']['bind'](_0x270b68),_0x4d65ed=getDialogProps(_0xbb890,_0xb2e78),_0x1aa487=getAssetsProps(_0xbb890,_0x4d65ed);return _0x270b68[_0xcea95b(0x19d)](_0x2431b2[_0xcea95b(0x1a2)](_0x32bcc0,{..._0xbb890,'assets':_0x1aa487,'dialog':_0x4d65ed})),{'unmount':_0xb2e78};},mountImageEditor=(_0x7fadd4,_0x365c23)=>{const _0x4c0b08=_0x5b9d,_0xc7fac1=_0x2b6ff2[_0x4c0b08(0x1a4)](_0x7fadd4),_0x2e4b98=_0xc7fac1[_0x4c0b08(0x19a)][_0x4c0b08(0x192)](_0xc7fac1),_0x48b26f=()=>{const _0xde2df0=_0x4c0b08;var _0x27fb5d;(_0x27fb5d=_0x365c23[_0xde2df0(0x194)])===null||_0x27fb5d===void 0x0?void 0x0:_0x27fb5d['call'](_0x365c23),_0x2e4b98();};return _0xc7fac1[_0x4c0b08(0x19d)](_0x2431b2[_0x4c0b08(0x1a2)](CKBoxImageEditor,{..._0x365c23,'open':!![],'onClose':_0x48b26f})),{'unmount':_0x2e4b98};};var CKBox=Object[_0x398c15(0x197)]({'__proto__':null,'React':_0x2431b2,'mount':mount,'mountImageEditor':mountImageEditor,'version':version});(function(){const _0x4aa677=_0x398c15,_0x5909cf=globalThis;!_0x5909cf['CKBox']&&(_0x5909cf[_0x4aa677(0x196)]=CKBox);}());function _0x5b9d(_0x4b684b,_0x4f0811){const _0xaf6a78=_0xaf6a();return _0x5b9d=function(_0x5b9d99,_0x245896){_0x5b9d99=_0x5b9d99-0x192;let _0x1c00ee=_0xaf6a78[_0x5b9d99];return _0x1c00ee;},_0x5b9d(_0x4b684b,_0x4f0811);}export{mount,mountImageEditor};
4
+ const _0x2ed665=_0x1ba1;(function(_0x4673c0,_0x4cef6b){const _0x3914d5=_0x1ba1,_0x53118c=_0x4673c0();while(!![]){try{const _0x3b1727=parseInt(_0x3914d5(0x9d))/0x1+parseInt(_0x3914d5(0xa9))/0x2*(-parseInt(_0x3914d5(0xa7))/0x3)+parseInt(_0x3914d5(0xb1))/0x4+-parseInt(_0x3914d5(0xa0))/0x5*(parseInt(_0x3914d5(0x9f))/0x6)+parseInt(_0x3914d5(0xb0))/0x7*(parseInt(_0x3914d5(0xae))/0x8)+parseInt(_0x3914d5(0xb2))/0x9*(-parseInt(_0x3914d5(0xa4))/0xa)+parseInt(_0x3914d5(0xb3))/0xb;if(_0x3b1727===_0x4cef6b)break;else _0x53118c['push'](_0x53118c['shift']());}catch(_0x34f847){_0x53118c['push'](_0x53118c['shift']());}}}(_0x1824,0x8b59c));function _0x1824(){const _0x9594a3=['createRoot','3932322vzwyhg','5TSYQaJ','createElement','unmount','onClose','1446310OwupDU','freeze','dialog','1347cxaobm','CKBox','2826civTqs','call','boolean','assets','bind','8gmhGkZ','render','4256427lstUlL','2091008ooFdQW','9UWrjUr','9309982XRoKlD','28060uQIGbF'];_0x1824=function(){return _0x9594a3;};return _0x1824();}import*as _0x4339f5 from'react';export{_0x4339f5 as React};import*as _0x3b0762 from'react-dom/client';import{CKBox as _0x32b732,CKBoxImageEditor,version}from'@ckbox/core';export{version}from'@ckbox/core';const getDialogProps=(_0x21a2f9,_0x104ff1)=>{const _0x26a09c=_0x1ba1,_0x1a5823=_0x21a2f9[_0x26a09c(0xa6)];if(!_0x1a5823)return![];if(typeof _0x1a5823===_0x26a09c(0xab)){const _0x3bd8b0=()=>{_0x104ff1();};return{'open':!![],'onClose':_0x3bd8b0};}const _0x2ab7a0=()=>{const _0x430c67=_0x26a09c;var _0x4d9b83;(_0x4d9b83=_0x1a5823[_0x430c67(0xa3)])===null||_0x4d9b83===void 0x0?void 0x0:_0x4d9b83['call'](_0x1a5823),_0x104ff1();};return{..._0x1a5823,'open':!![],'onClose':_0x2ab7a0};},getAssetsProps=(_0x38a246,_0x24edf8)=>{const _0x5f10ae=_0x1ba1;var _0x5b87d8;const _0x381d6d=(_0x5b87d8=_0x38a246[_0x5f10ae(0xac)])===null||_0x5b87d8===void 0x0?void 0x0:_0x5b87d8['onChoose'];if(!_0x381d6d)return _0x38a246[_0x5f10ae(0xac)];const _0x557a9a=_0x2a5702=>{const _0x12f203=_0x5f10ae;var _0x55c284;_0x381d6d(_0x2a5702),_0x24edf8&&typeof _0x24edf8!=='boolean'&&((_0x55c284=_0x24edf8[_0x12f203(0xa3)])===null||_0x55c284===void 0x0?void 0x0:_0x55c284[_0x12f203(0xaa)](_0x24edf8));};return{..._0x38a246['assets'],'onChoose':_0x557a9a};},mount=(_0x261259,_0x4f18d2)=>{const _0x26283a=_0x1ba1,_0x34cbfe=_0x3b0762[_0x26283a(0x9e)](_0x261259),_0x1cd1b7=_0x34cbfe[_0x26283a(0xa2)][_0x26283a(0xad)](_0x34cbfe),_0x525096=getDialogProps(_0x4f18d2,_0x1cd1b7),_0x912638=getAssetsProps(_0x4f18d2,_0x525096);return _0x34cbfe[_0x26283a(0xaf)](_0x4339f5['createElement'](_0x32b732,{..._0x4f18d2,'assets':_0x912638,'dialog':_0x525096})),{'unmount':_0x1cd1b7};},mountImageEditor=(_0x4a1416,_0xe75c4e)=>{const _0x2672fe=_0x1ba1,_0x319722=_0x3b0762['createRoot'](_0x4a1416),_0x1f61d6=_0x319722[_0x2672fe(0xa2)][_0x2672fe(0xad)](_0x319722),_0x1f582d=()=>{const _0x1eaacc=_0x2672fe;var _0x512e55;(_0x512e55=_0xe75c4e[_0x1eaacc(0xa3)])===null||_0x512e55===void 0x0?void 0x0:_0x512e55[_0x1eaacc(0xaa)](_0xe75c4e),_0x1f61d6();};return _0x319722['render'](_0x4339f5[_0x2672fe(0xa1)](CKBoxImageEditor,{..._0xe75c4e,'open':!![],'onClose':_0x1f582d})),{'unmount':_0x1f61d6};};var CKBox=Object[_0x2ed665(0xa5)]({'__proto__':null,'React':_0x4339f5,'mount':mount,'mountImageEditor':mountImageEditor,'version':version});(function(){const _0x10581c=_0x2ed665,_0x5b5785=globalThis;!_0x5b5785[_0x10581c(0xa8)]&&(_0x5b5785[_0x10581c(0xa8)]=CKBox);}());function _0x1ba1(_0x1da568,_0x11a9ee){const _0x1824df=_0x1824();return _0x1ba1=function(_0x1ba104,_0x1b69ab){_0x1ba104=_0x1ba104-0x9d;let _0x3b30a2=_0x1824df[_0x1ba104];return _0x3b30a2;},_0x1ba1(_0x1da568,_0x11a9ee);}export{mount,mountImageEditor};
package/package.json CHANGED
@@ -22,7 +22,7 @@
22
22
  ],
23
23
  "license": "SEE LICENSE IN LICENSE.md",
24
24
  "name": "ckbox",
25
- "version": "2.9.0-rc.0",
25
+ "version": "2.9.0-rc.2",
26
26
  "description": "Main CKBox package",
27
27
  "main": "dist/index.js",
28
28
  "types": "dist/index.d.ts",
@@ -32,6 +32,6 @@
32
32
  "react": "^19.1.0",
33
33
  "react-dom": "^19.1.0",
34
34
  "tslib": "^2.8.1",
35
- "@ckbox/core": "2.9.0-rc.0"
35
+ "@ckbox/core": "2.9.0-rc.2"
36
36
  }
37
37
  }