ckbox 1.2.0-dev.1 → 1.2.0-rc.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
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
3
3
  */
4
- (function(_0x37a96e,_0x4f92ed){const _0x1100cf=_0x3a62,_0x116fd6=_0x37a96e();while(!![]){try{const _0x44c03f=parseInt(_0x1100cf(0x1d7))/0x1*(-parseInt(_0x1100cf(0x1da))/0x2)+parseInt(_0x1100cf(0x1dc))/0x3*(parseInt(_0x1100cf(0x1df))/0x4)+-parseInt(_0x1100cf(0x1e1))/0x5+-parseInt(_0x1100cf(0x1e5))/0x6+-parseInt(_0x1100cf(0x1e0))/0x7+parseInt(_0x1100cf(0x1e4))/0x8+parseInt(_0x1100cf(0x1db))/0x9;if(_0x44c03f===_0x4f92ed)break;else _0x116fd6['push'](_0x116fd6['shift']());}catch(_0x237a1b){_0x116fd6['push'](_0x116fd6['shift']());}}}(_0x5b73,0x765d1));function _0x3a62(_0x4b1637,_0x57cfcd){const _0x5b7351=_0x5b73();return _0x3a62=function(_0x3a622f,_0x37c332){_0x3a622f=_0x3a622f-0x1d5;let _0x28507a=_0x5b7351[_0x3a622f];return _0x28507a;},_0x3a62(_0x4b1637,_0x57cfcd);}import*as _0x5bf763 from'react';export{_0x5bf763 as React};import*as _0x4c74f4 from'react-dom/client';import{CKBox as _0x3a7093,version}from'@ckbox/core';export{version}from'@ckbox/core';const getDialogProps=(_0x562b61,_0x47bb2f)=>{const _0x412630=_0x3a62,_0xa62e4c=_0x562b61[_0x412630(0x1d6)];if(!_0xa62e4c)return![];if(typeof _0xa62e4c===_0x412630(0x1d8)){const _0x476414=()=>{_0x47bb2f();};return{'open':!![],'onClose':_0x476414};}const _0x3b8eeb=()=>{const _0x4a8066=_0x412630;var _0x653e4a;(_0x653e4a=_0xa62e4c['onClose'])===null||_0x653e4a===void 0x0?void 0x0:_0x653e4a[_0x4a8066(0x1dd)](_0xa62e4c),_0x47bb2f();};return{..._0xa62e4c,'open':!![],'onClose':_0x3b8eeb};},getAssetsProps=(_0x2de31a,_0x76c19b)=>{const _0x1f4873=_0x3a62;var _0x430f0c;const _0x2d6d5b=(_0x430f0c=_0x2de31a['assets'])===null||_0x430f0c===void 0x0?void 0x0:_0x430f0c['onChoose'];if(!_0x2d6d5b)return _0x2de31a[_0x1f4873(0x1d9)];const _0x41415a=_0xb5b469=>{const _0x96678e=_0x1f4873;var _0x47a64e;_0x2d6d5b(_0xb5b469),_0x76c19b&&typeof _0x76c19b!=='boolean'&&((_0x47a64e=_0x76c19b[_0x96678e(0x1de)])===null||_0x47a64e===void 0x0?void 0x0:_0x47a64e['call'](_0x76c19b));};return{..._0x2de31a[_0x1f4873(0x1d9)],'onChoose':_0x41415a};},mount=(_0x5df67a,_0x58c96f)=>{const _0x15995c=_0x3a62,_0x5b8938=_0x4c74f4['createRoot'](_0x5df67a),_0x33169d=_0x5b8938['unmount'][_0x15995c(0x1e2)](_0x5b8938),_0x40c06d=getDialogProps(_0x58c96f,_0x33169d),_0x51c07d=getAssetsProps(_0x58c96f,_0x40c06d);return _0x5b8938['render'](_0x5bf763[_0x15995c(0x1e3)](_0x3a7093,{..._0x58c96f,'assets':_0x51c07d,'dialog':_0x40c06d})),{'unmount':_0x33169d};};function _0x5b73(){const _0x5d050c=['28042ShiObe','17854047WLnDix','2838129ogCfXa','call','onClose','4Uohatu','5477178LJGQpg','4707995pfgjtf','bind','createElement','1349392ehJqxN','3907638WPWZpL','CKBox','dialog','17tKlCJv','boolean','assets'];_0x5b73=function(){return _0x5d050c;};return _0x5b73();}var CKBox=Object['freeze']({'__proto__':null,'mount':mount,'React':_0x5bf763,'version':version});(function(){const _0x247767=_0x3a62,_0x468b64=globalThis;!_0x468b64[_0x247767(0x1d5)]&&(_0x468b64[_0x247767(0x1d5)]=CKBox);}());export{mount};
4
+ (function(_0x4c1269,_0x30d0f6){const _0x35b3ff=_0x15a6,_0x35de73=_0x4c1269();while(!![]){try{const _0x12ec7b=-parseInt(_0x35b3ff(0x1ca))/0x1*(-parseInt(_0x35b3ff(0x1cc))/0x2)+-parseInt(_0x35b3ff(0x1d5))/0x3*(-parseInt(_0x35b3ff(0x1cd))/0x4)+-parseInt(_0x35b3ff(0x1d7))/0x5+-parseInt(_0x35b3ff(0x1d4))/0x6*(parseInt(_0x35b3ff(0x1d6))/0x7)+parseInt(_0x35b3ff(0x1d1))/0x8*(parseInt(_0x35b3ff(0x1c8))/0x9)+parseInt(_0x35b3ff(0x1db))/0xa+-parseInt(_0x35b3ff(0x1cb))/0xb*(-parseInt(_0x35b3ff(0x1dc))/0xc);if(_0x12ec7b===_0x30d0f6)break;else _0x35de73['push'](_0x35de73['shift']());}catch(_0x9f79e2){_0x35de73['push'](_0x35de73['shift']());}}}(_0x4fc0,0x47c3e));import*as _0x273f0a from'react';function _0x4fc0(){const _0x19b32a=['createElement','assets','6mdYnMv','44247lEdWqe','4094797TkbXIE','1544910lNoRpY','CKBox','boolean','call','2791760oCAysJ','1844604TbwzDW','unmount','325233zkumNO','bind','11hmBMqG','22LArIXA','18548wMnZlX','8hLQKQM','createRoot','onClose','dialog','104MbBdYS'];_0x4fc0=function(){return _0x19b32a;};return _0x4fc0();}export{_0x273f0a as React};import*as _0x221a9c from'react-dom/client';import{CKBox as _0x2e3977,version}from'@ckbox/core';export{version}from'@ckbox/core';const getDialogProps=(_0xe84eb2,_0x526d53)=>{const _0x2aa976=_0x15a6,_0x395463=_0xe84eb2[_0x2aa976(0x1d0)];if(!_0x395463)return![];if(typeof _0x395463===_0x2aa976(0x1d9)){const _0x3d855e=()=>{_0x526d53();};return{'open':!![],'onClose':_0x3d855e};}const _0x5257a8=()=>{const _0xa6df10=_0x2aa976;var _0x3ec33c;(_0x3ec33c=_0x395463[_0xa6df10(0x1cf)])===null||_0x3ec33c===void 0x0?void 0x0:_0x3ec33c['call'](_0x395463),_0x526d53();};return{..._0x395463,'open':!![],'onClose':_0x5257a8};},getAssetsProps=(_0x1afdba,_0x139db1)=>{const _0x13ba75=_0x15a6;var _0x2a660c;const _0x48dece=(_0x2a660c=_0x1afdba['assets'])===null||_0x2a660c===void 0x0?void 0x0:_0x2a660c['onChoose'];if(!_0x48dece)return _0x1afdba['assets'];const _0x56b567=_0x1bb7ed=>{const _0x2f56e2=_0x15a6;var _0x188fdb;_0x48dece(_0x1bb7ed),_0x139db1&&typeof _0x139db1!==_0x2f56e2(0x1d9)&&((_0x188fdb=_0x139db1[_0x2f56e2(0x1cf)])===null||_0x188fdb===void 0x0?void 0x0:_0x188fdb[_0x2f56e2(0x1da)](_0x139db1));};return{..._0x1afdba[_0x13ba75(0x1d3)],'onChoose':_0x56b567};},mount=(_0x56ffc6,_0x2b36f0)=>{const _0x5d8182=_0x15a6,_0x10a2c4=_0x221a9c[_0x5d8182(0x1ce)](_0x56ffc6),_0x30d20d=_0x10a2c4[_0x5d8182(0x1dd)][_0x5d8182(0x1c9)](_0x10a2c4),_0x120a40=getDialogProps(_0x2b36f0,_0x30d20d),_0x4df780=getAssetsProps(_0x2b36f0,_0x120a40);return _0x10a2c4['render'](_0x273f0a[_0x5d8182(0x1d2)](_0x2e3977,{..._0x2b36f0,'assets':_0x4df780,'dialog':_0x120a40})),{'unmount':_0x30d20d};};function _0x15a6(_0x4b1f09,_0x3d71f0){const _0x4fc0d3=_0x4fc0();return _0x15a6=function(_0x15a683,_0x3566bd){_0x15a683=_0x15a683-0x1c8;let _0x46c19c=_0x4fc0d3[_0x15a683];return _0x46c19c;},_0x15a6(_0x4b1f09,_0x3d71f0);}var CKBox=Object['freeze']({'__proto__':null,'mount':mount,'React':_0x273f0a,'version':version});(function(){const _0x1ae223=_0x15a6,_0x161080=globalThis;!_0x161080[_0x1ae223(0x1d8)]&&(_0x161080['CKBox']=CKBox);}());export{mount};
package/package.json CHANGED
@@ -20,12 +20,12 @@
20
20
  ],
21
21
  "license": "SEE LICENSE IN LICENSE.md",
22
22
  "name": "ckbox",
23
- "version": "1.2.0-dev.1",
23
+ "version": "1.2.0-rc.0",
24
24
  "description": "Main CKBox package",
25
25
  "main": "dist/index.js",
26
26
  "types": "dist/index.d.ts",
27
27
  "dependencies": {
28
- "@ckbox/core": "1.2.0-dev.1",
28
+ "@ckbox/core": "1.2.0-rc.0",
29
29
  "@types/react": "^18.0.24",
30
30
  "@types/react-dom": "^18.0.8",
31
31
  "react": "^18.2.0",