ckbox 0.0.6 → 0.0.7
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/ckbox.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +5 -4
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
|
|
4
|
+
const _0x5d2b11=_0x53f1;(function(_0x48a52a,_0x17c967){const _0x37221f=_0x53f1,_0x4d2005=_0x48a52a();while(!![]){try{const _0x55319f=-parseInt(_0x37221f(0xb4))/0x1*(-parseInt(_0x37221f(0xb6))/0x2)+-parseInt(_0x37221f(0xc1))/0x3+-parseInt(_0x37221f(0xbd))/0x4*(parseInt(_0x37221f(0xc2))/0x5)+-parseInt(_0x37221f(0xc5))/0x6*(-parseInt(_0x37221f(0xb8))/0x7)+-parseInt(_0x37221f(0xbb))/0x8+parseInt(_0x37221f(0xba))/0x9+-parseInt(_0x37221f(0xc7))/0xa;if(_0x55319f===_0x17c967)break;else _0x4d2005['push'](_0x4d2005['shift']());}catch(_0x9d8fe2){_0x4d2005['push'](_0x4d2005['shift']());}}}(_0x1791,0x6b563));import*as _0x595e84 from'react';export{_0x595e84 as React};import*as _0x3c3c5e from'react-dom/client';import{CKBox as _0x46af85}from'@ckbox/core';const getDialogProps=(_0x3d21fa,_0x43066a)=>{const _0x38d776=_0x53f1,_0x262e42=_0x3d21fa['dialog'];if(!_0x262e42)return![];if(typeof _0x262e42===_0x38d776(0xc3)){const _0x8172ae=()=>{_0x43066a();};return{'open':!![],'onClose':_0x8172ae};}const _0x220376=()=>{const _0xea882e=_0x38d776;var _0x47dc8a;(_0x47dc8a=_0x262e42['onClose'])===null||_0x47dc8a===void 0x0?void 0x0:_0x47dc8a[_0xea882e(0xbc)](_0x262e42),_0x43066a();};return{..._0x262e42,'open':!![],'onClose':_0x220376};},getAssetsProps=(_0x27c964,_0xe0d532)=>{const _0x2b5926=_0x53f1;var _0x2e3a21;const _0xffb132=(_0x2e3a21=_0x27c964[_0x2b5926(0xbe)])===null||_0x2e3a21===void 0x0?void 0x0:_0x2e3a21['onChoose'];if(!_0xffb132)return _0x27c964[_0x2b5926(0xbe)];const _0x3f78cd=_0xc78337=>{const _0x164e27=_0x2b5926;var _0x4d562a;_0xffb132(_0xc78337),_0xe0d532&&typeof _0xe0d532!==_0x164e27(0xc3)&&((_0x4d562a=_0xe0d532[_0x164e27(0xc4)])===null||_0x4d562a===void 0x0?void 0x0:_0x4d562a[_0x164e27(0xbc)](_0xe0d532));};return{..._0x27c964[_0x2b5926(0xbe)],'onChoose':_0x3f78cd};},mount=(_0x45098e,_0x445cea)=>{const _0x4b3e62=_0x53f1,_0x3016f8=_0x3c3c5e[_0x4b3e62(0xbf)](_0x45098e),_0x387bfa=_0x3016f8['unmount'][_0x4b3e62(0xb7)](_0x3016f8),_0x2de31b=getDialogProps(_0x445cea,_0x387bfa),_0xd5b03=getAssetsProps(_0x445cea,_0x2de31b);return _0x3016f8[_0x4b3e62(0xb9)](_0x595e84[_0x4b3e62(0xc6)](_0x46af85,{..._0x445cea,'assets':_0xd5b03,'dialog':_0x2de31b})),{'unmount':_0x387bfa};};function _0x1791(){const _0x26dc4e=['68984NYGoUN','assets','createRoot','CKBox','1155630DNDgpQ','20RSNmjK','boolean','onClose','9366aHRbAX','createElement','2791550rCNbtz','27XuwIIs','freeze','55886gSzUcA','bind','2681LKSHEM','render','1911474CRBFnA','3133680PVVFYK','call'];_0x1791=function(){return _0x26dc4e;};return _0x1791();}var CKBox=Object[_0x5d2b11(0xb5)]({'__proto__':null,'mount':mount,'React':_0x595e84});(function(){const _0x172fd4=_0x5d2b11,_0x39562f=globalThis;!_0x39562f[_0x172fd4(0xc0)]&&(_0x39562f['CKBox']=CKBox);}());function _0x53f1(_0x31efc4,_0x4846f8){const _0x1791e2=_0x1791();return _0x53f1=function(_0x53f130,_0x338327){_0x53f130=_0x53f130-0xb4;let _0xd9f8e9=_0x1791e2[_0x53f130];return _0xd9f8e9;},_0x53f1(_0x31efc4,_0x4846f8);}export{mount};
|
package/package.json
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ckbox",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.7",
|
|
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.
|
|
9
|
+
"@ckbox/core": "0.0.7",
|
|
10
|
+
"@types/react": "^18.0.12",
|
|
11
|
+
"@types/react-dom": "^18.0.5",
|
|
10
12
|
"react": "^18.1.0",
|
|
11
13
|
"react-dom": "^18.1.0",
|
|
12
14
|
"tslib": "^2.4.0"
|
|
13
|
-
}
|
|
14
|
-
"readme": "## ckbox\n\nTo be filled in.\n"
|
|
15
|
+
}
|
|
15
16
|
}
|