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/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(_0x2a6435,_0x419e64){const _0x4c7a67=_0x4cf2,_0x2ffa58=_0x2a6435();while(!![]){try{const _0x5eabae=parseInt(_0x4c7a67(0x181))/0x1+-parseInt(_0x4c7a67(0x186))/0x2*(-parseInt(_0x4c7a67(0x18e))/0x3)+-parseInt(_0x4c7a67(0x190))/0x4+-parseInt(_0x4c7a67(0x180))/0x5*(parseInt(_0x4c7a67(0x17e))/0x6)+-parseInt(_0x4c7a67(0x18f))/0x7+parseInt(_0x4c7a67(0x183))/0x8*(-parseInt(_0x4c7a67(0x191))/0x9)+parseInt(_0x4c7a67(0x184))/0xa*(parseInt(_0x4c7a67(0x185))/0xb);if(_0x5eabae===_0x419e64)break;else _0x2ffa58['push'](_0x2ffa58['shift']());}catch(_0x3dbd15){_0x2ffa58['push'](_0x2ffa58['shift']());}}}(_0x6323,0xdf4a2));import*as _0x3a875f from'react';export{_0x3a875f as React};import*as _0x143991 from'react-dom/client';function _0x4cf2(_0xa68271,_0x9dd496){_0xa68271=_0xa68271-0x17d;const _0x632335=_0x6323();let _0x4cf2fb=_0x632335[_0xa68271];return _0x4cf2fb;}import{CKBox as _0x1dc4d3,CKBoxImageEditor,version}from'@ckbox/core';export{version}from'@ckbox/core';const getDialogProps=(_0x375677,_0x10f2a3)=>{const _0x3ff882=_0x4cf2,_0x1a3498=_0x375677[_0x3ff882(0x187)];if(!_0x1a3498)return![];if(typeof _0x1a3498==='boolean'){const _0x4ddc94=()=>{_0x10f2a3();};return{'open':!![],'onClose':_0x4ddc94};}const _0x44d585=()=>{const _0x353db4=_0x3ff882;_0x1a3498[_0x353db4(0x17f)]?.(),_0x10f2a3();};return{..._0x1a3498,'open':!![],'onClose':_0x44d585};},getAssetsProps=(_0x87ce92,_0x2398e0)=>{const _0x48ecc2=_0x4cf2,_0xf79899=_0x87ce92['assets']?.['onChoose'];if(!_0xf79899)return _0x87ce92[_0x48ecc2(0x18b)];const _0x53359a=_0x4eecdf=>{const _0x4c3f70=_0x48ecc2;_0xf79899(_0x4eecdf),_0x2398e0&&typeof _0x2398e0!==_0x4c3f70(0x189)&&_0x2398e0[_0x4c3f70(0x17f)]?.();};return{..._0x87ce92[_0x48ecc2(0x18b)],'onChoose':_0x53359a};},mount=(_0x3539f0,_0x5a7c56)=>{const _0xfb1fa7=_0x4cf2,_0x32b712=_0x143991[_0xfb1fa7(0x18d)](_0x3539f0),_0x32c4eb=_0x32b712[_0xfb1fa7(0x17d)][_0xfb1fa7(0x18c)](_0x32b712),_0x3fc578=getDialogProps(_0x5a7c56,_0x32c4eb),_0x51e6c9=getAssetsProps(_0x5a7c56,_0x3fc578);return _0x32b712['render'](_0x3a875f[_0xfb1fa7(0x18a)](_0x1dc4d3,{..._0x5a7c56,'assets':_0x51e6c9,'dialog':_0x3fc578})),{'unmount':_0x32c4eb};},mountImageEditor=(_0xc3391,_0x59ae20)=>{const _0x11c8e0=_0x4cf2,_0x1a0a15=_0x143991['createRoot'](_0xc3391),_0x304d7c=_0x1a0a15[_0x11c8e0(0x17d)][_0x11c8e0(0x18c)](_0x1a0a15),_0x57510a=()=>{const _0x182a52=_0x11c8e0;_0x59ae20[_0x182a52(0x17f)]?.(),_0x304d7c();};return _0x1a0a15[_0x11c8e0(0x188)](_0x3a875f[_0x11c8e0(0x18a)](CKBoxImageEditor,{..._0x59ae20,'open':!![],'onClose':_0x57510a})),{'unmount':_0x304d7c};};var CKBox=Object['freeze']({'__proto__':null,'React':_0x3a875f,'mount':mount,'mountImageEditor':mountImageEditor,'version':version});(function(){const _0x1ad1cb=_0x4cf2,_0x396c76=globalThis;!_0x396c76[_0x1ad1cb(0x182)]&&(_0x396c76[_0x1ad1cb(0x182)]=CKBox);}());function _0x6323(){const _0x4e95c9=['4811964WUsurj','997092LJzGLV','unmount','530562pIqzNw','onClose','25RyySTz','1782073LQqlJQ','CKBox','16JVmpVN','121190FcGyAa','121PygZsR','6OLvMcr','dialog','render','boolean','createElement','assets','bind','createRoot','1254837cefKKu','2722461KmFwIH'];_0x6323=function(){return _0x4e95c9;};return _0x6323();}export{mount,mountImageEditor};
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-rc.2",
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-rc.2"
35
+ "@ckbox/core": "2.12.0"
36
36
  }
37
37
  }