ckbox 0.0.5-dev.0 → 0.0.5

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 _0x5c70aa=_0xe789;(function(_0x2cdf38,_0x145d1d){const _0x2ef6cf=_0xe789,_0x28e6cb=_0x2cdf38();while(!![]){try{const _0x3e29f4=-parseInt(_0x2ef6cf(0x1f4))/0x1*(parseInt(_0x2ef6cf(0x1ed))/0x2)+parseInt(_0x2ef6cf(0x1eb))/0x3+parseInt(_0x2ef6cf(0x1f9))/0x4*(-parseInt(_0x2ef6cf(0x1e9))/0x5)+-parseInt(_0x2ef6cf(0x1f7))/0x6*(parseInt(_0x2ef6cf(0x1ee))/0x7)+parseInt(_0x2ef6cf(0x1ec))/0x8+parseInt(_0x2ef6cf(0x1ea))/0x9*(parseInt(_0x2ef6cf(0x1f6))/0xa)+-parseInt(_0x2ef6cf(0x1e5))/0xb*(-parseInt(_0x2ef6cf(0x1ef))/0xc);if(_0x3e29f4===_0x145d1d)break;else _0x28e6cb['push'](_0x28e6cb['shift']());}catch(_0x469001){_0x28e6cb['push'](_0x28e6cb['shift']());}}}(_0x4cf4,0x58414));import*as _0x17c7e8 from'react';export{_0x17c7e8 as React};import*as _0x1ffcb0 from'react-dom/client';function _0x4cf4(){const _0x512b47=['16850gkVwAz','217962mdJfCY','boolean','14312ymPGZQ','onChoose','freeze','assets','737NhJDjr','createElement','CKBox','render','850oynEqc','855GPDlRJ','1501575ocdFTo','889144SPQnNI','10UvpdMz','112SYXhaI','231576PDOdWE','undefined','assign','bind','onClose','102745JyeuYd','unmount'];_0x4cf4=function(){return _0x512b47;};return _0x4cf4();}function _0xe789(_0x5027c8,_0x3d4b1f){const _0x4cf4b3=_0x4cf4();return _0xe789=function(_0xe7894f,_0x4234c6){_0xe7894f=_0xe7894f-0x1e3;let _0x4a0592=_0x4cf4b3[_0xe7894f];return _0x4a0592;},_0xe789(_0x5027c8,_0x3d4b1f);}import{CKBox as _0x5c2f52}from'@ckbox/core';const getDialogProps=(_0xe640ba,_0x30f23b)=>{const _0x3fe0f5=_0xe789,_0xb24509=_0xe640ba['dialog'];if(!_0xb24509)return![];if(typeof _0xb24509===_0x3fe0f5(0x1f8)){const _0x456f6d=()=>{_0x30f23b();};return{'open':!![],'onClose':_0x456f6d};}const _0x25db90=()=>{const _0x16acce=_0x3fe0f5;var _0x472c96;(_0x472c96=_0xb24509[_0x16acce(0x1f3)])===null||_0x472c96===void 0x0?void 0x0:_0x472c96['call'](_0xb24509),_0x30f23b();};return Object[_0x3fe0f5(0x1f1)](Object['assign']({},_0xb24509),{'open':!![],'onClose':_0x25db90});},getAssetsProps=(_0x3288f1,_0x31f6b0)=>{const _0x2a03d7=_0xe789;var _0x262dd2;const _0x64d774=(_0x262dd2=_0x3288f1[_0x2a03d7(0x1e4)])===null||_0x262dd2===void 0x0?void 0x0:_0x262dd2[_0x2a03d7(0x1fa)];if(!_0x64d774)return _0x3288f1['assets'];const _0x13316a=_0x49416b=>{const _0x309c22=_0x2a03d7;var _0x2cc2d6;_0x64d774(_0x49416b),_0x31f6b0&&typeof _0x31f6b0!==_0x309c22(0x1f8)&&((_0x2cc2d6=_0x31f6b0[_0x309c22(0x1f3)])===null||_0x2cc2d6===void 0x0?void 0x0:_0x2cc2d6['call'](_0x31f6b0));};return Object[_0x2a03d7(0x1f1)](Object['assign']({},_0x3288f1[_0x2a03d7(0x1e4)]),{'onChoose':_0x13316a});},mount=(_0x456402,_0x226f19)=>{const _0x352375=_0xe789,_0x297e53=_0x1ffcb0['createRoot'](_0x456402),_0x31e626=_0x297e53[_0x352375(0x1f5)][_0x352375(0x1f2)](_0x297e53),_0x57e42e=getDialogProps(_0x226f19,_0x31e626),_0xe629f8=getAssetsProps(_0x226f19,_0x57e42e);return _0x297e53[_0x352375(0x1e8)](_0x17c7e8[_0x352375(0x1e6)](_0x5c2f52,Object[_0x352375(0x1f1)]({},_0x226f19,{'assets':_0xe629f8,'dialog':_0x57e42e}))),{'unmount':_0x31e626};};var CKBox=Object[_0x5c70aa(0x1e3)]({'__proto__':null,'mount':mount,'React':_0x17c7e8});(function(){const _0x33057c=_0x5c70aa,_0x4a0e16=typeof globalThis!==_0x33057c(0x1f0)?globalThis:global||self;!_0x4a0e16[_0x33057c(0x1e7)]&&(_0x4a0e16[_0x33057c(0x1e7)]=CKBox);}());export{mount};
4
+ const _0x45e3e9=_0xa64f;function _0xa64f(_0x6d73af,_0x4fbcd3){const _0xc67a20=_0xc67a();return _0xa64f=function(_0xa64f73,_0x1931e4){_0xa64f73=_0xa64f73-0x1e5;let _0x682e47=_0xc67a20[_0xa64f73];return _0x682e47;},_0xa64f(_0x6d73af,_0x4fbcd3);}(function(_0x420579,_0x30200c){const _0x33e7cc=_0xa64f,_0x1dfd8a=_0x420579();while(!![]){try{const _0x359c68=-parseInt(_0x33e7cc(0x1ee))/0x1+-parseInt(_0x33e7cc(0x1f6))/0x2+parseInt(_0x33e7cc(0x1f3))/0x3+-parseInt(_0x33e7cc(0x1f1))/0x4*(parseInt(_0x33e7cc(0x1e7))/0x5)+-parseInt(_0x33e7cc(0x1f5))/0x6*(parseInt(_0x33e7cc(0x1ed))/0x7)+parseInt(_0x33e7cc(0x1e8))/0x8+parseInt(_0x33e7cc(0x1e9))/0x9;if(_0x359c68===_0x30200c)break;else _0x1dfd8a['push'](_0x1dfd8a['shift']());}catch(_0x4ea114){_0x1dfd8a['push'](_0x1dfd8a['shift']());}}}(_0xc67a,0x2a5c3));import*as _0x105ddd from'react';function _0xc67a(){const _0x33a504=['dialog','render','10IuxHrn','1332304fZIDzn','2734875JcxUnI','onChoose','call','onClose','21pHmVjq','14446rwuSli','bind','assets','64184UBQeeR','createElement','154407PFhhDF','CKBox','11274iOhFEX','592400uljrHf','freeze','assign','createRoot'];_0xc67a=function(){return _0x33a504;};return _0xc67a();}export{_0x105ddd as React};import*as _0x201a24 from'react-dom/client';import{CKBox as _0x169056}from'@ckbox/core';const getDialogProps=(_0xdc3b2d,_0x52915f)=>{const _0x4f8f4d=_0xa64f,_0x6088dd=_0xdc3b2d[_0x4f8f4d(0x1e5)];if(!_0x6088dd)return![];if(typeof _0x6088dd==='boolean'){const _0x8f0eac=()=>{_0x52915f();};return{'open':!![],'onClose':_0x8f0eac};}const _0x2dcec6=()=>{const _0x57f202=_0x4f8f4d;var _0x19f5e5;(_0x19f5e5=_0x6088dd['onClose'])===null||_0x19f5e5===void 0x0?void 0x0:_0x19f5e5[_0x57f202(0x1eb)](_0x6088dd),_0x52915f();};return Object[_0x4f8f4d(0x1f8)](Object['assign']({},_0x6088dd),{'open':!![],'onClose':_0x2dcec6});},getAssetsProps=(_0x45dc2c,_0x11d994)=>{const _0x35ffbf=_0xa64f;var _0x552d9b;const _0x34acd0=(_0x552d9b=_0x45dc2c[_0x35ffbf(0x1f0)])===null||_0x552d9b===void 0x0?void 0x0:_0x552d9b[_0x35ffbf(0x1ea)];if(!_0x34acd0)return _0x45dc2c[_0x35ffbf(0x1f0)];const _0x195b09=_0x176366=>{const _0x1c4924=_0x35ffbf;var _0x16fee3;_0x34acd0(_0x176366),_0x11d994&&typeof _0x11d994!=='boolean'&&((_0x16fee3=_0x11d994[_0x1c4924(0x1ec)])===null||_0x16fee3===void 0x0?void 0x0:_0x16fee3[_0x1c4924(0x1eb)](_0x11d994));};return Object[_0x35ffbf(0x1f8)](Object[_0x35ffbf(0x1f8)]({},_0x45dc2c['assets']),{'onChoose':_0x195b09});},mount=(_0x56a2de,_0xb92846)=>{const _0x533710=_0xa64f,_0x2a6974=_0x201a24[_0x533710(0x1f9)](_0x56a2de),_0x44a6a9=_0x2a6974['unmount'][_0x533710(0x1ef)](_0x2a6974),_0x51a518=getDialogProps(_0xb92846,_0x44a6a9),_0x21df73=getAssetsProps(_0xb92846,_0x51a518);return _0x2a6974[_0x533710(0x1e6)](_0x105ddd[_0x533710(0x1f2)](_0x169056,Object[_0x533710(0x1f8)]({},_0xb92846,{'assets':_0x21df73,'dialog':_0x51a518}))),{'unmount':_0x44a6a9};};var CKBox=Object[_0x45e3e9(0x1f7)]({'__proto__':null,'mount':mount,'React':_0x105ddd});(function(){const _0x21bfaf=_0x45e3e9,_0x282556=typeof globalThis!=='undefined'?globalThis:global||self;!_0x282556[_0x21bfaf(0x1f4)]&&(_0x282556['CKBox']=CKBox);}());export{mount};
@@ -1 +1 @@
1
- !function(){const e="undefined"!=typeof globalThis?globalThis:global||self;e.CKBOX_TRANSLATIONS||(e.CKBOX_TRANSLATIONS={}),e.CKBOX_TRANSLATIONS.et={Settings:"","Asset categories":"",Images:"","Category name":"","Add category":"","Category ID":"","Allowed extensions":"","Add an extension":"","This extension is in use":"","Removing an extension in use will result in the permanent removal of files with this extension.":"","Remove extensions in use":"","This operation will permanently delete assets from the %s category. Are you sure you want to do that?":"","Assets with the following extensions will be removed:":"","Remove %s extension":"","Use the slider to define the quality of responsive images":"","Responsive images quality":"","Image quality:":"",Low:"",Medium:"",Good:"",High:"",Best:"","Please type the category name to continue:":"","This operation will permanently delete the %s category with all the assets in it. Are you sure you want to do that?":"","Category name is required.":"","Category name cannot exceed 256 characters.":"","At least one extension must be specified.":"","Extension cannot contain a dot.":"","Number of extensions cannot exceed 100.":"","Extension must not exceed 9 characters.":"","Category name must be unique.":"","Remove category":"","You are about to permanently delete your files!":"","Category created successfully.":"","Category position updated.":"","Category updated successfully.":"","Category deleted successfully.":"","Images quality updated successfully.":"",Cancel:"",Save:"",Delete:"",Edit:"",Copy:"",Close:"","Copied!":"",Recent:"",Download:"",Rename:"",Upload:"",Properties:"",Choose:"","%d file selected_one":"","%d file selected_other":"","%d file deleted successfully._one":"","%d file deleted successfully._other":"","File updated successfully.":"","File name":"",Description:"","Upload date":"",uploadedAt:"","File size":"",size:"",Width:"",Height:"",URL:"","of %d":"","Enter page number":"",Navigation:"","There are no assets in this category":"","Description cannot exceed 1024 characters.":"","File name is required.":"","File extension is required.":"","File extension is not allowed.":"","Remove assets":"","Are you sure you want to delete %s file?_one":"","Are you sure you want to delete %s file?_other":"","Resize window":"","Display options":"",Assets:"",Thumbnails:"",Size:"","Keep aspect ratio":"",Display:"","Sort by":"",Order:"",Ascending:"",Descending:"",name:"",lastModifiedAt:"",Pending:"",Aborted:"","%s left":"","More than 1 day left":"","%s of %s":"","File extension is not allowed in %s category":"","Maximum file size allowed is %s":"","Maximum image resolution allowed is %s":"","Storage quota exceeded":"","An error has occurred":"","%d error_one":"","%d error_other":"","%d of %d file uploaded_one":"","%d of %d file uploaded_other":"","Upload aborted":"","Upload finished":"","Abort upload":"","Close upload dialog":"","Open upload dialog":"","Open details":"","Close details":"","Internal server error.":"","Unauthorized operation.":"","Category not found.":"","An unexpected application error has occurred.":"","Unexpected error.":"","Asset not found.":"","Unknown error.":"","Validation failed.":"","Resource not found.":"","%d h_one":"","%d h_other":"","%d min_one":"","%d min_other":"","%d s_one":"","%d s_other":""}}();
1
+ !function(){const e="undefined"!=typeof globalThis?globalThis:global||self;e.CKBOX_TRANSLATIONS||(e.CKBOX_TRANSLATIONS={}),e.CKBOX_TRANSLATIONS.et={Settings:"Sätted","Asset categories":"Failitüübid",Images:"Pildid","Category name":"Kategooria nimi","Add category":"Lisa kategooria","Category ID":"Kategooria ID","Allowed extensions":"Lubatud faililaiendid","Add an extension":"Lisa faililaiend","This extension is in use":"See laiend on kasutuses","Removing an extension in use will result in the permanent removal of files with this extension.":"Pärast laiendi eemaldamist kaovad jäädavalt kõik selle laiendiga failid.","Remove extensions in use":"Eemalda kasutusesolevad laiendid","This operation will permanently delete assets from the %s category. Are you sure you want to do that?":"See kustutaks failid <strong>%s</strong> kategooriast jäädavalt. Olete kindel, et soovite seda teha?","Assets with the following extensions will be removed:":"Järgneva laiendiga failid kustutatakse:","Remove %s extension":"Eemalda %s laiend","Use the slider to define the quality of responsive images":"Kasutage liugurit, et määrata reageerivate piltide kvaliteet","Responsive images quality":"Reageerivate piltide kvaliteet","Image quality:":"Pildikvaliteet:",Low:"Madal",Medium:"Keskmine",Good:"Hea",High:"Kõrge",Best:"Parim","Please type the category name to continue:":"Jätkamiseks sisestage palun kategooria nimi:","This operation will permanently delete the %s category with all the assets in it. Are you sure you want to do that?":"See kustutaks kategooria <strong>%s</strong> sinna kuuluvate failidega jäädavalt. Olete kindel, et soovite seda teha?","Category name is required.":"Kategooriale nime andmine on kohustuslik.","Category name cannot exceed 256 characters.":"Kategooria nimi ei tohi olla pikem kui 256 tähemärki.","At least one extension must be specified.":"Valitud peab olema vähemalt 1 laiend.","Extension cannot contain a dot.":"Laiend ei tohi sisaldada punkti.","Number of extensions cannot exceed 100.":"Laiendite arv ei tohi ületada 100.","Extension must not exceed 9 characters.":"Laiend ei tohi olla pikem kui 9 tähemärki.","Category name must be unique.":"Selle nimega kategooria on juba olemas.","Remove category":"Eemalda kategooria","You are about to permanently delete your files!":"Te olete oma faile jäädavalt kustutamas!","Category created successfully.":"Kategooria on loodud.","Category position updated.":"Kategooria positsioon on uuendatud.","Category updated successfully.":"Kategooria on uuendatud.","Category deleted successfully.":"Kategooria on kustutatud.","Images quality updated successfully.":"Pildikvaliteet on muudetud.",Cancel:"Tühista",Save:"Salvesta",Delete:"Kustuta",Edit:"Muuda",Copy:"Kopeeri",Close:"Sulge","Copied!":"Kopeeritud!",Recent:"Hiljutised",Download:"Laadi alla",Rename:"Nimeta ümber",Upload:"Laadi üles",Properties:"Omadused",Choose:"Vali","%d file selected_one":"<strong>%d fail</strong> valitud","%d file selected_other":"<strong>%d faili</strong> valitud","%d file deleted successfully._one":"%d fail on kustutatud.","%d file deleted successfully._other":"%d faili on kustutatud.","File updated successfully.":"Fail on uuendatud.","File name":"Failinimi",Description:"Kirjeldus","Upload date":"Üleslaadimise kuupäev",uploadedAt:"Üleslaadimise kuupäev","File size":"Failisuurus",size:"Suurus",Width:"Laius",Height:"Kõrgus",URL:"URL","of %d":"%d-st","Enter page number":"Lisage leheküljenumber",Navigation:"Navigatsioon","There are no assets in this category":"Selles kategoorias pole ühtki faili","Description cannot exceed 1024 characters.":"Kirjeldus ei tohi olla pikem kui 1024 tähemärki.","File name is required.":"Failinimi on kohustuslik","File extension is required.":"Faililaiend on kohustuslik.","File extension is not allowed.":"Faililaiend pole selles kategoorias lubatud.","Remove assets":"Eemalda failid","Are you sure you want to delete %s file?_one":"Olete kindlad, et soovite <strong>%s</strong> faili kustutada?","Are you sure you want to delete %s file?_other":"Olete kindlad, et soovite <strong>%s</strong> faili kustutada?","Resize window":"Muuda akna suurust","Display options":"Kuvasätted",Assets:"Failid",Thumbnails:"Eelvaade",Size:"Suurus","Keep aspect ratio":"Jäta kuvasuhe samaks",Display:"Kuva","Sort by":"Sorteerimise alus",Order:"Järjekord",Ascending:"Kasvav",Descending:"Kahanev",name:"Nimi",lastModifiedAt:"Viimati muudetud",Pending:"Ootel",Aborted:"Katkestatud","%s left":"%s jäänud","More than 1 day left":"Rohkem kui 1 päev jäänud","%s of %s":"%s %s-st","File extension is not allowed in %s category":"Faililaiend pole kategoorias <strong>%s</strong> lubatud","Maximum file size allowed is %s":"Maksimaalne lubatud failisuurus on %s","Maximum image resolution allowed is %s":"Maksimaalne lubatud pildiresolutsioon on %s","Storage quota exceeded":"Salvestusmaht on ületatud","An error has occurred":"Esines viga","%d error_one":"<strong>%d</strong> viga","%d error_other":"<strong>%d</strong> viga","%d of %d file uploaded_one":"<strong>%d</strong> fail <strong>%d</strong>-st üles laaditud","%d of %d file uploaded_other":"<strong>%d</strong> faili <strong>%d</strong>-st üles laaditud","Upload aborted":"Üleslaadimine tühistatud","Upload finished":"Üleslaadimine lõpetatud","Abort upload":"Tühista üleslaadimine","Close upload dialog":"Sulge üleslaadimise aken","Open upload dialog":"Ava üleslaadimise aken","Open details":"Vaata detaile","Close details":"Sulge detailid","Internal server error.":"Sisemise serveri viga.","Unauthorized operation.":"Volitused selleks tegevuseks puuduvad.","Category not found.":"Kategooriat ei leitud.","An unexpected application error has occurred.":"Esines ootamatu programmitõrge.","Unexpected error.":"Ootamatu tõrge.","Asset not found.":"Faili ei leitud.","Unknown error.":"Tundmatu tõrge.","Validation failed.":"Kinnitamine ebaõnnestus.","Resource not found.":"Allikat ei leitud.","%d h_one":"%d tund","%d h_other":"%d tundi","%d min_one":"%d minut","%d min_other":"%d minutit","%d s_one":"%d sekund","%d s_other":"%d sekundit"}}();
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "ckbox",
3
- "version": "0.0.5-dev.0",
3
+ "version": "0.0.5",
4
4
  "description": "Main CKBox package",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "license": "SEE LICENSE IN LICENSE.md",
8
8
  "dependencies": {
9
- "@ckbox/core": "0.0.5-dev.0",
9
+ "@ckbox/core": "0.0.5",
10
10
  "react": "^18.1.0",
11
11
  "react-dom": "^18.1.0",
12
12
  "tslib": "^2.4.0"