ckbox 2.1.1 → 2.1.2

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 _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};
4
+ const _0x22e05d=_0x22b5;function _0x22b5(_0x2c5eb8,_0x1e92c7){const _0x4eccd4=_0x4ecc();return _0x22b5=function(_0x22b5f3,_0x38f208){_0x22b5f3=_0x22b5f3-0x182;let _0x890ae=_0x4eccd4[_0x22b5f3];return _0x890ae;},_0x22b5(_0x2c5eb8,_0x1e92c7);}(function(_0x55a7a5,_0x1fd5c1){const _0x18fb99=_0x22b5,_0x46f5de=_0x55a7a5();while(!![]){try{const _0x405c6f=-parseInt(_0x18fb99(0x189))/0x1*(-parseInt(_0x18fb99(0x18e))/0x2)+parseInt(_0x18fb99(0x18d))/0x3*(-parseInt(_0x18fb99(0x185))/0x4)+parseInt(_0x18fb99(0x188))/0x5+parseInt(_0x18fb99(0x18c))/0x6*(-parseInt(_0x18fb99(0x182))/0x7)+parseInt(_0x18fb99(0x18f))/0x8*(parseInt(_0x18fb99(0x199))/0x9)+parseInt(_0x18fb99(0x198))/0xa*(-parseInt(_0x18fb99(0x18a))/0xb)+-parseInt(_0x18fb99(0x19b))/0xc*(-parseInt(_0x18fb99(0x191))/0xd);if(_0x405c6f===_0x1fd5c1)break;else _0x46f5de['push'](_0x46f5de['shift']());}catch(_0x5857d3){_0x46f5de['push'](_0x46f5de['shift']());}}}(_0x4ecc,0xa8726));import*as _0x4ce700 from'react';export{_0x4ce700 as React};import*as _0x207f88 from'react-dom/client';import{CKBox as _0x32ccb9,version}from'@ckbox/core';export{version}from'@ckbox/core';const getDialogProps=(_0x192c87,_0x316e5a)=>{const _0xe0f907=_0x22b5,_0x321fb0=_0x192c87[_0xe0f907(0x18b)];if(!_0x321fb0)return![];if(typeof _0x321fb0===_0xe0f907(0x19a)){const _0x4986ab=()=>{_0x316e5a();};return{'open':!![],'onClose':_0x4986ab};}const _0xae20f0=()=>{const _0x3d52b0=_0xe0f907;var _0xc7fd69;(_0xc7fd69=_0x321fb0['onClose'])===null||_0xc7fd69===void 0x0?void 0x0:_0xc7fd69[_0x3d52b0(0x193)](_0x321fb0),_0x316e5a();};return{..._0x321fb0,'open':!![],'onClose':_0xae20f0};},getAssetsProps=(_0x321b2e,_0x1821e5)=>{const _0x4c7f96=_0x22b5;var _0x39112a;const _0x5055b2=(_0x39112a=_0x321b2e['assets'])===null||_0x39112a===void 0x0?void 0x0:_0x39112a[_0x4c7f96(0x194)];if(!_0x5055b2)return _0x321b2e[_0x4c7f96(0x190)];const _0x6125a5=_0x21f60a=>{const _0x234742=_0x4c7f96;var _0x37a691;_0x5055b2(_0x21f60a),_0x1821e5&&typeof _0x1821e5!==_0x234742(0x19a)&&((_0x37a691=_0x1821e5[_0x234742(0x192)])===null||_0x37a691===void 0x0?void 0x0:_0x37a691[_0x234742(0x193)](_0x1821e5));};return{..._0x321b2e[_0x4c7f96(0x190)],'onChoose':_0x6125a5};},mount=(_0x569c42,_0x3fb97d)=>{const _0x3d578e=_0x22b5,_0xe308a7=_0x207f88[_0x3d578e(0x196)](_0x569c42),_0x540d0a=_0xe308a7[_0x3d578e(0x197)][_0x3d578e(0x186)](_0xe308a7),_0x4210eb=getDialogProps(_0x3fb97d,_0x540d0a),_0x4bb371=getAssetsProps(_0x3fb97d,_0x4210eb);return _0xe308a7[_0x3d578e(0x187)](_0x4ce700[_0x3d578e(0x195)](_0x32ccb9,{..._0x3fb97d,'assets':_0x4bb371,'dialog':_0x4210eb})),{'unmount':_0x540d0a};};var CKBox=Object[_0x22e05d(0x184)]({'__proto__':null,'React':_0x4ce700,'mount':mount,'version':version});(function(){const _0x3af580=_0x22e05d,_0x351d23=globalThis;!_0x351d23[_0x3af580(0x183)]&&(_0x351d23[_0x3af580(0x183)]=CKBox);}());function _0x4ecc(){const _0x5996c7=['536RFwpQb','assets','109551mNFaas','onClose','call','onChoose','createElement','createRoot','unmount','11513690ISQZZI','10485VjxPRO','boolean','1956vTOpds','2933KfGzWX','CKBox','freeze','144792DTaFYG','bind','render','355100VUzvvJ','95ZywJBB','11TZrSRJ','dialog','2100fDbgfP','9LDBJmf','12082ypMKzR'];_0x4ecc=function(){return _0x5996c7;};return _0x4ecc();}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.1",
25
+ "version": "2.1.2",
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.1"
35
+ "@ckbox/core": "2.1.2"
36
36
  }
37
37
  }