ckbox 0.0.5 → 0.0.6

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 _0x45e3e9=_0xa64f;function _0xa64f(_0x6d73af,_0x4fbcd3){const _0xc67a20=_0xc67a();return _0xa64f=function(_0xa64f73,_0x1931e4){_0xa64f73=_0xa64f73-0x1e5;let _0x682e47=_0xc67a20[_0xa64f73];return _0x682e47;},_0xa64f(_0x6d73af,_0x4fbcd3);}(function(_0x420579,_0x30200c){const _0x33e7cc=_0xa64f,_0x1dfd8a=_0x420579();while(!![]){try{const _0x359c68=-parseInt(_0x33e7cc(0x1ee))/0x1+-parseInt(_0x33e7cc(0x1f6))/0x2+parseInt(_0x33e7cc(0x1f3))/0x3+-parseInt(_0x33e7cc(0x1f1))/0x4*(parseInt(_0x33e7cc(0x1e7))/0x5)+-parseInt(_0x33e7cc(0x1f5))/0x6*(parseInt(_0x33e7cc(0x1ed))/0x7)+parseInt(_0x33e7cc(0x1e8))/0x8+parseInt(_0x33e7cc(0x1e9))/0x9;if(_0x359c68===_0x30200c)break;else _0x1dfd8a['push'](_0x1dfd8a['shift']());}catch(_0x4ea114){_0x1dfd8a['push'](_0x1dfd8a['shift']());}}}(_0xc67a,0x2a5c3));import*as _0x105ddd from'react';function _0xc67a(){const _0x33a504=['dialog','render','10IuxHrn','1332304fZIDzn','2734875JcxUnI','onChoose','call','onClose','21pHmVjq','14446rwuSli','bind','assets','64184UBQeeR','createElement','154407PFhhDF','CKBox','11274iOhFEX','592400uljrHf','freeze','assign','createRoot'];_0xc67a=function(){return _0x33a504;};return _0xc67a();}export{_0x105ddd as React};import*as _0x201a24 from'react-dom/client';import{CKBox as _0x169056}from'@ckbox/core';const getDialogProps=(_0xdc3b2d,_0x52915f)=>{const _0x4f8f4d=_0xa64f,_0x6088dd=_0xdc3b2d[_0x4f8f4d(0x1e5)];if(!_0x6088dd)return![];if(typeof _0x6088dd==='boolean'){const _0x8f0eac=()=>{_0x52915f();};return{'open':!![],'onClose':_0x8f0eac};}const _0x2dcec6=()=>{const _0x57f202=_0x4f8f4d;var _0x19f5e5;(_0x19f5e5=_0x6088dd['onClose'])===null||_0x19f5e5===void 0x0?void 0x0:_0x19f5e5[_0x57f202(0x1eb)](_0x6088dd),_0x52915f();};return Object[_0x4f8f4d(0x1f8)](Object['assign']({},_0x6088dd),{'open':!![],'onClose':_0x2dcec6});},getAssetsProps=(_0x45dc2c,_0x11d994)=>{const _0x35ffbf=_0xa64f;var _0x552d9b;const _0x34acd0=(_0x552d9b=_0x45dc2c[_0x35ffbf(0x1f0)])===null||_0x552d9b===void 0x0?void 0x0:_0x552d9b[_0x35ffbf(0x1ea)];if(!_0x34acd0)return _0x45dc2c[_0x35ffbf(0x1f0)];const _0x195b09=_0x176366=>{const _0x1c4924=_0x35ffbf;var _0x16fee3;_0x34acd0(_0x176366),_0x11d994&&typeof _0x11d994!=='boolean'&&((_0x16fee3=_0x11d994[_0x1c4924(0x1ec)])===null||_0x16fee3===void 0x0?void 0x0:_0x16fee3[_0x1c4924(0x1eb)](_0x11d994));};return Object[_0x35ffbf(0x1f8)](Object[_0x35ffbf(0x1f8)]({},_0x45dc2c['assets']),{'onChoose':_0x195b09});},mount=(_0x56a2de,_0xb92846)=>{const _0x533710=_0xa64f,_0x2a6974=_0x201a24[_0x533710(0x1f9)](_0x56a2de),_0x44a6a9=_0x2a6974['unmount'][_0x533710(0x1ef)](_0x2a6974),_0x51a518=getDialogProps(_0xb92846,_0x44a6a9),_0x21df73=getAssetsProps(_0xb92846,_0x51a518);return _0x2a6974[_0x533710(0x1e6)](_0x105ddd[_0x533710(0x1f2)](_0x169056,Object[_0x533710(0x1f8)]({},_0xb92846,{'assets':_0x21df73,'dialog':_0x51a518}))),{'unmount':_0x44a6a9};};var CKBox=Object[_0x45e3e9(0x1f7)]({'__proto__':null,'mount':mount,'React':_0x105ddd});(function(){const _0x21bfaf=_0x45e3e9,_0x282556=typeof globalThis!=='undefined'?globalThis:global||self;!_0x282556[_0x21bfaf(0x1f4)]&&(_0x282556['CKBox']=CKBox);}());export{mount};
4
+ const _0x3b49c6=_0x4907;(function(_0x11d31c,_0x3973d1){const _0x5015ad=_0x4907,_0xf30a7a=_0x11d31c();while(!![]){try{const _0x2e1dfc=parseInt(_0x5015ad(0x140))/0x1*(-parseInt(_0x5015ad(0x13b))/0x2)+parseInt(_0x5015ad(0x13e))/0x3*(-parseInt(_0x5015ad(0x12a))/0x4)+parseInt(_0x5015ad(0x13f))/0x5+parseInt(_0x5015ad(0x128))/0x6+-parseInt(_0x5015ad(0x132))/0x7*(-parseInt(_0x5015ad(0x13c))/0x8)+parseInt(_0x5015ad(0x130))/0x9*(parseInt(_0x5015ad(0x131))/0xa)+parseInt(_0x5015ad(0x13a))/0xb;if(_0x2e1dfc===_0x3973d1)break;else _0xf30a7a['push'](_0xf30a7a['shift']());}catch(_0x5de35a){_0xf30a7a['push'](_0xf30a7a['shift']());}}}(_0x4368,0xecfef));import*as _0x270bc5 from'react';export{_0x270bc5 as React};import*as _0x3d724f from'react-dom/client';import{CKBox as _0x82d48}from'@ckbox/core';function _0x4368(){const _0x1a290f=['392uZPhmK','call','unmount','assign','render','createRoot','bind','assets','7578472bCzwiK','4yBxyqw','122680KScrjR','CKBox','27GcsIPp','755690UssrjJ','796846WEvmvh','8392290pfVOim','onClose','790392UMUBgs','createElement','boolean','dialog','onChoose','freeze','1638lUhXYM','68420rYhTRr'];_0x4368=function(){return _0x1a290f;};return _0x4368();}function _0x4907(_0x56dcfc,_0x26b21f){const _0x43681a=_0x4368();return _0x4907=function(_0x490740,_0x919cb8){_0x490740=_0x490740-0x128;let _0x1b3140=_0x43681a[_0x490740];return _0x1b3140;},_0x4907(_0x56dcfc,_0x26b21f);}const getDialogProps=(_0x2fa8db,_0x597f59)=>{const _0x2ba9cf=_0x4907,_0x2d41d6=_0x2fa8db[_0x2ba9cf(0x12d)];if(!_0x2d41d6)return![];if(typeof _0x2d41d6==='boolean'){const _0x5c1c8f=()=>{_0x597f59();};return{'open':!![],'onClose':_0x5c1c8f};}const _0xc4babe=()=>{const _0x5942c5=_0x2ba9cf;var _0x3b6c51;(_0x3b6c51=_0x2d41d6[_0x5942c5(0x129)])===null||_0x3b6c51===void 0x0?void 0x0:_0x3b6c51[_0x5942c5(0x133)](_0x2d41d6),_0x597f59();};return Object['assign'](Object[_0x2ba9cf(0x135)]({},_0x2d41d6),{'open':!![],'onClose':_0xc4babe});},getAssetsProps=(_0x26c051,_0x40d5c1)=>{const _0x1a59eb=_0x4907;var _0x4c0bb8;const _0x43851c=(_0x4c0bb8=_0x26c051[_0x1a59eb(0x139)])===null||_0x4c0bb8===void 0x0?void 0x0:_0x4c0bb8[_0x1a59eb(0x12e)];if(!_0x43851c)return _0x26c051[_0x1a59eb(0x139)];const _0x12cff2=_0x530ff3=>{const _0x44728e=_0x1a59eb;var _0x58713f;_0x43851c(_0x530ff3),_0x40d5c1&&typeof _0x40d5c1!==_0x44728e(0x12c)&&((_0x58713f=_0x40d5c1[_0x44728e(0x129)])===null||_0x58713f===void 0x0?void 0x0:_0x58713f[_0x44728e(0x133)](_0x40d5c1));};return Object[_0x1a59eb(0x135)](Object['assign']({},_0x26c051[_0x1a59eb(0x139)]),{'onChoose':_0x12cff2});},mount=(_0x222d06,_0x3c013d)=>{const _0x12a2f0=_0x4907,_0x36c940=_0x3d724f[_0x12a2f0(0x137)](_0x222d06),_0xe04e57=_0x36c940[_0x12a2f0(0x134)][_0x12a2f0(0x138)](_0x36c940),_0x590474=getDialogProps(_0x3c013d,_0xe04e57),_0x7409bb=getAssetsProps(_0x3c013d,_0x590474);return _0x36c940[_0x12a2f0(0x136)](_0x270bc5[_0x12a2f0(0x12b)](_0x82d48,Object['assign']({},_0x3c013d,{'assets':_0x7409bb,'dialog':_0x590474}))),{'unmount':_0xe04e57};};var CKBox=Object[_0x3b49c6(0x12f)]({'__proto__':null,'mount':mount,'React':_0x270bc5});(function(){const _0x4499e4=_0x3b49c6,_0x128fc6=typeof globalThis!=='undefined'?globalThis:global||self;!_0x128fc6[_0x4499e4(0x13d)]&&(_0x128fc6['CKBox']=CKBox);}());export{mount};
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "ckbox",
3
- "version": "0.0.5",
3
+ "version": "0.0.6",
4
4
  "description": "Main CKBox package",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "license": "SEE LICENSE IN LICENSE.md",
8
8
  "dependencies": {
9
- "@ckbox/core": "0.0.5",
9
+ "@ckbox/core": "0.0.6",
10
10
  "react": "^18.1.0",
11
11
  "react-dom": "^18.1.0",
12
12
  "tslib": "^2.4.0"