ckbox 1.3.0-rc.2 → 1.3.0-rc.3

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 _0x5c2fa5=_0x2a28;(function(_0x5616cb,_0x5dc454){const _0x5e11cc=_0x2a28,_0x13f9e5=_0x5616cb();while(!![]){try{const _0x313edc=-parseInt(_0x5e11cc(0x1de))/0x1*(parseInt(_0x5e11cc(0x1cb))/0x2)+parseInt(_0x5e11cc(0x1d3))/0x3*(parseInt(_0x5e11cc(0x1d4))/0x4)+-parseInt(_0x5e11cc(0x1dd))/0x5*(-parseInt(_0x5e11cc(0x1d8))/0x6)+-parseInt(_0x5e11cc(0x1cc))/0x7*(parseInt(_0x5e11cc(0x1ce))/0x8)+-parseInt(_0x5e11cc(0x1d7))/0x9*(parseInt(_0x5e11cc(0x1d0))/0xa)+-parseInt(_0x5e11cc(0x1d5))/0xb+parseInt(_0x5e11cc(0x1c8))/0xc*(parseInt(_0x5e11cc(0x1d6))/0xd);if(_0x313edc===_0x5dc454)break;else _0x13f9e5['push'](_0x13f9e5['shift']());}catch(_0x762f){_0x13f9e5['push'](_0x13f9e5['shift']());}}}(_0x2452,0xce4b9));function _0x2452(){const _0x52b91a=['freeze','CKBox','onChoose','render','25tSwrLx','1KnYAKZ','12vkrHRx','dialog','onClose','2766424fvQHxx','2842ohTwge','assets','4904ztgpzL','call','40BKCVQU','boolean','createRoot','3bntWFS','788924wVaUfi','15082353jLcnGH','45702514wyHJWH','1313811ruITnS','863166Ilbbjj'];_0x2452=function(){return _0x52b91a;};return _0x2452();}import*as _0x126c7c from'react';export{_0x126c7c as React};import*as _0x561cf9 from'react-dom/client';import{CKBox as _0x8f316a,version}from'@ckbox/core';export{version}from'@ckbox/core';function _0x2a28(_0x866411,_0xa3c6){const _0x2452e9=_0x2452();return _0x2a28=function(_0x2a28dd,_0x2d4ff4){_0x2a28dd=_0x2a28dd-0x1c8;let _0x2319b2=_0x2452e9[_0x2a28dd];return _0x2319b2;},_0x2a28(_0x866411,_0xa3c6);}const getDialogProps=(_0x382ae4,_0x1de8b6)=>{const _0xfec86a=_0x2a28,_0x239b93=_0x382ae4[_0xfec86a(0x1c9)];if(!_0x239b93)return![];if(typeof _0x239b93===_0xfec86a(0x1d1)){const _0xda5d0=()=>{_0x1de8b6();};return{'open':!![],'onClose':_0xda5d0};}const _0x36f014=()=>{const _0x23eace=_0xfec86a;var _0x385515;(_0x385515=_0x239b93[_0x23eace(0x1ca)])===null||_0x385515===void 0x0?void 0x0:_0x385515[_0x23eace(0x1cf)](_0x239b93),_0x1de8b6();};return{..._0x239b93,'open':!![],'onClose':_0x36f014};},getAssetsProps=(_0x256e29,_0x2617af)=>{const _0x30d21e=_0x2a28;var _0x58571e;const _0x3b716f=(_0x58571e=_0x256e29[_0x30d21e(0x1cd)])===null||_0x58571e===void 0x0?void 0x0:_0x58571e[_0x30d21e(0x1db)];if(!_0x3b716f)return _0x256e29[_0x30d21e(0x1cd)];const _0x201be5=_0x2d3b61=>{const _0x217644=_0x30d21e;var _0x33c1b0;_0x3b716f(_0x2d3b61),_0x2617af&&typeof _0x2617af!==_0x217644(0x1d1)&&((_0x33c1b0=_0x2617af['onClose'])===null||_0x33c1b0===void 0x0?void 0x0:_0x33c1b0['call'](_0x2617af));};return{..._0x256e29['assets'],'onChoose':_0x201be5};},mount=(_0x11a502,_0x410930)=>{const _0x2edd49=_0x2a28,_0x44e75f=_0x561cf9[_0x2edd49(0x1d2)](_0x11a502),_0x16c646=_0x44e75f['unmount']['bind'](_0x44e75f),_0x1c6a06=getDialogProps(_0x410930,_0x16c646),_0x10ba99=getAssetsProps(_0x410930,_0x1c6a06);return _0x44e75f[_0x2edd49(0x1dc)](_0x126c7c['createElement'](_0x8f316a,{..._0x410930,'assets':_0x10ba99,'dialog':_0x1c6a06})),{'unmount':_0x16c646};};var CKBox=Object[_0x5c2fa5(0x1d9)]({'__proto__':null,'mount':mount,'React':_0x126c7c,'version':version});(function(){const _0x21d9a7=_0x5c2fa5,_0x4b258b=globalThis;!_0x4b258b[_0x21d9a7(0x1da)]&&(_0x4b258b[_0x21d9a7(0x1da)]=CKBox);}());export{mount};
4
+ const _0x4f9905=_0x23c0;(function(_0x569ad1,_0x433efe){const _0x17469c=_0x23c0,_0x3a34e0=_0x569ad1();while(!![]){try{const _0xcaa819=parseInt(_0x17469c(0xd8))/0x1+-parseInt(_0x17469c(0xcc))/0x2+parseInt(_0x17469c(0xdb))/0x3+parseInt(_0x17469c(0xd0))/0x4+parseInt(_0x17469c(0xcd))/0x5+-parseInt(_0x17469c(0xd3))/0x6*(parseInt(_0x17469c(0xcf))/0x7)+-parseInt(_0x17469c(0xce))/0x8*(parseInt(_0x17469c(0xc9))/0x9);if(_0xcaa819===_0x433efe)break;else _0x3a34e0['push'](_0x3a34e0['shift']());}catch(_0x7a2ac4){_0x3a34e0['push'](_0x3a34e0['shift']());}}}(_0x45cd,0xa1ebf));import*as _0x2557b5 from'react';export{_0x2557b5 as React};import*as _0x32eca0 from'react-dom/client';import{CKBox as _0x19ca8c,version}from'@ckbox/core';export{version}from'@ckbox/core';const getDialogProps=(_0x2a43fa,_0x549927)=>{const _0x35ea1c=_0x23c0,_0x2f8324=_0x2a43fa[_0x35ea1c(0xd4)];if(!_0x2f8324)return![];if(typeof _0x2f8324==='boolean'){const _0x244ab6=()=>{_0x549927();};return{'open':!![],'onClose':_0x244ab6};}const _0x56a259=()=>{const _0x35d4ea=_0x35ea1c;var _0x51912a;(_0x51912a=_0x2f8324[_0x35d4ea(0xcb)])===null||_0x51912a===void 0x0?void 0x0:_0x51912a['call'](_0x2f8324),_0x549927();};return{..._0x2f8324,'open':!![],'onClose':_0x56a259};},getAssetsProps=(_0x517995,_0x10f587)=>{const _0x3435ef=_0x23c0;var _0x1b62f4;const _0x2f99e3=(_0x1b62f4=_0x517995[_0x3435ef(0xd1)])===null||_0x1b62f4===void 0x0?void 0x0:_0x1b62f4['onChoose'];if(!_0x2f99e3)return _0x517995['assets'];const _0x1c4ab6=_0x4b2424=>{const _0x41fe35=_0x3435ef;var _0x4d69e7;_0x2f99e3(_0x4b2424),_0x10f587&&typeof _0x10f587!=='boolean'&&((_0x4d69e7=_0x10f587['onClose'])===null||_0x4d69e7===void 0x0?void 0x0:_0x4d69e7[_0x41fe35(0xdc)](_0x10f587));};return{..._0x517995[_0x3435ef(0xd1)],'onChoose':_0x1c4ab6};},mount=(_0x310545,_0x4a3956)=>{const _0xaa59ed=_0x23c0,_0xeca36f=_0x32eca0[_0xaa59ed(0xd6)](_0x310545),_0x3b4dc1=_0xeca36f[_0xaa59ed(0xd2)][_0xaa59ed(0xd5)](_0xeca36f),_0x3c9c2c=getDialogProps(_0x4a3956,_0x3b4dc1),_0x4be6c2=getAssetsProps(_0x4a3956,_0x3c9c2c);return _0xeca36f[_0xaa59ed(0xd7)](_0x2557b5[_0xaa59ed(0xda)](_0x19ca8c,{..._0x4a3956,'assets':_0x4be6c2,'dialog':_0x3c9c2c})),{'unmount':_0x3b4dc1};};var CKBox=Object[_0x4f9905(0xca)]({'__proto__':null,'mount':mount,'React':_0x2557b5,'version':version});function _0x45cd(){const _0x53d644=['render','920742pOKOln','CKBox','createElement','2049582SYFMOh','call','12280311qslqxV','freeze','onClose','1457666Fkzgsh','2888190yBTPbf','8OeazbR','7aulIkY','3134632LwlCWm','assets','unmount','1252134BkpfGL','dialog','bind','createRoot'];_0x45cd=function(){return _0x53d644;};return _0x45cd();}(function(){const _0xbcf6be=_0x4f9905,_0x498359=globalThis;!_0x498359['CKBox']&&(_0x498359[_0xbcf6be(0xd9)]=CKBox);}());function _0x23c0(_0x4708c9,_0x465c9c){const _0x45cdf7=_0x45cd();return _0x23c0=function(_0x23c0db,_0x3224b2){_0x23c0db=_0x23c0db-0xc9;let _0xaf427a=_0x45cdf7[_0x23c0db];return _0xaf427a;},_0x23c0(_0x4708c9,_0x465c9c);}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.3.0-rc.2",
23
+ "version": "1.3.0-rc.3",
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.3.0-rc.2",
28
+ "@ckbox/core": "1.3.0-rc.3",
29
29
  "@types/react": "^18.0.27",
30
30
  "@types/react-dom": "^18.0.10",
31
31
  "react": "^18.2.0",