ckbox 2.9.0-rc.4 → 2.9.0-rc.5

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.
Files changed (42) hide show
  1. package/README.md +4 -4
  2. package/dist/ckbox.js +1 -1
  3. package/dist/index.js +1 -1
  4. package/dist/styles/ckbox.css +1 -1
  5. package/dist/translations/bg.js +1 -1
  6. package/dist/translations/bn.js +1 -1
  7. package/dist/translations/ca.js +1 -1
  8. package/dist/translations/cs.js +1 -1
  9. package/dist/translations/da.js +1 -1
  10. package/dist/translations/de.js +1 -1
  11. package/dist/translations/el.js +1 -1
  12. package/dist/translations/es-la.js +1 -1
  13. package/dist/translations/es-mx.js +1 -1
  14. package/dist/translations/es.js +1 -1
  15. package/dist/translations/et.js +1 -1
  16. package/dist/translations/fi.js +1 -1
  17. package/dist/translations/fr-ca.js +1 -1
  18. package/dist/translations/fr.js +1 -1
  19. package/dist/translations/hi.js +1 -1
  20. package/dist/translations/hu.js +1 -1
  21. package/dist/translations/it.js +1 -1
  22. package/dist/translations/ja.js +1 -1
  23. package/dist/translations/ko.js +1 -1
  24. package/dist/translations/lt.js +1 -1
  25. package/dist/translations/mr.js +1 -1
  26. package/dist/translations/nl.js +1 -1
  27. package/dist/translations/no.js +1 -1
  28. package/dist/translations/pl.js +1 -1
  29. package/dist/translations/pt-br.js +1 -1
  30. package/dist/translations/pt.js +1 -1
  31. package/dist/translations/ro.js +1 -1
  32. package/dist/translations/ru.js +1 -1
  33. package/dist/translations/sk.js +1 -1
  34. package/dist/translations/sr.js +1 -1
  35. package/dist/translations/sv.js +1 -1
  36. package/dist/translations/th.js +1 -1
  37. package/dist/translations/tr.js +1 -1
  38. package/dist/translations/uk.js +1 -1
  39. package/dist/translations/vi.js +1 -1
  40. package/dist/translations/zh-tw.js +1 -1
  41. package/dist/translations/zh.js +1 -1
  42. 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(_0x47efa9,_0x149446){const _0x1eac34=_0x1528,_0x3f41be=_0x47efa9();while(!![]){try{const _0x285fd3=parseInt(_0x1eac34(0x12e))/0x1*(-parseInt(_0x1eac34(0x127))/0x2)+-parseInt(_0x1eac34(0x128))/0x3+parseInt(_0x1eac34(0x12a))/0x4*(parseInt(_0x1eac34(0x11a))/0x5)+-parseInt(_0x1eac34(0x124))/0x6*(-parseInt(_0x1eac34(0x122))/0x7)+-parseInt(_0x1eac34(0x11b))/0x8+parseInt(_0x1eac34(0x120))/0x9+-parseInt(_0x1eac34(0x125))/0xa;if(_0x285fd3===_0x149446)break;else _0x3f41be['push'](_0x3f41be['shift']());}catch(_0x109ee8){_0x3f41be['push'](_0x3f41be['shift']());}}}(_0xa8fe,0x959c2));import*as _0x337587 from'react';export{_0x337587 as React};function _0x1528(_0x4c183e,_0x4bd1f1){const _0xa8fea4=_0xa8fe();return _0x1528=function(_0x152841,_0x205a47){_0x152841=_0x152841-0x119;let _0x4cbd07=_0xa8fea4[_0x152841];return _0x4cbd07;},_0x1528(_0x4c183e,_0x4bd1f1);}import*as _0x210bd2 from'react-dom/client';import{CKBox as _0x38f640,CKBoxImageEditor,version}from'@ckbox/core';function _0xa8fe(){const _0x556415=['bind','3370QZpfyE','assets','51385oIqUpL','6285944CWTSDa','boolean','onChoose','dialog','render','9523701kmGNtw','unmount','25319bmaxGS','createRoot','1746FbnEJN','5271130PqDvQm','call','118Fwudvi','3257661plkvsy','createElement','428aBDYOY','CKBox','onClose'];_0xa8fe=function(){return _0x556415;};return _0xa8fe();}export{version}from'@ckbox/core';const getDialogProps=(_0x121d37,_0x248af2)=>{const _0x26e201=_0x1528,_0x297ea1=_0x121d37[_0x26e201(0x11e)];if(!_0x297ea1)return![];if(typeof _0x297ea1===_0x26e201(0x11c)){const _0x101427=()=>{_0x248af2();};return{'open':!![],'onClose':_0x101427};}const _0x41778d=()=>{const _0x429161=_0x26e201;var _0x3217d5;(_0x3217d5=_0x297ea1['onClose'])===null||_0x3217d5===void 0x0?void 0x0:_0x3217d5[_0x429161(0x126)](_0x297ea1),_0x248af2();};return{..._0x297ea1,'open':!![],'onClose':_0x41778d};},getAssetsProps=(_0x405c63,_0x28e691)=>{const _0x5866e1=_0x1528;var _0x728ad0;const _0x593586=(_0x728ad0=_0x405c63['assets'])===null||_0x728ad0===void 0x0?void 0x0:_0x728ad0[_0x5866e1(0x11d)];if(!_0x593586)return _0x405c63[_0x5866e1(0x119)];const _0x48d8ac=_0xc7e357=>{const _0x2c3060=_0x5866e1;var _0x57d1cb;_0x593586(_0xc7e357),_0x28e691&&typeof _0x28e691!==_0x2c3060(0x11c)&&((_0x57d1cb=_0x28e691['onClose'])===null||_0x57d1cb===void 0x0?void 0x0:_0x57d1cb[_0x2c3060(0x126)](_0x28e691));};return{..._0x405c63['assets'],'onChoose':_0x48d8ac};},mount=(_0x493646,_0x311919)=>{const _0x371b45=_0x1528,_0x59d9ec=_0x210bd2[_0x371b45(0x123)](_0x493646),_0xfc083c=_0x59d9ec[_0x371b45(0x121)][_0x371b45(0x12d)](_0x59d9ec),_0x45c54b=getDialogProps(_0x311919,_0xfc083c),_0x1ff2b4=getAssetsProps(_0x311919,_0x45c54b);return _0x59d9ec[_0x371b45(0x11f)](_0x337587[_0x371b45(0x129)](_0x38f640,{..._0x311919,'assets':_0x1ff2b4,'dialog':_0x45c54b})),{'unmount':_0xfc083c};},mountImageEditor=(_0x97b388,_0x3d1dba)=>{const _0x232524=_0x1528,_0x2593b2=_0x210bd2['createRoot'](_0x97b388),_0x199d6e=_0x2593b2[_0x232524(0x121)][_0x232524(0x12d)](_0x2593b2),_0x208043=()=>{const _0xa90013=_0x232524;var _0xcbab75;(_0xcbab75=_0x3d1dba[_0xa90013(0x12c)])===null||_0xcbab75===void 0x0?void 0x0:_0xcbab75[_0xa90013(0x126)](_0x3d1dba),_0x199d6e();};return _0x2593b2[_0x232524(0x11f)](_0x337587['createElement'](CKBoxImageEditor,{..._0x3d1dba,'open':!![],'onClose':_0x208043})),{'unmount':_0x199d6e};};var CKBox=Object['freeze']({'__proto__':null,'React':_0x337587,'mount':mount,'mountImageEditor':mountImageEditor,'version':version});(function(){const _0x498e56=_0x1528,_0x36cf70=globalThis;!_0x36cf70[_0x498e56(0x12b)]&&(_0x36cf70[_0x498e56(0x12b)]=CKBox);}());export{mount,mountImageEditor};
