ckbox 1.2.1-rc.0 → 1.2.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
|
-
|
|
4
|
+
(function(_0x29741f,_0x24d111){const _0x180eff=_0x2e05,_0x4e132a=_0x29741f();while(!![]){try{const _0x4afe87=-parseInt(_0x180eff(0x10a))/0x1*(-parseInt(_0x180eff(0xff))/0x2)+parseInt(_0x180eff(0x107))/0x3*(-parseInt(_0x180eff(0x10c))/0x4)+parseInt(_0x180eff(0x114))/0x5*(-parseInt(_0x180eff(0x105))/0x6)+-parseInt(_0x180eff(0xfd))/0x7*(parseInt(_0x180eff(0xfc))/0x8)+-parseInt(_0x180eff(0x106))/0x9*(-parseInt(_0x180eff(0x101))/0xa)+parseInt(_0x180eff(0x104))/0xb*(-parseInt(_0x180eff(0x10f))/0xc)+-parseInt(_0x180eff(0x100))/0xd*(-parseInt(_0x180eff(0x109))/0xe);if(_0x4afe87===_0x24d111)break;else _0x4e132a['push'](_0x4e132a['shift']());}catch(_0x3954e5){_0x4e132a['push'](_0x4e132a['shift']());}}}(_0x1f30,0xbcc88));import*as _0x5ea28a from'react';export{_0x5ea28a as React};import*as _0x947140 from'react-dom/client';import{CKBox as _0x14a18d,version}from'@ckbox/core';export{version}from'@ckbox/core';const getDialogProps=(_0x537247,_0x30e925)=>{const _0x560cca=_0x2e05,_0x1962ab=_0x537247[_0x560cca(0x108)];if(!_0x1962ab)return![];if(typeof _0x1962ab==='boolean'){const _0x48ab93=()=>{_0x30e925();};return{'open':!![],'onClose':_0x48ab93};}const _0x45eee7=()=>{const _0x8c8c74=_0x560cca;var _0x360514;(_0x360514=_0x1962ab[_0x8c8c74(0xfe)])===null||_0x360514===void 0x0?void 0x0:_0x360514[_0x8c8c74(0xfb)](_0x1962ab),_0x30e925();};return{..._0x1962ab,'open':!![],'onClose':_0x45eee7};},getAssetsProps=(_0x341108,_0x108b31)=>{const _0x379d4d=_0x2e05;var _0x366175;const _0x1ae447=(_0x366175=_0x341108[_0x379d4d(0x111)])===null||_0x366175===void 0x0?void 0x0:_0x366175[_0x379d4d(0x103)];if(!_0x1ae447)return _0x341108[_0x379d4d(0x111)];const _0x42ba2e=_0xd5bde2=>{const _0x447a23=_0x379d4d;var _0x3e9a0f;_0x1ae447(_0xd5bde2),_0x108b31&&typeof _0x108b31!==_0x447a23(0x112)&&((_0x3e9a0f=_0x108b31[_0x447a23(0xfe)])===null||_0x3e9a0f===void 0x0?void 0x0:_0x3e9a0f[_0x447a23(0xfb)](_0x108b31));};return{..._0x341108[_0x379d4d(0x111)],'onChoose':_0x42ba2e};},mount=(_0x153a49,_0x2b713c)=>{const _0x181d77=_0x2e05,_0x198e73=_0x947140[_0x181d77(0x102)](_0x153a49),_0x36ca09=_0x198e73[_0x181d77(0x110)][_0x181d77(0x10b)](_0x198e73),_0x1c7972=getDialogProps(_0x2b713c,_0x36ca09),_0x27853a=getAssetsProps(_0x2b713c,_0x1c7972);return _0x198e73[_0x181d77(0x10d)](_0x5ea28a[_0x181d77(0x113)](_0x14a18d,{..._0x2b713c,'assets':_0x27853a,'dialog':_0x1c7972})),{'unmount':_0x36ca09};};function _0x2e05(_0xe804f9,_0x3da2e3){const _0x1f30ba=_0x1f30();return _0x2e05=function(_0x2e0558,_0x170401){_0x2e0558=_0x2e0558-0xfb;let _0x1e77cc=_0x1f30ba[_0x2e0558];return _0x1e77cc;},_0x2e05(_0xe804f9,_0x3da2e3);}function _0x1f30(){const _0x56f1e2=['render','CKBox','10536EZXSGC','unmount','assets','boolean','createElement','170AENeXA','call','8oagior','8612093KhnhmR','onClose','293442ClcARv','39336804UyKNoD','4168890IgKNRN','createRoot','onChoose','3113uGuTlO','51438gPkrVR','9FdPttH','411mfqtfy','dialog','14PFaxEB','3FDbzHS','bind','39108WmrxmX'];_0x1f30=function(){return _0x56f1e2;};return _0x1f30();}var CKBox=Object['freeze']({'__proto__':null,'mount':mount,'React':_0x5ea28a,'version':version});(function(){const _0x475c8e=_0x2e05,_0x1a585f=globalThis;!_0x1a585f['CKBox']&&(_0x1a585f[_0x475c8e(0x10e)]=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.2.1
|
|
23
|
+
"version": "1.2.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.2.1
|
|
28
|
+
"@ckbox/core": "1.2.1",
|
|
29
29
|
"@types/react": "^18.0.25",
|
|
30
30
|
"@types/react-dom": "^18.0.9",
|
|
31
31
|
"react": "^18.2.0",
|