ckbox 0.0.5 → 0.0.6
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 +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 _0x3b49c6=_0x4907;(function(_0x11d31c,_0x3973d1){const _0x5015ad=_0x4907,_0xf30a7a=_0x11d31c();while(!![]){try{const _0x2e1dfc=parseInt(_0x5015ad(0x140))/0x1*(-parseInt(_0x5015ad(0x13b))/0x2)+parseInt(_0x5015ad(0x13e))/0x3*(-parseInt(_0x5015ad(0x12a))/0x4)+parseInt(_0x5015ad(0x13f))/0x5+parseInt(_0x5015ad(0x128))/0x6+-parseInt(_0x5015ad(0x132))/0x7*(-parseInt(_0x5015ad(0x13c))/0x8)+parseInt(_0x5015ad(0x130))/0x9*(parseInt(_0x5015ad(0x131))/0xa)+parseInt(_0x5015ad(0x13a))/0xb;if(_0x2e1dfc===_0x3973d1)break;else _0xf30a7a['push'](_0xf30a7a['shift']());}catch(_0x5de35a){_0xf30a7a['push'](_0xf30a7a['shift']());}}}(_0x4368,0xecfef));import*as _0x270bc5 from'react';export{_0x270bc5 as React};import*as _0x3d724f from'react-dom/client';import{CKBox as _0x82d48}from'@ckbox/core';function _0x4368(){const _0x1a290f=['392uZPhmK','call','unmount','assign','render','createRoot','bind','assets','7578472bCzwiK','4yBxyqw','122680KScrjR','CKBox','27GcsIPp','755690UssrjJ','796846WEvmvh','8392290pfVOim','onClose','790392UMUBgs','createElement','boolean','dialog','onChoose','freeze','1638lUhXYM','68420rYhTRr'];_0x4368=function(){return _0x1a290f;};return _0x4368();}function _0x4907(_0x56dcfc,_0x26b21f){const _0x43681a=_0x4368();return _0x4907=function(_0x490740,_0x919cb8){_0x490740=_0x490740-0x128;let _0x1b3140=_0x43681a[_0x490740];return _0x1b3140;},_0x4907(_0x56dcfc,_0x26b21f);}const getDialogProps=(_0x2fa8db,_0x597f59)=>{const _0x2ba9cf=_0x4907,_0x2d41d6=_0x2fa8db[_0x2ba9cf(0x12d)];if(!_0x2d41d6)return![];if(typeof _0x2d41d6==='boolean'){const _0x5c1c8f=()=>{_0x597f59();};return{'open':!![],'onClose':_0x5c1c8f};}const _0xc4babe=()=>{const _0x5942c5=_0x2ba9cf;var _0x3b6c51;(_0x3b6c51=_0x2d41d6[_0x5942c5(0x129)])===null||_0x3b6c51===void 0x0?void 0x0:_0x3b6c51[_0x5942c5(0x133)](_0x2d41d6),_0x597f59();};return Object['assign'](Object[_0x2ba9cf(0x135)]({},_0x2d41d6),{'open':!![],'onClose':_0xc4babe});},getAssetsProps=(_0x26c051,_0x40d5c1)=>{const _0x1a59eb=_0x4907;var _0x4c0bb8;const _0x43851c=(_0x4c0bb8=_0x26c051[_0x1a59eb(0x139)])===null||_0x4c0bb8===void 0x0?void 0x0:_0x4c0bb8[_0x1a59eb(0x12e)];if(!_0x43851c)return _0x26c051[_0x1a59eb(0x139)];const _0x12cff2=_0x530ff3=>{const _0x44728e=_0x1a59eb;var _0x58713f;_0x43851c(_0x530ff3),_0x40d5c1&&typeof _0x40d5c1!==_0x44728e(0x12c)&&((_0x58713f=_0x40d5c1[_0x44728e(0x129)])===null||_0x58713f===void 0x0?void 0x0:_0x58713f[_0x44728e(0x133)](_0x40d5c1));};return Object[_0x1a59eb(0x135)](Object['assign']({},_0x26c051[_0x1a59eb(0x139)]),{'onChoose':_0x12cff2});},mount=(_0x222d06,_0x3c013d)=>{const _0x12a2f0=_0x4907,_0x36c940=_0x3d724f[_0x12a2f0(0x137)](_0x222d06),_0xe04e57=_0x36c940[_0x12a2f0(0x134)][_0x12a2f0(0x138)](_0x36c940),_0x590474=getDialogProps(_0x3c013d,_0xe04e57),_0x7409bb=getAssetsProps(_0x3c013d,_0x590474);return _0x36c940[_0x12a2f0(0x136)](_0x270bc5[_0x12a2f0(0x12b)](_0x82d48,Object['assign']({},_0x3c013d,{'assets':_0x7409bb,'dialog':_0x590474}))),{'unmount':_0xe04e57};};var CKBox=Object[_0x3b49c6(0x12f)]({'__proto__':null,'mount':mount,'React':_0x270bc5});(function(){const _0x4499e4=_0x3b49c6,_0x128fc6=typeof globalThis!=='undefined'?globalThis:global||self;!_0x128fc6[_0x4499e4(0x13d)]&&(_0x128fc6['CKBox']=CKBox);}());export{mount};
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ckbox",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6",
|
|
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.6",
|
|
10
10
|
"react": "^18.1.0",
|
|
11
11
|
"react-dom": "^18.1.0",
|
|
12
12
|
"tslib": "^2.4.0"
|