ckbox 1.4.0-rc.1 → 1.4.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(_0x4681bb,_0x35a857){const _0x5b1af4=_0x36ce,_0x2a13b0=_0x4681bb();while(!![]){try{const _0x229086=-parseInt(_0x5b1af4(0x74))/0x1*(parseInt(_0x5b1af4(0x73))/0x2)+parseInt(_0x5b1af4(0x6a))/0x3+parseInt(_0x5b1af4(0x7e))/0x4+-parseInt(_0x5b1af4(0x7b))/0x5*(parseInt(_0x5b1af4(0x7f))/0x6)+-parseInt(_0x5b1af4(0x6b))/0x7*(-parseInt(_0x5b1af4(0x78))/0x8)+parseInt(_0x5b1af4(0x77))/0x9*(parseInt(_0x5b1af4(0x7a))/0xa)+parseInt(_0x5b1af4(0x6c))/0xb*(-parseInt(_0x5b1af4(0x76))/0xc);if(_0x229086===_0x35a857)break;else _0x2a13b0['push'](_0x2a13b0['shift']());}catch(_0x29d459){_0x2a13b0['push'](_0x2a13b0['shift']());}}}(_0x53ef,0x2509a));function _0x36ce(_0x33ae5a,_0x34ee8d){const _0x53efc2=_0x53ef();return _0x36ce=function(_0x36ceb5,_0x3db33c){_0x36ceb5=_0x36ceb5-0x6a;let _0x3bd064=_0x53efc2[_0x36ceb5];return _0x3bd064;},_0x36ce(_0x33ae5a,_0x34ee8d);}import*as _0x486011 from'react';export{_0x486011 as React};import*as _0x5e155e from'react-dom/client';import{CKBox as _0x368ad9,version}from'@ckbox/core';export{version}from'@ckbox/core';const getDialogProps=(_0x1e5de0,_0x1e39b0)=>{const _0x4c6e3f=_0x36ce,_0x41eee6=_0x1e5de0[_0x4c6e3f(0x75)];if(!_0x41eee6)return![];if(typeof _0x41eee6===_0x4c6e3f(0x6f)){const _0x183920=()=>{_0x1e39b0();};return{'open':!![],'onClose':_0x183920};}const _0x200261=()=>{const _0x46f0ba=_0x4c6e3f;var _0x383e9d;(_0x383e9d=_0x41eee6[_0x46f0ba(0x71)])===null||_0x383e9d===void 0x0?void 0x0:_0x383e9d[_0x46f0ba(0x6d)](_0x41eee6),_0x1e39b0();};return{..._0x41eee6,'open':!![],'onClose':_0x200261};},getAssetsProps=(_0x20490e,_0x40c1a7)=>{const _0x59d8b8=_0x36ce;var _0x3d8cdb;const _0x2d264f=(_0x3d8cdb=_0x20490e[_0x59d8b8(0x7c)])===null||_0x3d8cdb===void 0x0?void 0x0:_0x3d8cdb['onChoose'];if(!_0x2d264f)return _0x20490e[_0x59d8b8(0x7c)];const _0xa8dd9e=_0x283d51=>{const _0x243e76=_0x59d8b8;var _0x40fc6c;_0x2d264f(_0x283d51),_0x40c1a7&&typeof _0x40c1a7!=='boolean'&&((_0x40fc6c=_0x40c1a7['onClose'])===null||_0x40fc6c===void 0x0?void 0x0:_0x40fc6c[_0x243e76(0x6d)](_0x40c1a7));};return{..._0x20490e[_0x59d8b8(0x7c)],'onChoose':_0xa8dd9e};},mount=(_0x5bbbae,_0x2cc78a)=>{const _0x5590dc=_0x36ce,_0x545133=_0x5e155e[_0x5590dc(0x79)](_0x5bbbae),_0x3b852f=_0x545133[_0x5590dc(0x70)][_0x5590dc(0x72)](_0x545133),_0x57a7b8=getDialogProps(_0x2cc78a,_0x3b852f),_0x5bbf99=getAssetsProps(_0x2cc78a,_0x57a7b8);return _0x545133[_0x5590dc(0x6e)](_0x486011['createElement'](_0x368ad9,{..._0x2cc78a,'assets':_0x5bbf99,'dialog':_0x57a7b8})),{'unmount':_0x3b852f};};var CKBox=Object['freeze']({'__proto__':null,'React':_0x486011,'mount':mount,'version':version});function _0x53ef(){const _0x56e976=['render','boolean','unmount','onClose','bind','9602SrVzPB','1VxrUVl','dialog','47244qINkbD','9kfcVKw','332576VjLSod','createRoot','2303030WNgVUH','205LriVRD','assets','CKBox','78032AOWBor','22170qLOKNN','146748zueuBp','42pnTJAJ','671xTLOik','call'];_0x53ef=function(){return _0x56e976;};return _0x53ef();}(function(){const _0x2c99da=_0x36ce,_0x238439=globalThis;!_0x238439[_0x2c99da(0x7d)]&&(_0x238439[_0x2c99da(0x7d)]=CKBox);}());export{mount};
4
+ function _0x2492(_0x2383a9,_0x15e338){const _0x7ceb11=_0x7ceb();return _0x2492=function(_0x2492df,_0x26c8aa){_0x2492df=_0x2492df-0x121;let _0x43eda1=_0x7ceb11[_0x2492df];return _0x43eda1;},_0x2492(_0x2383a9,_0x15e338);}(function(_0x20e5df,_0x108869){const _0x1dc17d=_0x2492,_0x502ac6=_0x20e5df();while(!![]){try{const _0x5a050c=-parseInt(_0x1dc17d(0x127))/0x1+parseInt(_0x1dc17d(0x122))/0x2+parseInt(_0x1dc17d(0x128))/0x3+parseInt(_0x1dc17d(0x121))/0x4*(-parseInt(_0x1dc17d(0x126))/0x5)+-parseInt(_0x1dc17d(0x134))/0x6*(parseInt(_0x1dc17d(0x136))/0x7)+parseInt(_0x1dc17d(0x124))/0x8*(parseInt(_0x1dc17d(0x133))/0x9)+parseInt(_0x1dc17d(0x131))/0xa;if(_0x5a050c===_0x108869)break;else _0x502ac6['push'](_0x502ac6['shift']());}catch(_0x5cba1e){_0x502ac6['push'](_0x502ac6['shift']());}}}(_0x7ceb,0x5463e));import*as _0x134219 from'react';export{_0x134219 as React};import*as _0x3ad4cb from'react-dom/client';import{CKBox as _0x384e3c,version}from'@ckbox/core';export{version}from'@ckbox/core';const getDialogProps=(_0xfa3cb9,_0x5e7d8c)=>{const _0x24fc97=_0x2492,_0x5f2f37=_0xfa3cb9[_0x24fc97(0x12e)];if(!_0x5f2f37)return![];if(typeof _0x5f2f37==='boolean'){const _0x2c03a6=()=>{_0x5e7d8c();};return{'open':!![],'onClose':_0x2c03a6};}const _0x32515f=()=>{const _0x12e02b=_0x24fc97;var _0x167a79;(_0x167a79=_0x5f2f37[_0x12e02b(0x132)])===null||_0x167a79===void 0x0?void 0x0:_0x167a79['call'](_0x5f2f37),_0x5e7d8c();};return{..._0x5f2f37,'open':!![],'onClose':_0x32515f};},getAssetsProps=(_0x5ac0d2,_0x3dd2ce)=>{const _0x317035=_0x2492;var _0x3ab8e3;const _0xd4b5ec=(_0x3ab8e3=_0x5ac0d2[_0x317035(0x130)])===null||_0x3ab8e3===void 0x0?void 0x0:_0x3ab8e3[_0x317035(0x129)];if(!_0xd4b5ec)return _0x5ac0d2[_0x317035(0x130)];const _0x47c7ae=_0x23c222=>{const _0x491137=_0x317035;var _0x2164de;_0xd4b5ec(_0x23c222),_0x3dd2ce&&typeof _0x3dd2ce!==_0x491137(0x123)&&((_0x2164de=_0x3dd2ce[_0x491137(0x132)])===null||_0x2164de===void 0x0?void 0x0:_0x2164de[_0x491137(0x12b)](_0x3dd2ce));};return{..._0x5ac0d2[_0x317035(0x130)],'onChoose':_0x47c7ae};},mount=(_0xe70c64,_0x68f5f6)=>{const _0x1bbb45=_0x2492,_0x2c27a6=_0x3ad4cb[_0x1bbb45(0x125)](_0xe70c64),_0x5c02df=_0x2c27a6[_0x1bbb45(0x12c)][_0x1bbb45(0x12f)](_0x2c27a6),_0x405640=getDialogProps(_0x68f5f6,_0x5c02df),_0x1b9060=getAssetsProps(_0x68f5f6,_0x405640);return _0x2c27a6[_0x1bbb45(0x12a)](_0x134219[_0x1bbb45(0x135)](_0x384e3c,{..._0x68f5f6,'assets':_0x1b9060,'dialog':_0x405640})),{'unmount':_0x5c02df};};function _0x7ceb(){const _0x49db82=['12187bKcylo','180NAlLRl','1230988opaafb','boolean','256QuvkQR','createRoot','44155ZXbOeF','222452Nqqzbh','1779402NVTCFS','onChoose','render','call','unmount','CKBox','dialog','bind','assets','1064680EKCPKs','onClose','10872mzjBsC','1338TxJMCw','createElement'];_0x7ceb=function(){return _0x49db82;};return _0x7ceb();}var CKBox=Object['freeze']({'__proto__':null,'React':_0x134219,'mount':mount,'version':version});(function(){const _0x27cf43=_0x2492,_0xd39d6f=globalThis;!_0xd39d6f[_0x27cf43(0x12d)]&&(_0xd39d6f['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.4.0-rc.1",
23
+ "version": "1.4.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.4.0-rc.1",
28
+ "@ckbox/core": "1.4.0",
29
29
  "@types/react": "^18.0.28",
30
30
  "@types/react-dom": "^18.0.11",
31
31
  "react": "^18.2.0",