ckbox 1.3.2-rc.0 → 1.3.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-2022, CKSource Holding sp. z o.o. All rights reserved.
3
3
  */
4
- const _0x2f437e=_0x1b67;(function(_0x352a59,_0x3639f4){const _0x33bb0f=_0x1b67,_0x239032=_0x352a59();while(!![]){try{const _0x5e8fb1=parseInt(_0x33bb0f(0x204))/0x1*(-parseInt(_0x33bb0f(0x1f5))/0x2)+-parseInt(_0x33bb0f(0x209))/0x3+-parseInt(_0x33bb0f(0x1f9))/0x4*(parseInt(_0x33bb0f(0x20b))/0x5)+-parseInt(_0x33bb0f(0x1f4))/0x6*(-parseInt(_0x33bb0f(0x1f8))/0x7)+-parseInt(_0x33bb0f(0x208))/0x8*(parseInt(_0x33bb0f(0x200))/0x9)+-parseInt(_0x33bb0f(0x1fe))/0xa+parseInt(_0x33bb0f(0x206))/0xb;if(_0x5e8fb1===_0x3639f4)break;else _0x239032['push'](_0x239032['shift']());}catch(_0x3f66e2){_0x239032['push'](_0x239032['shift']());}}}(_0x1709,0xe710f));import*as _0x439e6d from'react';export{_0x439e6d as React};import*as _0x1ef62e from'react-dom/client';import{CKBox as _0x18b1bd,version}from'@ckbox/core';export{version}from'@ckbox/core';const getDialogProps=(_0x90a18a,_0x27776b)=>{const _0x33568d=_0x1b67,_0x44ea1f=_0x90a18a[_0x33568d(0x1f6)];if(!_0x44ea1f)return![];if(typeof _0x44ea1f===_0x33568d(0x207)){const _0x1af742=()=>{_0x27776b();};return{'open':!![],'onClose':_0x1af742};}const _0x3a34e3=()=>{var _0x3d7db0;(_0x3d7db0=_0x44ea1f['onClose'])===null||_0x3d7db0===void 0x0?void 0x0:_0x3d7db0['call'](_0x44ea1f),_0x27776b();};return{..._0x44ea1f,'open':!![],'onClose':_0x3a34e3};},getAssetsProps=(_0x361d0d,_0x23c90b)=>{const _0xd54964=_0x1b67;var _0x2a7469;const _0x5c68bd=(_0x2a7469=_0x361d0d[_0xd54964(0x1f7)])===null||_0x2a7469===void 0x0?void 0x0:_0x2a7469[_0xd54964(0x20a)];if(!_0x5c68bd)return _0x361d0d[_0xd54964(0x1f7)];const _0x5b10c8=_0xb91d17=>{const _0x619fa1=_0xd54964;var _0x49599d;_0x5c68bd(_0xb91d17),_0x23c90b&&typeof _0x23c90b!=='boolean'&&((_0x49599d=_0x23c90b[_0x619fa1(0x205)])===null||_0x49599d===void 0x0?void 0x0:_0x49599d[_0x619fa1(0x1fd)](_0x23c90b));};return{..._0x361d0d['assets'],'onChoose':_0x5b10c8};},mount=(_0x57416f,_0x4482d7)=>{const _0x29b9b7=_0x1b67,_0x28e2ed=_0x1ef62e[_0x29b9b7(0x201)](_0x57416f),_0x791242=_0x28e2ed[_0x29b9b7(0x1ff)][_0x29b9b7(0x1fc)](_0x28e2ed),_0x1c4e4f=getDialogProps(_0x4482d7,_0x791242),_0x37177d=getAssetsProps(_0x4482d7,_0x1c4e4f);return _0x28e2ed[_0x29b9b7(0x1fb)](_0x439e6d[_0x29b9b7(0x1fa)](_0x18b1bd,{..._0x4482d7,'assets':_0x37177d,'dialog':_0x1c4e4f})),{'unmount':_0x791242};};function _0x1709(){const _0x3feaf4=['freeze','661954nwdTnT','onClose','55320298WIIawO','boolean','8VXTwFS','3397923sJRVfW','onChoose','10vxuALs','49422uXTYPi','4KsWnny','dialog','assets','581qFzuxM','763228poPnsO','createElement','render','bind','call','10527820uMLqeg','unmount','7878573yWPURT','createRoot','CKBox'];_0x1709=function(){return _0x3feaf4;};return _0x1709();}var CKBox=Object[_0x2f437e(0x203)]({'__proto__':null,'mount':mount,'React':_0x439e6d,'version':version});function _0x1b67(_0x5aed7d,_0x4d1d9f){const _0x170936=_0x1709();return _0x1b67=function(_0x1b67d4,_0x3550a1){_0x1b67d4=_0x1b67d4-0x1f4;let _0x4d9358=_0x170936[_0x1b67d4];return _0x4d9358;},_0x1b67(_0x5aed7d,_0x4d1d9f);}(function(){const _0xadeece=_0x2f437e,_0x30837d=globalThis;!_0x30837d['CKBox']&&(_0x30837d[_0xadeece(0x202)]=CKBox);}());export{mount};
4
+ (function(_0x3ee099,_0x14977e){const _0x1cf985=_0x5175,_0x56ea57=_0x3ee099();while(!![]){try{const _0x24bd5a=-parseInt(_0x1cf985(0xf0))/0x1+-parseInt(_0x1cf985(0xf3))/0x2+parseInt(_0x1cf985(0xf6))/0x3+-parseInt(_0x1cf985(0xf1))/0x4+parseInt(_0x1cf985(0x104))/0x5*(-parseInt(_0x1cf985(0x100))/0x6)+parseInt(_0x1cf985(0xfc))/0x7*(-parseInt(_0x1cf985(0xfb))/0x8)+parseInt(_0x1cf985(0xfe))/0x9*(parseInt(_0x1cf985(0xfd))/0xa);if(_0x24bd5a===_0x14977e)break;else _0x56ea57['push'](_0x56ea57['shift']());}catch(_0x270e4a){_0x56ea57['push'](_0x56ea57['shift']());}}}(_0x5ce3,0xc1f89));import*as _0xef5d86 from'react';export{_0xef5d86 as React};function _0x5175(_0x3a20e6,_0x370521){const _0x5ce3c1=_0x5ce3();return _0x5175=function(_0x5175fa,_0xd930f3){_0x5175fa=_0x5175fa-0xf0;let _0x26c48a=_0x5ce3c1[_0x5175fa];return _0x26c48a;},_0x5175(_0x3a20e6,_0x370521);}import*as _0x34d020 from'react-dom/client';import{CKBox as _0x532e2c,version}from'@ckbox/core';export{version}from'@ckbox/core';const getDialogProps=(_0x549658,_0x5e3798)=>{const _0x2b284d=_0x5175,_0x5bf0b7=_0x549658[_0x2b284d(0xf2)];if(!_0x5bf0b7)return![];if(typeof _0x5bf0b7===_0x2b284d(0xf4)){const _0x1dff31=()=>{_0x5e3798();};return{'open':!![],'onClose':_0x1dff31};}const _0x50cf51=()=>{const _0x55c18f=_0x2b284d;var _0x73380c;(_0x73380c=_0x5bf0b7[_0x55c18f(0x102)])===null||_0x73380c===void 0x0?void 0x0:_0x73380c[_0x55c18f(0xf8)](_0x5bf0b7),_0x5e3798();};return{..._0x5bf0b7,'open':!![],'onClose':_0x50cf51};},getAssetsProps=(_0x5c52ba,_0x3c76b0)=>{const _0x5938c6=_0x5175;var _0x5c3a0b;const _0x21d6cb=(_0x5c3a0b=_0x5c52ba[_0x5938c6(0xf9)])===null||_0x5c3a0b===void 0x0?void 0x0:_0x5c3a0b['onChoose'];if(!_0x21d6cb)return _0x5c52ba[_0x5938c6(0xf9)];const _0x110028=_0x7e38a8=>{const _0x5412c7=_0x5938c6;var _0x466bbc;_0x21d6cb(_0x7e38a8),_0x3c76b0&&typeof _0x3c76b0!==_0x5412c7(0xf4)&&((_0x466bbc=_0x3c76b0['onClose'])===null||_0x466bbc===void 0x0?void 0x0:_0x466bbc[_0x5412c7(0xf8)](_0x3c76b0));};return{..._0x5c52ba[_0x5938c6(0xf9)],'onChoose':_0x110028};},mount=(_0x3b2db5,_0x2d5d99)=>{const _0x5c00f1=_0x5175,_0x1db487=_0x34d020[_0x5c00f1(0xf7)](_0x3b2db5),_0x3fab24=_0x1db487[_0x5c00f1(0xff)][_0x5c00f1(0xf5)](_0x1db487),_0x2465a5=getDialogProps(_0x2d5d99,_0x3fab24),_0x37f5ce=getAssetsProps(_0x2d5d99,_0x2465a5);return _0x1db487[_0x5c00f1(0xfa)](_0xef5d86[_0x5c00f1(0x101)](_0x532e2c,{..._0x2d5d99,'assets':_0x37f5ce,'dialog':_0x2465a5})),{'unmount':_0x3fab24};};function _0x5ce3(){const _0x15ec85=['571221ZfoAqb','254440tYccSY','1746MgDmaZ','unmount','6utHOWr','createElement','onClose','CKBox','5410945LGGhSA','973905RrhQyq','4081276KsPEMp','dialog','2098168wRaGMg','boolean','bind','1175643OVkxwK','createRoot','call','assets','render','40GsDlFA'];_0x5ce3=function(){return _0x15ec85;};return _0x5ce3();}var CKBox=Object['freeze']({'__proto__':null,'mount':mount,'React':_0xef5d86,'version':version});(function(){const _0x432aeb=_0x5175,_0x5d8b41=globalThis;!_0x5d8b41['CKBox']&&(_0x5d8b41[_0x432aeb(0x103)]=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.2-rc.0",
23
+ "version": "1.3.2",
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.2-rc.0",
28
+ "@ckbox/core": "1.3.2",
29
29
  "@types/react": "^18.0.27",
30
30
  "@types/react-dom": "^18.0.10",
31
31
  "react": "^18.2.0",