ckbox 1.1.1-dev.0 → 1.1.1

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
- const _0x52ff39=_0x52f2;(function(_0xaa0687,_0x3ae5fd){const _0x383fbe=_0x52f2,_0x5dd4a6=_0xaa0687();while(!![]){try{const _0x23f713=parseInt(_0x383fbe(0x15d))/0x1*(parseInt(_0x383fbe(0x165))/0x2)+-parseInt(_0x383fbe(0x164))/0x3*(-parseInt(_0x383fbe(0x166))/0x4)+-parseInt(_0x383fbe(0x15b))/0x5+-parseInt(_0x383fbe(0x160))/0x6*(-parseInt(_0x383fbe(0x16b))/0x7)+-parseInt(_0x383fbe(0x16a))/0x8*(parseInt(_0x383fbe(0x163))/0x9)+parseInt(_0x383fbe(0x162))/0xa*(-parseInt(_0x383fbe(0x159))/0xb)+-parseInt(_0x383fbe(0x168))/0xc*(parseInt(_0x383fbe(0x167))/0xd);if(_0x23f713===_0x3ae5fd)break;else _0x5dd4a6['push'](_0x5dd4a6['shift']());}catch(_0x25750d){_0x5dd4a6['push'](_0x5dd4a6['shift']());}}}(_0x3276,0x3c5a8));import*as _0x2dee2d from'react';export{_0x2dee2d as React};import*as _0x5f1231 from'react-dom/client';import{CKBox as _0x388f93,version}from'@ckbox/core';export{version}from'@ckbox/core';function _0x3276(){const _0x46a1ca=['assets','freeze','onClose','1953039CIhytc','call','1770165tPYiXV','CKBox','3563kRRlHZ','boolean','bind','1754862bFInEv','createRoot','20HPgHjk','14121wWOUrj','21882yiWzrD','154cdQmBf','228UPKqnP','351CvfcSA','4692ikfIOj','dialog','80AKbPgo','7gIrnas','createElement'];_0x3276=function(){return _0x46a1ca;};return _0x3276();}function _0x52f2(_0x37a71c,_0x5cf426){const _0x327647=_0x3276();return _0x52f2=function(_0x52f2d3,_0x462ec8){_0x52f2d3=_0x52f2d3-0x157;let _0x5256d1=_0x327647[_0x52f2d3];return _0x5256d1;},_0x52f2(_0x37a71c,_0x5cf426);}const getDialogProps=(_0x211c6b,_0x68df78)=>{const _0x7b73a0=_0x52f2,_0x56bd13=_0x211c6b[_0x7b73a0(0x169)];if(!_0x56bd13)return![];if(typeof _0x56bd13==='boolean'){const _0x43f87=()=>{_0x68df78();};return{'open':!![],'onClose':_0x43f87};}const _0x5e4e6e=()=>{const _0x4aa2d5=_0x7b73a0;var _0x101467;(_0x101467=_0x56bd13[_0x4aa2d5(0x158)])===null||_0x101467===void 0x0?void 0x0:_0x101467[_0x4aa2d5(0x15a)](_0x56bd13),_0x68df78();};return{..._0x56bd13,'open':!![],'onClose':_0x5e4e6e};},getAssetsProps=(_0x189666,_0x3d18c4)=>{const _0x27d361=_0x52f2;var _0x41dfa7;const _0x33aec7=(_0x41dfa7=_0x189666[_0x27d361(0x16d)])===null||_0x41dfa7===void 0x0?void 0x0:_0x41dfa7['onChoose'];if(!_0x33aec7)return _0x189666[_0x27d361(0x16d)];const _0x39d7f6=_0x4cbe31=>{const _0x233aa0=_0x27d361;var _0x5b4602;_0x33aec7(_0x4cbe31),_0x3d18c4&&typeof _0x3d18c4!==_0x233aa0(0x15e)&&((_0x5b4602=_0x3d18c4[_0x233aa0(0x158)])===null||_0x5b4602===void 0x0?void 0x0:_0x5b4602['call'](_0x3d18c4));};return{..._0x189666[_0x27d361(0x16d)],'onChoose':_0x39d7f6};},mount=(_0x31c0c8,_0x42732f)=>{const _0xbaba97=_0x52f2,_0x251ac7=_0x5f1231[_0xbaba97(0x161)](_0x31c0c8),_0x2c4537=_0x251ac7['unmount'][_0xbaba97(0x15f)](_0x251ac7),_0x384549=getDialogProps(_0x42732f,_0x2c4537),_0x5e1242=getAssetsProps(_0x42732f,_0x384549);return _0x251ac7['render'](_0x2dee2d[_0xbaba97(0x16c)](_0x388f93,{..._0x42732f,'assets':_0x5e1242,'dialog':_0x384549})),{'unmount':_0x2c4537};};var CKBox=Object[_0x52ff39(0x157)]({'__proto__':null,'mount':mount,'React':_0x2dee2d,'version':version});(function(){const _0x3821e2=_0x52ff39,_0x38c0f7=globalThis;!_0x38c0f7[_0x3821e2(0x15c)]&&(_0x38c0f7[_0x3821e2(0x15c)]=CKBox);}());export{mount};
4
+ const _0x21aeed=_0x38ec;(function(_0x45098e,_0x5d312a){const _0x3bcdba=_0x38ec,_0x549676=_0x45098e();while(!![]){try{const _0x3979dc=-parseInt(_0x3bcdba(0x12f))/0x1*(-parseInt(_0x3bcdba(0x12c))/0x2)+parseInt(_0x3bcdba(0x131))/0x3*(parseInt(_0x3bcdba(0x127))/0x4)+parseInt(_0x3bcdba(0x129))/0x5+parseInt(_0x3bcdba(0x123))/0x6+-parseInt(_0x3bcdba(0x130))/0x7+-parseInt(_0x3bcdba(0x120))/0x8+-parseInt(_0x3bcdba(0x12d))/0x9*(parseInt(_0x3bcdba(0x125))/0xa);if(_0x3979dc===_0x5d312a)break;else _0x549676['push'](_0x549676['shift']());}catch(_0x21faef){_0x549676['push'](_0x549676['shift']());}}}(_0x2705,0xb6b14));import*as _0x45e0a0 from'react';export{_0x45e0a0 as React};import*as _0x51e3ff from'react-dom/client';function _0x38ec(_0x415fa3,_0x38431e){const _0x270524=_0x2705();return _0x38ec=function(_0x38ec10,_0x35e1b6){_0x38ec10=_0x38ec10-0x11f;let _0x3f5328=_0x270524[_0x38ec10];return _0x3f5328;},_0x38ec(_0x415fa3,_0x38431e);}function _0x2705(){const _0x347738=['CKBox','1599174vQBFQN','459goBruw','freeze','1laGjQx','8193122rfECvB','15MVwlsK','bind','dialog','6189960VhXALh','createElement','render','6591162ZHfcPG','unmount','333220eGvATB','call','1084112UhLeLI','boolean','5693335ehvkKO','onChoose'];_0x2705=function(){return _0x347738;};return _0x2705();}import{CKBox as _0x4b05b6,version}from'@ckbox/core';export{version}from'@ckbox/core';const getDialogProps=(_0x214df9,_0x1caf12)=>{const _0x1aaea4=_0x38ec,_0x32a12b=_0x214df9[_0x1aaea4(0x11f)];if(!_0x32a12b)return![];if(typeof _0x32a12b===_0x1aaea4(0x128)){const _0x5ee9c0=()=>{_0x1caf12();};return{'open':!![],'onClose':_0x5ee9c0};}const _0x16820d=()=>{var _0x4d5a0e;(_0x4d5a0e=_0x32a12b['onClose'])===null||_0x4d5a0e===void 0x0?void 0x0:_0x4d5a0e['call'](_0x32a12b),_0x1caf12();};return{..._0x32a12b,'open':!![],'onClose':_0x16820d};},getAssetsProps=(_0x5d11b5,_0x56ba40)=>{const _0x490779=_0x38ec;var _0x1d3afd;const _0xa46aef=(_0x1d3afd=_0x5d11b5['assets'])===null||_0x1d3afd===void 0x0?void 0x0:_0x1d3afd[_0x490779(0x12a)];if(!_0xa46aef)return _0x5d11b5['assets'];const _0xc01dc1=_0xfcf338=>{const _0x316e19=_0x490779;var _0x3cf5b7;_0xa46aef(_0xfcf338),_0x56ba40&&typeof _0x56ba40!=='boolean'&&((_0x3cf5b7=_0x56ba40['onClose'])===null||_0x3cf5b7===void 0x0?void 0x0:_0x3cf5b7[_0x316e19(0x126)](_0x56ba40));};return{..._0x5d11b5['assets'],'onChoose':_0xc01dc1};},mount=(_0x814a9d,_0xd692bc)=>{const _0x304194=_0x38ec,_0x499b1f=_0x51e3ff['createRoot'](_0x814a9d),_0x2bbb76=_0x499b1f[_0x304194(0x124)][_0x304194(0x132)](_0x499b1f),_0x2b1926=getDialogProps(_0xd692bc,_0x2bbb76),_0x4b7a69=getAssetsProps(_0xd692bc,_0x2b1926);return _0x499b1f[_0x304194(0x122)](_0x45e0a0[_0x304194(0x121)](_0x4b05b6,{..._0xd692bc,'assets':_0x4b7a69,'dialog':_0x2b1926})),{'unmount':_0x2bbb76};};var CKBox=Object[_0x21aeed(0x12e)]({'__proto__':null,'mount':mount,'React':_0x45e0a0,'version':version});(function(){const _0xdca420=_0x21aeed,_0x3b1f66=globalThis;!_0x3b1f66[_0xdca420(0x12b)]&&(_0x3b1f66[_0xdca420(0x12b)]=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.1.1-dev.0",
23
+ "version": "1.1.1",
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.1.1-dev.0",
28
+ "@ckbox/core": "1.1.1",
29
29
  "@types/react": "^18.0.15",
30
30
  "@types/react-dom": "^18.0.6",
31
31
  "react": "^18.2.0",