ckbox 2.13.0-rc.3 → 2.13.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 +4 -4
- package/dist/ckbox.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* @license Copyright (c) 2021-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md.
|
|
4
4
|
*/
|
|
5
|
-
const
|
|
5
|
+
const _0x23b129=_0x58bc;function _0x58bc(_0x4856d3,_0x59b144){_0x4856d3=_0x4856d3-0xcd;const _0x33c498=_0x33c4();let _0x58bcc2=_0x33c498[_0x4856d3];return _0x58bcc2;}(function(_0x5e21ec,_0x12acd2){const _0x560ff3=_0x58bc,_0x159a85=_0x5e21ec();while(!![]){try{const _0x2d9f2d=parseInt(_0x560ff3(0xe1))/0x1+-parseInt(_0x560ff3(0xda))/0x2*(-parseInt(_0x560ff3(0xd8))/0x3)+parseInt(_0x560ff3(0xdc))/0x4+parseInt(_0x560ff3(0xde))/0x5*(-parseInt(_0x560ff3(0xd0))/0x6)+-parseInt(_0x560ff3(0xdf))/0x7+parseInt(_0x560ff3(0xd7))/0x8*(parseInt(_0x560ff3(0xdb))/0x9)+parseInt(_0x560ff3(0xd9))/0xa*(parseInt(_0x560ff3(0xe3))/0xb);if(_0x2d9f2d===_0x12acd2)break;else _0x159a85['push'](_0x159a85['shift']());}catch(_0x463e97){_0x159a85['push'](_0x159a85['shift']());}}}(_0x33c4,0x39e33));import*as _0x4025c8 from'react';export{_0x4025c8 as React};function _0x33c4(){const _0x2cf840=['3163020YmTuCs','boolean','36259ycngEO','createElement','2827FUWWRu','dialog','freeze','unmount','36534iyTfVG','assets','createRoot','CKBox','onClose','render','bind','8aMyExo','4047pnkapF','21790mjqYTA','358vABqcq','49779qWwarz','576256aEjkFL','onChoose','245bYlnaV'];_0x33c4=function(){return _0x2cf840;};return _0x33c4();}import*as _0x30a2cc from'react-dom/client';import{CKBox as _0x9cad22,CKBoxImageEditor,version}from'@ckbox/core';export{version}from'@ckbox/core';const getDialogProps=(_0x245a04,_0x3290a9)=>{const _0x51a945=_0x58bc,_0x5c52c5=_0x245a04[_0x51a945(0xcd)];if(!_0x5c52c5)return![];if(typeof _0x5c52c5===_0x51a945(0xe0)){const _0x22fdef=()=>{_0x3290a9();};return{'open':!![],'onClose':_0x22fdef};}const _0x5b2226=()=>{_0x5c52c5['onClose']?.(),_0x3290a9();};return{..._0x5c52c5,'open':!![],'onClose':_0x5b2226};},getAssetsProps=(_0x4170d1,_0x45fad0)=>{const _0x3df042=_0x58bc,_0x4a6aa5=_0x4170d1[_0x3df042(0xd1)]?.[_0x3df042(0xdd)];if(!_0x4a6aa5)return _0x4170d1[_0x3df042(0xd1)];const _0xd9e897=_0x42864c=>{const _0x3fdf89=_0x3df042;_0x4a6aa5(_0x42864c),_0x45fad0&&typeof _0x45fad0!==_0x3fdf89(0xe0)&&_0x45fad0[_0x3fdf89(0xd4)]?.();};return{..._0x4170d1[_0x3df042(0xd1)],'onChoose':_0xd9e897};},mount=(_0xfc6856,_0x3170b6)=>{const _0x239fca=_0x58bc,_0x135321=_0x30a2cc[_0x239fca(0xd2)](_0xfc6856),_0x52c88a=_0x135321[_0x239fca(0xcf)][_0x239fca(0xd6)](_0x135321),_0x487818=getDialogProps(_0x3170b6,_0x52c88a),_0x20ec78=getAssetsProps(_0x3170b6,_0x487818);return _0x135321['render'](_0x4025c8[_0x239fca(0xe2)](_0x9cad22,{..._0x3170b6,'assets':_0x20ec78,'dialog':_0x487818})),{'unmount':_0x52c88a};},mountImageEditor=(_0x1dc72b,_0x4c7cbc)=>{const _0x5037cf=_0x58bc,_0x46cea9=_0x30a2cc[_0x5037cf(0xd2)](_0x1dc72b),_0x4d31cd=_0x46cea9[_0x5037cf(0xcf)][_0x5037cf(0xd6)](_0x46cea9),_0x451c14=()=>{_0x4c7cbc['onClose']?.(),_0x4d31cd();};return _0x46cea9[_0x5037cf(0xd5)](_0x4025c8[_0x5037cf(0xe2)](CKBoxImageEditor,{..._0x4c7cbc,'open':!![],'onClose':_0x451c14})),{'unmount':_0x4d31cd};};var CKBox=Object[_0x23b129(0xce)]({'__proto__':null,'React':_0x4025c8,'mount':mount,'mountImageEditor':mountImageEditor,'version':version});(function(){const _0x32802d=_0x23b129,_0x23b1e3=globalThis;!_0x23b1e3[_0x32802d(0xd3)]&&(_0x23b1e3[_0x32802d(0xd3)]=CKBox);}());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.13.0
|
|
25
|
+
"version": "2.13.0",
|
|
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": "^19.2.6",
|
|
33
33
|
"react-dom": "^19.2.6",
|
|
34
34
|
"tslib": "^2.8.1",
|
|
35
|
-
"@ckbox/core": "2.13.0
|
|
35
|
+
"@ckbox/core": "2.13.0"
|
|
36
36
|
}
|
|
37
37
|
}
|