ckbox 2.1.0 → 2.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-2023, CKSource Holding sp. z o.o. All rights reserved.
3
3
  */
4
- const _0x140e38=_0x80d4;(function(_0x5b15d8,_0x191fcb){const _0xde3597=_0x80d4,_0x28f96c=_0x5b15d8();while(!![]){try{const _0x16c8e1=-parseInt(_0xde3597(0xdf))/0x1+parseInt(_0xde3597(0xd5))/0x2*(parseInt(_0xde3597(0xd0))/0x3)+-parseInt(_0xde3597(0xde))/0x4*(-parseInt(_0xde3597(0xd8))/0x5)+-parseInt(_0xde3597(0xda))/0x6*(-parseInt(_0xde3597(0xce))/0x7)+parseInt(_0xde3597(0xcd))/0x8+-parseInt(_0xde3597(0xcf))/0x9+parseInt(_0xde3597(0xdc))/0xa;if(_0x16c8e1===_0x191fcb)break;else _0x28f96c['push'](_0x28f96c['shift']());}catch(_0x5221e2){_0x28f96c['push'](_0x28f96c['shift']());}}}(_0x4672,0xa5a26));import*as _0x44f2fd from'react';export{_0x44f2fd as React};function _0x80d4(_0x2ee7e7,_0x2d6e56){const _0x46724d=_0x4672();return _0x80d4=function(_0x80d4bc,_0x1babc3){_0x80d4bc=_0x80d4bc-0xcd;let _0x381bb6=_0x46724d[_0x80d4bc];return _0x381bb6;},_0x80d4(_0x2ee7e7,_0x2d6e56);}import*as _0x282b84 from'react-dom/client';import{CKBox as _0x5dd6de,version}from'@ckbox/core';export{version}from'@ckbox/core';const getDialogProps=(_0x115372,_0x9c11d5)=>{const _0xf2793f=_0x80d4,_0x3a02a5=_0x115372[_0xf2793f(0xd2)];if(!_0x3a02a5)return![];if(typeof _0x3a02a5===_0xf2793f(0xd9)){const _0x21eae6=()=>{_0x9c11d5();};return{'open':!![],'onClose':_0x21eae6};}const _0xfbe6bd=()=>{const _0x117188=_0xf2793f;var _0x11d8d4;(_0x11d8d4=_0x3a02a5[_0x117188(0xd7)])===null||_0x11d8d4===void 0x0?void 0x0:_0x11d8d4[_0x117188(0xdd)](_0x3a02a5),_0x9c11d5();};return{..._0x3a02a5,'open':!![],'onClose':_0xfbe6bd};},getAssetsProps=(_0x505c87,_0x2f0dc3)=>{const _0x47a1fc=_0x80d4;var _0x2f0710;const _0x54c578=(_0x2f0710=_0x505c87[_0x47a1fc(0xdb)])===null||_0x2f0710===void 0x0?void 0x0:_0x2f0710['onChoose'];if(!_0x54c578)return _0x505c87[_0x47a1fc(0xdb)];const _0x2ec0d5=_0x383be5=>{const _0x5f193b=_0x47a1fc;var _0x352ea9;_0x54c578(_0x383be5),_0x2f0dc3&&typeof _0x2f0dc3!=='boolean'&&((_0x352ea9=_0x2f0dc3[_0x5f193b(0xd7)])===null||_0x352ea9===void 0x0?void 0x0:_0x352ea9[_0x5f193b(0xdd)](_0x2f0dc3));};return{..._0x505c87[_0x47a1fc(0xdb)],'onChoose':_0x2ec0d5};},mount=(_0x3dfaa3,_0x597604)=>{const _0x41b560=_0x80d4,_0x25b90c=_0x282b84[_0x41b560(0xd3)](_0x3dfaa3),_0x8c266e=_0x25b90c['unmount']['bind'](_0x25b90c),_0x534d85=getDialogProps(_0x597604,_0x8c266e),_0x566669=getAssetsProps(_0x597604,_0x534d85);return _0x25b90c[_0x41b560(0xd4)](_0x44f2fd['createElement'](_0x5dd6de,{..._0x597604,'assets':_0x566669,'dialog':_0x534d85})),{'unmount':_0x8c266e};};function _0x4672(){const _0x31d27a=['3658370IwBwcK','call','216drKZWf','1036583SiRgNb','2253448uRoCKX','7RvVVRy','10459044gohMLK','7713HydIQA','CKBox','dialog','createRoot','render','8qzFlkn','freeze','onClose','97970gxhcwz','boolean','6967554eshPIl','assets'];_0x4672=function(){return _0x31d27a;};return _0x4672();}var CKBox=Object[_0x140e38(0xd6)]({'__proto__':null,'React':_0x44f2fd,'mount':mount,'version':version});(function(){const _0x286c7a=_0x140e38,_0xb9d385=globalThis;!_0xb9d385[_0x286c7a(0xd1)]&&(_0xb9d385[_0x286c7a(0xd1)]=CKBox);}());export{mount};
4
+ const _0x5dc0dc=_0xb2a0;function _0x3828(){const _0xdf0a5e=['2445085tiUTwM','72dQuYUK','onChoose','createRoot','createElement','onClose','88656QOShyW','1ycSLwA','4731885hOMDzy','935328hEPToO','unmount','freeze','boolean','assets','15055240ClDCQS','CKBox','dialog','call','97349Midthd','3298598poXJQg','bind','368uGfGUB'];_0x3828=function(){return _0xdf0a5e;};return _0x3828();}(function(_0x2e1f6a,_0x405da8){const _0x3379e7=_0xb2a0,_0x3df919=_0x2e1f6a();while(!![]){try{const _0x2ffea5=-parseInt(_0x3379e7(0x1ce))/0x1*(parseInt(_0x3379e7(0x1da))/0x2)+parseInt(_0x3379e7(0x1de))/0x3*(parseInt(_0x3379e7(0x1cd))/0x4)+parseInt(_0x3379e7(0x1dd))/0x5+parseInt(_0x3379e7(0x1d0))/0x6+-parseInt(_0x3379e7(0x1d9))/0x7*(parseInt(_0x3379e7(0x1dc))/0x8)+parseInt(_0x3379e7(0x1cf))/0x9+parseInt(_0x3379e7(0x1d5))/0xa;if(_0x2ffea5===_0x405da8)break;else _0x3df919['push'](_0x3df919['shift']());}catch(_0x2dcbd3){_0x3df919['push'](_0x3df919['shift']());}}}(_0x3828,0xe0645));import*as _0x167e30 from'react';export{_0x167e30 as React};import*as _0x3714dd from'react-dom/client';import{CKBox as _0x17b353,version}from'@ckbox/core';export{version}from'@ckbox/core';const getDialogProps=(_0x4647b9,_0x1cab7f)=>{const _0x2d61d3=_0xb2a0,_0x38ad31=_0x4647b9[_0x2d61d3(0x1d7)];if(!_0x38ad31)return![];if(typeof _0x38ad31===_0x2d61d3(0x1d3)){const _0x5227f7=()=>{_0x1cab7f();};return{'open':!![],'onClose':_0x5227f7};}const _0x4394f7=()=>{const _0x54000a=_0x2d61d3;var _0x42ac36;(_0x42ac36=_0x38ad31['onClose'])===null||_0x42ac36===void 0x0?void 0x0:_0x42ac36[_0x54000a(0x1d8)](_0x38ad31),_0x1cab7f();};return{..._0x38ad31,'open':!![],'onClose':_0x4394f7};},getAssetsProps=(_0x3c12e6,_0x6f3519)=>{const _0x5e01af=_0xb2a0;var _0x5bda5e;const _0x3b4274=(_0x5bda5e=_0x3c12e6[_0x5e01af(0x1d4)])===null||_0x5bda5e===void 0x0?void 0x0:_0x5bda5e[_0x5e01af(0x1df)];if(!_0x3b4274)return _0x3c12e6[_0x5e01af(0x1d4)];const _0x3e67e8=_0x2642e5=>{const _0x1fbb57=_0x5e01af;var _0x3c6a60;_0x3b4274(_0x2642e5),_0x6f3519&&typeof _0x6f3519!=='boolean'&&((_0x3c6a60=_0x6f3519[_0x1fbb57(0x1cc)])===null||_0x3c6a60===void 0x0?void 0x0:_0x3c6a60['call'](_0x6f3519));};return{..._0x3c12e6[_0x5e01af(0x1d4)],'onChoose':_0x3e67e8};},mount=(_0x12825f,_0xa00226)=>{const _0xab5fbe=_0xb2a0,_0x32b445=_0x3714dd[_0xab5fbe(0x1e0)](_0x12825f),_0xf9b7b2=_0x32b445[_0xab5fbe(0x1d1)][_0xab5fbe(0x1db)](_0x32b445),_0x231500=getDialogProps(_0xa00226,_0xf9b7b2),_0x2c1d6f=getAssetsProps(_0xa00226,_0x231500);return _0x32b445['render'](_0x167e30[_0xab5fbe(0x1cb)](_0x17b353,{..._0xa00226,'assets':_0x2c1d6f,'dialog':_0x231500})),{'unmount':_0xf9b7b2};};function _0xb2a0(_0x399842,_0x23baab){const _0x3828e0=_0x3828();return _0xb2a0=function(_0xb2a0c7,_0x1a87be){_0xb2a0c7=_0xb2a0c7-0x1cb;let _0x22c732=_0x3828e0[_0xb2a0c7];return _0x22c732;},_0xb2a0(_0x399842,_0x23baab);}var CKBox=Object[_0x5dc0dc(0x1d2)]({'__proto__':null,'React':_0x167e30,'mount':mount,'version':version});(function(){const _0x2e3373=_0x5dc0dc,_0x494695=globalThis;!_0x494695[_0x2e3373(0x1d6)]&&(_0x494695[_0x2e3373(0x1d6)]=CKBox);}());export{mount};
package/package.json CHANGED
@@ -22,7 +22,7 @@
22
22
  ],
23
23
  "license": "SEE LICENSE IN LICENSE.md",
24
24
  "name": "ckbox",
25
- "version": "2.1.0",
25
+ "version": "2.1.1",
26
26
  "description": "Main CKBox package",
27
27
  "main": "dist/index.js",
28
28
  "types": "dist/index.d.ts",
@@ -32,6 +32,6 @@
32
32
  "react": "^18.2.0",
33
33
  "react-dom": "^18.2.0",
34
34
  "tslib": "^2.6.2",
35
- "@ckbox/core": "2.1.0"
35
+ "@ckbox/core": "2.1.1"
36
36
  }
37
37
  }