ckbox 2.5.0 → 2.5.1

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
- (function(_0x7548f,_0x58bb42){const _0x3d5432=_0x2151,_0x37b169=_0x7548f();while(!![]){try{const _0x2ce9bb=-parseInt(_0x3d5432(0x1cd))/0x1+-parseInt(_0x3d5432(0x1db))/0x2*(-parseInt(_0x3d5432(0x1da))/0x3)+-parseInt(_0x3d5432(0x1d3))/0x4+-parseInt(_0x3d5432(0x1d0))/0x5*(parseInt(_0x3d5432(0x1c8))/0x6)+-parseInt(_0x3d5432(0x1d7))/0x7*(parseInt(_0x3d5432(0x1cf))/0x8)+parseInt(_0x3d5432(0x1cb))/0x9+parseInt(_0x3d5432(0x1c7))/0xa;if(_0x2ce9bb===_0x58bb42)break;else _0x37b169['push'](_0x37b169['shift']());}catch(_0x1c61af){_0x37b169['push'](_0x37b169['shift']());}}}(_0x1cf2,0x4ec41));import*as _0x4e9057 from'react';function _0x1cf2(){const _0x59bc2d=['onClose','160069UiAPAg','bind','createRoot','1498497htVhnH','2aUwaVU','boolean','3978790UuVgyV','834ofHllE','call','assets','1932939yxLzwb','createElement','200820dcognP','dialog','144MKiUzF','975oJVTgN','render','unmount','599972NNhPup','onChoose','CKBox'];_0x1cf2=function(){return _0x59bc2d;};return _0x1cf2();}export{_0x4e9057 as React};function _0x2151(_0x4bf431,_0x1d3da8){const _0x1cf2e8=_0x1cf2();return _0x2151=function(_0x215197,_0x2443c1){_0x215197=_0x215197-0x1c6;let _0x58989d=_0x1cf2e8[_0x215197];return _0x58989d;},_0x2151(_0x4bf431,_0x1d3da8);}import*as _0x4da62f from'react-dom/client';import{CKBox as _0x575672,CKBoxImageEditor,version}from'@ckbox/core';export{version}from'@ckbox/core';const getDialogProps=(_0x50f25b,_0x29b647)=>{const _0x1b8c36=_0x2151,_0x4f8b67=_0x50f25b[_0x1b8c36(0x1ce)];if(!_0x4f8b67)return![];if(typeof _0x4f8b67===_0x1b8c36(0x1c6)){const _0x5d2942=()=>{_0x29b647();};return{'open':!![],'onClose':_0x5d2942};}const _0x1bb62a=()=>{const _0x329d19=_0x1b8c36;var _0x72546;(_0x72546=_0x4f8b67['onClose'])===null||_0x72546===void 0x0?void 0x0:_0x72546[_0x329d19(0x1c9)](_0x4f8b67),_0x29b647();};return{..._0x4f8b67,'open':!![],'onClose':_0x1bb62a};},getAssetsProps=(_0x30dffe,_0x217025)=>{const _0x50ade8=_0x2151;var _0x21d905;const _0x317c7f=(_0x21d905=_0x30dffe[_0x50ade8(0x1ca)])===null||_0x21d905===void 0x0?void 0x0:_0x21d905[_0x50ade8(0x1d4)];if(!_0x317c7f)return _0x30dffe[_0x50ade8(0x1ca)];const _0x1dc76e=_0x56bc5d=>{const _0x1fd53d=_0x50ade8;var _0x83604d;_0x317c7f(_0x56bc5d),_0x217025&&typeof _0x217025!==_0x1fd53d(0x1c6)&&((_0x83604d=_0x217025[_0x1fd53d(0x1d6)])===null||_0x83604d===void 0x0?void 0x0:_0x83604d[_0x1fd53d(0x1c9)](_0x217025));};return{..._0x30dffe[_0x50ade8(0x1ca)],'onChoose':_0x1dc76e};},mount=(_0x527798,_0x33f112)=>{const _0x196540=_0x2151,_0x47723b=_0x4da62f[_0x196540(0x1d9)](_0x527798),_0x2bab37=_0x47723b[_0x196540(0x1d2)]['bind'](_0x47723b),_0x5515df=getDialogProps(_0x33f112,_0x2bab37),_0xf8cb77=getAssetsProps(_0x33f112,_0x5515df);return _0x47723b[_0x196540(0x1d1)](_0x4e9057[_0x196540(0x1cc)](_0x575672,{..._0x33f112,'assets':_0xf8cb77,'dialog':_0x5515df})),{'unmount':_0x2bab37};},mountImageEditor=(_0xf5d6f2,_0x4e4ceb)=>{const _0xa073ac=_0x2151,_0x312a59=_0x4da62f['createRoot'](_0xf5d6f2),_0x35aba8=_0x312a59[_0xa073ac(0x1d2)][_0xa073ac(0x1d8)](_0x312a59),_0x40a22f=()=>{const _0xc2a6d8=_0xa073ac;var _0x1c304f;(_0x1c304f=_0x4e4ceb[_0xc2a6d8(0x1d6)])===null||_0x1c304f===void 0x0?void 0x0:_0x1c304f[_0xc2a6d8(0x1c9)](_0x4e4ceb),_0x35aba8();};return _0x312a59['render'](_0x4e9057[_0xa073ac(0x1cc)](CKBoxImageEditor,{..._0x4e4ceb,'open':!![],'onClose':_0x40a22f})),{'unmount':_0x35aba8};};var CKBox=Object['freeze']({'__proto__':null,'React':_0x4e9057,'mount':mount,'mountImageEditor':mountImageEditor,'version':version});(function(){const _0x57db80=_0x2151,_0x46f182=globalThis;!_0x46f182[_0x57db80(0x1d5)]&&(_0x46f182['CKBox']=CKBox);}());export{mount,mountImageEditor};
4
+ const _0x263b37=_0x27cb;(function(_0x223697,_0x521287){const _0x4e2232=_0x27cb,_0x44853f=_0x223697();while(!![]){try{const _0xf5297e=-parseInt(_0x4e2232(0x13f))/0x1+parseInt(_0x4e2232(0x149))/0x2+parseInt(_0x4e2232(0x141))/0x3*(-parseInt(_0x4e2232(0x14d))/0x4)+parseInt(_0x4e2232(0x13e))/0x5*(parseInt(_0x4e2232(0x144))/0x6)+parseInt(_0x4e2232(0x14f))/0x7+parseInt(_0x4e2232(0x146))/0x8+-parseInt(_0x4e2232(0x140))/0x9*(parseInt(_0x4e2232(0x14c))/0xa);if(_0xf5297e===_0x521287)break;else _0x44853f['push'](_0x44853f['shift']());}catch(_0x562d4e){_0x44853f['push'](_0x44853f['shift']());}}}(_0x14bc,0x7ec3a));import*as _0x32bc2a from'react';function _0x27cb(_0x1d64b5,_0x4ff7dd){const _0x14bc5c=_0x14bc();return _0x27cb=function(_0x27cbdf,_0xa19db2){_0x27cbdf=_0x27cbdf-0x13d;let _0x456734=_0x14bc5c[_0x27cbdf];return _0x456734;},_0x27cb(_0x1d64b5,_0x4ff7dd);}export{_0x32bc2a as React};import*as _0x1e136b from'react-dom/client';import{CKBox as _0x4d08c8,CKBoxImageEditor,version}from'@ckbox/core';export{version}from'@ckbox/core';const getDialogProps=(_0x17506d,_0x57b4cf)=>{const _0x1c3d57=_0x27cb,_0x5b677e=_0x17506d[_0x1c3d57(0x14b)];if(!_0x5b677e)return![];if(typeof _0x5b677e==='boolean'){const _0x266019=()=>{_0x57b4cf();};return{'open':!![],'onClose':_0x266019};}const _0x84856b=()=>{const _0x57b176=_0x1c3d57;var _0x1e7039;(_0x1e7039=_0x5b677e['onClose'])===null||_0x1e7039===void 0x0?void 0x0:_0x1e7039[_0x57b176(0x14a)](_0x5b677e),_0x57b4cf();};return{..._0x5b677e,'open':!![],'onClose':_0x84856b};},getAssetsProps=(_0x13b326,_0x17223c)=>{const _0x529ca4=_0x27cb;var _0x5a07f6;const _0x5e1dbf=(_0x5a07f6=_0x13b326[_0x529ca4(0x145)])===null||_0x5a07f6===void 0x0?void 0x0:_0x5a07f6[_0x529ca4(0x13d)];if(!_0x5e1dbf)return _0x13b326[_0x529ca4(0x145)];const _0x2d19bf=_0x327275=>{const _0x3060bf=_0x529ca4;var _0x261e9b;_0x5e1dbf(_0x327275),_0x17223c&&typeof _0x17223c!==_0x3060bf(0x142)&&((_0x261e9b=_0x17223c[_0x3060bf(0x150)])===null||_0x261e9b===void 0x0?void 0x0:_0x261e9b[_0x3060bf(0x14a)](_0x17223c));};return{..._0x13b326[_0x529ca4(0x145)],'onChoose':_0x2d19bf};},mount=(_0x2ed273,_0x552ea6)=>{const _0x528b72=_0x27cb,_0x27edf2=_0x1e136b[_0x528b72(0x152)](_0x2ed273),_0x448130=_0x27edf2[_0x528b72(0x153)][_0x528b72(0x143)](_0x27edf2),_0x1652e8=getDialogProps(_0x552ea6,_0x448130),_0x343dad=getAssetsProps(_0x552ea6,_0x1652e8);return _0x27edf2[_0x528b72(0x14e)](_0x32bc2a['createElement'](_0x4d08c8,{..._0x552ea6,'assets':_0x343dad,'dialog':_0x1652e8})),{'unmount':_0x448130};},mountImageEditor=(_0x4fd280,_0x3fa59e)=>{const _0x1da694=_0x27cb,_0x4a5dbb=_0x1e136b[_0x1da694(0x152)](_0x4fd280),_0x4eabb6=_0x4a5dbb[_0x1da694(0x153)]['bind'](_0x4a5dbb),_0x13bb89=()=>{var _0x160177;(_0x160177=_0x3fa59e['onClose'])===null||_0x160177===void 0x0?void 0x0:_0x160177['call'](_0x3fa59e),_0x4eabb6();};return _0x4a5dbb[_0x1da694(0x14e)](_0x32bc2a[_0x1da694(0x151)](CKBoxImageEditor,{..._0x3fa59e,'open':!![],'onClose':_0x13bb89})),{'unmount':_0x4eabb6};};var CKBox=Object[_0x263b37(0x148)]({'__proto__':null,'React':_0x32bc2a,'mount':mount,'mountImageEditor':mountImageEditor,'version':version});function _0x14bc(){const _0x2838e2=['onClose','createElement','createRoot','unmount','onChoose','80xUOhhY','1032589EpfPew','72TiwZmi','1236SwCzsg','boolean','bind','90150zmcyRb','assets','5364648GwIKoO','CKBox','freeze','1657878JGPDZi','call','dialog','1116770CPxWPV','596IAUqbs','render','5366893dhfvnd'];_0x14bc=function(){return _0x2838e2;};return _0x14bc();}(function(){const _0x3012fb=_0x263b37,_0x520658=globalThis;!_0x520658[_0x3012fb(0x147)]&&(_0x520658['CKBox']=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.5.0",
25
+ "version": "2.5.1",
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": "^18.3.1",
33
33
  "react-dom": "^18.3.1",
34
34
  "tslib": "^2.6.3",
35
- "@ckbox/core": "2.5.0"
35
+ "@ckbox/core": "2.5.1"
36
36
  }
37
37
  }