ckbox 1.3.0-dev.0 → 1.3.0-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/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-2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*/
|
|
4
|
-
|
|
4
|
+
(function(_0x54bb58,_0x1a5616){const _0x23a279=_0x3edc,_0x59b1b6=_0x54bb58();while(!![]){try{const _0x2a87f7=parseInt(_0x23a279(0xa0))/0x1*(-parseInt(_0x23a279(0xa9))/0x2)+-parseInt(_0x23a279(0xa2))/0x3*(-parseInt(_0x23a279(0xaa))/0x4)+-parseInt(_0x23a279(0x9d))/0x5*(parseInt(_0x23a279(0xae))/0x6)+-parseInt(_0x23a279(0xa7))/0x7+-parseInt(_0x23a279(0x9f))/0x8+parseInt(_0x23a279(0xa1))/0x9+parseInt(_0x23a279(0x9b))/0xa;if(_0x2a87f7===_0x1a5616)break;else _0x59b1b6['push'](_0x59b1b6['shift']());}catch(_0x10e63b){_0x59b1b6['push'](_0x59b1b6['shift']());}}}(_0x22d8,0x79fe7));import*as _0x31d287 from'react';export{_0x31d287 as React};import*as _0x223f2b from'react-dom/client';function _0x3edc(_0x36e6a1,_0x4090e5){const _0x22d88b=_0x22d8();return _0x3edc=function(_0x3edcb2,_0x2516e8){_0x3edcb2=_0x3edcb2-0x9b;let _0x3870b1=_0x22d88b[_0x3edcb2];return _0x3870b1;},_0x3edc(_0x36e6a1,_0x4090e5);}import{CKBox as _0x1c6cd1,version}from'@ckbox/core';export{version}from'@ckbox/core';const getDialogProps=(_0x1f5e8e,_0x17cdb7)=>{const _0x3cffa=_0x3edc,_0x32187a=_0x1f5e8e[_0x3cffa(0xa8)];if(!_0x32187a)return![];if(typeof _0x32187a===_0x3cffa(0xa5)){const _0x3cf6d2=()=>{_0x17cdb7();};return{'open':!![],'onClose':_0x3cf6d2};}const _0x1c4a2c=()=>{const _0x130fd5=_0x3cffa;var _0x491bef;(_0x491bef=_0x32187a[_0x130fd5(0xad)])===null||_0x491bef===void 0x0?void 0x0:_0x491bef[_0x130fd5(0xa4)](_0x32187a),_0x17cdb7();};return{..._0x32187a,'open':!![],'onClose':_0x1c4a2c};},getAssetsProps=(_0xcc5b23,_0x17e0e5)=>{const _0x27b749=_0x3edc;var _0x24779f;const _0x28ef00=(_0x24779f=_0xcc5b23['assets'])===null||_0x24779f===void 0x0?void 0x0:_0x24779f['onChoose'];if(!_0x28ef00)return _0xcc5b23[_0x27b749(0xa6)];const _0x364aa5=_0x565c34=>{const _0x3c9108=_0x27b749;var _0x2155ab;_0x28ef00(_0x565c34),_0x17e0e5&&typeof _0x17e0e5!==_0x3c9108(0xa5)&&((_0x2155ab=_0x17e0e5[_0x3c9108(0xad)])===null||_0x2155ab===void 0x0?void 0x0:_0x2155ab[_0x3c9108(0xa4)](_0x17e0e5));};return{..._0xcc5b23[_0x27b749(0xa6)],'onChoose':_0x364aa5};},mount=(_0x969594,_0x12f8fa)=>{const _0x200775=_0x3edc,_0x28869e=_0x223f2b[_0x200775(0x9c)](_0x969594),_0x189011=_0x28869e[_0x200775(0xab)][_0x200775(0xa3)](_0x28869e),_0x17c550=getDialogProps(_0x12f8fa,_0x189011),_0x3bca7e=getAssetsProps(_0x12f8fa,_0x17c550);return _0x28869e[_0x200775(0xac)](_0x31d287['createElement'](_0x1c6cd1,{..._0x12f8fa,'assets':_0x3bca7e,'dialog':_0x17c550})),{'unmount':_0x189011};};var CKBox=Object['freeze']({'__proto__':null,'mount':mount,'React':_0x31d287,'version':version});function _0x22d8(){const _0xd53b28=['3IMjqcE','6161049QzxuTu','34590jkNiCV','bind','call','boolean','assets','1552670ugKqYd','dialog','589286xzRqwu','268BNJjba','unmount','render','onClose','13290LtIheG','11518840ZjQfOD','createRoot','305ZkUHTF','CKBox','6947312snaHxi'];_0x22d8=function(){return _0xd53b28;};return _0x22d8();}(function(){const _0x50014e=_0x3edc,_0x187db1=globalThis;!_0x187db1[_0x50014e(0x9e)]&&(_0x187db1[_0x50014e(0x9e)]=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.0-
|
|
23
|
+
"version": "1.3.0-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.0-
|
|
28
|
+
"@ckbox/core": "1.3.0-rc.0",
|
|
29
29
|
"@types/react": "^18.0.27",
|
|
30
30
|
"@types/react-dom": "^18.0.10",
|
|
31
31
|
"react": "^18.2.0",
|