ckbox 1.6.0-rc.0 → 1.6.0-rc.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
- const _0x5b57c3=_0x2c1f;function _0x37ab(){const _0xd8529a=['render','8480tJoJyk','createElement','2747896tztFDz','onClose','CKBox','onChoose','1TIZYip','2031126mfPQba','1396562mqhYPT','dialog','call','2185128UnRdGW','createRoot','5027512Xxlkjg','boolean','unmount','freeze','assets','3576VwNZFW','28846566fCPgzN'];_0x37ab=function(){return _0xd8529a;};return _0x37ab();}(function(_0x3ad766,_0x4545ba){const _0x305ee3=_0x2c1f,_0x9a38c8=_0x3ad766();while(!![]){try{const _0x35da42=parseInt(_0x305ee3(0xe3))/0x1*(parseInt(_0x305ee3(0xe5))/0x2)+-parseInt(_0x305ee3(0xe4))/0x3+-parseInt(_0x305ee3(0xe8))/0x4+-parseInt(_0x305ee3(0xdd))/0x5*(parseInt(_0x305ee3(0xda))/0x6)+-parseInt(_0x305ee3(0xea))/0x7+-parseInt(_0x305ee3(0xdf))/0x8+parseInt(_0x305ee3(0xdb))/0x9;if(_0x35da42===_0x4545ba)break;else _0x9a38c8['push'](_0x9a38c8['shift']());}catch(_0x3d70ef){_0x9a38c8['push'](_0x9a38c8['shift']());}}}(_0x37ab,0x9457c));import*as _0x46a27b from'react';export{_0x46a27b as React};import*as _0x37ad2e from'react-dom/client';import{CKBox as _0x198919,version}from'@ckbox/core';export{version}from'@ckbox/core';function _0x2c1f(_0x1707b1,_0x31585c){const _0x37ab7c=_0x37ab();return _0x2c1f=function(_0x2c1fd2,_0x527a0d){_0x2c1fd2=_0x2c1fd2-0xda;let _0x51a19b=_0x37ab7c[_0x2c1fd2];return _0x51a19b;},_0x2c1f(_0x1707b1,_0x31585c);}const getDialogProps=(_0x1a4b2d,_0x23536d)=>{const _0x1c9140=_0x2c1f,_0x58a6b8=_0x1a4b2d[_0x1c9140(0xe6)];if(!_0x58a6b8)return![];if(typeof _0x58a6b8===_0x1c9140(0xeb)){const _0x5645d7=()=>{_0x23536d();};return{'open':!![],'onClose':_0x5645d7};}const _0x42764e=()=>{const _0x23b891=_0x1c9140;var _0x3f3438;(_0x3f3438=_0x58a6b8['onClose'])===null||_0x3f3438===void 0x0?void 0x0:_0x3f3438[_0x23b891(0xe7)](_0x58a6b8),_0x23536d();};return{..._0x58a6b8,'open':!![],'onClose':_0x42764e};},getAssetsProps=(_0x532009,_0x3a8727)=>{const _0x30bbaa=_0x2c1f;var _0x470f38;const _0x3a8cd0=(_0x470f38=_0x532009[_0x30bbaa(0xee)])===null||_0x470f38===void 0x0?void 0x0:_0x470f38[_0x30bbaa(0xe2)];if(!_0x3a8cd0)return _0x532009[_0x30bbaa(0xee)];const _0x265b80=_0x5eca4e=>{const _0x534eb9=_0x30bbaa;var _0x1905ca;_0x3a8cd0(_0x5eca4e),_0x3a8727&&typeof _0x3a8727!==_0x534eb9(0xeb)&&((_0x1905ca=_0x3a8727[_0x534eb9(0xe0)])===null||_0x1905ca===void 0x0?void 0x0:_0x1905ca[_0x534eb9(0xe7)](_0x3a8727));};return{..._0x532009[_0x30bbaa(0xee)],'onChoose':_0x265b80};},mount=(_0x205296,_0x5ac32a)=>{const _0x150a0f=_0x2c1f,_0xf17e60=_0x37ad2e[_0x150a0f(0xe9)](_0x205296),_0x296960=_0xf17e60[_0x150a0f(0xec)]['bind'](_0xf17e60),_0x3ac419=getDialogProps(_0x5ac32a,_0x296960),_0x236aea=getAssetsProps(_0x5ac32a,_0x3ac419);return _0xf17e60[_0x150a0f(0xdc)](_0x46a27b[_0x150a0f(0xde)](_0x198919,{..._0x5ac32a,'assets':_0x236aea,'dialog':_0x3ac419})),{'unmount':_0x296960};};var CKBox=Object[_0x5b57c3(0xed)]({'__proto__':null,'React':_0x46a27b,'mount':mount,'version':version});(function(){const _0x512d1b=_0x5b57c3,_0x5d53ce=globalThis;!_0x5d53ce[_0x512d1b(0xe1)]&&(_0x5d53ce[_0x512d1b(0xe1)]=CKBox);}());export{mount};
4
+ const _0x53eb51=_0x5371;(function(_0x463b15,_0x270659){const _0x58e087=_0x5371,_0x5ceda3=_0x463b15();while(!![]){try{const _0x5a74b6=-parseInt(_0x58e087(0x167))/0x1+-parseInt(_0x58e087(0x169))/0x2+parseInt(_0x58e087(0x15b))/0x3+-parseInt(_0x58e087(0x163))/0x4+parseInt(_0x58e087(0x15d))/0x5+-parseInt(_0x58e087(0x16d))/0x6*(parseInt(_0x58e087(0x16e))/0x7)+parseInt(_0x58e087(0x161))/0x8;if(_0x5a74b6===_0x270659)break;else _0x5ceda3['push'](_0x5ceda3['shift']());}catch(_0x5085fb){_0x5ceda3['push'](_0x5ceda3['shift']());}}}(_0x4c4d,0x21c93));import*as _0x56ed21 from'react';export{_0x56ed21 as React};import*as _0x473412 from'react-dom/client';import{CKBox as _0x3a13a4,version}from'@ckbox/core';function _0x5371(_0x15be0a,_0x110990){const _0x4c4d96=_0x4c4d();return _0x5371=function(_0x537113,_0x53de86){_0x537113=_0x537113-0x15b;let _0x1e969d=_0x4c4d96[_0x537113];return _0x1e969d;},_0x5371(_0x15be0a,_0x110990);}export{version}from'@ckbox/core';function _0x4c4d(){const _0x2cb91=['assets','621575kqoSNS','CKBox','render','boolean','4094544PEcyQO','freeze','1065524wopYdv','onChoose','createElement','createRoot','154640nxYbjh','call','16076hJsTvI','onClose','dialog','bind','336KGzSWk','31542VaWRqp','550947cNcJoB'];_0x4c4d=function(){return _0x2cb91;};return _0x4c4d();}const getDialogProps=(_0x8916d1,_0x2ce11e)=>{const _0x5803d4=_0x5371,_0x31f6f3=_0x8916d1[_0x5803d4(0x16b)];if(!_0x31f6f3)return![];if(typeof _0x31f6f3===_0x5803d4(0x160)){const _0x544cb5=()=>{_0x2ce11e();};return{'open':!![],'onClose':_0x544cb5};}const _0x4ead6a=()=>{const _0x1a8d69=_0x5803d4;var _0x1ed079;(_0x1ed079=_0x31f6f3['onClose'])===null||_0x1ed079===void 0x0?void 0x0:_0x1ed079[_0x1a8d69(0x168)](_0x31f6f3),_0x2ce11e();};return{..._0x31f6f3,'open':!![],'onClose':_0x4ead6a};},getAssetsProps=(_0xee1de,_0x167764)=>{const _0x405343=_0x5371;var _0x9504b2;const _0x43abb2=(_0x9504b2=_0xee1de['assets'])===null||_0x9504b2===void 0x0?void 0x0:_0x9504b2[_0x405343(0x164)];if(!_0x43abb2)return _0xee1de[_0x405343(0x15c)];const _0x52ab4b=_0x20db83=>{const _0x204995=_0x405343;var _0xb21568;_0x43abb2(_0x20db83),_0x167764&&typeof _0x167764!=='boolean'&&((_0xb21568=_0x167764[_0x204995(0x16a)])===null||_0xb21568===void 0x0?void 0x0:_0xb21568[_0x204995(0x168)](_0x167764));};return{..._0xee1de[_0x405343(0x15c)],'onChoose':_0x52ab4b};},mount=(_0x162d63,_0x4065ad)=>{const _0x4d55c9=_0x5371,_0x213381=_0x473412[_0x4d55c9(0x166)](_0x162d63),_0x2393f4=_0x213381['unmount'][_0x4d55c9(0x16c)](_0x213381),_0x5c0865=getDialogProps(_0x4065ad,_0x2393f4),_0x18917a=getAssetsProps(_0x4065ad,_0x5c0865);return _0x213381[_0x4d55c9(0x15f)](_0x56ed21[_0x4d55c9(0x165)](_0x3a13a4,{..._0x4065ad,'assets':_0x18917a,'dialog':_0x5c0865})),{'unmount':_0x2393f4};};var CKBox=Object[_0x53eb51(0x162)]({'__proto__':null,'React':_0x56ed21,'mount':mount,'version':version});(function(){const _0x1cedd5=_0x53eb51,_0x2a660a=globalThis;!_0x2a660a[_0x1cedd5(0x15e)]&&(_0x2a660a[_0x1cedd5(0x15e)]=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.6.0-rc.0",
23
+ "version": "1.6.0-rc.1",
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.3",
33
- "@ckbox/core": "1.6.0-rc.0"
33
+ "@ckbox/core": "1.6.0-rc.1"
34
34
  }
35
35
  }