ckbox 2.0.0-rc.1 → 2.0.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 _0x38e996=_0x3be9;(function(_0x5edc64,_0x1f5b58){const _0x3c85ca=_0x3be9,_0x38aa92=_0x5edc64();while(!![]){try{const _0x366e21=-parseInt(_0x3c85ca(0x200))/0x1+-parseInt(_0x3c85ca(0x1f9))/0x2*(-parseInt(_0x3c85ca(0x1fc))/0x3)+-parseInt(_0x3c85ca(0x1f6))/0x4*(-parseInt(_0x3c85ca(0x1f2))/0x5)+parseInt(_0x3c85ca(0x1f1))/0x6*(parseInt(_0x3c85ca(0x1ff))/0x7)+-parseInt(_0x3c85ca(0x205))/0x8+parseInt(_0x3c85ca(0x202))/0x9+-parseInt(_0x3c85ca(0x1f4))/0xa*(-parseInt(_0x3c85ca(0x201))/0xb);if(_0x366e21===_0x1f5b58)break;else _0x38aa92['push'](_0x38aa92['shift']());}catch(_0x1133a4){_0x38aa92['push'](_0x38aa92['shift']());}}}(_0x4b62,0x9fe3f));import*as _0x3404a7 from'react';export{_0x3404a7 as React};import*as _0x720f2c from'react-dom/client';import{CKBox as _0x3aa378,version}from'@ckbox/core';function _0x3be9(_0x4cf02b,_0x2d82a1){const _0x4b629e=_0x4b62();return _0x3be9=function(_0x3be96c,_0x13adc1){_0x3be96c=_0x3be96c-0x1f0;let _0x20bb12=_0x4b629e[_0x3be96c];return _0x20bb12;},_0x3be9(_0x4cf02b,_0x2d82a1);}export{version}from'@ckbox/core';const getDialogProps=(_0x424996,_0x162643)=>{const _0x5801b3=_0x3be9,_0x53e27=_0x424996['dialog'];if(!_0x53e27)return![];if(typeof _0x53e27===_0x5801b3(0x1f5)){const _0x213230=()=>{_0x162643();};return{'open':!![],'onClose':_0x213230};}const _0x4b1196=()=>{const _0x3b77a7=_0x5801b3;var _0x1e829c;(_0x1e829c=_0x53e27[_0x3b77a7(0x1fe)])===null||_0x1e829c===void 0x0?void 0x0:_0x1e829c[_0x3b77a7(0x1fb)](_0x53e27),_0x162643();};return{..._0x53e27,'open':!![],'onClose':_0x4b1196};},getAssetsProps=(_0x29a2eb,_0x20b8b3)=>{const _0xf1bece=_0x3be9;var _0x477351;const _0x37e85c=(_0x477351=_0x29a2eb[_0xf1bece(0x203)])===null||_0x477351===void 0x0?void 0x0:_0x477351[_0xf1bece(0x1fd)];if(!_0x37e85c)return _0x29a2eb[_0xf1bece(0x203)];const _0x12ef59=_0x20d9b7=>{const _0x8ca097=_0xf1bece;var _0x3f61e1;_0x37e85c(_0x20d9b7),_0x20b8b3&&typeof _0x20b8b3!=='boolean'&&((_0x3f61e1=_0x20b8b3[_0x8ca097(0x1fe)])===null||_0x3f61e1===void 0x0?void 0x0:_0x3f61e1[_0x8ca097(0x1fb)](_0x20b8b3));};return{..._0x29a2eb[_0xf1bece(0x203)],'onChoose':_0x12ef59};},mount=(_0x55b9e3,_0x250f5a)=>{const _0x9185fd=_0x3be9,_0x3dd699=_0x720f2c[_0x9185fd(0x1f0)](_0x55b9e3),_0x27e957=_0x3dd699[_0x9185fd(0x1fa)][_0x9185fd(0x1f8)](_0x3dd699),_0x403abb=getDialogProps(_0x250f5a,_0x27e957),_0x55f1c9=getAssetsProps(_0x250f5a,_0x403abb);return _0x3dd699['render'](_0x3404a7[_0x9185fd(0x1f3)](_0x3aa378,{..._0x250f5a,'assets':_0x55f1c9,'dialog':_0x403abb})),{'unmount':_0x27e957};};var CKBox=Object[_0x38e996(0x204)]({'__proto__':null,'React':_0x3404a7,'mount':mount,'version':version});(function(){const _0x1a17d8=_0x38e996,_0x51757d=globalThis;!_0x51757d['CKBox']&&(_0x51757d[_0x1a17d8(0x1f7)]=CKBox);}());export{mount};function _0x4b62(){const _0x2b5e73=['boolean','155328bQlBPy','CKBox','bind','2ScCsaf','unmount','call','415119pmRAKf','onChoose','onClose','7tOfZFJ','927874zweVOM','723316zOVvEu','4558347JuXRIt','assets','freeze','3871984IHhfnT','createRoot','4837842FmUFKS','20zevFQf','createElement','70QmbZOE'];_0x4b62=function(){return _0x2b5e73;};return _0x4b62();}
4
+ const _0x57904c=_0x3ea8;(function(_0x4d6e7f,_0x259d7f){const _0x148e7b=_0x3ea8,_0x5838df=_0x4d6e7f();while(!![]){try{const _0x84557=parseInt(_0x148e7b(0x12d))/0x1*(parseInt(_0x148e7b(0x13f))/0x2)+-parseInt(_0x148e7b(0x13c))/0x3*(parseInt(_0x148e7b(0x135))/0x4)+parseInt(_0x148e7b(0x13a))/0x5+parseInt(_0x148e7b(0x13e))/0x6*(parseInt(_0x148e7b(0x12c))/0x7)+-parseInt(_0x148e7b(0x138))/0x8+parseInt(_0x148e7b(0x12e))/0x9*(-parseInt(_0x148e7b(0x13b))/0xa)+parseInt(_0x148e7b(0x137))/0xb;if(_0x84557===_0x259d7f)break;else _0x5838df['push'](_0x5838df['shift']());}catch(_0x58932a){_0x5838df['push'](_0x5838df['shift']());}}}(_0x4a3a,0x1b79e));import*as _0x1f8c9e from'react';export{_0x1f8c9e as React};import*as _0x56994e from'react-dom/client';import{CKBox as _0x5259eb,version}from'@ckbox/core';export{version}from'@ckbox/core';const getDialogProps=(_0x1066aa,_0x21920a)=>{const _0x2b9cc7=_0x3ea8,_0x10f162=_0x1066aa[_0x2b9cc7(0x13d)];if(!_0x10f162)return![];if(typeof _0x10f162===_0x2b9cc7(0x133)){const _0x1a62a3=()=>{_0x21920a();};return{'open':!![],'onClose':_0x1a62a3};}const _0x57628c=()=>{const _0x57ef22=_0x2b9cc7;var _0x2ab9a1;(_0x2ab9a1=_0x10f162[_0x57ef22(0x136)])===null||_0x2ab9a1===void 0x0?void 0x0:_0x2ab9a1['call'](_0x10f162),_0x21920a();};return{..._0x10f162,'open':!![],'onClose':_0x57628c};},getAssetsProps=(_0x355e9e,_0x4ed0e8)=>{const _0x5f4d4e=_0x3ea8;var _0x4d1d26;const _0x929c09=(_0x4d1d26=_0x355e9e[_0x5f4d4e(0x12b)])===null||_0x4d1d26===void 0x0?void 0x0:_0x4d1d26[_0x5f4d4e(0x132)];if(!_0x929c09)return _0x355e9e[_0x5f4d4e(0x12b)];const _0x101b85=_0x17edaa=>{const _0x5abb44=_0x5f4d4e;var _0x387000;_0x929c09(_0x17edaa),_0x4ed0e8&&typeof _0x4ed0e8!==_0x5abb44(0x133)&&((_0x387000=_0x4ed0e8['onClose'])===null||_0x387000===void 0x0?void 0x0:_0x387000[_0x5abb44(0x134)](_0x4ed0e8));};return{..._0x355e9e[_0x5f4d4e(0x12b)],'onChoose':_0x101b85};},mount=(_0x59ffa5,_0x24f253)=>{const _0x388d4b=_0x3ea8,_0x5d9be2=_0x56994e[_0x388d4b(0x139)](_0x59ffa5),_0x2bc969=_0x5d9be2['unmount']['bind'](_0x5d9be2),_0x5b6519=getDialogProps(_0x24f253,_0x2bc969),_0x11a6c9=getAssetsProps(_0x24f253,_0x5b6519);return _0x5d9be2['render'](_0x1f8c9e[_0x388d4b(0x131)](_0x5259eb,{..._0x24f253,'assets':_0x11a6c9,'dialog':_0x5b6519})),{'unmount':_0x2bc969};};var CKBox=Object[_0x57904c(0x130)]({'__proto__':null,'React':_0x1f8c9e,'mount':mount,'version':version});function _0x3ea8(_0x3292cb,_0x12d40d){const _0x4a3a75=_0x4a3a();return _0x3ea8=function(_0x3ea819,_0x44f660){_0x3ea819=_0x3ea819-0x12b;let _0x3a8895=_0x4a3a75[_0x3ea819];return _0x3a8895;},_0x3ea8(_0x3292cb,_0x12d40d);}(function(){const _0x42363a=_0x57904c,_0x32310d=globalThis;!_0x32310d[_0x42363a(0x12f)]&&(_0x32310d[_0x42363a(0x12f)]=CKBox);}());function _0x4a3a(){const _0xb3ce31=['boolean','call','16ZZplNw','onClose','2717341LjJMGC','631992iqKgIP','createRoot','437630MlTYBE','1040wKlMSv','166113vDpABQ','dialog','419946VrbXwR','4COMEJd','assets','14OZurpB','14015oMCDsP','7749bdJera','CKBox','freeze','createElement','onChoose'];_0x4a3a=function(){return _0xb3ce31;};return _0x4a3a();}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": "2.0.0-rc.1",
23
+ "version": "2.0.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.6.0",
33
- "@ckbox/core": "2.0.0-rc.1"
33
+ "@ckbox/core": "2.0.0"
34
34
  }
35
35
  }