ckbox 1.2.1-rc.0 → 1.2.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-2022, CKSource Holding sp. z o.o. All rights reserved.
3
3
  */
4
- function _0x3849(_0x5347c8,_0x105f23){const _0x4f73d6=_0x4f73();return _0x3849=function(_0x3849fa,_0xf5becd){_0x3849fa=_0x3849fa-0x100;let _0x347217=_0x4f73d6[_0x3849fa];return _0x347217;},_0x3849(_0x5347c8,_0x105f23);}const _0x4b9e88=_0x3849;(function(_0x5549c2,_0x5354ff){const _0x39c671=_0x3849,_0x1bf879=_0x5549c2();while(!![]){try{const _0x4f8b9=parseInt(_0x39c671(0x107))/0x1*(-parseInt(_0x39c671(0x100))/0x2)+parseInt(_0x39c671(0x112))/0x3*(-parseInt(_0x39c671(0x101))/0x4)+parseInt(_0x39c671(0x10b))/0x5*(parseInt(_0x39c671(0x115))/0x6)+parseInt(_0x39c671(0x109))/0x7+-parseInt(_0x39c671(0x113))/0x8+parseInt(_0x39c671(0x106))/0x9*(parseInt(_0x39c671(0x10d))/0xa)+-parseInt(_0x39c671(0x10a))/0xb;if(_0x4f8b9===_0x5354ff)break;else _0x1bf879['push'](_0x1bf879['shift']());}catch(_0x25891b){_0x1bf879['push'](_0x1bf879['shift']());}}}(_0x4f73,0xcf60b));import*as _0x8598d0 from'react';export{_0x8598d0 as React};import*as _0x560cf3 from'react-dom/client';import{CKBox as _0x5021d6,version}from'@ckbox/core';export{version}from'@ckbox/core';const getDialogProps=(_0x49ce42,_0x5a59ea)=>{const _0x2f7e0e=_0x3849,_0xcdac21=_0x49ce42['dialog'];if(!_0xcdac21)return![];if(typeof _0xcdac21===_0x2f7e0e(0x110)){const _0x2a3777=()=>{_0x5a59ea();};return{'open':!![],'onClose':_0x2a3777};}const _0x350e5d=()=>{const _0x146c54=_0x2f7e0e;var _0x84d2c2;(_0x84d2c2=_0xcdac21[_0x146c54(0x111)])===null||_0x84d2c2===void 0x0?void 0x0:_0x84d2c2[_0x146c54(0x102)](_0xcdac21),_0x5a59ea();};return{..._0xcdac21,'open':!![],'onClose':_0x350e5d};},getAssetsProps=(_0x4acca2,_0x25a09f)=>{const _0x213def=_0x3849;var _0x4e1e5b;const _0x46b6f4=(_0x4e1e5b=_0x4acca2[_0x213def(0x114)])===null||_0x4e1e5b===void 0x0?void 0x0:_0x4e1e5b[_0x213def(0x103)];if(!_0x46b6f4)return _0x4acca2['assets'];const _0x3fab86=_0x2fc96=>{const _0x5aab6a=_0x213def;var _0x595510;_0x46b6f4(_0x2fc96),_0x25a09f&&typeof _0x25a09f!==_0x5aab6a(0x110)&&((_0x595510=_0x25a09f[_0x5aab6a(0x111)])===null||_0x595510===void 0x0?void 0x0:_0x595510['call'](_0x25a09f));};return{..._0x4acca2[_0x213def(0x114)],'onChoose':_0x3fab86};},mount=(_0x36cf8f,_0x41c8f9)=>{const _0x7eb007=_0x3849,_0x503489=_0x560cf3['createRoot'](_0x36cf8f),_0x2b47f0=_0x503489[_0x7eb007(0x108)][_0x7eb007(0x10c)](_0x503489),_0x303813=getDialogProps(_0x41c8f9,_0x2b47f0),_0x49b8de=getAssetsProps(_0x41c8f9,_0x303813);return _0x503489[_0x7eb007(0x105)](_0x8598d0[_0x7eb007(0x104)](_0x5021d6,{..._0x41c8f9,'assets':_0x49b8de,'dialog':_0x303813})),{'unmount':_0x2b47f0};};var CKBox=Object[_0x4b9e88(0x10f)]({'__proto__':null,'mount':mount,'React':_0x8598d0,'version':version});(function(){const _0x82442b=_0x4b9e88,_0x3da67f=globalThis;!_0x3da67f[_0x82442b(0x10e)]&&(_0x3da67f[_0x82442b(0x10e)]=CKBox);}());function _0x4f73(){const _0x52e8a8=['42xJrJgG','5189232AgKMJf','assets','634356hoqziJ','3914wzUcLI','445304RoFYFJ','call','onChoose','createElement','render','169182ZNdFaU','221yyZhDi','unmount','6841184tTDfZn','8140308ICXzVo','80tVadTh','bind','830GsfjLR','CKBox','freeze','boolean','onClose'];_0x4f73=function(){return _0x52e8a8;};return _0x4f73();}export{mount};
4
+ (function(_0x29741f,_0x24d111){const _0x180eff=_0x2e05,_0x4e132a=_0x29741f();while(!![]){try{const _0x4afe87=-parseInt(_0x180eff(0x10a))/0x1*(-parseInt(_0x180eff(0xff))/0x2)+parseInt(_0x180eff(0x107))/0x3*(-parseInt(_0x180eff(0x10c))/0x4)+parseInt(_0x180eff(0x114))/0x5*(-parseInt(_0x180eff(0x105))/0x6)+-parseInt(_0x180eff(0xfd))/0x7*(parseInt(_0x180eff(0xfc))/0x8)+-parseInt(_0x180eff(0x106))/0x9*(-parseInt(_0x180eff(0x101))/0xa)+parseInt(_0x180eff(0x104))/0xb*(-parseInt(_0x180eff(0x10f))/0xc)+-parseInt(_0x180eff(0x100))/0xd*(-parseInt(_0x180eff(0x109))/0xe);if(_0x4afe87===_0x24d111)break;else _0x4e132a['push'](_0x4e132a['shift']());}catch(_0x3954e5){_0x4e132a['push'](_0x4e132a['shift']());}}}(_0x1f30,0xbcc88));import*as _0x5ea28a from'react';export{_0x5ea28a as React};import*as _0x947140 from'react-dom/client';import{CKBox as _0x14a18d,version}from'@ckbox/core';export{version}from'@ckbox/core';const getDialogProps=(_0x537247,_0x30e925)=>{const _0x560cca=_0x2e05,_0x1962ab=_0x537247[_0x560cca(0x108)];if(!_0x1962ab)return![];if(typeof _0x1962ab==='boolean'){const _0x48ab93=()=>{_0x30e925();};return{'open':!![],'onClose':_0x48ab93};}const _0x45eee7=()=>{const _0x8c8c74=_0x560cca;var _0x360514;(_0x360514=_0x1962ab[_0x8c8c74(0xfe)])===null||_0x360514===void 0x0?void 0x0:_0x360514[_0x8c8c74(0xfb)](_0x1962ab),_0x30e925();};return{..._0x1962ab,'open':!![],'onClose':_0x45eee7};},getAssetsProps=(_0x341108,_0x108b31)=>{const _0x379d4d=_0x2e05;var _0x366175;const _0x1ae447=(_0x366175=_0x341108[_0x379d4d(0x111)])===null||_0x366175===void 0x0?void 0x0:_0x366175[_0x379d4d(0x103)];if(!_0x1ae447)return _0x341108[_0x379d4d(0x111)];const _0x42ba2e=_0xd5bde2=>{const _0x447a23=_0x379d4d;var _0x3e9a0f;_0x1ae447(_0xd5bde2),_0x108b31&&typeof _0x108b31!==_0x447a23(0x112)&&((_0x3e9a0f=_0x108b31[_0x447a23(0xfe)])===null||_0x3e9a0f===void 0x0?void 0x0:_0x3e9a0f[_0x447a23(0xfb)](_0x108b31));};return{..._0x341108[_0x379d4d(0x111)],'onChoose':_0x42ba2e};},mount=(_0x153a49,_0x2b713c)=>{const _0x181d77=_0x2e05,_0x198e73=_0x947140[_0x181d77(0x102)](_0x153a49),_0x36ca09=_0x198e73[_0x181d77(0x110)][_0x181d77(0x10b)](_0x198e73),_0x1c7972=getDialogProps(_0x2b713c,_0x36ca09),_0x27853a=getAssetsProps(_0x2b713c,_0x1c7972);return _0x198e73[_0x181d77(0x10d)](_0x5ea28a[_0x181d77(0x113)](_0x14a18d,{..._0x2b713c,'assets':_0x27853a,'dialog':_0x1c7972})),{'unmount':_0x36ca09};};function _0x2e05(_0xe804f9,_0x3da2e3){const _0x1f30ba=_0x1f30();return _0x2e05=function(_0x2e0558,_0x170401){_0x2e0558=_0x2e0558-0xfb;let _0x1e77cc=_0x1f30ba[_0x2e0558];return _0x1e77cc;},_0x2e05(_0xe804f9,_0x3da2e3);}function _0x1f30(){const _0x56f1e2=['render','CKBox','10536EZXSGC','unmount','assets','boolean','createElement','170AENeXA','call','8oagior','8612093KhnhmR','onClose','293442ClcARv','39336804UyKNoD','4168890IgKNRN','createRoot','onChoose','3113uGuTlO','51438gPkrVR','9FdPttH','411mfqtfy','dialog','14PFaxEB','3FDbzHS','bind','39108WmrxmX'];_0x1f30=function(){return _0x56f1e2;};return _0x1f30();}var CKBox=Object['freeze']({'__proto__':null,'mount':mount,'React':_0x5ea28a,'version':version});(function(){const _0x475c8e=_0x2e05,_0x1a585f=globalThis;!_0x1a585f['CKBox']&&(_0x1a585f[_0x475c8e(0x10e)]=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.2.1-rc.0",
23
+ "version": "1.2.1",
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.2.1-rc.0",
28
+ "@ckbox/core": "1.2.1",
29
29
  "@types/react": "^18.0.25",
30
30
  "@types/react-dom": "^18.0.9",
31
31
  "react": "^18.2.0",