ckbox 1.6.0-rc.2 → 1.6.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(_0x56df19,_0x26e9b0){const _0x45a7a4=_0x23df,_0x2cb355=_0x56df19();while(!![]){try{const _0x24686a=-parseInt(_0x45a7a4(0xbd))/0x1+-parseInt(_0x45a7a4(0xc7))/0x2*(-parseInt(_0x45a7a4(0xb9))/0x3)+parseInt(_0x45a7a4(0xc8))/0x4+-parseInt(_0x45a7a4(0xba))/0x5+-parseInt(_0x45a7a4(0xc1))/0x6+-parseInt(_0x45a7a4(0xbb))/0x7*(parseInt(_0x45a7a4(0xbe))/0x8)+parseInt(_0x45a7a4(0xc3))/0x9;if(_0x24686a===_0x26e9b0)break;else _0x2cb355['push'](_0x2cb355['shift']());}catch(_0x397d0a){_0x2cb355['push'](_0x2cb355['shift']());}}}(_0x499d,0x2882b));function _0x23df(_0x40ba63,_0x497cec){const _0x499dcd=_0x499d();return _0x23df=function(_0x23dfa4,_0x5e7c0d){_0x23dfa4=_0x23dfa4-0xb8;let _0x4d51ab=_0x499dcd[_0x23dfa4];return _0x4d51ab;},_0x23df(_0x40ba63,_0x497cec);}import*as _0x728fa5 from'react';function _0x499d(){const _0x337944=['3984021kthIgI','boolean','CKBox','onClose','409402JQqaOM','1089452VVBCBn','unmount','call','dialog','render','3OEJWLO','645465ZUsSYr','14RGnZEK','assets','314386ZJCdYr','1213760CJlmyR','bind','createRoot','41298bTZKFC','createElement'];_0x499d=function(){return _0x337944;};return _0x499d();}export{_0x728fa5 as React};import*as _0xaf3e from'react-dom/client';import{CKBox as _0x6eac25,version}from'@ckbox/core';export{version}from'@ckbox/core';const getDialogProps=(_0x52c03f,_0x1abb31)=>{const _0x3bb542=_0x23df,_0x120348=_0x52c03f[_0x3bb542(0xcb)];if(!_0x120348)return![];if(typeof _0x120348===_0x3bb542(0xc4)){const _0x4983e1=()=>{_0x1abb31();};return{'open':!![],'onClose':_0x4983e1};}const _0x3ebdb7=()=>{const _0x16e0ca=_0x3bb542;var _0x332494;(_0x332494=_0x120348['onClose'])===null||_0x332494===void 0x0?void 0x0:_0x332494[_0x16e0ca(0xca)](_0x120348),_0x1abb31();};return{..._0x120348,'open':!![],'onClose':_0x3ebdb7};},getAssetsProps=(_0x383671,_0x2cdf8b)=>{const _0x3c8f68=_0x23df;var _0x568c2;const _0x380ad3=(_0x568c2=_0x383671[_0x3c8f68(0xbc)])===null||_0x568c2===void 0x0?void 0x0:_0x568c2['onChoose'];if(!_0x380ad3)return _0x383671['assets'];const _0x415e72=_0x3b4e12=>{const _0x46cb60=_0x3c8f68;var _0x369686;_0x380ad3(_0x3b4e12),_0x2cdf8b&&typeof _0x2cdf8b!==_0x46cb60(0xc4)&&((_0x369686=_0x2cdf8b[_0x46cb60(0xc6)])===null||_0x369686===void 0x0?void 0x0:_0x369686[_0x46cb60(0xca)](_0x2cdf8b));};return{..._0x383671['assets'],'onChoose':_0x415e72};},mount=(_0xa510b4,_0x5df8fc)=>{const _0x36f464=_0x23df,_0xd2f089=_0xaf3e[_0x36f464(0xc0)](_0xa510b4),_0x40b2d5=_0xd2f089[_0x36f464(0xc9)][_0x36f464(0xbf)](_0xd2f089),_0x57bcdf=getDialogProps(_0x5df8fc,_0x40b2d5),_0x4c4deb=getAssetsProps(_0x5df8fc,_0x57bcdf);return _0xd2f089[_0x36f464(0xb8)](_0x728fa5[_0x36f464(0xc2)](_0x6eac25,{..._0x5df8fc,'assets':_0x4c4deb,'dialog':_0x57bcdf})),{'unmount':_0x40b2d5};};var CKBox=Object['freeze']({'__proto__':null,'React':_0x728fa5,'mount':mount,'version':version});(function(){const _0x3b129f=_0x23df,_0x5a4414=globalThis;!_0x5a4414[_0x3b129f(0xc5)]&&(_0x5a4414['CKBox']=CKBox);}());export{mount};
4
+ const _0x46192a=_0x3fac;(function(_0x5d3e2d,_0x4ffc76){const _0x4a7bab=_0x3fac,_0x7ad5b1=_0x5d3e2d();while(!![]){try{const _0x58dda5=parseInt(_0x4a7bab(0xd6))/0x1+parseInt(_0x4a7bab(0xd4))/0x2+-parseInt(_0x4a7bab(0xd7))/0x3+parseInt(_0x4a7bab(0xcd))/0x4*(-parseInt(_0x4a7bab(0xd1))/0x5)+parseInt(_0x4a7bab(0xd0))/0x6*(parseInt(_0x4a7bab(0xcb))/0x7)+parseInt(_0x4a7bab(0xd9))/0x8+-parseInt(_0x4a7bab(0xdd))/0x9;if(_0x58dda5===_0x4ffc76)break;else _0x7ad5b1['push'](_0x7ad5b1['shift']());}catch(_0x3df934){_0x7ad5b1['push'](_0x7ad5b1['shift']());}}}(_0x3ec3,0x21b0d));import*as _0x3f1a08 from'react';function _0x3fac(_0x344433,_0x2e7434){const _0x3ec3b3=_0x3ec3();return _0x3fac=function(_0x3fac62,_0x5df1e2){_0x3fac62=_0x3fac62-0xc8;let _0x15b30f=_0x3ec3b3[_0x3fac62];return _0x15b30f;},_0x3fac(_0x344433,_0x2e7434);}export{_0x3f1a08 as React};import*as _0x5ccb12 from'react-dom/client';import{CKBox as _0x3298ba,version}from'@ckbox/core';export{version}from'@ckbox/core';const getDialogProps=(_0x454591,_0x1ca812)=>{const _0x4967f2=_0x3fac,_0x41efae=_0x454591[_0x4967f2(0xdb)];if(!_0x41efae)return![];if(typeof _0x41efae==='boolean'){const _0x63e8f8=()=>{_0x1ca812();};return{'open':!![],'onClose':_0x63e8f8};}const _0x98b29e=()=>{const _0x4cb4cc=_0x4967f2;var _0x11fede;(_0x11fede=_0x41efae['onClose'])===null||_0x11fede===void 0x0?void 0x0:_0x11fede[_0x4cb4cc(0xda)](_0x41efae),_0x1ca812();};return{..._0x41efae,'open':!![],'onClose':_0x98b29e};},getAssetsProps=(_0x185ddf,_0x32eae7)=>{const _0x271aac=_0x3fac;var _0x286cca;const _0x13c8d5=(_0x286cca=_0x185ddf[_0x271aac(0xcc)])===null||_0x286cca===void 0x0?void 0x0:_0x286cca[_0x271aac(0xd2)];if(!_0x13c8d5)return _0x185ddf[_0x271aac(0xcc)];const _0x59d416=_0x45234e=>{const _0x4de9cf=_0x271aac;var _0x4d5ce5;_0x13c8d5(_0x45234e),_0x32eae7&&typeof _0x32eae7!==_0x4de9cf(0xd8)&&((_0x4d5ce5=_0x32eae7[_0x4de9cf(0xca)])===null||_0x4d5ce5===void 0x0?void 0x0:_0x4d5ce5[_0x4de9cf(0xda)](_0x32eae7));};return{..._0x185ddf[_0x271aac(0xcc)],'onChoose':_0x59d416};},mount=(_0x589538,_0x42ac51)=>{const _0x174ef3=_0x3fac,_0x569285=_0x5ccb12[_0x174ef3(0xc8)](_0x589538),_0x2eb6b7=_0x569285[_0x174ef3(0xc9)][_0x174ef3(0xcf)](_0x569285),_0x2146a4=getDialogProps(_0x42ac51,_0x2eb6b7),_0x1d1f27=getAssetsProps(_0x42ac51,_0x2146a4);return _0x569285[_0x174ef3(0xd3)](_0x3f1a08[_0x174ef3(0xce)](_0x3298ba,{..._0x42ac51,'assets':_0x1d1f27,'dialog':_0x2146a4})),{'unmount':_0x2eb6b7};};var CKBox=Object[_0x46192a(0xdc)]({'__proto__':null,'React':_0x3f1a08,'mount':mount,'version':version});(function(){const _0x4e8482=_0x46192a,_0x3436e7=globalThis;!_0x3436e7[_0x4e8482(0xd5)]&&(_0x3436e7['CKBox']=CKBox);}());function _0x3ec3(){const _0x2c6256=['18186pgvLzx','assets','398676fUOAGP','createElement','bind','636SqFoIz','5kujxec','onChoose','render','532664VjXmVe','CKBox','219318VtuByT','563949GLZyAt','boolean','988168pMJDVt','call','dialog','freeze','4130190mmDNHE','createRoot','unmount','onClose'];_0x3ec3=function(){return _0x2c6256;};return _0x3ec3();}export{mount};
package/package.json CHANGED
@@ -20,7 +20,7 @@
20
20
  ],
21
21
  "license": "SEE LICENSE IN LICENSE.md",
22
22
  "name": "ckbox",
23
- "version": "1.6.0-rc.2",
23
+ "version": "1.6.0",
24
24
  "description": "Main CKBox package",
25
25
  "main": "dist/index.js",
26
26
  "types": "dist/index.d.ts",
@@ -30,6 +30,6 @@
30
30
  "react": "^18.2.0",
31
31
  "react-dom": "^18.2.0",
32
32
  "tslib": "^2.5.3",
33
- "@ckbox/core": "1.6.0-rc.2"
33
+ "@ckbox/core": "1.6.0"
34
34
  }
35
35
  }