ckbox 1.3.0-dev.0 → 1.3.0-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-2022, CKSource Holding sp. z o.o. All rights reserved.
3
3
  */
4
- const _0x1b6de2=_0x2ca0;(function(_0x1237b1,_0xcf5af2){const _0x4c6285=_0x2ca0,_0x201fc2=_0x1237b1();while(!![]){try{const _0x435c34=-parseInt(_0x4c6285(0xa1))/0x1*(-parseInt(_0x4c6285(0x92))/0x2)+parseInt(_0x4c6285(0x90))/0x3+parseInt(_0x4c6285(0x9d))/0x4+-parseInt(_0x4c6285(0x99))/0x5*(-parseInt(_0x4c6285(0x9b))/0x6)+-parseInt(_0x4c6285(0x8f))/0x7+parseInt(_0x4c6285(0xa0))/0x8+-parseInt(_0x4c6285(0x9a))/0x9*(parseInt(_0x4c6285(0x96))/0xa);if(_0x435c34===_0xcf5af2)break;else _0x201fc2['push'](_0x201fc2['shift']());}catch(_0x104bbb){_0x201fc2['push'](_0x201fc2['shift']());}}}(_0x513f,0x8e8e5));import*as _0x468a1c from'react';export{_0x468a1c as React};import*as _0x5944bf from'react-dom/client';import{CKBox as _0x40c125,version}from'@ckbox/core';export{version}from'@ckbox/core';function _0x2ca0(_0x1ba8ae,_0x5ea782){const _0x513f45=_0x513f();return _0x2ca0=function(_0x2ca0e0,_0x13bd1c){_0x2ca0e0=_0x2ca0e0-0x8e;let _0x1add42=_0x513f45[_0x2ca0e0];return _0x1add42;},_0x2ca0(_0x1ba8ae,_0x5ea782);}const getDialogProps=(_0x330567,_0xe171cf)=>{const _0x5d4110=_0x2ca0,_0x5b1d49=_0x330567['dialog'];if(!_0x5b1d49)return![];if(typeof _0x5b1d49===_0x5d4110(0x9c)){const _0x2d2f55=()=>{_0xe171cf();};return{'open':!![],'onClose':_0x2d2f55};}const _0x53fd28=()=>{const _0x55478e=_0x5d4110;var _0xb2cb96;(_0xb2cb96=_0x5b1d49[_0x55478e(0x8e)])===null||_0xb2cb96===void 0x0?void 0x0:_0xb2cb96[_0x55478e(0x98)](_0x5b1d49),_0xe171cf();};return{..._0x5b1d49,'open':!![],'onClose':_0x53fd28};},getAssetsProps=(_0xe1702b,_0x274022)=>{const _0x1e1c07=_0x2ca0;var _0x5b2d39;const _0x482899=(_0x5b2d39=_0xe1702b[_0x1e1c07(0x9e)])===null||_0x5b2d39===void 0x0?void 0x0:_0x5b2d39[_0x1e1c07(0x94)];if(!_0x482899)return _0xe1702b[_0x1e1c07(0x9e)];const _0x3c417c=_0x18774f=>{const _0x3217e=_0x1e1c07;var _0x293c00;_0x482899(_0x18774f),_0x274022&&typeof _0x274022!==_0x3217e(0x9c)&&((_0x293c00=_0x274022[_0x3217e(0x8e)])===null||_0x293c00===void 0x0?void 0x0:_0x293c00['call'](_0x274022));};return{..._0xe1702b['assets'],'onChoose':_0x3c417c};},mount=(_0x37c3a5,_0x4aea5a)=>{const _0x16f2e2=_0x2ca0,_0xbf28b5=_0x5944bf[_0x16f2e2(0x97)](_0x37c3a5),_0x4e022a=_0xbf28b5['unmount'][_0x16f2e2(0x9f)](_0xbf28b5),_0x54ead9=getDialogProps(_0x4aea5a,_0x4e022a),_0x28839d=getAssetsProps(_0x4aea5a,_0x54ead9);return _0xbf28b5['render'](_0x468a1c[_0x16f2e2(0x93)](_0x40c125,{..._0x4aea5a,'assets':_0x28839d,'dialog':_0x54ead9})),{'unmount':_0x4e022a};};var CKBox=Object[_0x1b6de2(0x91)]({'__proto__':null,'mount':mount,'React':_0x468a1c,'version':version});(function(){const _0x2fb115=_0x1b6de2,_0x495f92=globalThis;!_0x495f92[_0x2fb115(0x95)]&&(_0x495f92[_0x2fb115(0x95)]=CKBox);}());export{mount};function _0x513f(){const _0x13e530=['createRoot','call','5685lJtppN','2933217tECBme','918FVSDXr','boolean','2341420dwAkcC','assets','bind','1685944RdWfGQ','13477zOEREs','onClose','7301595laYyzp','1459992JXJCGf','freeze','122vZTVrg','createElement','onChoose','CKBox','20SaAmkK'];_0x513f=function(){return _0x13e530;};return _0x513f();}
4
+ (function(_0x54bb58,_0x1a5616){const _0x23a279=_0x3edc,_0x59b1b6=_0x54bb58();while(!![]){try{const _0x2a87f7=parseInt(_0x23a279(0xa0))/0x1*(-parseInt(_0x23a279(0xa9))/0x2)+-parseInt(_0x23a279(0xa2))/0x3*(-parseInt(_0x23a279(0xaa))/0x4)+-parseInt(_0x23a279(0x9d))/0x5*(parseInt(_0x23a279(0xae))/0x6)+-parseInt(_0x23a279(0xa7))/0x7+-parseInt(_0x23a279(0x9f))/0x8+parseInt(_0x23a279(0xa1))/0x9+parseInt(_0x23a279(0x9b))/0xa;if(_0x2a87f7===_0x1a5616)break;else _0x59b1b6['push'](_0x59b1b6['shift']());}catch(_0x10e63b){_0x59b1b6['push'](_0x59b1b6['shift']());}}}(_0x22d8,0x79fe7));import*as _0x31d287 from'react';export{_0x31d287 as React};import*as _0x223f2b from'react-dom/client';function _0x3edc(_0x36e6a1,_0x4090e5){const _0x22d88b=_0x22d8();return _0x3edc=function(_0x3edcb2,_0x2516e8){_0x3edcb2=_0x3edcb2-0x9b;let _0x3870b1=_0x22d88b[_0x3edcb2];return _0x3870b1;},_0x3edc(_0x36e6a1,_0x4090e5);}import{CKBox as _0x1c6cd1,version}from'@ckbox/core';export{version}from'@ckbox/core';const getDialogProps=(_0x1f5e8e,_0x17cdb7)=>{const _0x3cffa=_0x3edc,_0x32187a=_0x1f5e8e[_0x3cffa(0xa8)];if(!_0x32187a)return![];if(typeof _0x32187a===_0x3cffa(0xa5)){const _0x3cf6d2=()=>{_0x17cdb7();};return{'open':!![],'onClose':_0x3cf6d2};}const _0x1c4a2c=()=>{const _0x130fd5=_0x3cffa;var _0x491bef;(_0x491bef=_0x32187a[_0x130fd5(0xad)])===null||_0x491bef===void 0x0?void 0x0:_0x491bef[_0x130fd5(0xa4)](_0x32187a),_0x17cdb7();};return{..._0x32187a,'open':!![],'onClose':_0x1c4a2c};},getAssetsProps=(_0xcc5b23,_0x17e0e5)=>{const _0x27b749=_0x3edc;var _0x24779f;const _0x28ef00=(_0x24779f=_0xcc5b23['assets'])===null||_0x24779f===void 0x0?void 0x0:_0x24779f['onChoose'];if(!_0x28ef00)return _0xcc5b23[_0x27b749(0xa6)];const _0x364aa5=_0x565c34=>{const _0x3c9108=_0x27b749;var _0x2155ab;_0x28ef00(_0x565c34),_0x17e0e5&&typeof _0x17e0e5!==_0x3c9108(0xa5)&&((_0x2155ab=_0x17e0e5[_0x3c9108(0xad)])===null||_0x2155ab===void 0x0?void 0x0:_0x2155ab[_0x3c9108(0xa4)](_0x17e0e5));};return{..._0xcc5b23[_0x27b749(0xa6)],'onChoose':_0x364aa5};},mount=(_0x969594,_0x12f8fa)=>{const _0x200775=_0x3edc,_0x28869e=_0x223f2b[_0x200775(0x9c)](_0x969594),_0x189011=_0x28869e[_0x200775(0xab)][_0x200775(0xa3)](_0x28869e),_0x17c550=getDialogProps(_0x12f8fa,_0x189011),_0x3bca7e=getAssetsProps(_0x12f8fa,_0x17c550);return _0x28869e[_0x200775(0xac)](_0x31d287['createElement'](_0x1c6cd1,{..._0x12f8fa,'assets':_0x3bca7e,'dialog':_0x17c550})),{'unmount':_0x189011};};var CKBox=Object['freeze']({'__proto__':null,'mount':mount,'React':_0x31d287,'version':version});function _0x22d8(){const _0xd53b28=['3IMjqcE','6161049QzxuTu','34590jkNiCV','bind','call','boolean','assets','1552670ugKqYd','dialog','589286xzRqwu','268BNJjba','unmount','render','onClose','13290LtIheG','11518840ZjQfOD','createRoot','305ZkUHTF','CKBox','6947312snaHxi'];_0x22d8=function(){return _0xd53b28;};return _0x22d8();}(function(){const _0x50014e=_0x3edc,_0x187db1=globalThis;!_0x187db1[_0x50014e(0x9e)]&&(_0x187db1[_0x50014e(0x9e)]=CKBox);}());export{mount};
package/package.json CHANGED
@@ -20,12 +20,12 @@
20
20
  ],
21
21
  "license": "SEE LICENSE IN LICENSE.md",
22
22
  "name": "ckbox",
23
- "version": "1.3.0-dev.0",
23
+ "version": "1.3.0-rc.0",
24
24
  "description": "Main CKBox package",
25
25
  "main": "dist/index.js",
26
26
  "types": "dist/index.d.ts",
27
27
  "dependencies": {
28
- "@ckbox/core": "1.3.0-dev.0",
28
+ "@ckbox/core": "1.3.0-rc.0",
29
29
  "@types/react": "^18.0.27",
30
30
  "@types/react-dom": "^18.0.10",
31
31
  "react": "^18.2.0",