ckbox 2.12.0-rc.2 → 2.12.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 +4 -4
- package/dist/ckbox.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* @license Copyright (c) 2021-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md.
|
|
4
4
|
*/
|
|
5
|
-
(function(
|
|
5
|
+
const _0x599b26=_0x7504;(function(_0x5154f4,_0x41764b){const _0x58abf9=_0x7504,_0x2420c7=_0x5154f4();while(!![]){try{const _0x36402f=-parseInt(_0x58abf9(0x11e))/0x1+parseInt(_0x58abf9(0x11b))/0x2+-parseInt(_0x58abf9(0x113))/0x3*(-parseInt(_0x58abf9(0x111))/0x4)+parseInt(_0x58abf9(0x124))/0x5*(-parseInt(_0x58abf9(0x114))/0x6)+parseInt(_0x58abf9(0x120))/0x7*(parseInt(_0x58abf9(0x10d))/0x8)+parseInt(_0x58abf9(0x118))/0x9*(parseInt(_0x58abf9(0x116))/0xa)+-parseInt(_0x58abf9(0x115))/0xb*(parseInt(_0x58abf9(0x117))/0xc);if(_0x36402f===_0x41764b)break;else _0x2420c7['push'](_0x2420c7['shift']());}catch(_0x22e159){_0x2420c7['push'](_0x2420c7['shift']());}}}(_0xfdf1,0xd056a));function _0xfdf1(){const _0x4f8595=['81qwOTTg','onClose','boolean','2442342Usdmsr','createRoot','dialog','1158007NlyGyb','unmount','33068fZZjxZ','render','createElement','onChoose','575815ZRFHai','2704oqzLGH','bind','freeze','assets','1423244jebRnt','CKBox','3ZlzOUq','24SkrjTZ','5914535THHykA','415210jZaeQu','24QrEabY'];_0xfdf1=function(){return _0x4f8595;};return _0xfdf1();}import*as _0x2e3d99 from'react';export{_0x2e3d99 as React};import*as _0x8c138 from'react-dom/client';import{CKBox as _0x2af274,CKBoxImageEditor,version}from'@ckbox/core';export{version}from'@ckbox/core';const getDialogProps=(_0x2207bc,_0x1fa77e)=>{const _0x1f0d56=_0x7504,_0xfda864=_0x2207bc[_0x1f0d56(0x11d)];if(!_0xfda864)return![];if(typeof _0xfda864==='boolean'){const _0x5ef53d=()=>{_0x1fa77e();};return{'open':!![],'onClose':_0x5ef53d};}const _0x25a15e=()=>{const _0xbcf8dd=_0x1f0d56;_0xfda864[_0xbcf8dd(0x119)]?.(),_0x1fa77e();};return{..._0xfda864,'open':!![],'onClose':_0x25a15e};},getAssetsProps=(_0x383e8e,_0x5860b2)=>{const _0x545308=_0x7504,_0x107598=_0x383e8e[_0x545308(0x110)]?.[_0x545308(0x123)];if(!_0x107598)return _0x383e8e[_0x545308(0x110)];const _0x3c96f6=_0x1d53b6=>{const _0x17b249=_0x545308;_0x107598(_0x1d53b6),_0x5860b2&&typeof _0x5860b2!==_0x17b249(0x11a)&&_0x5860b2[_0x17b249(0x119)]?.();};return{..._0x383e8e[_0x545308(0x110)],'onChoose':_0x3c96f6};},mount=(_0x572218,_0x5141f9)=>{const _0xeac939=_0x7504,_0x4f86db=_0x8c138[_0xeac939(0x11c)](_0x572218),_0x20e118=_0x4f86db['unmount']['bind'](_0x4f86db),_0x3116cd=getDialogProps(_0x5141f9,_0x20e118),_0x396c74=getAssetsProps(_0x5141f9,_0x3116cd);return _0x4f86db['render'](_0x2e3d99[_0xeac939(0x122)](_0x2af274,{..._0x5141f9,'assets':_0x396c74,'dialog':_0x3116cd})),{'unmount':_0x20e118};},mountImageEditor=(_0x1c5ea5,_0xba5fab)=>{const _0x19191a=_0x7504,_0x11a7fa=_0x8c138[_0x19191a(0x11c)](_0x1c5ea5),_0x5ba774=_0x11a7fa[_0x19191a(0x11f)][_0x19191a(0x10e)](_0x11a7fa),_0x1f9a2a=()=>{_0xba5fab['onClose']?.(),_0x5ba774();};return _0x11a7fa[_0x19191a(0x121)](_0x2e3d99[_0x19191a(0x122)](CKBoxImageEditor,{..._0xba5fab,'open':!![],'onClose':_0x1f9a2a})),{'unmount':_0x5ba774};};var CKBox=Object[_0x599b26(0x10f)]({'__proto__':null,'React':_0x2e3d99,'mount':mount,'mountImageEditor':mountImageEditor,'version':version});(function(){const _0x352e8a=_0x599b26,_0x44e688=globalThis;!_0x44e688[_0x352e8a(0x112)]&&(_0x44e688[_0x352e8a(0x112)]=CKBox);}());function _0x7504(_0x22facf,_0x345e96){_0x22facf=_0x22facf-0x10d;const _0xfdf105=_0xfdf1();let _0x7504a1=_0xfdf105[_0x22facf];return _0x7504a1;}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.12.0
|
|
25
|
+
"version": "2.12.0",
|
|
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.5",
|
|
33
33
|
"react-dom": "^19.2.5",
|
|
34
34
|
"tslib": "^2.8.1",
|
|
35
|
-
"@ckbox/core": "2.12.0
|
|
35
|
+
"@ckbox/core": "2.12.0"
|
|
36
36
|
}
|
|
37
37
|
}
|