ckbox 2.6.0 → 2.6.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 +4 -4
- 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
|
+
const _0x1ae85a=_0x1008;(function(_0x412805,_0x2c6767){const _0x40d300=_0x1008,_0x14995e=_0x412805();while(!![]){try{const _0x3b0d48=parseInt(_0x40d300(0x1d4))/0x1*(-parseInt(_0x40d300(0x1e6))/0x2)+parseInt(_0x40d300(0x1e0))/0x3*(parseInt(_0x40d300(0x1da))/0x4)+parseInt(_0x40d300(0x1e4))/0x5+parseInt(_0x40d300(0x1dd))/0x6+parseInt(_0x40d300(0x1e2))/0x7*(parseInt(_0x40d300(0x1d6))/0x8)+-parseInt(_0x40d300(0x1db))/0x9+parseInt(_0x40d300(0x1d8))/0xa*(-parseInt(_0x40d300(0x1e5))/0xb);if(_0x3b0d48===_0x2c6767)break;else _0x14995e['push'](_0x14995e['shift']());}catch(_0x86fc3b){_0x14995e['push'](_0x14995e['shift']());}}}(_0x3f69,0x36290));import*as _0x372e6d from'react';export{_0x372e6d as React};import*as _0x19d5e8 from'react-dom/client';function _0x1008(_0x438182,_0x4000b5){const _0x3f69fb=_0x3f69();return _0x1008=function(_0x1008fe,_0x2fa0f6){_0x1008fe=_0x1008fe-0x1d4;let _0x3e2520=_0x3f69fb[_0x1008fe];return _0x3e2520;},_0x1008(_0x438182,_0x4000b5);}import{CKBox as _0x418e13,CKBoxImageEditor,version}from'@ckbox/core';export{version}from'@ckbox/core';const getDialogProps=(_0x20cfba,_0x29c60e)=>{const _0x35bed7=_0x1008,_0x47471e=_0x20cfba[_0x35bed7(0x1d7)];if(!_0x47471e)return![];if(typeof _0x47471e===_0x35bed7(0x1e7)){const _0x580cdf=()=>{_0x29c60e();};return{'open':!![],'onClose':_0x580cdf};}const _0x1dacf0=()=>{const _0x36c5ba=_0x35bed7;var _0x3853cd;(_0x3853cd=_0x47471e[_0x36c5ba(0x1dc)])===null||_0x3853cd===void 0x0?void 0x0:_0x3853cd[_0x36c5ba(0x1ea)](_0x47471e),_0x29c60e();};return{..._0x47471e,'open':!![],'onClose':_0x1dacf0};},getAssetsProps=(_0x50e0b8,_0x34b767)=>{const _0x2f2ac9=_0x1008;var _0x1be25e;const _0x4d730f=(_0x1be25e=_0x50e0b8['assets'])===null||_0x1be25e===void 0x0?void 0x0:_0x1be25e[_0x2f2ac9(0x1e3)];if(!_0x4d730f)return _0x50e0b8[_0x2f2ac9(0x1d5)];const _0x38f655=_0x3713da=>{const _0x38596b=_0x2f2ac9;var _0x5d0e42;_0x4d730f(_0x3713da),_0x34b767&&typeof _0x34b767!=='boolean'&&((_0x5d0e42=_0x34b767[_0x38596b(0x1dc)])===null||_0x5d0e42===void 0x0?void 0x0:_0x5d0e42[_0x38596b(0x1ea)](_0x34b767));};return{..._0x50e0b8[_0x2f2ac9(0x1d5)],'onChoose':_0x38f655};},mount=(_0xa6dd63,_0x3782f1)=>{const _0xa7234a=_0x1008,_0xd7f800=_0x19d5e8[_0xa7234a(0x1df)](_0xa6dd63),_0x362367=_0xd7f800[_0xa7234a(0x1d9)][_0xa7234a(0x1e8)](_0xd7f800),_0x5f1dd0=getDialogProps(_0x3782f1,_0x362367),_0x1e6a10=getAssetsProps(_0x3782f1,_0x5f1dd0);return _0xd7f800[_0xa7234a(0x1e1)](_0x372e6d[_0xa7234a(0x1de)](_0x418e13,{..._0x3782f1,'assets':_0x1e6a10,'dialog':_0x5f1dd0})),{'unmount':_0x362367};},mountImageEditor=(_0x190671,_0x2c5093)=>{const _0x281fbb=_0x1008,_0x265889=_0x19d5e8[_0x281fbb(0x1df)](_0x190671),_0x2dafe7=_0x265889[_0x281fbb(0x1d9)]['bind'](_0x265889),_0x29b6c4=()=>{const _0x58f381=_0x281fbb;var _0x1ada92;(_0x1ada92=_0x2c5093[_0x58f381(0x1dc)])===null||_0x1ada92===void 0x0?void 0x0:_0x1ada92[_0x58f381(0x1ea)](_0x2c5093),_0x2dafe7();};return _0x265889['render'](_0x372e6d[_0x281fbb(0x1de)](CKBoxImageEditor,{..._0x2c5093,'open':!![],'onClose':_0x29b6c4})),{'unmount':_0x2dafe7};};var CKBox=Object[_0x1ae85a(0x1eb)]({'__proto__':null,'React':_0x372e6d,'mount':mount,'mountImageEditor':mountImageEditor,'version':version});(function(){const _0x328916=_0x1ae85a,_0xa3b081=globalThis;!_0xa3b081[_0x328916(0x1e9)]&&(_0xa3b081[_0x328916(0x1e9)]=CKBox);}());function _0x3f69(){const _0x4f3fb8=['unmount','232268yrcsMV','862758afIZBv','onClose','1619952BSLXxe','createElement','createRoot','6uybTEl','render','49aqnAyQ','onChoose','1588375UlDkmd','28039qTZAEj','12CGagMu','boolean','bind','CKBox','call','freeze','50443keEQuN','assets','91080tDynPR','dialog','640xiIxFY'];_0x3f69=function(){return _0x4f3fb8;};return _0x3f69();}export{mount,mountImageEditor};
|
package/package.json
CHANGED
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
],
|
|
23
23
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
24
24
|
"name": "ckbox",
|
|
25
|
-
"version": "2.6.
|
|
25
|
+
"version": "2.6.1",
|
|
26
26
|
"description": "Main CKBox package",
|
|
27
27
|
"main": "dist/index.js",
|
|
28
28
|
"types": "dist/index.d.ts",
|
|
@@ -32,6 +32,6 @@
|
|
|
32
32
|
"react": "^18.3.1",
|
|
33
33
|
"react-dom": "^18.3.1",
|
|
34
34
|
"tslib": "^2.7.0",
|
|
35
|
-
"@ckbox/core": "2.6.
|
|
35
|
+
"@ckbox/core": "2.6.1"
|
|
36
36
|
}
|
|
37
37
|
}
|