ckbox 1.3.0-rc.3 → 1.3.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 +5 -5
- 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 _0x1c016b=_0x323f;(function(_0x80e104,_0x3a69d8){const _0x1bdbd8=_0x323f,_0x564796=_0x80e104();while(!![]){try{const _0x384130=-parseInt(_0x1bdbd8(0x169))/0x1*(-parseInt(_0x1bdbd8(0x176))/0x2)+parseInt(_0x1bdbd8(0x172))/0x3*(-parseInt(_0x1bdbd8(0x173))/0x4)+-parseInt(_0x1bdbd8(0x16e))/0x5+parseInt(_0x1bdbd8(0x16f))/0x6+parseInt(_0x1bdbd8(0x175))/0x7*(-parseInt(_0x1bdbd8(0x174))/0x8)+-parseInt(_0x1bdbd8(0x16c))/0x9+parseInt(_0x1bdbd8(0x164))/0xa;if(_0x384130===_0x3a69d8)break;else _0x564796['push'](_0x564796['shift']());}catch(_0x293285){_0x564796['push'](_0x564796['shift']());}}}(_0x480b,0x460fc));import*as _0x100b16 from'react';export{_0x100b16 as React};function _0x480b(){const _0x247547=['createRoot','6ryQOBg','1037684tqCPoS','8xdoaZx','3358677vUJrWd','342XLYOWi','dialog','onChoose','13442220dUcOcv','onClose','assets','unmount','boolean','99EeBcLs','bind','CKBox','1067346rLWsZl','freeze','2206080OHDzzg','2905704IEJjyJ','createElement'];_0x480b=function(){return _0x247547;};return _0x480b();}import*as _0x34d8b6 from'react-dom/client';function _0x323f(_0x20b8a6,_0x1f313b){const _0x480b7f=_0x480b();return _0x323f=function(_0x323f3e,_0x475b25){_0x323f3e=_0x323f3e-0x163;let _0x68c78a=_0x480b7f[_0x323f3e];return _0x68c78a;},_0x323f(_0x20b8a6,_0x1f313b);}import{CKBox as _0x1f092c,version}from'@ckbox/core';export{version}from'@ckbox/core';const getDialogProps=(_0x2c803f,_0x2e0156)=>{const _0x3dd005=_0x323f,_0x4704e9=_0x2c803f[_0x3dd005(0x177)];if(!_0x4704e9)return![];if(typeof _0x4704e9===_0x3dd005(0x168)){const _0x23a289=()=>{_0x2e0156();};return{'open':!![],'onClose':_0x23a289};}const _0x4978ba=()=>{const _0x4c809c=_0x3dd005;var _0x1c2518;(_0x1c2518=_0x4704e9[_0x4c809c(0x165)])===null||_0x1c2518===void 0x0?void 0x0:_0x1c2518['call'](_0x4704e9),_0x2e0156();};return{..._0x4704e9,'open':!![],'onClose':_0x4978ba};},getAssetsProps=(_0x26e947,_0x139765)=>{const _0x236379=_0x323f;var _0x54f653;const _0x564c75=(_0x54f653=_0x26e947['assets'])===null||_0x54f653===void 0x0?void 0x0:_0x54f653[_0x236379(0x163)];if(!_0x564c75)return _0x26e947[_0x236379(0x166)];const _0x4ae8c7=_0x5c76ba=>{const _0xd000dc=_0x236379;var _0x27e9ef;_0x564c75(_0x5c76ba),_0x139765&&typeof _0x139765!==_0xd000dc(0x168)&&((_0x27e9ef=_0x139765[_0xd000dc(0x165)])===null||_0x27e9ef===void 0x0?void 0x0:_0x27e9ef['call'](_0x139765));};return{..._0x26e947[_0x236379(0x166)],'onChoose':_0x4ae8c7};},mount=(_0x2257e3,_0xf5af0)=>{const _0x587ca9=_0x323f,_0x4fb5e1=_0x34d8b6[_0x587ca9(0x171)](_0x2257e3),_0x5c32aa=_0x4fb5e1[_0x587ca9(0x167)][_0x587ca9(0x16a)](_0x4fb5e1),_0x422d9c=getDialogProps(_0xf5af0,_0x5c32aa),_0xc2a877=getAssetsProps(_0xf5af0,_0x422d9c);return _0x4fb5e1['render'](_0x100b16[_0x587ca9(0x170)](_0x1f092c,{..._0xf5af0,'assets':_0xc2a877,'dialog':_0x422d9c})),{'unmount':_0x5c32aa};};var CKBox=Object[_0x1c016b(0x16d)]({'__proto__':null,'mount':mount,'React':_0x100b16,'version':version});(function(){const _0x26beb3=_0x1c016b,_0x536443=globalThis;!_0x536443['CKBox']&&(_0x536443[_0x26beb3(0x16b)]=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",
|
|
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",
|
|
29
29
|
"@types/react": "^18.0.27",
|
|
30
30
|
"@types/react-dom": "^18.0.10",
|
|
31
31
|
"react": "^18.2.0",
|