ckbox 2.13.0-rc.2 → 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
- function _0x4eed(){const _0x32311d=['boolean','485439QOImGF','createElement','5631672JzdifT','1048224MFXHAE','bind','unmount','1364440vBrJdV','render','onClose','9WSDsPI','663240Chdvei','118790gcIZxm','createRoot','3510064lttbNg','dialog','306HZFDxM','freeze','assets','CKBox','onChoose'];_0x4eed=function(){return _0x32311d;};return _0x4eed();}const _0x18652c=_0x206b;function _0x206b(_0x47a2f2,_0x5bc68b){_0x47a2f2=_0x47a2f2-0x1c1;const _0x4eed0a=_0x4eed();let _0x206bab=_0x4eed0a[_0x47a2f2];return _0x206bab;}(function(_0x5bf557,_0x15dee9){const _0x5191f9=_0x206b,_0x5bd2d5=_0x5bf557();while(!![]){try{const _0x3ef9d5=parseInt(_0x5191f9(0x1c1))/0x1+parseInt(_0x5191f9(0x1c8))/0x2+parseInt(_0x5191f9(0x1d3))/0x3+parseInt(_0x5191f9(0x1cb))/0x4+-parseInt(_0x5191f9(0x1c4))/0x5+-parseInt(_0x5191f9(0x1cd))/0x6*(parseInt(_0x5191f9(0x1c9))/0x7)+parseInt(_0x5191f9(0x1d5))/0x8*(-parseInt(_0x5191f9(0x1c7))/0x9);if(_0x3ef9d5===_0x15dee9)break;else _0x5bd2d5['push'](_0x5bd2d5['shift']());}catch(_0x3a9e60){_0x5bd2d5['push'](_0x5bd2d5['shift']());}}}(_0x4eed,0x8cd58));import*as _0x44ba80 from'react';export{_0x44ba80 as React};import*as _0x3a9081 from'react-dom/client';import{CKBox as _0x383917,CKBoxImageEditor,version}from'@ckbox/core';export{version}from'@ckbox/core';const getDialogProps=(_0x157725,_0x388982)=>{const _0x3a9555=_0x206b,_0x381d68=_0x157725[_0x3a9555(0x1cc)];if(!_0x381d68)return![];if(typeof _0x381d68===_0x3a9555(0x1d2)){const _0x365f69=()=>{_0x388982();};return{'open':!![],'onClose':_0x365f69};}const _0x122fa6=()=>{const _0x429e02=_0x3a9555;_0x381d68[_0x429e02(0x1c6)]?.(),_0x388982();};return{..._0x381d68,'open':!![],'onClose':_0x122fa6};},getAssetsProps=(_0x6f89e4,_0x3525fe)=>{const _0x4b745a=_0x206b,_0x54978f=_0x6f89e4['assets']?.[_0x4b745a(0x1d1)];if(!_0x54978f)return _0x6f89e4[_0x4b745a(0x1cf)];const _0x7a1e69=_0x2d2f1b=>{const _0x539805=_0x4b745a;_0x54978f(_0x2d2f1b),_0x3525fe&&typeof _0x3525fe!==_0x539805(0x1d2)&&_0x3525fe[_0x539805(0x1c6)]?.();};return{..._0x6f89e4[_0x4b745a(0x1cf)],'onChoose':_0x7a1e69};},mount=(_0x2b6830,_0x5c1099)=>{const _0x235db5=_0x206b,_0x4a4078=_0x3a9081[_0x235db5(0x1ca)](_0x2b6830),_0x2fa2f7=_0x4a4078[_0x235db5(0x1c3)][_0x235db5(0x1c2)](_0x4a4078),_0x5c0b1d=getDialogProps(_0x5c1099,_0x2fa2f7),_0x16f276=getAssetsProps(_0x5c1099,_0x5c0b1d);return _0x4a4078[_0x235db5(0x1c5)](_0x44ba80[_0x235db5(0x1d4)](_0x383917,{..._0x5c1099,'assets':_0x16f276,'dialog':_0x5c0b1d})),{'unmount':_0x2fa2f7};},mountImageEditor=(_0x51418a,_0x4e4318)=>{const _0x4c14c7=_0x206b,_0x2fd84d=_0x3a9081[_0x4c14c7(0x1ca)](_0x51418a),_0x1e6c85=_0x2fd84d[_0x4c14c7(0x1c3)][_0x4c14c7(0x1c2)](_0x2fd84d),_0x434cd=()=>{const _0x2bc1c0=_0x4c14c7;_0x4e4318[_0x2bc1c0(0x1c6)]?.(),_0x1e6c85();};return _0x2fd84d[_0x4c14c7(0x1c5)](_0x44ba80[_0x4c14c7(0x1d4)](CKBoxImageEditor,{..._0x4e4318,'open':!![],'onClose':_0x434cd})),{'unmount':_0x1e6c85};};var CKBox=Object[_0x18652c(0x1ce)]({'__proto__':null,'React':_0x44ba80,'mount':mount,'mountImageEditor':mountImageEditor,'version':version});(function(){const _0xf6c8de=_0x18652c,_0x852ec7=globalThis;!_0x852ec7[_0xf6c8de(0x1d0)]&&(_0x852ec7[_0xf6c8de(0x1d0)]=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.2",
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.2"
35
+ "@ckbox/core": "2.13.0"
36
36
  }
37
37
  }