ckbox 2.9.0-rc.1 → 2.9.0-rc.3

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
- (function(_0x4862a0,_0x4cc5c1){const _0x361081=_0x2172,_0x1f143f=_0x4862a0();while(!![]){try{const _0x114c42=-parseInt(_0x361081(0xdb))/0x1*(parseInt(_0x361081(0xd7))/0x2)+-parseInt(_0x361081(0xd9))/0x3*(-parseInt(_0x361081(0xda))/0x4)+-parseInt(_0x361081(0xe3))/0x5*(-parseInt(_0x361081(0xdf))/0x6)+parseInt(_0x361081(0xdd))/0x7+parseInt(_0x361081(0xe0))/0x8+-parseInt(_0x361081(0xd8))/0x9+parseInt(_0x361081(0xe1))/0xa*(parseInt(_0x361081(0xd0))/0xb);if(_0x114c42===_0x4cc5c1)break;else _0x1f143f['push'](_0x1f143f['shift']());}catch(_0x51218d){_0x1f143f['push'](_0x1f143f['shift']());}}}(_0x620f,0x45cb5));import*as _0x47949f from'react';export{_0x47949f as React};function _0x620f(){const _0x1c9805=['bind','call','boolean','unmount','createElement','22DoRKSm','3707271rFNpdG','3nLTPHT','317988xdQZlR','33228rLGhWZ','onClose','594034bnwwcR','onChoose','1860SmZLfw','1072888zveuFN','63760jiNLhw','render','2155RtnQxv','createRoot','assets','1089oshrFT','CKBox'];_0x620f=function(){return _0x1c9805;};return _0x620f();}import*as _0x497439 from'react-dom/client';import{CKBox as _0x2ded0c,CKBoxImageEditor,version}from'@ckbox/core';export{version}from'@ckbox/core';const getDialogProps=(_0x1b9dd0,_0xa58754)=>{const _0x5a54f3=_0x2172,_0x4033c2=_0x1b9dd0['dialog'];if(!_0x4033c2)return![];if(typeof _0x4033c2===_0x5a54f3(0xd4)){const _0x1617d7=()=>{_0xa58754();};return{'open':!![],'onClose':_0x1617d7};}const _0x2d4ae0=()=>{const _0x4eff67=_0x5a54f3;var _0x1d7b41;(_0x1d7b41=_0x4033c2[_0x4eff67(0xdc)])===null||_0x1d7b41===void 0x0?void 0x0:_0x1d7b41['call'](_0x4033c2),_0xa58754();};return{..._0x4033c2,'open':!![],'onClose':_0x2d4ae0};},getAssetsProps=(_0x2be727,_0x176ade)=>{const _0x4df5b0=_0x2172;var _0xbde258;const _0x9ed263=(_0xbde258=_0x2be727['assets'])===null||_0xbde258===void 0x0?void 0x0:_0xbde258[_0x4df5b0(0xde)];if(!_0x9ed263)return _0x2be727[_0x4df5b0(0xcf)];const _0x244fbf=_0x450700=>{const _0x4fd825=_0x4df5b0;var _0x4092f7;_0x9ed263(_0x450700),_0x176ade&&typeof _0x176ade!==_0x4fd825(0xd4)&&((_0x4092f7=_0x176ade[_0x4fd825(0xdc)])===null||_0x4092f7===void 0x0?void 0x0:_0x4092f7[_0x4fd825(0xd3)](_0x176ade));};return{..._0x2be727['assets'],'onChoose':_0x244fbf};},mount=(_0x1349c8,_0x4a3037)=>{const _0x17d0b7=_0x2172,_0x203cd3=_0x497439[_0x17d0b7(0xce)](_0x1349c8),_0x1b535f=_0x203cd3[_0x17d0b7(0xd5)][_0x17d0b7(0xd2)](_0x203cd3),_0x3d8611=getDialogProps(_0x4a3037,_0x1b535f),_0x2dd2b5=getAssetsProps(_0x4a3037,_0x3d8611);return _0x203cd3[_0x17d0b7(0xe2)](_0x47949f[_0x17d0b7(0xd6)](_0x2ded0c,{..._0x4a3037,'assets':_0x2dd2b5,'dialog':_0x3d8611})),{'unmount':_0x1b535f};},mountImageEditor=(_0x4bf942,_0x238dd6)=>{const _0xf8f032=_0x2172,_0x29c165=_0x497439[_0xf8f032(0xce)](_0x4bf942),_0x23f611=_0x29c165[_0xf8f032(0xd5)]['bind'](_0x29c165),_0x2a39b5=()=>{const _0x52ecab=_0xf8f032;var _0x3b7403;(_0x3b7403=_0x238dd6[_0x52ecab(0xdc)])===null||_0x3b7403===void 0x0?void 0x0:_0x3b7403[_0x52ecab(0xd3)](_0x238dd6),_0x23f611();};return _0x29c165[_0xf8f032(0xe2)](_0x47949f[_0xf8f032(0xd6)](CKBoxImageEditor,{..._0x238dd6,'open':!![],'onClose':_0x2a39b5})),{'unmount':_0x23f611};};function _0x2172(_0x42d838,_0x4ec9ad){const _0x620f86=_0x620f();return _0x2172=function(_0x21728e,_0x5da9b6){_0x21728e=_0x21728e-0xce;let _0x14b607=_0x620f86[_0x21728e];return _0x14b607;},_0x2172(_0x42d838,_0x4ec9ad);}var CKBox=Object['freeze']({'__proto__':null,'React':_0x47949f,'mount':mount,'mountImageEditor':mountImageEditor,'version':version});(function(){const _0x228381=_0x2172,_0x14c594=globalThis;!_0x14c594[_0x228381(0xd1)]&&(_0x14c594[_0x228381(0xd1)]=CKBox);}());export{mount,mountImageEditor};
4
+ (function(_0xa6ca03,_0xdb3ed1){const _0x4c4714=_0xd06a,_0x3ecf71=_0xa6ca03();while(!![]){try{const _0x25a73d=-parseInt(_0x4c4714(0x178))/0x1*(parseInt(_0x4c4714(0x176))/0x2)+parseInt(_0x4c4714(0x16b))/0x3*(-parseInt(_0x4c4714(0x174))/0x4)+-parseInt(_0x4c4714(0x17d))/0x5*(parseInt(_0x4c4714(0x16c))/0x6)+parseInt(_0x4c4714(0x17a))/0x7+-parseInt(_0x4c4714(0x16a))/0x8+parseInt(_0x4c4714(0x172))/0x9+-parseInt(_0x4c4714(0x168))/0xa*(-parseInt(_0x4c4714(0x17e))/0xb);if(_0x25a73d===_0xdb3ed1)break;else _0x3ecf71['push'](_0x3ecf71['shift']());}catch(_0x1f22f3){_0x3ecf71['push'](_0x3ecf71['shift']());}}}(_0x4b8f,0xa501d));import*as _0x1fcc6f from'react';export{_0x1fcc6f as React};function _0xd06a(_0x519f42,_0x355d09){const _0x4b8fa1=_0x4b8f();return _0xd06a=function(_0xd06a3a,_0x40c7d7){_0xd06a3a=_0xd06a3a-0x168;let _0xf15e15=_0x4b8fa1[_0xd06a3a];return _0xf15e15;},_0xd06a(_0x519f42,_0x355d09);}import*as _0x5ce429 from'react-dom/client';function _0x4b8f(){const _0x5344bf=['7plcary','call','6935068dkNhJS','onClose','assets','24605CucsDj','88ztzDke','1210070WILOYE','render','3797608OsbVUa','3ILSjhj','636mGCPSM','bind','CKBox','createRoot','createElement','dialog','10513440yjQSHl','onChoose','432728nlcBQL','boolean','384732UtFuMa','unmount'];_0x4b8f=function(){return _0x5344bf;};return _0x4b8f();}import{CKBox as _0x48c248,CKBoxImageEditor,version}from'@ckbox/core';export{version}from'@ckbox/core';const getDialogProps=(_0x328480,_0xd1bc22)=>{const _0x1cb0bb=_0xd06a,_0x5d9ff2=_0x328480[_0x1cb0bb(0x171)];if(!_0x5d9ff2)return![];if(typeof _0x5d9ff2==='boolean'){const _0x481545=()=>{_0xd1bc22();};return{'open':!![],'onClose':_0x481545};}const _0x3b0c82=()=>{const _0x1fb3d8=_0x1cb0bb;var _0x519f31;(_0x519f31=_0x5d9ff2[_0x1fb3d8(0x17b)])===null||_0x519f31===void 0x0?void 0x0:_0x519f31[_0x1fb3d8(0x179)](_0x5d9ff2),_0xd1bc22();};return{..._0x5d9ff2,'open':!![],'onClose':_0x3b0c82};},getAssetsProps=(_0x105141,_0x1e9279)=>{const _0x5a1b2e=_0xd06a;var _0x3a423f;const _0x40d96f=(_0x3a423f=_0x105141[_0x5a1b2e(0x17c)])===null||_0x3a423f===void 0x0?void 0x0:_0x3a423f[_0x5a1b2e(0x173)];if(!_0x40d96f)return _0x105141[_0x5a1b2e(0x17c)];const _0xd3e274=_0x10d0aa=>{const _0x210343=_0x5a1b2e;var _0x55295d;_0x40d96f(_0x10d0aa),_0x1e9279&&typeof _0x1e9279!==_0x210343(0x175)&&((_0x55295d=_0x1e9279['onClose'])===null||_0x55295d===void 0x0?void 0x0:_0x55295d[_0x210343(0x179)](_0x1e9279));};return{..._0x105141[_0x5a1b2e(0x17c)],'onChoose':_0xd3e274};},mount=(_0x21c58b,_0x20248c)=>{const _0x78cff7=_0xd06a,_0x10707d=_0x5ce429[_0x78cff7(0x16f)](_0x21c58b),_0x152628=_0x10707d[_0x78cff7(0x177)][_0x78cff7(0x16d)](_0x10707d),_0x1533f0=getDialogProps(_0x20248c,_0x152628),_0x3d02b9=getAssetsProps(_0x20248c,_0x1533f0);return _0x10707d[_0x78cff7(0x169)](_0x1fcc6f[_0x78cff7(0x170)](_0x48c248,{..._0x20248c,'assets':_0x3d02b9,'dialog':_0x1533f0})),{'unmount':_0x152628};},mountImageEditor=(_0x2965cf,_0x32a423)=>{const _0x26a7c6=_0xd06a,_0x205346=_0x5ce429[_0x26a7c6(0x16f)](_0x2965cf),_0x45621f=_0x205346[_0x26a7c6(0x177)][_0x26a7c6(0x16d)](_0x205346),_0x431fdf=()=>{const _0x57f6a7=_0x26a7c6;var _0x548e08;(_0x548e08=_0x32a423[_0x57f6a7(0x17b)])===null||_0x548e08===void 0x0?void 0x0:_0x548e08[_0x57f6a7(0x179)](_0x32a423),_0x45621f();};return _0x205346[_0x26a7c6(0x169)](_0x1fcc6f[_0x26a7c6(0x170)](CKBoxImageEditor,{..._0x32a423,'open':!![],'onClose':_0x431fdf})),{'unmount':_0x45621f};};var CKBox=Object['freeze']({'__proto__':null,'React':_0x1fcc6f,'mount':mount,'mountImageEditor':mountImageEditor,'version':version});(function(){const _0x188432=_0xd06a,_0x4a0269=globalThis;!_0x4a0269[_0x188432(0x16e)]&&(_0x4a0269[_0x188432(0x16e)]=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.9.0-rc.1",
25
+ "version": "2.9.0-rc.3",
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.1"
35
+ "@ckbox/core": "2.9.0-rc.3"
36
36
  }
37
37
  }