ckbox 0.0.2-dev.5 → 0.0.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
- (function(_0x28fd1b,_0x4ce3e2){const _0x1c8b8f=_0x4923,_0x304917=_0x28fd1b();while(!![]){try{const _0x28e694=parseInt(_0x1c8b8f(0xd0))/0x1+-parseInt(_0x1c8b8f(0xce))/0x2+parseInt(_0x1c8b8f(0xca))/0x3*(parseInt(_0x1c8b8f(0xc8))/0x4)+parseInt(_0x1c8b8f(0xd6))/0x5+parseInt(_0x1c8b8f(0xc4))/0x6*(parseInt(_0x1c8b8f(0xd7))/0x7)+parseInt(_0x1c8b8f(0xd2))/0x8*(parseInt(_0x1c8b8f(0xd3))/0x9)+-parseInt(_0x1c8b8f(0xd4))/0xa*(parseInt(_0x1c8b8f(0xcd))/0xb);if(_0x28e694===_0x4ce3e2)break;else _0x304917['push'](_0x304917['shift']());}catch(_0x235a2e){_0x304917['push'](_0x304917['shift']());}}}(_0x3473,0xb538f));import*as _0x5ca764 from'react';export{_0x5ca764 as React};import*as _0xd0022b from'react-dom/client';import{CKBox as _0x18735f}from'@ckbox/core';const getDialogProps=(_0x426c5d,_0x356896)=>{const _0x1a965a=_0x4923,_0x247a68=_0x426c5d[_0x1a965a(0xcb)];if(!_0x247a68)return![];if(typeof _0x247a68===_0x1a965a(0xcc)){const _0x365ca6=()=>{_0x356896();};return{'open':!![],'onClose':_0x365ca6};}const _0x244089=()=>{const _0x35ea9c=_0x1a965a;var _0x49b625;(_0x49b625=_0x247a68[_0x35ea9c(0xc6)])===null||_0x49b625===void 0x0?void 0x0:_0x49b625[_0x35ea9c(0xd5)](_0x247a68),_0x356896();};return Object[_0x1a965a(0xc9)](Object[_0x1a965a(0xc9)]({},_0x247a68),{'open':!![],'onClose':_0x244089});},getAssetsProps=(_0x2007e6,_0x16db45)=>{const _0x5f09ee=_0x4923;var _0x1affdf;const _0x4eb41c=(_0x1affdf=_0x2007e6[_0x5f09ee(0xc3)])===null||_0x1affdf===void 0x0?void 0x0:_0x1affdf[_0x5f09ee(0xcf)];if(!_0x4eb41c)return _0x2007e6[_0x5f09ee(0xc3)];const _0x52352c=_0x23a85f=>{const _0x59a2fd=_0x5f09ee;var _0x3bd730;_0x4eb41c(_0x23a85f),_0x16db45&&typeof _0x16db45!==_0x59a2fd(0xcc)&&((_0x3bd730=_0x16db45[_0x59a2fd(0xc6)])===null||_0x3bd730===void 0x0?void 0x0:_0x3bd730[_0x59a2fd(0xd5)](_0x16db45));};return Object[_0x5f09ee(0xc9)](Object[_0x5f09ee(0xc9)]({},_0x2007e6['assets']),{'onChoose':_0x52352c});},mount=(_0x4196eb,_0x3cf742)=>{const _0x4b650b=_0x4923,_0x11587b=_0xd0022b[_0x4b650b(0xc5)](_0x4196eb),_0x5e5266=_0x11587b[_0x4b650b(0xd1)]['bind'](_0x11587b),_0x3d9a77=getDialogProps(_0x3cf742,_0x5e5266),_0x1a3e08=getAssetsProps(_0x3cf742,_0x3d9a77);return _0x11587b['render'](_0x5ca764[_0x4b650b(0xc2)](_0x18735f,Object[_0x4b650b(0xc9)]({},_0x3cf742,{'assets':_0x1a3e08,'dialog':_0x3d9a77}))),{'unmount':_0x5e5266};};var CKBox=Object['freeze']({'__proto__':null,'mount':mount,'React':_0x5ca764});(function(){const _0x69d4eb=_0x4923,_0x1b82fc=typeof globalThis!==_0x69d4eb(0xc7)?globalThis:global||self;!_0x1b82fc['CKBox']&&(_0x1b82fc[_0x69d4eb(0xd8)]=CKBox);}());function _0x4923(_0x5b825d,_0xfccb5f){const _0x347327=_0x3473();return _0x4923=function(_0x49231e,_0x4b152d){_0x49231e=_0x49231e-0xc2;let _0x50ddfe=_0x347327[_0x49231e];return _0x50ddfe;},_0x4923(_0x5b825d,_0xfccb5f);}export{mount};function _0x3473(){const _0x5c2365=['createRoot','onClose','undefined','4076XFeMKx','assign','309sjjfPP','dialog','boolean','11TvtIGS','2872994RXFIZx','onChoose','1122230BFUZxp','unmount','29672ujfBVX','1791WmvuNB','11426680delSqg','call','5337035jaDJfR','2021369cesGmF','CKBox','createElement','assets','6dPTqth'];_0x3473=function(){return _0x5c2365;};return _0x3473();}
4
+ function _0x1d47(_0xc9f2af,_0x1feca3){const _0x281ba5=_0x281b();return _0x1d47=function(_0x1d4783,_0x5e5a28){_0x1d4783=_0x1d4783-0x1d6;let _0x11d7dd=_0x281ba5[_0x1d4783];return _0x11d7dd;},_0x1d47(_0xc9f2af,_0x1feca3);}function _0x281b(){const _0x34918e=['bind','freeze','call','dialog','108sPAgvK','2168816tquxZJ','3647XhKNsr','createRoot','976WiFcfv','onChoose','50meoAMD','7305969lifjfC','123410Htitxg','assign','311103TTIlko','assets','CKBox','578762eypCgu','createElement','3wXlhlm','boolean','onClose','460663npZaqB'];_0x281b=function(){return _0x34918e;};return _0x281b();}const _0x47e24c=_0x1d47;(function(_0x94a74a,_0x191b08){const _0x4957ed=_0x1d47,_0x4aede8=_0x94a74a();while(!![]){try{const _0x1a5e84=parseInt(_0x4957ed(0x1d8))/0x1+parseInt(_0x4957ed(0x1ea))/0x2*(-parseInt(_0x4957ed(0x1ec))/0x3)+-parseInt(_0x4957ed(0x1de))/0x4+parseInt(_0x4957ed(0x1e5))/0x5*(parseInt(_0x4957ed(0x1dd))/0x6)+parseInt(_0x4957ed(0x1df))/0x7*(-parseInt(_0x4957ed(0x1e1))/0x8)+parseInt(_0x4957ed(0x1e7))/0x9*(-parseInt(_0x4957ed(0x1e3))/0xa)+parseInt(_0x4957ed(0x1e4))/0xb;if(_0x1a5e84===_0x191b08)break;else _0x4aede8['push'](_0x4aede8['shift']());}catch(_0x5e1278){_0x4aede8['push'](_0x4aede8['shift']());}}}(_0x281b,0x7a590));import*as _0x2b9a9b from'react';export{_0x2b9a9b as React};import*as _0x2cf247 from'react-dom/client';import{CKBox as _0x563591}from'@ckbox/core';const getDialogProps=(_0x370ad7,_0x3ee826)=>{const _0x1fb703=_0x1d47,_0x376426=_0x370ad7[_0x1fb703(0x1dc)];if(!_0x376426)return![];if(typeof _0x376426==='boolean'){const _0x38beb3=()=>{_0x3ee826();};return{'open':!![],'onClose':_0x38beb3};}const _0x10c483=()=>{const _0x1fa99b=_0x1fb703;var _0x36d521;(_0x36d521=_0x376426[_0x1fa99b(0x1d7)])===null||_0x36d521===void 0x0?void 0x0:_0x36d521[_0x1fa99b(0x1db)](_0x376426),_0x3ee826();};return Object['assign'](Object['assign']({},_0x376426),{'open':!![],'onClose':_0x10c483});},getAssetsProps=(_0x3addfc,_0x423814)=>{const _0x379300=_0x1d47;var _0x19529b;const _0x5f0019=(_0x19529b=_0x3addfc[_0x379300(0x1e8)])===null||_0x19529b===void 0x0?void 0x0:_0x19529b[_0x379300(0x1e2)];if(!_0x5f0019)return _0x3addfc[_0x379300(0x1e8)];const _0x2190e2=_0x2cfd4c=>{const _0x2456ba=_0x379300;var _0x2c26be;_0x5f0019(_0x2cfd4c),_0x423814&&typeof _0x423814!==_0x2456ba(0x1d6)&&((_0x2c26be=_0x423814[_0x2456ba(0x1d7)])===null||_0x2c26be===void 0x0?void 0x0:_0x2c26be[_0x2456ba(0x1db)](_0x423814));};return Object[_0x379300(0x1e6)](Object[_0x379300(0x1e6)]({},_0x3addfc[_0x379300(0x1e8)]),{'onChoose':_0x2190e2});},mount=(_0x57343d,_0x3193eb)=>{const _0x145982=_0x1d47,_0x21b596=_0x2cf247[_0x145982(0x1e0)](_0x57343d),_0x54b4aa=_0x21b596['unmount'][_0x145982(0x1d9)](_0x21b596),_0x38ce19=getDialogProps(_0x3193eb,_0x54b4aa),_0xa0ecd4=getAssetsProps(_0x3193eb,_0x38ce19);return _0x21b596['render'](_0x2b9a9b[_0x145982(0x1eb)](_0x563591,Object[_0x145982(0x1e6)]({},_0x3193eb,{'assets':_0xa0ecd4,'dialog':_0x38ce19}))),{'unmount':_0x54b4aa};};var CKBox=Object[_0x47e24c(0x1da)]({'__proto__':null,'mount':mount,'React':_0x2b9a9b});(function(){const _0x3266f5=_0x47e24c,_0x48f5d7=typeof globalThis!=='undefined'?globalThis:global||self;!_0x48f5d7[_0x3266f5(0x1e9)]&&(_0x48f5d7[_0x3266f5(0x1e9)]=CKBox);}());export{mount};
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "ckbox",
3
- "version": "0.0.2-dev.5",
3
+ "version": "0.0.2",
4
4
  "description": "Main CKBox package",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "license": "SEE LICENSE IN LICENSE.md",
8
8
  "dependencies": {
9
- "@ckbox/core": "0.0.2-dev.5",
9
+ "@ckbox/core": "0.0.2",
10
10
  "react": "^18.1.0",
11
11
  "react-dom": "^18.1.0",
12
12
  "tslib": "^2.4.0"