ckbox 1.3.1-rc.0 → 1.3.2-rc.0

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 _0x5ad4f1=_0x50fb;(function(_0x30e5a6,_0x37ec95){const _0x41726e=_0x50fb,_0x5c53a0=_0x30e5a6();while(!![]){try{const _0x4cb4d4=parseInt(_0x41726e(0x1c9))/0x1*(parseInt(_0x41726e(0x1d2))/0x2)+parseInt(_0x41726e(0x1d3))/0x3+-parseInt(_0x41726e(0x1d6))/0x4*(-parseInt(_0x41726e(0x1d4))/0x5)+parseInt(_0x41726e(0x1ce))/0x6+-parseInt(_0x41726e(0x1c7))/0x7*(-parseInt(_0x41726e(0x1d5))/0x8)+-parseInt(_0x41726e(0x1ca))/0x9*(-parseInt(_0x41726e(0x1c8))/0xa)+-parseInt(_0x41726e(0x1d7))/0xb*(parseInt(_0x41726e(0x1d1))/0xc);if(_0x4cb4d4===_0x37ec95)break;else _0x5c53a0['push'](_0x5c53a0['shift']());}catch(_0x4fc34b){_0x5c53a0['push'](_0x5c53a0['shift']());}}}(_0x5b76,0x19f51));import*as _0x2d7455 from'react';export{_0x2d7455 as React};import*as _0x5f4d59 from'react-dom/client';import{CKBox as _0x3f77e7,version}from'@ckbox/core';export{version}from'@ckbox/core';const getDialogProps=(_0x90d237,_0x3457b6)=>{const _0x29979d=_0x50fb,_0xe02237=_0x90d237['dialog'];if(!_0xe02237)return![];if(typeof _0xe02237===_0x29979d(0x1c5)){const _0xbfddff=()=>{_0x3457b6();};return{'open':!![],'onClose':_0xbfddff};}const _0x2553b6=()=>{const _0x4c4dfd=_0x29979d;var _0x34e4cc;(_0x34e4cc=_0xe02237['onClose'])===null||_0x34e4cc===void 0x0?void 0x0:_0x34e4cc[_0x4c4dfd(0x1c4)](_0xe02237),_0x3457b6();};return{..._0xe02237,'open':!![],'onClose':_0x2553b6};},getAssetsProps=(_0x1ef66f,_0x130749)=>{const _0xef1761=_0x50fb;var _0x506bed;const _0x38c4c2=(_0x506bed=_0x1ef66f[_0xef1761(0x1cb)])===null||_0x506bed===void 0x0?void 0x0:_0x506bed['onChoose'];if(!_0x38c4c2)return _0x1ef66f[_0xef1761(0x1cb)];const _0x1086c9=_0x5202b5=>{const _0x239d47=_0xef1761;var _0x196cc4;_0x38c4c2(_0x5202b5),_0x130749&&typeof _0x130749!==_0x239d47(0x1c5)&&((_0x196cc4=_0x130749[_0x239d47(0x1cd)])===null||_0x196cc4===void 0x0?void 0x0:_0x196cc4[_0x239d47(0x1c4)](_0x130749));};return{..._0x1ef66f['assets'],'onChoose':_0x1086c9};},mount=(_0xc831e6,_0x5177db)=>{const _0x3e8d85=_0x50fb,_0x403e2c=_0x5f4d59[_0x3e8d85(0x1d0)](_0xc831e6),_0x32ad1c=_0x403e2c[_0x3e8d85(0x1cc)][_0x3e8d85(0x1c6)](_0x403e2c),_0x7c4400=getDialogProps(_0x5177db,_0x32ad1c),_0x14dfa7=getAssetsProps(_0x5177db,_0x7c4400);return _0x403e2c['render'](_0x2d7455['createElement'](_0x3f77e7,{..._0x5177db,'assets':_0x14dfa7,'dialog':_0x7c4400})),{'unmount':_0x32ad1c};};function _0x50fb(_0x8520,_0x2230d4){const _0x5b76de=_0x5b76();return _0x50fb=function(_0x50fbe1,_0x2f567c){_0x50fbe1=_0x50fbe1-0x1c4;let _0x5f1327=_0x5b76de[_0x50fbe1];return _0x5f1327;},_0x50fb(_0x8520,_0x2230d4);}var CKBox=Object[_0x5ad4f1(0x1cf)]({'__proto__':null,'mount':mount,'React':_0x2d7455,'version':version});(function(){const _0x401d76=_0x5ad4f1,_0x204a8b=globalThis;!_0x204a8b['CKBox']&&(_0x204a8b[_0x401d76(0x1d8)]=CKBox);}());export{mount};function _0x5b76(){const _0x484427=['freeze','createRoot','61968mbnDYv','2jDLSvk','146865EOFtOY','20HODZYr','57704EiDGNk','72244KBiwVt','1331ewsTRt','CKBox','call','boolean','bind','203RlidkR','23440xDlIiw','119497VOHXdu','468NgiYCK','assets','unmount','onClose','956424NBdINH'];_0x5b76=function(){return _0x484427;};return _0x5b76();}
4
+ const _0x2f437e=_0x1b67;(function(_0x352a59,_0x3639f4){const _0x33bb0f=_0x1b67,_0x239032=_0x352a59();while(!![]){try{const _0x5e8fb1=parseInt(_0x33bb0f(0x204))/0x1*(-parseInt(_0x33bb0f(0x1f5))/0x2)+-parseInt(_0x33bb0f(0x209))/0x3+-parseInt(_0x33bb0f(0x1f9))/0x4*(parseInt(_0x33bb0f(0x20b))/0x5)+-parseInt(_0x33bb0f(0x1f4))/0x6*(-parseInt(_0x33bb0f(0x1f8))/0x7)+-parseInt(_0x33bb0f(0x208))/0x8*(parseInt(_0x33bb0f(0x200))/0x9)+-parseInt(_0x33bb0f(0x1fe))/0xa+parseInt(_0x33bb0f(0x206))/0xb;if(_0x5e8fb1===_0x3639f4)break;else _0x239032['push'](_0x239032['shift']());}catch(_0x3f66e2){_0x239032['push'](_0x239032['shift']());}}}(_0x1709,0xe710f));import*as _0x439e6d from'react';export{_0x439e6d as React};import*as _0x1ef62e from'react-dom/client';import{CKBox as _0x18b1bd,version}from'@ckbox/core';export{version}from'@ckbox/core';const getDialogProps=(_0x90a18a,_0x27776b)=>{const _0x33568d=_0x1b67,_0x44ea1f=_0x90a18a[_0x33568d(0x1f6)];if(!_0x44ea1f)return![];if(typeof _0x44ea1f===_0x33568d(0x207)){const _0x1af742=()=>{_0x27776b();};return{'open':!![],'onClose':_0x1af742};}const _0x3a34e3=()=>{var _0x3d7db0;(_0x3d7db0=_0x44ea1f['onClose'])===null||_0x3d7db0===void 0x0?void 0x0:_0x3d7db0['call'](_0x44ea1f),_0x27776b();};return{..._0x44ea1f,'open':!![],'onClose':_0x3a34e3};},getAssetsProps=(_0x361d0d,_0x23c90b)=>{const _0xd54964=_0x1b67;var _0x2a7469;const _0x5c68bd=(_0x2a7469=_0x361d0d[_0xd54964(0x1f7)])===null||_0x2a7469===void 0x0?void 0x0:_0x2a7469[_0xd54964(0x20a)];if(!_0x5c68bd)return _0x361d0d[_0xd54964(0x1f7)];const _0x5b10c8=_0xb91d17=>{const _0x619fa1=_0xd54964;var _0x49599d;_0x5c68bd(_0xb91d17),_0x23c90b&&typeof _0x23c90b!=='boolean'&&((_0x49599d=_0x23c90b[_0x619fa1(0x205)])===null||_0x49599d===void 0x0?void 0x0:_0x49599d[_0x619fa1(0x1fd)](_0x23c90b));};return{..._0x361d0d['assets'],'onChoose':_0x5b10c8};},mount=(_0x57416f,_0x4482d7)=>{const _0x29b9b7=_0x1b67,_0x28e2ed=_0x1ef62e[_0x29b9b7(0x201)](_0x57416f),_0x791242=_0x28e2ed[_0x29b9b7(0x1ff)][_0x29b9b7(0x1fc)](_0x28e2ed),_0x1c4e4f=getDialogProps(_0x4482d7,_0x791242),_0x37177d=getAssetsProps(_0x4482d7,_0x1c4e4f);return _0x28e2ed[_0x29b9b7(0x1fb)](_0x439e6d[_0x29b9b7(0x1fa)](_0x18b1bd,{..._0x4482d7,'assets':_0x37177d,'dialog':_0x1c4e4f})),{'unmount':_0x791242};};function _0x1709(){const _0x3feaf4=['freeze','661954nwdTnT','onClose','55320298WIIawO','boolean','8VXTwFS','3397923sJRVfW','onChoose','10vxuALs','49422uXTYPi','4KsWnny','dialog','assets','581qFzuxM','763228poPnsO','createElement','render','bind','call','10527820uMLqeg','unmount','7878573yWPURT','createRoot','CKBox'];_0x1709=function(){return _0x3feaf4;};return _0x1709();}var CKBox=Object[_0x2f437e(0x203)]({'__proto__':null,'mount':mount,'React':_0x439e6d,'version':version});function _0x1b67(_0x5aed7d,_0x4d1d9f){const _0x170936=_0x1709();return _0x1b67=function(_0x1b67d4,_0x3550a1){_0x1b67d4=_0x1b67d4-0x1f4;let _0x4d9358=_0x170936[_0x1b67d4];return _0x4d9358;},_0x1b67(_0x5aed7d,_0x4d1d9f);}(function(){const _0xadeece=_0x2f437e,_0x30837d=globalThis;!_0x30837d['CKBox']&&(_0x30837d[_0xadeece(0x202)]=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-rc.0",
23
+ "version": "1.3.2-rc.0",
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-rc.0",
28
+ "@ckbox/core": "1.3.2-rc.0",
29
29
  "@types/react": "^18.0.27",
30
30
  "@types/react-dom": "^18.0.10",
31
31
  "react": "^18.2.0",