ckbox 1.1.1-dev.0 → 1.1.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/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
|
-
const
|
|
4
|
+
const _0x21aeed=_0x38ec;(function(_0x45098e,_0x5d312a){const _0x3bcdba=_0x38ec,_0x549676=_0x45098e();while(!![]){try{const _0x3979dc=-parseInt(_0x3bcdba(0x12f))/0x1*(-parseInt(_0x3bcdba(0x12c))/0x2)+parseInt(_0x3bcdba(0x131))/0x3*(parseInt(_0x3bcdba(0x127))/0x4)+parseInt(_0x3bcdba(0x129))/0x5+parseInt(_0x3bcdba(0x123))/0x6+-parseInt(_0x3bcdba(0x130))/0x7+-parseInt(_0x3bcdba(0x120))/0x8+-parseInt(_0x3bcdba(0x12d))/0x9*(parseInt(_0x3bcdba(0x125))/0xa);if(_0x3979dc===_0x5d312a)break;else _0x549676['push'](_0x549676['shift']());}catch(_0x21faef){_0x549676['push'](_0x549676['shift']());}}}(_0x2705,0xb6b14));import*as _0x45e0a0 from'react';export{_0x45e0a0 as React};import*as _0x51e3ff from'react-dom/client';function _0x38ec(_0x415fa3,_0x38431e){const _0x270524=_0x2705();return _0x38ec=function(_0x38ec10,_0x35e1b6){_0x38ec10=_0x38ec10-0x11f;let _0x3f5328=_0x270524[_0x38ec10];return _0x3f5328;},_0x38ec(_0x415fa3,_0x38431e);}function _0x2705(){const _0x347738=['CKBox','1599174vQBFQN','459goBruw','freeze','1laGjQx','8193122rfECvB','15MVwlsK','bind','dialog','6189960VhXALh','createElement','render','6591162ZHfcPG','unmount','333220eGvATB','call','1084112UhLeLI','boolean','5693335ehvkKO','onChoose'];_0x2705=function(){return _0x347738;};return _0x2705();}import{CKBox as _0x4b05b6,version}from'@ckbox/core';export{version}from'@ckbox/core';const getDialogProps=(_0x214df9,_0x1caf12)=>{const _0x1aaea4=_0x38ec,_0x32a12b=_0x214df9[_0x1aaea4(0x11f)];if(!_0x32a12b)return![];if(typeof _0x32a12b===_0x1aaea4(0x128)){const _0x5ee9c0=()=>{_0x1caf12();};return{'open':!![],'onClose':_0x5ee9c0};}const _0x16820d=()=>{var _0x4d5a0e;(_0x4d5a0e=_0x32a12b['onClose'])===null||_0x4d5a0e===void 0x0?void 0x0:_0x4d5a0e['call'](_0x32a12b),_0x1caf12();};return{..._0x32a12b,'open':!![],'onClose':_0x16820d};},getAssetsProps=(_0x5d11b5,_0x56ba40)=>{const _0x490779=_0x38ec;var _0x1d3afd;const _0xa46aef=(_0x1d3afd=_0x5d11b5['assets'])===null||_0x1d3afd===void 0x0?void 0x0:_0x1d3afd[_0x490779(0x12a)];if(!_0xa46aef)return _0x5d11b5['assets'];const _0xc01dc1=_0xfcf338=>{const _0x316e19=_0x490779;var _0x3cf5b7;_0xa46aef(_0xfcf338),_0x56ba40&&typeof _0x56ba40!=='boolean'&&((_0x3cf5b7=_0x56ba40['onClose'])===null||_0x3cf5b7===void 0x0?void 0x0:_0x3cf5b7[_0x316e19(0x126)](_0x56ba40));};return{..._0x5d11b5['assets'],'onChoose':_0xc01dc1};},mount=(_0x814a9d,_0xd692bc)=>{const _0x304194=_0x38ec,_0x499b1f=_0x51e3ff['createRoot'](_0x814a9d),_0x2bbb76=_0x499b1f[_0x304194(0x124)][_0x304194(0x132)](_0x499b1f),_0x2b1926=getDialogProps(_0xd692bc,_0x2bbb76),_0x4b7a69=getAssetsProps(_0xd692bc,_0x2b1926);return _0x499b1f[_0x304194(0x122)](_0x45e0a0[_0x304194(0x121)](_0x4b05b6,{..._0xd692bc,'assets':_0x4b7a69,'dialog':_0x2b1926})),{'unmount':_0x2bbb76};};var CKBox=Object[_0x21aeed(0x12e)]({'__proto__':null,'mount':mount,'React':_0x45e0a0,'version':version});(function(){const _0xdca420=_0x21aeed,_0x3b1f66=globalThis;!_0x3b1f66[_0xdca420(0x12b)]&&(_0x3b1f66[_0xdca420(0x12b)]=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.1.1
|
|
23
|
+
"version": "1.1.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.1.1
|
|
28
|
+
"@ckbox/core": "1.1.1",
|
|
29
29
|
"@types/react": "^18.0.15",
|
|
30
30
|
"@types/react-dom": "^18.0.6",
|
|
31
31
|
"react": "^18.2.0",
|