ckbox 2.8.1-rc.0 → 2.8.2-rc.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
@@ -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
- const _0x1232fc=_0x3006;(function(_0x544ec1,_0x26ca74){const _0x370f9a=_0x3006,_0x2ad21c=_0x544ec1();while(!![]){try{const _0x403994=parseInt(_0x370f9a(0x1b6))/0x1*(-parseInt(_0x370f9a(0x1c1))/0x2)+parseInt(_0x370f9a(0x1b8))/0x3*(parseInt(_0x370f9a(0x1be))/0x4)+-parseInt(_0x370f9a(0x1c5))/0x5+-parseInt(_0x370f9a(0x1c6))/0x6+parseInt(_0x370f9a(0x1b3))/0x7+-parseInt(_0x370f9a(0x1b1))/0x8*(parseInt(_0x370f9a(0x1b0))/0x9)+parseInt(_0x370f9a(0x1c2))/0xa;if(_0x403994===_0x26ca74)break;else _0x2ad21c['push'](_0x2ad21c['shift']());}catch(_0x37ae21){_0x2ad21c['push'](_0x2ad21c['shift']());}}}(_0x3234,0x4a10c));import*as _0x28d43a from'react';export{_0x28d43a as React};import*as _0x2ea272 from'react-dom/client';import{CKBox as _0x19d8f6,CKBoxImageEditor,version}from'@ckbox/core';export{version}from'@ckbox/core';function _0x3234(){const _0x2567dc=['unmount','1401526eNeqxS','call','assets','278541YSxsCq','boolean','380943WTrony','createElement','onChoose','render','onClose','createRoot','4JMeMCm','freeze','CKBox','2tLUnix','11439040cyKaLN','bind','dialog','2152130jKkAag','873978PehFfd','49437QXZIjc','456hltLRT'];_0x3234=function(){return _0x2567dc;};return _0x3234();}const getDialogProps=(_0x16f3e2,_0x1f27b4)=>{const _0x2f03f3=_0x3006,_0x2fbe3c=_0x16f3e2[_0x2f03f3(0x1c4)];if(!_0x2fbe3c)return![];if(typeof _0x2fbe3c===_0x2f03f3(0x1b7)){const _0x2f6441=()=>{_0x1f27b4();};return{'open':!![],'onClose':_0x2f6441};}const _0x24935e=()=>{const _0x3ffe41=_0x2f03f3;var _0x227642;(_0x227642=_0x2fbe3c[_0x3ffe41(0x1bc)])===null||_0x227642===void 0x0?void 0x0:_0x227642[_0x3ffe41(0x1b4)](_0x2fbe3c),_0x1f27b4();};return{..._0x2fbe3c,'open':!![],'onClose':_0x24935e};},getAssetsProps=(_0x566923,_0x5a0c2d)=>{const _0xf7875c=_0x3006;var _0x5a9575;const _0x1d31b6=(_0x5a9575=_0x566923[_0xf7875c(0x1b5)])===null||_0x5a9575===void 0x0?void 0x0:_0x5a9575[_0xf7875c(0x1ba)];if(!_0x1d31b6)return _0x566923[_0xf7875c(0x1b5)];const _0x196f98=_0x594c6f=>{const _0x47f595=_0xf7875c;var _0x4dcf63;_0x1d31b6(_0x594c6f),_0x5a0c2d&&typeof _0x5a0c2d!==_0x47f595(0x1b7)&&((_0x4dcf63=_0x5a0c2d[_0x47f595(0x1bc)])===null||_0x4dcf63===void 0x0?void 0x0:_0x4dcf63[_0x47f595(0x1b4)](_0x5a0c2d));};return{..._0x566923['assets'],'onChoose':_0x196f98};},mount=(_0xb5a156,_0x1b171c)=>{const _0x27953b=_0x3006,_0x4275a5=_0x2ea272[_0x27953b(0x1bd)](_0xb5a156),_0x342d0a=_0x4275a5['unmount'][_0x27953b(0x1c3)](_0x4275a5),_0x2ac907=getDialogProps(_0x1b171c,_0x342d0a),_0x47a782=getAssetsProps(_0x1b171c,_0x2ac907);return _0x4275a5[_0x27953b(0x1bb)](_0x28d43a[_0x27953b(0x1b9)](_0x19d8f6,{..._0x1b171c,'assets':_0x47a782,'dialog':_0x2ac907})),{'unmount':_0x342d0a};},mountImageEditor=(_0x3aaccb,_0x14e0ae)=>{const _0x2ebb37=_0x3006,_0x45ea38=_0x2ea272[_0x2ebb37(0x1bd)](_0x3aaccb),_0x426a6d=_0x45ea38[_0x2ebb37(0x1b2)][_0x2ebb37(0x1c3)](_0x45ea38),_0x229027=()=>{const _0x30394d=_0x2ebb37;var _0x1e964c;(_0x1e964c=_0x14e0ae[_0x30394d(0x1bc)])===null||_0x1e964c===void 0x0?void 0x0:_0x1e964c[_0x30394d(0x1b4)](_0x14e0ae),_0x426a6d();};return _0x45ea38[_0x2ebb37(0x1bb)](_0x28d43a[_0x2ebb37(0x1b9)](CKBoxImageEditor,{..._0x14e0ae,'open':!![],'onClose':_0x229027})),{'unmount':_0x426a6d};};function _0x3006(_0x34dfa1,_0x5a0f6a){const _0x3234ab=_0x3234();return _0x3006=function(_0x3006c5,_0x306c80){_0x3006c5=_0x3006c5-0x1b0;let _0x3e0b6c=_0x3234ab[_0x3006c5];return _0x3e0b6c;},_0x3006(_0x34dfa1,_0x5a0f6a);}var CKBox=Object[_0x1232fc(0x1bf)]({'__proto__':null,'React':_0x28d43a,'mount':mount,'mountImageEditor':mountImageEditor,'version':version});(function(){const _0x2c58d6=_0x1232fc,_0x58d6e1=globalThis;!_0x58d6e1[_0x2c58d6(0x1c0)]&&(_0x58d6e1[_0x2c58d6(0x1c0)]=CKBox);}());export{mount,mountImageEditor};
4
+ const _0x5b8463=_0x2b7e;(function(_0x426412,_0x499315){const _0x582930=_0x2b7e,_0x4616c6=_0x426412();while(!![]){try{const _0x36f860=parseInt(_0x582930(0x1d7))/0x1*(-parseInt(_0x582930(0x1c6))/0x2)+-parseInt(_0x582930(0x1d1))/0x3*(parseInt(_0x582930(0x1cb))/0x4)+-parseInt(_0x582930(0x1cf))/0x5*(parseInt(_0x582930(0x1c5))/0x6)+-parseInt(_0x582930(0x1c1))/0x7*(-parseInt(_0x582930(0x1d2))/0x8)+-parseInt(_0x582930(0x1c8))/0x9+-parseInt(_0x582930(0x1d3))/0xa+parseInt(_0x582930(0x1ce))/0xb;if(_0x36f860===_0x499315)break;else _0x4616c6['push'](_0x4616c6['shift']());}catch(_0xa5ad64){_0x4616c6['push'](_0x4616c6['shift']());}}}(_0x3013,0x5bf34));import*as _0x1529fc from'react';export{_0x1529fc as React};import*as _0xb71e97 from'react-dom/client';import{CKBox as _0x2e6a7c,CKBoxImageEditor,version}from'@ckbox/core';export{version}from'@ckbox/core';const getDialogProps=(_0x1bc8dd,_0x417d01)=>{const _0x57a4a7=_0x2b7e,_0x1eedfb=_0x1bc8dd[_0x57a4a7(0x1cc)];if(!_0x1eedfb)return![];if(typeof _0x1eedfb===_0x57a4a7(0x1c2)){const _0x4b981e=()=>{_0x417d01();};return{'open':!![],'onClose':_0x4b981e};}const _0x5423f3=()=>{const _0x4b2770=_0x57a4a7;var _0x13c360;(_0x13c360=_0x1eedfb[_0x4b2770(0x1cd)])===null||_0x13c360===void 0x0?void 0x0:_0x13c360[_0x4b2770(0x1c3)](_0x1eedfb),_0x417d01();};return{..._0x1eedfb,'open':!![],'onClose':_0x5423f3};},getAssetsProps=(_0x545f06,_0xea7f2e)=>{const _0x872d5e=_0x2b7e;var _0x43b69a;const _0x565510=(_0x43b69a=_0x545f06[_0x872d5e(0x1c4)])===null||_0x43b69a===void 0x0?void 0x0:_0x43b69a['onChoose'];if(!_0x565510)return _0x545f06['assets'];const _0x4056c4=_0x5446f5=>{const _0x12d572=_0x872d5e;var _0x19546e;_0x565510(_0x5446f5),_0xea7f2e&&typeof _0xea7f2e!==_0x12d572(0x1c2)&&((_0x19546e=_0xea7f2e[_0x12d572(0x1cd)])===null||_0x19546e===void 0x0?void 0x0:_0x19546e[_0x12d572(0x1c3)](_0xea7f2e));};return{..._0x545f06[_0x872d5e(0x1c4)],'onChoose':_0x4056c4};},mount=(_0x219deb,_0xf962d1)=>{const _0x469b31=_0x2b7e,_0x3bd468=_0xb71e97[_0x469b31(0x1ca)](_0x219deb),_0x3ea638=_0x3bd468[_0x469b31(0x1d0)][_0x469b31(0x1c7)](_0x3bd468),_0x2adb43=getDialogProps(_0xf962d1,_0x3ea638),_0x2149ee=getAssetsProps(_0xf962d1,_0x2adb43);return _0x3bd468[_0x469b31(0x1d5)](_0x1529fc[_0x469b31(0x1d4)](_0x2e6a7c,{..._0xf962d1,'assets':_0x2149ee,'dialog':_0x2adb43})),{'unmount':_0x3ea638};},mountImageEditor=(_0x24f659,_0x195a79)=>{const _0xaba8d7=_0x2b7e,_0x1a703b=_0xb71e97[_0xaba8d7(0x1ca)](_0x24f659),_0x6faf9=_0x1a703b[_0xaba8d7(0x1d0)][_0xaba8d7(0x1c7)](_0x1a703b),_0x5f5465=()=>{const _0x3ebe41=_0xaba8d7;var _0x272859;(_0x272859=_0x195a79[_0x3ebe41(0x1cd)])===null||_0x272859===void 0x0?void 0x0:_0x272859[_0x3ebe41(0x1c3)](_0x195a79),_0x6faf9();};return _0x1a703b[_0xaba8d7(0x1d5)](_0x1529fc[_0xaba8d7(0x1d4)](CKBoxImageEditor,{..._0x195a79,'open':!![],'onClose':_0x5f5465})),{'unmount':_0x6faf9};};function _0x2b7e(_0x46b453,_0x5d884a){const _0x3013cc=_0x3013();return _0x2b7e=function(_0x2b7e05,_0x44cb75){_0x2b7e05=_0x2b7e05-0x1c1;let _0x147b9f=_0x3013cc[_0x2b7e05];return _0x147b9f;},_0x2b7e(_0x46b453,_0x5d884a);}function _0x3013(){const _0x359295=['CKBox','createRoot','2732HiEbWw','dialog','onClose','8416760dzGivU','5ikeghc','unmount','318mPeYgD','1744yDpJAw','7110900hKIuEl','createElement','render','freeze','1zOyWHN','20573VFxXfM','boolean','call','assets','394014eNygsy','302306UAfMYE','bind','260316mftgEc'];_0x3013=function(){return _0x359295;};return _0x3013();}var CKBox=Object[_0x5b8463(0x1d6)]({'__proto__':null,'React':_0x1529fc,'mount':mount,'mountImageEditor':mountImageEditor,'version':version});(function(){const _0x3da5f7=_0x5b8463,_0x4981ce=globalThis;!_0x4981ce[_0x3da5f7(0x1c9)]&&(_0x4981ce[_0x3da5f7(0x1c9)]=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.8.1-rc.0",
25
+ "version": "2.8.2-rc.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.1.0",
33
33
  "react-dom": "^19.1.0",
34
34
  "tslib": "^2.8.1",
35
- "@ckbox/core": "2.8.1-rc.0"
35
+ "@ckbox/core": "2.8.2-rc.0"
36
36
  }
37
37
  }