ckbox 1.4.0-rc.1 → 1.4.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
|
-
(function(
|
|
4
|
+
function _0x2492(_0x2383a9,_0x15e338){const _0x7ceb11=_0x7ceb();return _0x2492=function(_0x2492df,_0x26c8aa){_0x2492df=_0x2492df-0x121;let _0x43eda1=_0x7ceb11[_0x2492df];return _0x43eda1;},_0x2492(_0x2383a9,_0x15e338);}(function(_0x20e5df,_0x108869){const _0x1dc17d=_0x2492,_0x502ac6=_0x20e5df();while(!![]){try{const _0x5a050c=-parseInt(_0x1dc17d(0x127))/0x1+parseInt(_0x1dc17d(0x122))/0x2+parseInt(_0x1dc17d(0x128))/0x3+parseInt(_0x1dc17d(0x121))/0x4*(-parseInt(_0x1dc17d(0x126))/0x5)+-parseInt(_0x1dc17d(0x134))/0x6*(parseInt(_0x1dc17d(0x136))/0x7)+parseInt(_0x1dc17d(0x124))/0x8*(parseInt(_0x1dc17d(0x133))/0x9)+parseInt(_0x1dc17d(0x131))/0xa;if(_0x5a050c===_0x108869)break;else _0x502ac6['push'](_0x502ac6['shift']());}catch(_0x5cba1e){_0x502ac6['push'](_0x502ac6['shift']());}}}(_0x7ceb,0x5463e));import*as _0x134219 from'react';export{_0x134219 as React};import*as _0x3ad4cb from'react-dom/client';import{CKBox as _0x384e3c,version}from'@ckbox/core';export{version}from'@ckbox/core';const getDialogProps=(_0xfa3cb9,_0x5e7d8c)=>{const _0x24fc97=_0x2492,_0x5f2f37=_0xfa3cb9[_0x24fc97(0x12e)];if(!_0x5f2f37)return![];if(typeof _0x5f2f37==='boolean'){const _0x2c03a6=()=>{_0x5e7d8c();};return{'open':!![],'onClose':_0x2c03a6};}const _0x32515f=()=>{const _0x12e02b=_0x24fc97;var _0x167a79;(_0x167a79=_0x5f2f37[_0x12e02b(0x132)])===null||_0x167a79===void 0x0?void 0x0:_0x167a79['call'](_0x5f2f37),_0x5e7d8c();};return{..._0x5f2f37,'open':!![],'onClose':_0x32515f};},getAssetsProps=(_0x5ac0d2,_0x3dd2ce)=>{const _0x317035=_0x2492;var _0x3ab8e3;const _0xd4b5ec=(_0x3ab8e3=_0x5ac0d2[_0x317035(0x130)])===null||_0x3ab8e3===void 0x0?void 0x0:_0x3ab8e3[_0x317035(0x129)];if(!_0xd4b5ec)return _0x5ac0d2[_0x317035(0x130)];const _0x47c7ae=_0x23c222=>{const _0x491137=_0x317035;var _0x2164de;_0xd4b5ec(_0x23c222),_0x3dd2ce&&typeof _0x3dd2ce!==_0x491137(0x123)&&((_0x2164de=_0x3dd2ce[_0x491137(0x132)])===null||_0x2164de===void 0x0?void 0x0:_0x2164de[_0x491137(0x12b)](_0x3dd2ce));};return{..._0x5ac0d2[_0x317035(0x130)],'onChoose':_0x47c7ae};},mount=(_0xe70c64,_0x68f5f6)=>{const _0x1bbb45=_0x2492,_0x2c27a6=_0x3ad4cb[_0x1bbb45(0x125)](_0xe70c64),_0x5c02df=_0x2c27a6[_0x1bbb45(0x12c)][_0x1bbb45(0x12f)](_0x2c27a6),_0x405640=getDialogProps(_0x68f5f6,_0x5c02df),_0x1b9060=getAssetsProps(_0x68f5f6,_0x405640);return _0x2c27a6[_0x1bbb45(0x12a)](_0x134219[_0x1bbb45(0x135)](_0x384e3c,{..._0x68f5f6,'assets':_0x1b9060,'dialog':_0x405640})),{'unmount':_0x5c02df};};function _0x7ceb(){const _0x49db82=['12187bKcylo','180NAlLRl','1230988opaafb','boolean','256QuvkQR','createRoot','44155ZXbOeF','222452Nqqzbh','1779402NVTCFS','onChoose','render','call','unmount','CKBox','dialog','bind','assets','1064680EKCPKs','onClose','10872mzjBsC','1338TxJMCw','createElement'];_0x7ceb=function(){return _0x49db82;};return _0x7ceb();}var CKBox=Object['freeze']({'__proto__':null,'React':_0x134219,'mount':mount,'version':version});(function(){const _0x27cf43=_0x2492,_0xd39d6f=globalThis;!_0xd39d6f[_0x27cf43(0x12d)]&&(_0xd39d6f['CKBox']=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.4.0
|
|
23
|
+
"version": "1.4.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.4.0
|
|
28
|
+
"@ckbox/core": "1.4.0",
|
|
29
29
|
"@types/react": "^18.0.28",
|
|
30
30
|
"@types/react-dom": "^18.0.11",
|
|
31
31
|
"react": "^18.2.0",
|