ckbox 2.10.0 → 2.10.1
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 +4 -4
- package/dist/ckbox.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +2 -2
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
|
-
(function(
|
|
4
|
+
const _0x5b2785=_0x330a;(function(_0x133305,_0x3f3c77){const _0x1e769d=_0x330a,_0x2355c8=_0x133305();while(!![]){try{const _0x26f003=-parseInt(_0x1e769d(0x16f))/0x1+-parseInt(_0x1e769d(0x167))/0x2*(-parseInt(_0x1e769d(0x163))/0x3)+-parseInt(_0x1e769d(0x15e))/0x4*(parseInt(_0x1e769d(0x169))/0x5)+-parseInt(_0x1e769d(0x170))/0x6*(parseInt(_0x1e769d(0x16e))/0x7)+-parseInt(_0x1e769d(0x166))/0x8+-parseInt(_0x1e769d(0x16b))/0x9+parseInt(_0x1e769d(0x162))/0xa;if(_0x26f003===_0x3f3c77)break;else _0x2355c8['push'](_0x2355c8['shift']());}catch(_0x2ebf54){_0x2355c8['push'](_0x2355c8['shift']());}}}(_0x47c1,0xec4be));import*as _0x2a9a54 from'react';function _0x330a(_0x1f9164,_0x103907){_0x1f9164=_0x1f9164-0x15d;const _0x47c1a9=_0x47c1();let _0x330a19=_0x47c1a9[_0x1f9164];return _0x330a19;}export{_0x2a9a54 as React};import*as _0x29688b from'react-dom/client';import{CKBox as _0x1ec10a,CKBoxImageEditor,version}from'@ckbox/core';export{version}from'@ckbox/core';function _0x47c1(){const _0x99c9a0=['8245MddWpj','assets','7874973VZUKrp','boolean','call','6432755DoyPoj','30272DlKueU','12BvFxtB','bind','unmount','4668GtYfHZ','createRoot','render','freeze','55759050LaEkyf','23034YvCawe','CKBox','createElement','137864JBqJFv','20nnuIFa','onChoose'];_0x47c1=function(){return _0x99c9a0;};return _0x47c1();}const getDialogProps=(_0x13e84c,_0x483184)=>{const _0x5050bc=_0x330a,_0x4be2d1=_0x13e84c['dialog'];if(!_0x4be2d1)return![];if(typeof _0x4be2d1===_0x5050bc(0x16c)){const _0x2d2c7d=()=>{_0x483184();};return{'open':!![],'onClose':_0x2d2c7d};}const _0x246c29=()=>{var _0x2d153a;(_0x2d153a=_0x4be2d1['onClose'])===null||_0x2d153a===void 0x0?void 0x0:_0x2d153a['call'](_0x4be2d1),_0x483184();};return{..._0x4be2d1,'open':!![],'onClose':_0x246c29};},getAssetsProps=(_0x3237ca,_0x553597)=>{const _0x55899b=_0x330a;var _0x5e79cd;const _0x3e81b8=(_0x5e79cd=_0x3237ca[_0x55899b(0x16a)])===null||_0x5e79cd===void 0x0?void 0x0:_0x5e79cd[_0x55899b(0x168)];if(!_0x3e81b8)return _0x3237ca[_0x55899b(0x16a)];const _0xad9a46=_0x1ad9b9=>{const _0x146414=_0x55899b;var _0xfc1be9;_0x3e81b8(_0x1ad9b9),_0x553597&&typeof _0x553597!==_0x146414(0x16c)&&((_0xfc1be9=_0x553597['onClose'])===null||_0xfc1be9===void 0x0?void 0x0:_0xfc1be9[_0x146414(0x16d)](_0x553597));};return{..._0x3237ca['assets'],'onChoose':_0xad9a46};},mount=(_0x1824f4,_0x4dcd7d)=>{const _0x307e3a=_0x330a,_0x3d0101=_0x29688b['createRoot'](_0x1824f4),_0x4d7bf1=_0x3d0101['unmount'][_0x307e3a(0x171)](_0x3d0101),_0x31e6c2=getDialogProps(_0x4dcd7d,_0x4d7bf1),_0x33a11b=getAssetsProps(_0x4dcd7d,_0x31e6c2);return _0x3d0101[_0x307e3a(0x160)](_0x2a9a54[_0x307e3a(0x165)](_0x1ec10a,{..._0x4dcd7d,'assets':_0x33a11b,'dialog':_0x31e6c2})),{'unmount':_0x4d7bf1};},mountImageEditor=(_0x1a5034,_0xa1164e)=>{const _0x12ebbc=_0x330a,_0x58f222=_0x29688b[_0x12ebbc(0x15f)](_0x1a5034),_0x4b23de=_0x58f222[_0x12ebbc(0x15d)][_0x12ebbc(0x171)](_0x58f222),_0x3f28e5=()=>{var _0x25c5c3;(_0x25c5c3=_0xa1164e['onClose'])===null||_0x25c5c3===void 0x0?void 0x0:_0x25c5c3['call'](_0xa1164e),_0x4b23de();};return _0x58f222[_0x12ebbc(0x160)](_0x2a9a54[_0x12ebbc(0x165)](CKBoxImageEditor,{..._0xa1164e,'open':!![],'onClose':_0x3f28e5})),{'unmount':_0x4b23de};};var CKBox=Object[_0x5b2785(0x161)]({'__proto__':null,'React':_0x2a9a54,'mount':mount,'mountImageEditor':mountImageEditor,'version':version});(function(){const _0x3c4c69=_0x5b2785,_0x28dce4=globalThis;!_0x28dce4[_0x3c4c69(0x164)]&&(_0x28dce4['CKBox']=CKBox);}());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.10.
|
|
25
|
+
"version": "2.10.1",
|
|
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.2.3",
|
|
33
33
|
"react-dom": "^19.2.3",
|
|
34
34
|
"tslib": "^2.8.1",
|
|
35
|
-
"@ckbox/core": "2.10.
|
|
35
|
+
"@ckbox/core": "2.10.1"
|
|
36
36
|
}
|
|
37
37
|
}
|