4
+ (function(_0x446b4c,_0x208012){const _0x1ccded=_0x230c,_0x483c62=_0x446b4c();while(!![]){try{const _0x32e13f=parseInt(_0x1ccded(0xf5))/0x1+-parseInt(_0x1ccded(0x107))/0x2*(-parseInt(_0x1ccded(0xfe))/0x3)+parseInt(_0x1ccded(0x102))/0x4*(parseInt(_0x1ccded(0xfa))/0x5)+parseInt(_0x1ccded(0xfd))/0x6*(-parseInt(_0x1ccded(0xf6))/0x7)+-parseInt(_0x1ccded(0xfc))/0x8*(-parseInt(_0x1ccded(0x105))/0x9)+-parseInt(_0x1ccded(0x108))/0xa*(-parseInt(_0x1ccded(0x10a))/0xb)+-parseInt(_0x1ccded(0x106))/0xc;if(_0x32e13f===_0x208012)break;else _0x483c62['push'](_0x483c62['shift']());}catch(_0x506d6b){_0x483c62['push'](_0x483c62['shift']());}}}(_0x80a4,0x8d5b0));import*as _0x44e5e2 from'react';export{_0x44e5e2 as React};import*as _0x255658 from'react-dom/client';import{CKBox as _0x52222e,CKBoxImageEditor,version}from'@ckbox/core';function _0x230c(_0x1f7572,_0x594972){const _0x80a47d=_0x80a4();return _0x230c=function(_0x230cae,_0x566556){_0x230cae=_0x230cae-0xf5;let _0x3b9237=_0x80a47d[_0x230cae];return _0x3b9237;},_0x230c(_0x1f7572,_0x594972);}export{version}from'@ckbox/core';function _0x80a4(){const _0x38f655=['2475VJKGgM','30527340vzhBVT','38eYIzql','15830VZsKLv','boolean','6017xtqJou','291133XeDkfT','615965hiycwQ','CKBox','bind','call','30655BwPSIF','dialog','28568tFeyDL','12UUdoRE','163776qXjtTi','render','onChoose','assets','80KnAnsp','onClose','unmount'];_0x80a4=function(){return _0x38f655;};return _0x80a4();}const getDialogProps=(_0x219638,_0x5b2cdc)=>{const _0x5d83d1=_0x230c,_0x7635c7=_0x219638[_0x5d83d1(0xfb)];if(!_0x7635c7)return![];if(typeof _0x7635c7===_0x5d83d1(0x109)){const _0x449255=()=>{_0x5b2cdc();};return{'open':!![],'onClose':_0x449255};}const _0x35c3e1=()=>{const _0xeaed9f=_0x5d83d1;var _0x1739d3;(_0x1739d3=_0x7635c7[_0xeaed9f(0x103)])===null||_0x1739d3===void 0x0?void 0x0:_0x1739d3[_0xeaed9f(0xf9)](_0x7635c7),_0x5b2cdc();};return{..._0x7635c7,'open':!![],'onClose':_0x35c3e1};},getAssetsProps=(_0x2b20e3,_0x55cc09)=>{const _0x2391aa=_0x230c;var _0x4a1808;const _0x30055e=(_0x4a1808=_0x2b20e3['assets'])===null||_0x4a1808===void 0x0?void 0x0:_0x4a1808[_0x2391aa(0x100)];if(!_0x30055e)return _0x2b20e3[_0x2391aa(0x101)];const _0x3413ec=_0xf9b1be=>{const _0x117f85=_0x2391aa;var _0x353491;_0x30055e(_0xf9b1be),_0x55cc09&&typeof _0x55cc09!==_0x117f85(0x109)&&((_0x353491=_0x55cc09[_0x117f85(0x103)])===null||_0x353491===void 0x0?void 0x0:_0x353491['call'](_0x55cc09));};return{..._0x2b20e3[_0x2391aa(0x101)],'onChoose':_0x3413ec};},mount=(_0x36041c,_0x10f93f)=>{const _0x386a3c=_0x230c,_0xf69606=_0x255658['createRoot'](_0x36041c),_0x375b4e=_0xf69606[_0x386a3c(0x104)][_0x386a3c(0xf8)](_0xf69606),_0x47c949=getDialogProps(_0x10f93f,_0x375b4e),_0x3656bc=getAssetsProps(_0x10f93f,_0x47c949);return _0xf69606['render'](_0x44e5e2['createElement'](_0x52222e,{..._0x10f93f,'assets':_0x3656bc,'dialog':_0x47c949})),{'unmount':_0x375b4e};},mountImageEditor=(_0x2d525e,_0x3b9321)=>{const _0x2562bc=_0x230c,_0x5c4ef1=_0x255658['createRoot'](_0x2d525e),_0x2c5c7b=_0x5c4ef1[_0x2562bc(0x104)][_0x2562bc(0xf8)](_0x5c4ef1),_0x1bdee1=()=>{const _0x4320dd=_0x2562bc;var _0x36cd0d;(_0x36cd0d=_0x3b9321[_0x4320dd(0x103)])===null||_0x36cd0d===void 0x0?void 0x0:_0x36cd0d[_0x4320dd(0xf9)](_0x3b9321),_0x2c5c7b();};return _0x5c4ef1[_0x2562bc(0xff)](_0x44e5e2['createElement'](CKBoxImageEditor,{..._0x3b9321,'open':!![],'onClose':_0x1bdee1})),{'unmount':_0x2c5c7b};};var CKBox=Object['freeze']({'__proto__':null,'React':_0x44e5e2,'mount':mount,'mountImageEditor':mountImageEditor,'version':version});(function(){const _0xd0f2f2=_0x230c,_0x4876df=globalThis;!_0x4876df[_0xd0f2f2(0xf7)]&&(_0x4876df[_0xd0f2f2(0xf7)]=CKBox);}());export{mount,mountImageEditor};