ckbox 1.3.1 → 1.3.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-2022, CKSource Holding sp. z o.o. All rights reserved.
3
3
  */
4
- const _0x2a1867=_0x3374;(function(_0x7b102d,_0x1f460d){const _0x5aff51=_0x3374,_0x48366d=_0x7b102d();while(!![]){try{const _0x24d82d=parseInt(_0x5aff51(0x1ec))/0x1+parseInt(_0x5aff51(0x1f7))/0x2*(-parseInt(_0x5aff51(0x1e7))/0x3)+-parseInt(_0x5aff51(0x1f2))/0x4*(parseInt(_0x5aff51(0x1e2))/0x5)+-parseInt(_0x5aff51(0x1f4))/0x6*(parseInt(_0x5aff51(0x1eb))/0x7)+parseInt(_0x5aff51(0x1e8))/0x8*(parseInt(_0x5aff51(0x1f3))/0x9)+-parseInt(_0x5aff51(0x1f5))/0xa+-parseInt(_0x5aff51(0x1ef))/0xb*(-parseInt(_0x5aff51(0x1e6))/0xc);if(_0x24d82d===_0x1f460d)break;else _0x48366d['push'](_0x48366d['shift']());}catch(_0x391928){_0x48366d['push'](_0x48366d['shift']());}}}(_0x1fff,0x81602));import*as _0x34d990 from'react';export{_0x34d990 as React};import*as _0x5cd87f from'react-dom/client';import{CKBox as _0x5c6c32,version}from'@ckbox/core';export{version}from'@ckbox/core';const getDialogProps=(_0x125883,_0x214962)=>{const _0x284cd8=_0x3374,_0x2e24b6=_0x125883[_0x284cd8(0x1e3)];if(!_0x2e24b6)return![];if(typeof _0x2e24b6==='boolean'){const _0x180691=()=>{_0x214962();};return{'open':!![],'onClose':_0x180691};}const _0x182375=()=>{const _0x5f4f2d=_0x284cd8;var _0x294498;(_0x294498=_0x2e24b6[_0x5f4f2d(0x1f6)])===null||_0x294498===void 0x0?void 0x0:_0x294498['call'](_0x2e24b6),_0x214962();};return{..._0x2e24b6,'open':!![],'onClose':_0x182375};},getAssetsProps=(_0xba3625,_0x43aff7)=>{const _0x40d152=_0x3374;var _0x2d1f32;const _0x1aac86=(_0x2d1f32=_0xba3625['assets'])===null||_0x2d1f32===void 0x0?void 0x0:_0x2d1f32[_0x40d152(0x1e4)];if(!_0x1aac86)return _0xba3625[_0x40d152(0x1ed)];const _0xe2e4d7=_0x1e57f4=>{const _0x31f376=_0x40d152;var _0x4aa7d3;_0x1aac86(_0x1e57f4),_0x43aff7&&typeof _0x43aff7!=='boolean'&&((_0x4aa7d3=_0x43aff7[_0x31f376(0x1f6)])===null||_0x4aa7d3===void 0x0?void 0x0:_0x4aa7d3['call'](_0x43aff7));};return{..._0xba3625[_0x40d152(0x1ed)],'onChoose':_0xe2e4d7};},mount=(_0xdbd6fd,_0x134f97)=>{const _0x6b7d80=_0x3374,_0x493639=_0x5cd87f['createRoot'](_0xdbd6fd),_0x36b1cb=_0x493639[_0x6b7d80(0x1ee)][_0x6b7d80(0x1e5)](_0x493639),_0x2d8e78=getDialogProps(_0x134f97,_0x36b1cb),_0x42aeae=getAssetsProps(_0x134f97,_0x2d8e78);return _0x493639[_0x6b7d80(0x1ea)](_0x34d990[_0x6b7d80(0x1e9)](_0x5c6c32,{..._0x134f97,'assets':_0x42aeae,'dialog':_0x2d8e78})),{'unmount':_0x36b1cb};};function _0x3374(_0x510dae,_0x516667){const _0x1fffe8=_0x1fff();return _0x3374=function(_0x3374dc,_0x5b3a05){_0x3374dc=_0x3374dc-0x1e2;let _0x3a19ac=_0x1fffe8[_0x3374dc];return _0x3a19ac;},_0x3374(_0x510dae,_0x516667);}var CKBox=Object[_0x2a1867(0x1f1)]({'__proto__':null,'mount':mount,'React':_0x34d990,'version':version});(function(){const _0x8b9082=_0x2a1867,_0x541285=globalThis;!_0x541285['CKBox']&&(_0x541285[_0x8b9082(0x1f0)]=CKBox);}());function _0x1fff(){const _0x3b0919=['onClose','2Pnfhuq','1264590SJrJSm','dialog','onChoose','bind','24oJlzuW','2145207RBofQP','40qcktOb','createElement','render','7gBXBLm','165105uChliy','assets','unmount','5277052MlZhtw','CKBox','freeze','4ZvQLmn','1514979pzguxJ','1521606ukhnRs','2147140oQWvqO'];_0x1fff=function(){return _0x3b0919;};return _0x1fff();}export{mount};
4
+ (function(_0x3ee099,_0x14977e){const _0x1cf985=_0x5175,_0x56ea57=_0x3ee099();while(!![]){try{const _0x24bd5a=-parseInt(_0x1cf985(0xf0))/0x1+-parseInt(_0x1cf985(0xf3))/0x2+parseInt(_0x1cf985(0xf6))/0x3+-parseInt(_0x1cf985(0xf1))/0x4+parseInt(_0x1cf985(0x104))/0x5*(-parseInt(_0x1cf985(0x100))/0x6)+parseInt(_0x1cf985(0xfc))/0x7*(-parseInt(_0x1cf985(0xfb))/0x8)+parseInt(_0x1cf985(0xfe))/0x9*(parseInt(_0x1cf985(0xfd))/0xa);if(_0x24bd5a===_0x14977e)break;else _0x56ea57['push'](_0x56ea57['shift']());}catch(_0x270e4a){_0x56ea57['push'](_0x56ea57['shift']());}}}(_0x5ce3,0xc1f89));import*as _0xef5d86 from'react';export{_0xef5d86 as React};function _0x5175(_0x3a20e6,_0x370521){const _0x5ce3c1=_0x5ce3();return _0x5175=function(_0x5175fa,_0xd930f3){_0x5175fa=_0x5175fa-0xf0;let _0x26c48a=_0x5ce3c1[_0x5175fa];return _0x26c48a;},_0x5175(_0x3a20e6,_0x370521);}import*as _0x34d020 from'react-dom/client';import{CKBox as _0x532e2c,version}from'@ckbox/core';export{version}from'@ckbox/core';const getDialogProps=(_0x549658,_0x5e3798)=>{const _0x2b284d=_0x5175,_0x5bf0b7=_0x549658[_0x2b284d(0xf2)];if(!_0x5bf0b7)return![];if(typeof _0x5bf0b7===_0x2b284d(0xf4)){const _0x1dff31=()=>{_0x5e3798();};return{'open':!![],'onClose':_0x1dff31};}const _0x50cf51=()=>{const _0x55c18f=_0x2b284d;var _0x73380c;(_0x73380c=_0x5bf0b7[_0x55c18f(0x102)])===null||_0x73380c===void 0x0?void 0x0:_0x73380c[_0x55c18f(0xf8)](_0x5bf0b7),_0x5e3798();};return{..._0x5bf0b7,'open':!![],'onClose':_0x50cf51};},getAssetsProps=(_0x5c52ba,_0x3c76b0)=>{const _0x5938c6=_0x5175;var _0x5c3a0b;const _0x21d6cb=(_0x5c3a0b=_0x5c52ba[_0x5938c6(0xf9)])===null||_0x5c3a0b===void 0x0?void 0x0:_0x5c3a0b['onChoose'];if(!_0x21d6cb)return _0x5c52ba[_0x5938c6(0xf9)];const _0x110028=_0x7e38a8=>{const _0x5412c7=_0x5938c6;var _0x466bbc;_0x21d6cb(_0x7e38a8),_0x3c76b0&&typeof _0x3c76b0!==_0x5412c7(0xf4)&&((_0x466bbc=_0x3c76b0['onClose'])===null||_0x466bbc===void 0x0?void 0x0:_0x466bbc[_0x5412c7(0xf8)](_0x3c76b0));};return{..._0x5c52ba[_0x5938c6(0xf9)],'onChoose':_0x110028};},mount=(_0x3b2db5,_0x2d5d99)=>{const _0x5c00f1=_0x5175,_0x1db487=_0x34d020[_0x5c00f1(0xf7)](_0x3b2db5),_0x3fab24=_0x1db487[_0x5c00f1(0xff)][_0x5c00f1(0xf5)](_0x1db487),_0x2465a5=getDialogProps(_0x2d5d99,_0x3fab24),_0x37f5ce=getAssetsProps(_0x2d5d99,_0x2465a5);return _0x1db487[_0x5c00f1(0xfa)](_0xef5d86[_0x5c00f1(0x101)](_0x532e2c,{..._0x2d5d99,'assets':_0x37f5ce,'dialog':_0x2465a5})),{'unmount':_0x3fab24};};function _0x5ce3(){const _0x15ec85=['571221ZfoAqb','254440tYccSY','1746MgDmaZ','unmount','6utHOWr','createElement','onClose','CKBox','5410945LGGhSA','973905RrhQyq','4081276KsPEMp','dialog','2098168wRaGMg','boolean','bind','1175643OVkxwK','createRoot','call','assets','render','40GsDlFA'];_0x5ce3=function(){return _0x15ec85;};return _0x5ce3();}var CKBox=Object['freeze']({'__proto__':null,'mount':mount,'React':_0xef5d86,'version':version});(function(){const _0x432aeb=_0x5175,_0x5d8b41=globalThis;!_0x5d8b41['CKBox']&&(_0x5d8b41[_0x432aeb(0x103)]=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.3.1",
23
+ "version": "1.3.2",
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.1",
28
+ "@ckbox/core": "1.3.2",
29
29
  "@types/react": "^18.0.27",
30
30
  "@types/react-dom": "^18.0.10",
31
31
  "react": "^18.2.0",