ckbox 2.5.0 → 2.5.2

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
+ (function(_0x5d8ee4,_0x2e14f2){const _0x245b63=_0x238b,_0x27c228=_0x5d8ee4();while(!![]){try{const _0x20a7c1=-parseInt(_0x245b63(0x1c1))/0x1*(-parseInt(_0x245b63(0x1cb))/0x2)+parseInt(_0x245b63(0x1c5))/0x3*(-parseInt(_0x245b63(0x1bb))/0x4)+parseInt(_0x245b63(0x1c3))/0x5+parseInt(_0x245b63(0x1ba))/0x6*(-parseInt(_0x245b63(0x1bd))/0x7)+-parseInt(_0x245b63(0x1c2))/0x8+-parseInt(_0x245b63(0x1be))/0x9*(parseInt(_0x245b63(0x1bc))/0xa)+parseInt(_0x245b63(0x1d0))/0xb*(parseInt(_0x245b63(0x1c0))/0xc);if(_0x20a7c1===_0x2e14f2)break;else _0x27c228['push'](_0x27c228['shift']());}catch(_0x52a413){_0x27c228['push'](_0x27c228['shift']());}}}(_0x35cc,0x4aa76));import*as _0x5bbb94 from'react';export{_0x5bbb94 as React};import*as _0x226434 from'react-dom/client';import{CKBox as _0x191d16,CKBoxImageEditor,version}from'@ckbox/core';function _0x238b(_0x36e916,_0x56255d){const _0x35cc54=_0x35cc();return _0x238b=function(_0x238bcf,_0x2fde49){_0x238bcf=_0x238bcf-0x1ba;let _0x5ec988=_0x35cc54[_0x238bcf];return _0x5ec988;},_0x238b(_0x36e916,_0x56255d);}export{version}from'@ckbox/core';function _0x35cc(){const _0x3363fe=['CKBox','27nOAIdA','bind','createElement','dialog','createRoot','call','206gGwYxR','onChoose','assets','onClose','boolean','33ZmASRd','unmount','24SJbLna','240612qnnhke','1576230wasUed','436282kEBfdt','27UgsePD','render','5474556oIWLKr','3681HfFGGm','3015408qPGbKD','992380WrMoUi'];_0x35cc=function(){return _0x3363fe;};return _0x35cc();}const getDialogProps=(_0x1e67ee,_0x517523)=>{const _0x2cc53b=_0x238b,_0xa89306=_0x1e67ee[_0x2cc53b(0x1c8)];if(!_0xa89306)return![];if(typeof _0xa89306===_0x2cc53b(0x1cf)){const _0x16386f=()=>{_0x517523();};return{'open':!![],'onClose':_0x16386f};}const _0x129e9f=()=>{var _0x233f5e;(_0x233f5e=_0xa89306['onClose'])===null||_0x233f5e===void 0x0?void 0x0:_0x233f5e['call'](_0xa89306),_0x517523();};return{..._0xa89306,'open':!![],'onClose':_0x129e9f};},getAssetsProps=(_0x48f951,_0x6e8313)=>{const _0x186d49=_0x238b;var _0x564115;const _0x11b6bb=(_0x564115=_0x48f951[_0x186d49(0x1cd)])===null||_0x564115===void 0x0?void 0x0:_0x564115[_0x186d49(0x1cc)];if(!_0x11b6bb)return _0x48f951[_0x186d49(0x1cd)];const _0x2db7ff=_0x5efb24=>{const _0x399d37=_0x186d49;var _0x12e3a4;_0x11b6bb(_0x5efb24),_0x6e8313&&typeof _0x6e8313!==_0x399d37(0x1cf)&&((_0x12e3a4=_0x6e8313[_0x399d37(0x1ce)])===null||_0x12e3a4===void 0x0?void 0x0:_0x12e3a4['call'](_0x6e8313));};return{..._0x48f951[_0x186d49(0x1cd)],'onChoose':_0x2db7ff};},mount=(_0x70d0b3,_0x16e2c8)=>{const _0x319a02=_0x238b,_0x50b3c3=_0x226434[_0x319a02(0x1c9)](_0x70d0b3),_0x1b04ad=_0x50b3c3[_0x319a02(0x1d1)][_0x319a02(0x1c6)](_0x50b3c3),_0x596ccf=getDialogProps(_0x16e2c8,_0x1b04ad),_0x18a561=getAssetsProps(_0x16e2c8,_0x596ccf);return _0x50b3c3[_0x319a02(0x1bf)](_0x5bbb94[_0x319a02(0x1c7)](_0x191d16,{..._0x16e2c8,'assets':_0x18a561,'dialog':_0x596ccf})),{'unmount':_0x1b04ad};},mountImageEditor=(_0x47493c,_0x2c939f)=>{const _0x50427d=_0x238b,_0x208010=_0x226434[_0x50427d(0x1c9)](_0x47493c),_0x5b3d81=_0x208010[_0x50427d(0x1d1)]['bind'](_0x208010),_0xd170fe=()=>{const _0x397a49=_0x50427d;var _0x34c113;(_0x34c113=_0x2c939f['onClose'])===null||_0x34c113===void 0x0?void 0x0:_0x34c113[_0x397a49(0x1ca)](_0x2c939f),_0x5b3d81();};return _0x208010[_0x50427d(0x1bf)](_0x5bbb94[_0x50427d(0x1c7)](CKBoxImageEditor,{..._0x2c939f,'open':!![],'onClose':_0xd170fe})),{'unmount':_0x5b3d81};};var CKBox=Object['freeze']({'__proto__':null,'React':_0x5bbb94,'mount':mount,'mountImageEditor':mountImageEditor,'version':version});(function(){const _0x4218ae=_0x238b,_0x5b2eac=globalThis;!_0x5b2eac[_0x4218ae(0x1c4)]&&(_0x5b2eac[_0x4218ae(0x1c4)]=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.2",
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.2"
36
36
  }
37
37
  }