ckbox 1.5.0-rc.0 → 1.5.1-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 _0x42fb84=_0x472e;(function(_0x160b81,_0x334a8f){const _0xdf09a6=_0x472e,_0x43b63a=_0x160b81();while(!![]){try{const _0x2b8e5f=-parseInt(_0xdf09a6(0x100))/0x1+parseInt(_0xdf09a6(0xfe))/0x2+-parseInt(_0xdf09a6(0x108))/0x3+-parseInt(_0xdf09a6(0xff))/0x4+-parseInt(_0xdf09a6(0x110))/0x5*(-parseInt(_0xdf09a6(0x106))/0x6)+-parseInt(_0xdf09a6(0x103))/0x7+-parseInt(_0xdf09a6(0x10a))/0x8*(-parseInt(_0xdf09a6(0x105))/0x9);if(_0x2b8e5f===_0x334a8f)break;else _0x43b63a['push'](_0x43b63a['shift']());}catch(_0x2532d7){_0x43b63a['push'](_0x43b63a['shift']());}}}(_0x187c,0xbcd60));function _0x472e(_0x70b016,_0x3370de){const _0x187c5c=_0x187c();return _0x472e=function(_0x472e7e,_0x3f1fa6){_0x472e7e=_0x472e7e-0xfc;let _0x21816d=_0x187c5c[_0x472e7e];return _0x21816d;},_0x472e(_0x70b016,_0x3370de);}import*as _0x5c5be3 from'react';export{_0x5c5be3 as React};import*as _0x258d63 from'react-dom/client';import{CKBox as _0x2bd61b,version}from'@ckbox/core';export{version}from'@ckbox/core';function _0x187c(){const _0x3b9e67=['createElement','render','5wGiijU','dialog','bind','onChoose','971138FbZHPn','450264uQoTGD','1459032nCiaYd','assets','unmount','10020199zYLfON','call','1345707YJsCKx','4231254vaiZjm','boolean','4354116awjmPI','onClose','216zdsriW','freeze','CKBox','createRoot'];_0x187c=function(){return _0x3b9e67;};return _0x187c();}const getDialogProps=(_0x17a4a1,_0x440291)=>{const _0x2ab2c3=_0x472e,_0x3809ee=_0x17a4a1[_0x2ab2c3(0x111)];if(!_0x3809ee)return![];if(typeof _0x3809ee===_0x2ab2c3(0x107)){const _0x1b7caf=()=>{_0x440291();};return{'open':!![],'onClose':_0x1b7caf};}const _0x58027a=()=>{const _0x40bb55=_0x2ab2c3;var _0x2df864;(_0x2df864=_0x3809ee[_0x40bb55(0x109)])===null||_0x2df864===void 0x0?void 0x0:_0x2df864[_0x40bb55(0x104)](_0x3809ee),_0x440291();};return{..._0x3809ee,'open':!![],'onClose':_0x58027a};},getAssetsProps=(_0xf1fbb0,_0x3b5a3d)=>{const _0x53cfdd=_0x472e;var _0x3909bd;const _0xc09dce=(_0x3909bd=_0xf1fbb0['assets'])===null||_0x3909bd===void 0x0?void 0x0:_0x3909bd[_0x53cfdd(0xfd)];if(!_0xc09dce)return _0xf1fbb0[_0x53cfdd(0x101)];const _0x23133c=_0x30b8e3=>{const _0x18f1b1=_0x53cfdd;var _0x538c4e;_0xc09dce(_0x30b8e3),_0x3b5a3d&&typeof _0x3b5a3d!==_0x18f1b1(0x107)&&((_0x538c4e=_0x3b5a3d[_0x18f1b1(0x109)])===null||_0x538c4e===void 0x0?void 0x0:_0x538c4e['call'](_0x3b5a3d));};return{..._0xf1fbb0[_0x53cfdd(0x101)],'onChoose':_0x23133c};},mount=(_0x2bb172,_0x1ba178)=>{const _0x315de9=_0x472e,_0x3b8673=_0x258d63[_0x315de9(0x10d)](_0x2bb172),_0x4e563e=_0x3b8673[_0x315de9(0x102)][_0x315de9(0xfc)](_0x3b8673),_0x7fa58b=getDialogProps(_0x1ba178,_0x4e563e),_0x3a804f=getAssetsProps(_0x1ba178,_0x7fa58b);return _0x3b8673[_0x315de9(0x10f)](_0x5c5be3[_0x315de9(0x10e)](_0x2bd61b,{..._0x1ba178,'assets':_0x3a804f,'dialog':_0x7fa58b})),{'unmount':_0x4e563e};};var CKBox=Object[_0x42fb84(0x10b)]({'__proto__':null,'React':_0x5c5be3,'mount':mount,'version':version});(function(){const _0x461681=_0x42fb84,_0x55bd8e=globalThis;!_0x55bd8e[_0x461681(0x10c)]&&(_0x55bd8e['CKBox']=CKBox);}());export{mount};
4
+ function _0x2345(){const _0x307043=['2549912Eklwac','224202LlqfKg','465486gjRlmO','CKBox','boolean','assets','27576800ZmDKKb','call','2407321qswbbU','bind','978wqmQsy','dialog','8627931TSjJbp','onClose','unmount','11964KDGAsf','createElement','35GxGBHj','freeze','1fHTTOq'];_0x2345=function(){return _0x307043;};return _0x2345();}const _0x238d59=_0x3cf1;function _0x3cf1(_0x3d36f9,_0x315fcf){const _0x23459d=_0x2345();return _0x3cf1=function(_0x3cf19e,_0x3a5a3b){_0x3cf19e=_0x3cf19e-0x16c;let _0x5bad80=_0x23459d[_0x3cf19e];return _0x5bad80;},_0x3cf1(_0x3d36f9,_0x315fcf);}(function(_0x1d6029,_0x4d4dd3){const _0x1f3756=_0x3cf1,_0x166fe4=_0x1d6029();while(!![]){try{const _0x5a8e83=parseInt(_0x1f3756(0x17f))/0x1*(parseInt(_0x1f3756(0x16d))/0x2)+parseInt(_0x1f3756(0x176))/0x3*(parseInt(_0x1f3756(0x17b))/0x4)+parseInt(_0x1f3756(0x17d))/0x5*(parseInt(_0x1f3756(0x16e))/0x6)+parseInt(_0x1f3756(0x174))/0x7+parseInt(_0x1f3756(0x16c))/0x8+parseInt(_0x1f3756(0x178))/0x9+-parseInt(_0x1f3756(0x172))/0xa;if(_0x5a8e83===_0x4d4dd3)break;else _0x166fe4['push'](_0x166fe4['shift']());}catch(_0x275778){_0x166fe4['push'](_0x166fe4['shift']());}}}(_0x2345,0x7891f));import*as _0x432ef5 from'react';export{_0x432ef5 as React};import*as _0x5d7b94 from'react-dom/client';import{CKBox as _0x1057aa,version}from'@ckbox/core';export{version}from'@ckbox/core';const getDialogProps=(_0x2a7641,_0x103443)=>{const _0x4376f8=_0x3cf1,_0x98bd6=_0x2a7641[_0x4376f8(0x177)];if(!_0x98bd6)return![];if(typeof _0x98bd6===_0x4376f8(0x170)){const _0x534143=()=>{_0x103443();};return{'open':!![],'onClose':_0x534143};}const _0x178727=()=>{const _0x79f820=_0x4376f8;var _0xc07041;(_0xc07041=_0x98bd6[_0x79f820(0x179)])===null||_0xc07041===void 0x0?void 0x0:_0xc07041[_0x79f820(0x173)](_0x98bd6),_0x103443();};return{..._0x98bd6,'open':!![],'onClose':_0x178727};},getAssetsProps=(_0x3824e0,_0x1cb6f4)=>{const _0x1794d2=_0x3cf1;var _0x41a7ed;const _0x18a5a2=(_0x41a7ed=_0x3824e0[_0x1794d2(0x171)])===null||_0x41a7ed===void 0x0?void 0x0:_0x41a7ed['onChoose'];if(!_0x18a5a2)return _0x3824e0[_0x1794d2(0x171)];const _0x363340=_0xf5b81e=>{const _0x37e9ae=_0x1794d2;var _0xd9113e;_0x18a5a2(_0xf5b81e),_0x1cb6f4&&typeof _0x1cb6f4!=='boolean'&&((_0xd9113e=_0x1cb6f4['onClose'])===null||_0xd9113e===void 0x0?void 0x0:_0xd9113e[_0x37e9ae(0x173)](_0x1cb6f4));};return{..._0x3824e0['assets'],'onChoose':_0x363340};},mount=(_0x2a15c3,_0x14892e)=>{const _0xc4a8e3=_0x3cf1,_0x5b9f96=_0x5d7b94['createRoot'](_0x2a15c3),_0x3f1812=_0x5b9f96[_0xc4a8e3(0x17a)][_0xc4a8e3(0x175)](_0x5b9f96),_0x5b3c22=getDialogProps(_0x14892e,_0x3f1812),_0x73cdad=getAssetsProps(_0x14892e,_0x5b3c22);return _0x5b9f96['render'](_0x432ef5[_0xc4a8e3(0x17c)](_0x1057aa,{..._0x14892e,'assets':_0x73cdad,'dialog':_0x5b3c22})),{'unmount':_0x3f1812};};var CKBox=Object[_0x238d59(0x17e)]({'__proto__':null,'React':_0x432ef5,'mount':mount,'version':version});(function(){const _0x3dc611=_0x238d59,_0x424a85=globalThis;!_0x424a85[_0x3dc611(0x16f)]&&(_0x424a85['CKBox']=CKBox);}());export{mount};
package/package.json CHANGED
@@ -20,7 +20,7 @@
20
20
  ],
21
21
  "license": "SEE LICENSE IN LICENSE.md",
22
22
  "name": "ckbox",
23
- "version": "1.5.0-rc.0",
23
+ "version": "1.5.1-rc.0",
24
24
  "description": "Main CKBox package",
25
25
  "main": "dist/index.js",
26
26
  "types": "dist/index.d.ts",
@@ -30,6 +30,6 @@
30
30
  "react": "^18.2.0",
31
31
  "react-dom": "^18.2.0",
32
32
  "tslib": "^2.5.0",
33
- "@ckbox/core": "1.5.0-rc.0"
33
+ "@ckbox/core": "1.5.1-rc.0"
34
34
  }
35
35
  }