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/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 _0x1d748d=_0x19f2;(function(_0x57e04a,_0x101f2b){const _0x2f024=_0x19f2,_0x16774f=_0x57e04a();while(!![]){try{const _0x139eda=-parseInt(_0x2f024(0x1e9))/0x1+parseInt(_0x2f024(0x1eb))/0x2*(parseInt(_0x2f024(0x1e7))/0x3)+-parseInt(_0x2f024(0x1e8))/0x4+parseInt(_0x2f024(0x1e6))/0x5+parseInt(_0x2f024(0x1f4))/0x6*(-parseInt(_0x2f024(0x1ea))/0x7)+-parseInt(_0x2f024(0x1e2))/0x8*(-parseInt(_0x2f024(0x1ee))/0x9)+parseInt(_0x2f024(0x1e0))/0xa;if(_0x139eda===_0x101f2b)break;else _0x16774f['push'](_0x16774f['shift']());}catch(_0x6bf222){_0x16774f['push'](_0x16774f['shift']());}}}(_0x5bb8,0x826ed));import*as _0x15bdb9 from'react';export{_0x15bdb9 as React};function _0x5bb8(){const _0x24335e=['747899hiXCeU','5988521fpTDSs','166218OFWput','dialog','onClose','1525833konSUx','bind','freeze','boolean','CKBox','assets','6EjoPsZ','16275140rpiCHo','render','8eCJpEe','unmount','createRoot','createElement','2269240yTpWDb','9yGGpFz','1450284jSYxDr'];_0x5bb8=function(){return _0x24335e;};return _0x5bb8();}function _0x19f2(_0x11903b,_0x597bfb){_0x11903b=_0x11903b-0x1e0;const _0x5bb86f=_0x5bb8();let _0x19f2fa=_0x5bb86f[_0x11903b];return _0x19f2fa;}import*as _0x2ed0d4 from'react-dom/client';import{CKBox as _0x42f700,CKBoxImageEditor,version}from'@ckbox/core';export{version}from'@ckbox/core';const getDialogProps=(_0x3aa95a,_0xca4d80)=>{const _0x275d0c=_0x19f2,_0x25179e=_0x3aa95a[_0x275d0c(0x1ec)];if(!_0x25179e)return![];if(typeof _0x25179e===_0x275d0c(0x1f1)){const _0x2921f5=()=>{_0xca4d80();};return{'open':!![],'onClose':_0x2921f5};}const _0x294da6=()=>{_0x25179e['onClose']?.(),_0xca4d80();};return{..._0x25179e,'open':!![],'onClose':_0x294da6};},getAssetsProps=(_0x3b4d6a,_0x5604fc)=>{const _0x148b8e=_0x19f2,_0x42dc66=_0x3b4d6a['assets']?.['onChoose'];if(!_0x42dc66)return _0x3b4d6a['assets'];const _0x3f01ba=_0x23caa5=>{const _0x2a7ed5=_0x19f2;_0x42dc66(_0x23caa5),_0x5604fc&&typeof _0x5604fc!=='boolean'&&_0x5604fc[_0x2a7ed5(0x1ed)]?.();};return{..._0x3b4d6a[_0x148b8e(0x1f3)],'onChoose':_0x3f01ba};},mount=(_0x3cbc01,_0x14c440)=>{const _0x2d68a2=_0x19f2,_0x60a765=_0x2ed0d4[_0x2d68a2(0x1e4)](_0x3cbc01),_0x10fde0=_0x60a765[_0x2d68a2(0x1e3)][_0x2d68a2(0x1ef)](_0x60a765),_0x3ab99a=getDialogProps(_0x14c440,_0x10fde0),_0x24c8ae=getAssetsProps(_0x14c440,_0x3ab99a);return _0x60a765['render'](_0x15bdb9[_0x2d68a2(0x1e5)](_0x42f700,{..._0x14c440,'assets':_0x24c8ae,'dialog':_0x3ab99a})),{'unmount':_0x10fde0};},mountImageEditor=(_0x5682ca,_0x4a5c33)=>{const _0x27cb37=_0x19f2,_0x214737=_0x2ed0d4[_0x27cb37(0x1e4)](_0x5682ca),_0x768034=_0x214737['unmount'][_0x27cb37(0x1ef)](_0x214737),_0x2a628c=()=>{const _0x22af44=_0x27cb37;_0x4a5c33[_0x22af44(0x1ed)]?.(),_0x768034();};return _0x214737[_0x27cb37(0x1e1)](_0x15bdb9[_0x27cb37(0x1e5)](CKBoxImageEditor,{..._0x4a5c33,'open':!![],'onClose':_0x2a628c})),{'unmount':_0x768034};};var CKBox=Object[_0x1d748d(0x1f0)]({'__proto__':null,'React':_0x15bdb9,'mount':mount,'mountImageEditor':mountImageEditor,'version':version});(function(){const _0xdc7b99=_0x1d748d,_0x1012ca=globalThis;!_0x1012ca[_0xdc7b99(0x1f2)]&&(_0x1012ca[_0xdc7b99(0x1f2)]=CKBox);}());export{mount,mountImageEditor};
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-rc.3",
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-rc.3"
35
+ "@ckbox/core": "2.13.0"
36
36
  }
37
37
  }