ckbox 2.1.0-rc.2 → 2.1.1-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-2023, CKSource Holding sp. z o.o. All rights reserved.
3
3
  */
4
- function _0x4591(_0x161dab,_0x162335){const _0x4fc0d6=_0x4fc0();return _0x4591=function(_0x459129,_0x41cf8b){_0x459129=_0x459129-0x19f;let _0x3db0f9=_0x4fc0d6[_0x459129];return _0x3db0f9;},_0x4591(_0x161dab,_0x162335);}const _0xf35a36=_0x4591;function _0x4fc0(){const _0x50a849=['render','unmount','CKBox','430950zhdCMe','6726830YkcchL','freeze','dialog','createRoot','boolean','26WaZCtz','1101928ZbbxyE','19141aUOmqN','5BuMwkO','assets','1449OgSlNN','onClose','119889ndfcFJ','241686NGVjfb','call','onChoose','createElement','13928CHgCkU'];_0x4fc0=function(){return _0x50a849;};return _0x4fc0();}(function(_0x3e2262,_0x3bcc4c){const _0x41539d=_0x4591,_0x2273e2=_0x3e2262();while(!![]){try{const _0x1adfce=parseInt(_0x41539d(0x1a1))/0x1*(parseInt(_0x41539d(0x19f))/0x2)+-parseInt(_0x41539d(0x1a7))/0x3+parseInt(_0x41539d(0x1a0))/0x4+parseInt(_0x41539d(0x1a2))/0x5*(parseInt(_0x41539d(0x1af))/0x6)+parseInt(_0x41539d(0x1a6))/0x7+parseInt(_0x41539d(0x1ab))/0x8*(parseInt(_0x41539d(0x1a4))/0x9)+-parseInt(_0x41539d(0x1b0))/0xa;if(_0x1adfce===_0x3bcc4c)break;else _0x2273e2['push'](_0x2273e2['shift']());}catch(_0x2e85f1){_0x2273e2['push'](_0x2273e2['shift']());}}}(_0x4fc0,0x22423));import*as _0x53e211 from'react';export{_0x53e211 as React};import*as _0x64acdc from'react-dom/client';import{CKBox as _0x1c633e,version}from'@ckbox/core';export{version}from'@ckbox/core';const getDialogProps=(_0x214a39,_0x5bf08d)=>{const _0x340eaa=_0x4591,_0x5912e4=_0x214a39[_0x340eaa(0x1b2)];if(!_0x5912e4)return![];if(typeof _0x5912e4==='boolean'){const _0x30e0b4=()=>{_0x5bf08d();};return{'open':!![],'onClose':_0x30e0b4};}const _0x5cf234=()=>{const _0x5f56f8=_0x340eaa;var _0x4c5124;(_0x4c5124=_0x5912e4[_0x5f56f8(0x1a5)])===null||_0x4c5124===void 0x0?void 0x0:_0x4c5124['call'](_0x5912e4),_0x5bf08d();};return{..._0x5912e4,'open':!![],'onClose':_0x5cf234};},getAssetsProps=(_0x18007d,_0x33fd1c)=>{const _0x497ca1=_0x4591;var _0xd343ac;const _0x44e8b3=(_0xd343ac=_0x18007d[_0x497ca1(0x1a3)])===null||_0xd343ac===void 0x0?void 0x0:_0xd343ac[_0x497ca1(0x1a9)];if(!_0x44e8b3)return _0x18007d[_0x497ca1(0x1a3)];const _0x329187=_0x1e05b7=>{const _0x5b8a81=_0x497ca1;var _0x330296;_0x44e8b3(_0x1e05b7),_0x33fd1c&&typeof _0x33fd1c!==_0x5b8a81(0x1b4)&&((_0x330296=_0x33fd1c['onClose'])===null||_0x330296===void 0x0?void 0x0:_0x330296[_0x5b8a81(0x1a8)](_0x33fd1c));};return{..._0x18007d[_0x497ca1(0x1a3)],'onChoose':_0x329187};},mount=(_0x5248f0,_0xc67f4e)=>{const _0x525ead=_0x4591,_0x417363=_0x64acdc[_0x525ead(0x1b3)](_0x5248f0),_0x1f0d73=_0x417363[_0x525ead(0x1ad)]['bind'](_0x417363),_0x4b35af=getDialogProps(_0xc67f4e,_0x1f0d73),_0x1adf13=getAssetsProps(_0xc67f4e,_0x4b35af);return _0x417363[_0x525ead(0x1ac)](_0x53e211[_0x525ead(0x1aa)](_0x1c633e,{..._0xc67f4e,'assets':_0x1adf13,'dialog':_0x4b35af})),{'unmount':_0x1f0d73};};var CKBox=Object[_0xf35a36(0x1b1)]({'__proto__':null,'React':_0x53e211,'mount':mount,'version':version});(function(){const _0x2a0d80=_0xf35a36,_0x45a595=globalThis;!_0x45a595[_0x2a0d80(0x1ae)]&&(_0x45a595[_0x2a0d80(0x1ae)]=CKBox);}());export{mount};
4
+ const _0x4a3bec=_0x145b;function _0x3b74(){const _0x53c763=['9dddGxH','assets','createRoot','boolean','CKBox','6169832JYIHmQ','2697725XUvQnw','16671740vLDlkV','dialog','6ugcsHa','1247935TChGsn','onChoose','7964873WuCzrF','freeze','3nduWAo','bind','call','render','createElement','3277232EMUoGG','2962196jigYZP'];_0x3b74=function(){return _0x53c763;};return _0x3b74();}(function(_0x34b23c,_0x132605){const _0xfb8688=_0x145b,_0x371e68=_0x34b23c();while(!![]){try{const _0xed0952=parseInt(_0xfb8688(0x1b7))/0x1+parseInt(_0xfb8688(0x1ac))/0x2*(-parseInt(_0xfb8688(0x1bb))/0x3)+parseInt(_0xfb8688(0x1ab))/0x4+-parseInt(_0xfb8688(0x1b3))/0x5*(-parseInt(_0xfb8688(0x1b6))/0x6)+-parseInt(_0xfb8688(0x1b9))/0x7+-parseInt(_0xfb8688(0x1b2))/0x8+parseInt(_0xfb8688(0x1ad))/0x9*(parseInt(_0xfb8688(0x1b4))/0xa);if(_0xed0952===_0x132605)break;else _0x371e68['push'](_0x371e68['shift']());}catch(_0x973d44){_0x371e68['push'](_0x371e68['shift']());}}}(_0x3b74,0xd7c54));function _0x145b(_0x586a1d,_0x65cd13){const _0x3b7447=_0x3b74();return _0x145b=function(_0x145b4b,_0x31e1a7){_0x145b4b=_0x145b4b-0x1a8;let _0x2fb18e=_0x3b7447[_0x145b4b];return _0x2fb18e;},_0x145b(_0x586a1d,_0x65cd13);}import*as _0x5d8881 from'react';export{_0x5d8881 as React};import*as _0x44db83 from'react-dom/client';import{CKBox as _0x178bbe,version}from'@ckbox/core';export{version}from'@ckbox/core';const getDialogProps=(_0xce4f85,_0x5ef4a0)=>{const _0x52028f=_0x145b,_0x260845=_0xce4f85[_0x52028f(0x1b5)];if(!_0x260845)return![];if(typeof _0x260845===_0x52028f(0x1b0)){const _0x13ff7d=()=>{_0x5ef4a0();};return{'open':!![],'onClose':_0x13ff7d};}const _0x49ed90=()=>{const _0x2a559d=_0x52028f;var _0x2a829f;(_0x2a829f=_0x260845['onClose'])===null||_0x2a829f===void 0x0?void 0x0:_0x2a829f[_0x2a559d(0x1a8)](_0x260845),_0x5ef4a0();};return{..._0x260845,'open':!![],'onClose':_0x49ed90};},getAssetsProps=(_0x3ed1dd,_0x517be9)=>{const _0x5c0afc=_0x145b;var _0x3f9a1c;const _0x481c12=(_0x3f9a1c=_0x3ed1dd[_0x5c0afc(0x1ae)])===null||_0x3f9a1c===void 0x0?void 0x0:_0x3f9a1c[_0x5c0afc(0x1b8)];if(!_0x481c12)return _0x3ed1dd[_0x5c0afc(0x1ae)];const _0x25aaf4=_0x4dc7bb=>{const _0x31d905=_0x5c0afc;var _0x50b2d4;_0x481c12(_0x4dc7bb),_0x517be9&&typeof _0x517be9!==_0x31d905(0x1b0)&&((_0x50b2d4=_0x517be9['onClose'])===null||_0x50b2d4===void 0x0?void 0x0:_0x50b2d4[_0x31d905(0x1a8)](_0x517be9));};return{..._0x3ed1dd[_0x5c0afc(0x1ae)],'onChoose':_0x25aaf4};},mount=(_0xb2d5b9,_0x21cbc2)=>{const _0x24a4b9=_0x145b,_0x4ae67b=_0x44db83[_0x24a4b9(0x1af)](_0xb2d5b9),_0x4bf2e9=_0x4ae67b['unmount'][_0x24a4b9(0x1bc)](_0x4ae67b),_0xa73e87=getDialogProps(_0x21cbc2,_0x4bf2e9),_0x304ff5=getAssetsProps(_0x21cbc2,_0xa73e87);return _0x4ae67b[_0x24a4b9(0x1a9)](_0x5d8881[_0x24a4b9(0x1aa)](_0x178bbe,{..._0x21cbc2,'assets':_0x304ff5,'dialog':_0xa73e87})),{'unmount':_0x4bf2e9};};var CKBox=Object[_0x4a3bec(0x1ba)]({'__proto__':null,'React':_0x5d8881,'mount':mount,'version':version});(function(){const _0x5c9b36=_0x4a3bec,_0x1d1ca9=globalThis;!_0x1d1ca9[_0x5c9b36(0x1b1)]&&(_0x1d1ca9['CKBox']=CKBox);}());export{mount};
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.1.0-rc.2",
25
+ "version": "2.1.1-rc.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": "^18.2.0",
33
33
  "react-dom": "^18.2.0",
34
34
  "tslib": "^2.6.2",
35
- "@ckbox/core": "2.1.0-rc.2"
35
+ "@ckbox/core": "2.1.1-rc.0"
36
36
  }
37
37
  }