ckbox 1.5.0-rc.0 → 1.5.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/README.md +3 -3
- package/dist/ckbox.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +2 -2
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
|
|
4
|
+
const _0x2328a7=_0x59c2;(function(_0x2bd422,_0x29fdc6){const _0x846b1e=_0x59c2,_0x251c61=_0x2bd422();while(!![]){try{const _0x3a0cf5=parseInt(_0x846b1e(0xcf))/0x1+-parseInt(_0x846b1e(0xc8))/0x2+parseInt(_0x846b1e(0xcc))/0x3+parseInt(_0x846b1e(0xcb))/0x4+parseInt(_0x846b1e(0xcd))/0x5*(-parseInt(_0x846b1e(0xd2))/0x6)+parseInt(_0x846b1e(0xd6))/0x7*(parseInt(_0x846b1e(0xd0))/0x8)+-parseInt(_0x846b1e(0xc9))/0x9*(parseInt(_0x846b1e(0xd5))/0xa);if(_0x3a0cf5===_0x29fdc6)break;else _0x251c61['push'](_0x251c61['shift']());}catch(_0x98df23){_0x251c61['push'](_0x251c61['shift']());}}}(_0x4efa,0x7c608));function _0x59c2(_0x3f9aa6,_0x4296dd){const _0x4efa2f=_0x4efa();return _0x59c2=function(_0x59c27d,_0xfe5e97){_0x59c27d=_0x59c27d-0xc6;let _0x7c0da4=_0x4efa2f[_0x59c27d];return _0x7c0da4;},_0x59c2(_0x3f9aa6,_0x4296dd);}import*as _0x180ff7 from'react';export{_0x180ff7 as React};import*as _0x2fbb2d from'react-dom/client';import{CKBox as _0x247450,version}from'@ckbox/core';export{version}from'@ckbox/core';const getDialogProps=(_0x43ef4d,_0x55d6be)=>{const _0x19ca89=_0x59c2,_0x163c58=_0x43ef4d[_0x19ca89(0xd1)];if(!_0x163c58)return![];if(typeof _0x163c58==='boolean'){const _0x4e2af6=()=>{_0x55d6be();};return{'open':!![],'onClose':_0x4e2af6};}const _0x52a305=()=>{const _0x418fb8=_0x19ca89;var _0x9d560d;(_0x9d560d=_0x163c58[_0x418fb8(0xd3)])===null||_0x9d560d===void 0x0?void 0x0:_0x9d560d[_0x418fb8(0xc7)](_0x163c58),_0x55d6be();};return{..._0x163c58,'open':!![],'onClose':_0x52a305};},getAssetsProps=(_0x1cd15f,_0x9ec4af)=>{const _0x4e6c2c=_0x59c2;var _0x1a7b43;const _0x32321c=(_0x1a7b43=_0x1cd15f[_0x4e6c2c(0xca)])===null||_0x1a7b43===void 0x0?void 0x0:_0x1a7b43[_0x4e6c2c(0xce)];if(!_0x32321c)return _0x1cd15f[_0x4e6c2c(0xca)];const _0x4aaa00=_0x940afe=>{const _0x80cf9c=_0x4e6c2c;var _0x5e62f1;_0x32321c(_0x940afe),_0x9ec4af&&typeof _0x9ec4af!=='boolean'&&((_0x5e62f1=_0x9ec4af['onClose'])===null||_0x5e62f1===void 0x0?void 0x0:_0x5e62f1[_0x80cf9c(0xc7)](_0x9ec4af));};return{..._0x1cd15f['assets'],'onChoose':_0x4aaa00};},mount=(_0x3e6832,_0x5b85fd)=>{const _0x42a8dc=_0x2fbb2d['createRoot'](_0x3e6832),_0x1b26ae=_0x42a8dc['unmount']['bind'](_0x42a8dc),_0x37842d=getDialogProps(_0x5b85fd,_0x1b26ae),_0xf0b09d=getAssetsProps(_0x5b85fd,_0x37842d);return _0x42a8dc['render'](_0x180ff7['createElement'](_0x247450,{..._0x5b85fd,'assets':_0xf0b09d,'dialog':_0x37842d})),{'unmount':_0x1b26ae};};function _0x4efa(){const _0x25a468=['63AgrWad','assets','3092372nyivSL','1956111sSEVTy','639645yPkgoC','onChoose','117925UDnBUN','8YPGOjf','dialog','6ldPITg','onClose','freeze','1984540ioFjBF','5143817kEwqLx','CKBox','call','502662uYgOFl'];_0x4efa=function(){return _0x25a468;};return _0x4efa();}var CKBox=Object[_0x2328a7(0xd4)]({'__proto__':null,'React':_0x180ff7,'mount':mount,'version':version});(function(){const _0x56ffbb=_0x2328a7,_0x19486c=globalThis;!_0x19486c[_0x56ffbb(0xc6)]&&(_0x19486c['CKBox']=CKBox);}());export{mount};
|
package/package.json
CHANGED
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
],
|
|
21
21
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
22
22
|
"name": "ckbox",
|
|
23
|
-
"version": "1.5.0
|
|
23
|
+
"version": "1.5.0",
|
|
24
24
|
"description": "Main CKBox package",
|
|
25
25
|
"main": "dist/index.js",
|
|
26
26
|
"types": "dist/index.d.ts",
|
|
@@ -30,6 +30,6 @@
|
|
|
30
30
|
"react": "^18.2.0",
|
|
31
31
|
"react-dom": "^18.2.0",
|
|
32
32
|
"tslib": "^2.5.0",
|
|
33
|
-
"@ckbox/core": "1.5.0
|
|
33
|
+
"@ckbox/core": "1.5.0"
|
|
34
34
|
}
|
|
35
35
|
}
|