ckbox 2.6.0 → 2.8.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.d.ts CHANGED
@@ -36,4 +36,5 @@ declare const mountImageEditor: (root: Element, props: ImageEditorProps | ImageE
36
36
  unmount: () => void;
37
37
  };
38
38
 
39
- export { type Asset, type CoreAssetsConfigProps, type CoreAssetsOnChooseProps, type CoreDialogProps, type DialogProps, type ImageEditorFromUrlProps, type ImageEditorProps, type Props, mount, mountImageEditor };
39
+ export { mount, mountImageEditor };
40
+ export type { Asset, CoreAssetsConfigProps, CoreAssetsOnChooseProps, CoreDialogProps, DialogProps, ImageEditorFromUrlProps, ImageEditorProps, Props };
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
- (function(_0x212758,_0x441e19){const _0x44a6ce=_0x268d,_0xbe167d=_0x212758();while(!![]){try{const _0x438d3f=-parseInt(_0x44a6ce(0x149))/0x1+-parseInt(_0x44a6ce(0x147))/0x2+-parseInt(_0x44a6ce(0x146))/0x3+parseInt(_0x44a6ce(0x143))/0x4+-parseInt(_0x44a6ce(0x140))/0x5+-parseInt(_0x44a6ce(0x14c))/0x6*(parseInt(_0x44a6ce(0x142))/0x7)+parseInt(_0x44a6ce(0x144))/0x8;if(_0x438d3f===_0x441e19)break;else _0xbe167d['push'](_0xbe167d['shift']());}catch(_0x1fa8d6){_0xbe167d['push'](_0xbe167d['shift']());}}}(_0x62d3,0xd1a91));import*as _0x2e66c8 from'react';function _0x62d3(){const _0x17fb11=['call','676028OBUfSD','onChoose','createElement','6FRXSEl','CKBox','assets','createRoot','boolean','onClose','bind','7338675gQZYsc','render','8407483KdDqbe','5456988LkPTrg','45509096DUWfHc','unmount','3763914QmtyFe','3189290oreCAY'];_0x62d3=function(){return _0x17fb11;};return _0x62d3();}export{_0x2e66c8 as React};import*as _0x35cf64 from'react-dom/client';import{CKBox as _0x584b58,CKBoxImageEditor,version}from'@ckbox/core';export{version}from'@ckbox/core';const getDialogProps=(_0x358fbf,_0x15266c)=>{const _0x50c622=_0x268d,_0x59318f=_0x358fbf['dialog'];if(!_0x59318f)return![];if(typeof _0x59318f===_0x50c622(0x13d)){const _0x2dae88=()=>{_0x15266c();};return{'open':!![],'onClose':_0x2dae88};}const _0x1ff424=()=>{const _0x2e8452=_0x50c622;var _0x2250eb;(_0x2250eb=_0x59318f[_0x2e8452(0x13e)])===null||_0x2250eb===void 0x0?void 0x0:_0x2250eb[_0x2e8452(0x148)](_0x59318f),_0x15266c();};return{..._0x59318f,'open':!![],'onClose':_0x1ff424};},getAssetsProps=(_0x5181b5,_0x341bdc)=>{const _0x2c5b6e=_0x268d;var _0x4cd537;const _0x3ea1e9=(_0x4cd537=_0x5181b5['assets'])===null||_0x4cd537===void 0x0?void 0x0:_0x4cd537[_0x2c5b6e(0x14a)];if(!_0x3ea1e9)return _0x5181b5[_0x2c5b6e(0x14e)];const _0x5474d4=_0x43391e=>{const _0x47f685=_0x2c5b6e;var _0x2b3a6b;_0x3ea1e9(_0x43391e),_0x341bdc&&typeof _0x341bdc!==_0x47f685(0x13d)&&((_0x2b3a6b=_0x341bdc['onClose'])===null||_0x2b3a6b===void 0x0?void 0x0:_0x2b3a6b[_0x47f685(0x148)](_0x341bdc));};return{..._0x5181b5['assets'],'onChoose':_0x5474d4};},mount=(_0x1ea86f,_0x476067)=>{const _0xc32142=_0x268d,_0x327d46=_0x35cf64[_0xc32142(0x13c)](_0x1ea86f),_0x313265=_0x327d46[_0xc32142(0x145)][_0xc32142(0x13f)](_0x327d46),_0x15878c=getDialogProps(_0x476067,_0x313265),_0x5f09c1=getAssetsProps(_0x476067,_0x15878c);return _0x327d46['render'](_0x2e66c8['createElement'](_0x584b58,{..._0x476067,'assets':_0x5f09c1,'dialog':_0x15878c})),{'unmount':_0x313265};},mountImageEditor=(_0x18e303,_0x53c3a2)=>{const _0x365fad=_0x268d,_0x5d9272=_0x35cf64['createRoot'](_0x18e303),_0x53f939=_0x5d9272[_0x365fad(0x145)][_0x365fad(0x13f)](_0x5d9272),_0x5cf72c=()=>{const _0x416618=_0x365fad;var _0x3264cd;(_0x3264cd=_0x53c3a2['onClose'])===null||_0x3264cd===void 0x0?void 0x0:_0x3264cd[_0x416618(0x148)](_0x53c3a2),_0x53f939();};return _0x5d9272[_0x365fad(0x141)](_0x2e66c8[_0x365fad(0x14b)](CKBoxImageEditor,{..._0x53c3a2,'open':!![],'onClose':_0x5cf72c})),{'unmount':_0x53f939};};function _0x268d(_0x1e1802,_0x49db3c){const _0x62d354=_0x62d3();return _0x268d=function(_0x268db5,_0x7f0bc6){_0x268db5=_0x268db5-0x13c;let _0x191ed8=_0x62d354[_0x268db5];return _0x191ed8;},_0x268d(_0x1e1802,_0x49db3c);}var CKBox=Object['freeze']({'__proto__':null,'React':_0x2e66c8,'mount':mount,'mountImageEditor':mountImageEditor,'version':version});(function(){const _0x159aaf=_0x268d,_0x25ca23=globalThis;!_0x25ca23[_0x159aaf(0x14d)]&&(_0x25ca23[_0x159aaf(0x14d)]=CKBox);}());export{mount,mountImageEditor};
4
+ const _0x3c60ad=_0x5c77;function _0x5c77(_0x1d7309,_0x46f3c3){const _0x3fd6ac=_0x3fd6();return _0x5c77=function(_0x5c7751,_0x126acb){_0x5c7751=_0x5c7751-0x152;let _0x2a2225=_0x3fd6ac[_0x5c7751];return _0x2a2225;},_0x5c77(_0x1d7309,_0x46f3c3);}(function(_0xde24f8,_0x11fbe5){const _0x16edee=_0x5c77,_0x25343e=_0xde24f8();while(!![]){try{const _0x2e5463=-parseInt(_0x16edee(0x155))/0x1+parseInt(_0x16edee(0x165))/0x2*(parseInt(_0x16edee(0x164))/0x3)+-parseInt(_0x16edee(0x156))/0x4*(-parseInt(_0x16edee(0x153))/0x5)+-parseInt(_0x16edee(0x15d))/0x6*(-parseInt(_0x16edee(0x152))/0x7)+-parseInt(_0x16edee(0x166))/0x8+-parseInt(_0x16edee(0x167))/0x9*(parseInt(_0x16edee(0x15c))/0xa)+parseInt(_0x16edee(0x162))/0xb;if(_0x2e5463===_0x11fbe5)break;else _0x25343e['push'](_0x25343e['shift']());}catch(_0x1214f0){_0x25343e['push'](_0x25343e['shift']());}}}(_0x3fd6,0xdf6f5));import*as _0x3f89cb from'react';export{_0x3f89cb as React};function _0x3fd6(){const _0x4696bb=['9276yrsrhS','createElement','assets','CKBox','dialog','25755433ZfPAwK','bind','2157aOCpNK','1258dDZOCf','6379336tOtnjX','45kfyOzm','7217oQLvAl','2984190sNTnLy','render','1526077YyHnhl','4nWQiEL','onClose','createRoot','call','freeze','unmount','3491470DyxIBj'];_0x3fd6=function(){return _0x4696bb;};return _0x3fd6();}import*as _0x10e8d3 from'react-dom/client';import{CKBox as _0x356a92,CKBoxImageEditor,version}from'@ckbox/core';export{version}from'@ckbox/core';const getDialogProps=(_0x4cf17f,_0x5db8d8)=>{const _0x47392e=_0x5c77,_0x527156=_0x4cf17f[_0x47392e(0x161)];if(!_0x527156)return![];if(typeof _0x527156==='boolean'){const _0x87228b=()=>{_0x5db8d8();};return{'open':!![],'onClose':_0x87228b};}const _0x5b2316=()=>{const _0x3124e9=_0x47392e;var _0x370617;(_0x370617=_0x527156[_0x3124e9(0x157)])===null||_0x370617===void 0x0?void 0x0:_0x370617[_0x3124e9(0x159)](_0x527156),_0x5db8d8();};return{..._0x527156,'open':!![],'onClose':_0x5b2316};},getAssetsProps=(_0x40e1a1,_0x3c264f)=>{const _0x198b8f=_0x5c77;var _0x5d46cf;const _0x251834=(_0x5d46cf=_0x40e1a1[_0x198b8f(0x15f)])===null||_0x5d46cf===void 0x0?void 0x0:_0x5d46cf['onChoose'];if(!_0x251834)return _0x40e1a1[_0x198b8f(0x15f)];const _0x42d473=_0x364db1=>{const _0x3bf2f6=_0x198b8f;var _0xb9219a;_0x251834(_0x364db1),_0x3c264f&&typeof _0x3c264f!=='boolean'&&((_0xb9219a=_0x3c264f['onClose'])===null||_0xb9219a===void 0x0?void 0x0:_0xb9219a[_0x3bf2f6(0x159)](_0x3c264f));};return{..._0x40e1a1[_0x198b8f(0x15f)],'onChoose':_0x42d473};},mount=(_0x1e065f,_0x31d72f)=>{const _0x23b0a3=_0x5c77,_0x591e85=_0x10e8d3[_0x23b0a3(0x158)](_0x1e065f),_0x18fcc3=_0x591e85[_0x23b0a3(0x15b)][_0x23b0a3(0x163)](_0x591e85),_0x537ebd=getDialogProps(_0x31d72f,_0x18fcc3),_0x415a0a=getAssetsProps(_0x31d72f,_0x537ebd);return _0x591e85[_0x23b0a3(0x154)](_0x3f89cb['createElement'](_0x356a92,{..._0x31d72f,'assets':_0x415a0a,'dialog':_0x537ebd})),{'unmount':_0x18fcc3};},mountImageEditor=(_0x36630d,_0x5eff18)=>{const _0x4a0c23=_0x5c77,_0x4605e2=_0x10e8d3[_0x4a0c23(0x158)](_0x36630d),_0xeba674=_0x4605e2[_0x4a0c23(0x15b)][_0x4a0c23(0x163)](_0x4605e2),_0x8ab90a=()=>{const _0x3d0d39=_0x4a0c23;var _0x15797d;(_0x15797d=_0x5eff18[_0x3d0d39(0x157)])===null||_0x15797d===void 0x0?void 0x0:_0x15797d[_0x3d0d39(0x159)](_0x5eff18),_0xeba674();};return _0x4605e2[_0x4a0c23(0x154)](_0x3f89cb[_0x4a0c23(0x15e)](CKBoxImageEditor,{..._0x5eff18,'open':!![],'onClose':_0x8ab90a})),{'unmount':_0xeba674};};var CKBox=Object[_0x3c60ad(0x15a)]({'__proto__':null,'React':_0x3f89cb,'mount':mount,'mountImageEditor':mountImageEditor,'version':version});(function(){const _0xd68599=_0x3c60ad,_0x3ed9e9=globalThis;!_0x3ed9e9[_0xd68599(0x160)]&&(_0x3ed9e9[_0xd68599(0x160)]=CKBox);}());export{mount,mountImageEditor};
@@ -1 +1 @@
1
- !function(){const e="undefined"!=typeof globalThis?globalThis:global||self;e.CKBOX_TRANSLATIONS||(e.CKBOX_TRANSLATIONS={}),e.CKBOX_TRANSLATIONS.en={"File manager":"File manager",Settings:"Settings",Search:"Search","Clear search results":"Clear search results","Asset categories":"Asset categories",Images:"Images",Permissions:"Permissions","Category name":"Category name","Add category":"Add category","Category ID":"Category ID","Folder ID":"Folder ID","Copy category ID":"Copy category ID","Copy folder ID":"Copy folder ID","Allowed extensions":"Allowed extensions","Add an extension":"Add an extension",Private:"Private","Make this category private":"Make this category private","When a category is marked as private, public access to the files within it is disabled. Only authorized users with access to your CKBox will be able to view or download the files in that category.":"When a category is marked as private, public access to the files within it is disabled. Only authorized users with access to your CKBox will be able to view or download the files in that category.","This extension is in use":"This extension is in use","Removing an extension in use will result in the permanent removal of files with this extension.":"Removing an extension in use will result in the permanent removal of files with this extension.","Remove extensions in use":"Remove extensions in use","This operation will permanently delete assets from the %s category. Are you sure you want to do that?":"This operation will permanently delete assets from the <strong>%s</strong> category. Are you sure you want to do that?","Assets with the following extensions will be removed:":"Assets with the following extensions will be removed:","Remove %s extension":"Remove %s extension","Use the slider to define the quality of responsive images":"Use the slider to define the quality of responsive images","Responsive images quality":"Responsive images quality","Image quality:":"Image quality:",Low:"Low",Medium:"Medium",Good:"Good",High:"High",Best:"Best","Please type the category name to continue:":"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?":"This operation will permanently delete the <strong>%s</strong> category with all the assets in it. Are you sure you want to do that?","Category name is required.":"Category name is required.","Category name cannot exceed 256 characters.":"Category name cannot exceed 256 characters.","At least one extension must be specified.":"At least one extension must be specified.","Extension cannot contain a dot.":"Extension cannot contain a dot.","Number of extensions cannot exceed 100.":"Number of extensions cannot exceed 100.","Extension must not exceed 9 characters.":"Extension must not exceed 9 characters.","Category name must be unique.":"Category with this name already exists.","Remove category":"Remove category","You are about to permanently delete your files!":"You are about to permanently delete your files!","Category created successfully.":"Category created successfully.","Category position updated.":"Category position updated.","Category updated successfully.":"Category updated successfully.","Category deleted successfully.":"Category deleted successfully.","Images quality updated successfully.":"Images quality updated successfully.",Cancel:"Cancel",Save:"Save",Delete:"Delete",Edit:"Edit",Copy:"Copy",Move:"Move","Remove %s tag":"Remove %s tag","Add a tag":"Add a tag",Tags:"Tags",Close:"Close","Copied!":"Copied!",Recent:"Recent",Download:"Download",Rename:"Rename",Upload:"Upload",Properties:"Properties",View:"View","Assets preview":"Assets preview",Choose:"Choose","%d file selected_one":"<strong>%d file</strong> selected","%d file selected_other":"<strong>%d files</strong> selected","Select asset":"Select asset","Deselect asset":"Deselect asset","%d file deleted successfully._one":"%d file deleted successfully.","%d file deleted successfully._other":"%d files deleted successfully.","File updated successfully.":"File updated successfully.","File name":"File name",Description:"Description","Upload date":"Upload date","File size":"File size",Width:"Width",Height:"Height",URL:"URL","of %d":"of %d","Enter page number":"Enter page number","First page":"First page","Last page":"Last page","Next page":"Next page","Previous page":"Previous page",Navigation:"Navigation","There are no assets in this category":"There are no assets in this category","Description cannot exceed 1024 characters.":"Description cannot exceed 1024 characters.","File name is required.":"File name is required.","File name cannot exceed %d characters.":"File name cannot exceed %d characters.","File extension is required.":"File extension is required.","Remove assets":"Remove assets","Are you sure you want to delete %s file?_one":"Are you sure you want to delete <strong>%s</strong> file?","Are you sure you want to delete %s file?_other":"Are you sure you want to delete %s files?","Resize window":"Resize window","Display options":"Display options",Assets:"Assets",Thumbnails:"Thumbnails","Thumbnail size":"Size","Keep aspect ratio":"Keep aspect ratio",Display:"Display","Sort by":"Sort by",Order:"Order",Ascending:"Ascending",Descending:"Descending",Name:"Name",Size:"Size","Modification date":"Modification date",Pending:"Pending",Aborted:"Aborted","%s left":"%s left","More than 1 day left":"More than 1 day left","%s of %s":"%s of %s","Go to file":"Go to file","File extension is not allowed in %s category":"File extension is not allowed in <strong>%s</strong> category","Maximum file size allowed is %s":"Maximum file size allowed is %s","Maximum image resolution allowed is %s":"Maximum image resolution allowed is %s","Storage quota exceeded":"Storage quota exceeded","An error has occurred":"An error has occurred","%d error_one":"<strong>%d</strong> error","%d error_other":"<strong>%d</strong> errors","%d of %d file uploaded_one":"<strong>%d</strong> of <strong>%d</strong> file uploaded","%d of %d file uploaded_other":"<strong>%d</strong> of <strong>%d</strong> files uploaded","Upload aborted":"Upload aborted","Upload finished":"Upload finished","Upload failed":"Upload failed","Abort upload":"Abort upload","Close upload dialog":"Close upload dialog","Open upload dialog":"Open upload dialog","Open details":"Open details","Close details":"Close details","Internal server error.":"Internal server error.","Unauthorized operation.":"Unauthorized operation.","Forbidden operation.":"Forbidden operation.","Category not found.":"Category not found.","An unexpected application error has occurred.":"An unexpected application error has occurred.","Unexpected error.":"Unexpected error.","Asset not found.":"Asset not found.","Unknown error.":"Unknown error.","Validation failed.":"Validation failed.","Resource not found.":"Resource not found.","%d file copied to clipboard._one":"%d file copied to clipboard.","%d file copied to clipboard._other":"%d files copied to clipboard.","%d file cut to clipboard._one":"%d file cut to clipboard.","%d file cut to clipboard._other":"%d files cut to clipboard.","File extension is not allowed.":"File extension is not allowed.","Some files could not be copied.":"Some files could not be copied.","Number of files copied: %d.":"Number of files copied: %d.","%d file copied successfully._one":"%d file copied successfully.","%d file copied successfully._other":"%d files copied successfully.","Some files could not be moved.":"Some files could not be moved.","Number of files moved: %d.":"Number of files moved: %d.","%d file moved successfully._one":"%d file moved successfully.","%d file moved successfully._other":"%d files moved successfully.","%d h_one":"%d h","%d h_other":"%d hs","%d min_one":"%d min","%d min_other":"%d mins","%d s_one":"%d sec","%d s_other":"%d secs",Next:"Next",Previous:"Previous","Open in a new tab":"Open in a new tab","Number of assets":"Number of assets","Recently modified assets":"Recently modified assets","File limits":"File limits","Any category":"Any category","Clear filters":"Clear filters","No categories available":"No categories available","Any tag":"Any tag","Any extension":"Any extension","No extensions available":"No extensions available","Search assets":"Search assets",Filters:"Filters","Search results for <strong>%s</strong> (%d)":"Search results for <strong>%s</strong> (%d)","Recent searches":"Recent searches","Filter by":"Filter by","No results found":"No results found","It seems we can't find any results based on your search.":"It seems we can't find any results based on your search.","No recent searches":"No recent searches",Extensions:"Extensions",Categories:"Categories",Uploaded:"Uploaded",Modified:"Modified",Documents:"Documents",Archives:"Archives",Audio:"Audio",Video:"Video","Search phrase":"Search phrase","Empty search phrase":"Empty search phrase","Any time":"Any time",Today:"Today",Yesterday:"Yesterday","Last week":"Last week","Last month":"Last month","Last 6 months":"Last 6 months","Last year":"Last year","Tag must not exceed %d characters.":"Tag must not exceed %d characters.","Folder name":"Folder name","Expand folder":"Expand folder","Collapse folder":"Collapse folder","Add folder":"Add folder","Delete folder":"Delete folder","Rename folder":"Rename folder","Folder name is required.":"Folder name is required.","Folder name cannot exceed %d characters.":"Folder name cannot exceed %d characters.","Folder deleted successfully.":"Folder deleted successfully.","Folder updated successfully.":"Folder updated successfully.","Folder created successfully.":"Folder created successfully.","There are no assets yet.":"There are no assets yet.","Folder not found.":"Folder not found.","Are you sure you want to delete <strong>%s</strong> folder?":"Are you sure you want to delete <strong>%s</strong> folder?","Close sidebar":"Close sidebar","Open sidebar":"Open sidebar","Lock sidebar open":"Lock sidebar open","File upload":"File upload","Folder upload":"Folder upload","Copy %d file to <em>%s</em>_one":"Copy %d file to <em>%s</em>","Copy %d file to <em>%s</em>_other":"Copy %d files to <em>%s</em>","Move %d file to <em>%s</em>_one":"Move %d file to <em>%s</em>","Move %d file to <em>%s</em>_other":"Move %d files to <em>%s</em>","Go to parent":"Go to parent","Go to %s":"Go to %s","There are no folders to display":"There are no folders to display","File extensions are not allowed in this category":"File extensions are not allowed in this category","You do not have permissions to create assets in this category":"You do not have permissions to create assets in this category","You do not have permissions to create folders in this category":"You do not have permissions to create folders in this category","Some of the file extensions are not allowed in this category (%s)":"Some of the file extensions are not allowed in this category (%s)","Move and replace":"Move and replace","Move and rename":"Move and rename","Copy and replace":"Copy and replace","Copy and rename":"Copy and rename",Skip:"Skip","Duplicated items":"Duplicated items","A file named <strong>%s</strong> already exists in <strong>%s</strong>.":"A file named <strong>%s</strong> already exists in <strong>%s</strong>.","Apply this option to the next <strong>%d</strong> conflict_one":"Apply this option to the next <strong>%d</strong> conflict","Apply this option to the next <strong>%d</strong> conflict_other":"Apply this option to the next <strong>%d</strong> conflicts",Reset:"Reset",Apply:"Apply",Crop:"Crop",Dimensions:"Dimensions","Aspect ratio":"Aspect ratio","Lock aspect ratio":"Lock aspect ratio","Unlock aspect ratio":"Unlock aspect ratio",Freeform:"Freeform",Original:"Original",Presets:"Presets","Rotate and flip":"Rotate and flip","File info":"File info","Image editor":"Image editor","Save changes":"Save changes","Overwrite file":"Overwrite file","Image preview":"Image preview","Image resize":"Image resize","Image options":"Image options","Image automatically upscales if new dimensions exceed original size.":"Image automatically upscales if new dimensions exceed original size.","Final image resolution":"Final image resolution","Flip vertically":"Flip vertically","Flip horizontally":"Flip horizontally","Rotate %s counterclockwise":"Rotate %s counterclockwise","Image saved successfully.":"Image saved successfully.","Rotate %s clockwise":"Rotate %s clockwise","Zoom out":"Zoom out","Zoom in":"Zoom in","Reset zoom":"Reset zoom","Select preset...":"Select preset...","Clear selection":"Clear selection","Facebook Post":"Facebook Post","Facebook Cover":"Facebook Cover","Facebook Profile":"Facebook Profile","Facebook Story":"Facebook Story","Instagram Landscape":"Instagram Landscape","Instagram Portrait":"Instagram Portrait","Instagram Square":"Instagram Square","Instagram Story":"Instagram Story","Instagram Thumbnail":"Instagram Thumbnail","Twitter Cover":"Twitter Cover","Twitter Profile":"Twitter Profile","Twitter In-Stream":"Twitter In-Stream","LinkedIn Blog Post":"LinkedIn Blog Post","LinkedIn Cover":"LinkedIn Cover","LinkedIn Profile":"LinkedIn Profile","Show more actions":"Show more actions","Loading image...":"Loading image...","Workspace settings":"Workspace settings",Superadmin:"Superadmin",Actions:"Actions",Workspaces:"Workspaces","Category templates updated successfully.":"Category templates updated successfully.","Category templates":"Category templates","Remove category template":"Remove category template","Add category template":"Add category template","Category template name":"Category template name","Do you really want to remove %s category template?":"Do you really want to remove <strong>%s</strong> category template?","Copy workspace ID":"Copy workspace ID","Workspace name":"Workspace name","Add workspace":"Add workspace","Delete workspace":"Delete workspace","Rename workspace":"Rename workspace","Workspace created successfully.":"Workspace created successfully.","Workspace deleted successfully.":"Workspace deleted successfully.","Workspace updated successfully.":"Workspace updated successfully.","Workspace name cannot exceed %d characters.":"Workspace name cannot exceed %d characters.","Workspace name is required.":"Workspace name is required.","This operation will permanently delete the %s workspace with all the assets in it. Are you sure you want to do that?":"This operation will permanently delete the <strong>%s</strong> workspace with all the assets in it. Are you sure you want to do that?","Please type the workspace name to continue:":"Please type the workspace name to continue:","Globally limit extensions":"Globally limit extensions","Enabling the option below will globally limit extensions allowed to upload in all workspaces of the current website enviroment.":"Enabling the option below will globally limit extensions allowed to upload in all workspaces of the current website enviroment.","This operation will permanently delete some assets. Are you sure you want to do that?":"This operation will permanently delete some assets. Are you sure you want to do that?","Please type %s to continue:":"Please type %s to continue:","Delete confirmation":"Delete confirmation","Environment configuration updated successfully.":"Environment configuration updated successfully.","Maximum image dimension allowed is %d px.":"Maximum image dimension allowed is %d px.","Maximum file size":"Maximum file size","Maximum image resolution":"Maximum image resolution",Maximize:"Maximize",Minimize:"Minimize","You are about to permanently delete your group!":"You are about to permanently delete your group!","This operation will permanently delete the %s group. Are you sure you want to do that?":"This operation will permanently delete the <strong>%s</strong> group. Are you sure you want to do that?","Please type the group name to continue:":"Please type the group name to continue:","Add group":"Add group","Copy group ID":"Copy group ID","Delete group":"Delete group","Remove group":"Remove group","Rename group":"Rename group","Manage permissions":"Manage permissions","Group name is required.":"Group name is required.","Group name":"Group name","User groups":"User groups","Permissions enable you to define access rules for user groups. Users are assigned to the groups listed below based on the information in their authorization token.":"Permissions enable you to define access rules for user groups. Users are assigned to the groups listed below based on the information in their authorization token.","Read more":"Read more","Do you really want to remove this permission rule?":"Do you really want to remove this permission rule?","Remove permission rule":"Remove permission rule","modify folder metadata":"modify folder metadata","delete folder":"delete folder","create folder":"create folder","modify asset":"modify asset","modify asset metadata":"modify asset metadata","delete asset":"delete asset","create asset":"create asset","access category":"access category","Select all":"Select all","This permission rule applies to specific categories present in CKBox.":"This permission rule applies to <strong>specific categories</strong> present in CKBox.","This permission rule applies to all asset categories present in CKBox.":"This permission rule applies to <strong>all asset categories</strong> present in CKBox.","Below you can find list of the permission rules defined for the selected user group.":"Below you can find list of the permission rules defined for the selected user group.","Permission rules":"Permission rules","Add permission":"Add permission","The default setting applies the rule to all current and future asset categories. Select options below to to select specific categories.":"The default setting applies the rule to all current and future asset categories. Select options below to to select specific categories.","Apply only to specific categories":"Apply only to specific categories",Category:"Category",Asset:"Asset",Folder:"Folder","Allows users to view the contents of a specific category. Users with this permission can browse and access assets stored within the designated category. Without this permission the category wouldn't be listed.":"Allows users to view the contents of a specific category. Users with this permission can browse and access assets stored within the designated category. Without this permission the category wouldn't be listed.","Grants users the ability to upload new assets, and copy existing assets to a particular category.":"Grants users the ability to upload new assets, and copy existing assets to a particular category.","Grants users the ability to delete assets from the category or a folder.":"Grants users the ability to delete assets from the category or a folder.","Grants users the ability to edit and make changes to existing assets. Users with this permission can update asset by overwriting its content.":"Grants users the ability to edit and make changes to existing assets. Users with this permission can update asset by overwriting its content.","Grants users the ability to edit and update metadata associated with assets. Metadata includes information such as titles, descriptions, tags.":"Grants users the ability to edit and update metadata associated with assets. Metadata includes information such as titles, descriptions, tags.","Grants users the ability to create new folders.":"Grants users the ability to create new folders.","Grants users the ability to edit and update metadata associated with folders.":"Grants users the ability to edit and update metadata associated with folders.","Grants users the ability to delete folders.":"Grants users the ability to delete folders.","Group updated successfully.":"Group updated successfully.","Group created successfully.":"Group created successfully.","Group deleted successfully.":"Group deleted successfully.","Permission updated successfully.":"Permission updated successfully.","Permission created successfully.":"Permission created successfully.","Permission deleted successfully.":"Permission deleted successfully.","Go back":"Go back","This special-purpose group serves as a fallback for users without an explicitly assigned group in their authorization token.":"This special-purpose group serves as a fallback for users without an explicitly assigned group in their authorization token."}}();
1
+ !function(){const e="undefined"!=typeof globalThis?globalThis:global||self;e.CKBOX_TRANSLATIONS||(e.CKBOX_TRANSLATIONS={}),e.CKBOX_TRANSLATIONS.en={"File manager":"File manager",Settings:"Settings",Search:"Search","Clear search results":"Clear search results","Asset categories":"Asset categories",Images:"Images",Permissions:"Permissions","Category name":"Category name","Add category":"Add category","Category ID":"Category ID","Folder ID":"Folder ID","Copy category ID":"Copy category ID","Copy folder ID":"Copy folder ID","Allowed extensions":"Allowed extensions","Add an extension":"Add an extension",Private:"Private","Make this category private":"Make this category private","When a category is marked as private, public access to the files within it is disabled. Only authorized users with access to your CKBox will be able to view or download the files in that category.":"When a category is marked as private, public access to the files within it is disabled. Only authorized users with access to your CKBox will be able to view or download the files in that category.","This extension is in use":"This extension is in use","Removing an extension in use will result in the permanent removal of files with this extension.":"Removing an extension in use will result in the permanent removal of files with this extension.","Remove extensions in use":"Remove extensions in use","This operation will permanently delete assets from the %s category. Are you sure you want to do that?":"This operation will permanently delete assets from the <strong>%s</strong> category. Are you sure you want to do that?","Assets with the following extensions will be removed:":"Assets with the following extensions will be removed:","Remove %s extension":"Remove %s extension","Use the slider to define the quality of responsive images":"Use the slider to define the quality of responsive images","Responsive images quality":"Responsive images quality","Image quality:":"Image quality:",Low:"Low",Medium:"Medium",Good:"Good",High:"High",Best:"Best","Please type the category name to continue:":"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?":"This operation will permanently delete the <strong>%s</strong> category with all the assets in it. Are you sure you want to do that?","Category name is required.":"Category name is required.","Category name cannot exceed 256 characters.":"Category name cannot exceed 256 characters.","At least one extension must be specified.":"At least one extension must be specified.","Extension cannot contain a dot.":"Extension cannot contain a dot.","Number of extensions cannot exceed 100.":"Number of extensions cannot exceed 100.","Extension must not exceed 9 characters.":"Extension must not exceed 9 characters.","Category name must be unique.":"Category with this name already exists.","Remove category":"Remove category","You are about to permanently delete your files!":"You are about to permanently delete your files!","Category created successfully.":"Category created successfully.","Category position updated.":"Category position updated.","Category updated successfully.":"Category updated successfully.","Category deleted successfully.":"Category deleted successfully.","Images quality updated successfully.":"Images quality updated successfully.",Cancel:"Cancel",Save:"Save",Delete:"Delete",Edit:"Edit",Copy:"Copy",Move:"Move",Restore:"Restore","Remove %s tag":"Remove %s tag","Add a tag":"Add a tag",Tags:"Tags",Close:"Close","Copied!":"Copied!",Recent:"Recent",Trash:"Trash",Download:"Download",Rename:"Rename",Upload:"Upload",Properties:"Properties",View:"View","Assets preview":"Assets preview",Choose:"Choose","%d file selected_one":"<strong>%d file</strong> selected","%d file selected_other":"<strong>%d files</strong> selected","Select asset":"Select asset","Deselect asset":"Deselect asset","%d asset moved to trash._one":"%d asset moved to trash.","%d asset moved to trash._other":"%d assets moved to trash.","File updated successfully.":"File updated successfully.","File name":"File name",Description:"Description","Upload date":"Upload date","File size":"File size",Width:"Width",Height:"Height",URL:"URL","of %d":"of %d","Enter page number":"Enter page number","First page":"First page","Last page":"Last page","Next page":"Next page","Previous page":"Previous page",Navigation:"Navigation","There are no assets in this category":"There are no assets in this category","There are no assets in the trash.":"There are no assets in the trash.","Description cannot exceed 1024 characters.":"Description cannot exceed 1024 characters.","File name is required.":"File name is required.","File name cannot exceed %d characters.":"File name cannot exceed %d characters.","File extension is required.":"File extension is required.","Remove assets":"Remove assets","Are you sure you want to delete %s file?_one":"Are you sure you want to delete <strong>%s</strong> file?","Are you sure you want to delete %s file?_other":"Are you sure you want to delete %s files?","Resize window":"Resize window","Display options":"Display options",Assets:"Assets",Thumbnails:"Thumbnails","Thumbnail size":"Size","Keep aspect ratio":"Keep aspect ratio",Display:"Display","Sort by":"Sort by",Order:"Order",Ascending:"Ascending",Descending:"Descending",Name:"Name",Size:"Size","Modification date":"Modification date",Pending:"Pending",Aborted:"Aborted","%s left":"%s left","More than 1 day left":"More than 1 day left","%s of %s":"%s of %s","Go to file":"Go to file","File extension is not allowed in %s category":"File extension is not allowed in <strong>%s</strong> category","Maximum file size allowed is %s":"Maximum file size allowed is %s","Maximum image resolution allowed is %s":"Maximum image resolution allowed is %s","Storage quota exceeded":"Storage quota exceeded","An error has occurred":"An error has occurred","%d error_one":"<strong>%d</strong> error","%d error_other":"<strong>%d</strong> errors","%d of %d file uploaded_one":"<strong>%d</strong> of <strong>%d</strong> file uploaded","%d of %d file uploaded_other":"<strong>%d</strong> of <strong>%d</strong> files uploaded","Upload aborted":"Upload aborted","Upload finished":"Upload finished","Upload failed":"Upload failed","Abort upload":"Abort upload","Close upload dialog":"Close upload dialog","Open upload dialog":"Open upload dialog","Open details":"Open details","Close details":"Close details","Internal server error.":"Internal server error.","Unauthorized operation.":"Unauthorized operation.","Forbidden operation.":"Forbidden operation.","Category not found.":"Category not found.","An unexpected application error has occurred.":"An unexpected application error has occurred.","Unexpected error.":"Unexpected error.","Asset not found.":"Asset not found.","Unknown error.":"Unknown error.","Validation failed.":"Validation failed.","Resource not found.":"Resource not found.","%d file copied to clipboard._one":"%d file copied to clipboard.","%d file copied to clipboard._other":"%d files copied to clipboard.","%d file cut to clipboard._one":"%d file cut to clipboard.","%d file cut to clipboard._other":"%d files cut to clipboard.","File extension is not allowed.":"File extension is not allowed.","Some files could not be copied.":"Some files could not be copied.","Number of files copied: %d.":"Number of files copied: %d.","%d file copied successfully._one":"%d file copied successfully.","%d file copied successfully._other":"%d files copied successfully.","Some files could not be moved.":"Some files could not be moved.","Number of files moved: %d.":"Number of files moved: %d.","%d file moved successfully._one":"%d file moved successfully.","%d file moved successfully._other":"%d files moved successfully.","%d file restored successfully._one":"%d file restored successfully.","%d file restored successfully._other":"%d files restored successfully.","%d h_one":"%d h","%d h_other":"%d hs","%d min_one":"%d min","%d min_other":"%d mins","%d s_one":"%d sec","%d s_other":"%d secs",Next:"Next",Previous:"Previous","Open in a new tab":"Open in a new tab","Number of assets":"Number of assets","Recently modified assets":"Recently modified assets","File limits":"File limits","Any category":"Any category","Clear filters":"Clear filters","No categories available":"No categories available","Any tag":"Any tag","Any extension":"Any extension","No extensions available":"No extensions available","Search assets":"Search assets",Filters:"Filters","Search results for <strong>%s</strong> (%d)":"Search results for <strong>%s</strong> (%d)","Recent searches":"Recent searches","Filter by":"Filter by","No results found":"No results found","It seems we can't find any results based on your search.":"It seems we can't find any results based on your search.","No recent searches":"No recent searches",Extensions:"Extensions",Categories:"Categories",Uploaded:"Uploaded",Modified:"Modified",Documents:"Documents",Archives:"Archives",Audio:"Audio",Video:"Video","Search phrase":"Search phrase","Empty search phrase":"Empty search phrase","Any time":"Any time",Today:"Today",Yesterday:"Yesterday","Last week":"Last week","Last month":"Last month","Last 6 months":"Last 6 months","Last year":"Last year","Tag must not exceed %d characters.":"Tag must not exceed %d characters.","Folder name":"Folder name","Expand folder":"Expand folder","Collapse folder":"Collapse folder","Add folder":"Add folder","Delete folder":"Delete folder","Rename folder":"Rename folder","Folder name is required.":"Folder name is required.","Folder name cannot exceed %d characters.":"Folder name cannot exceed %d characters.","Folder deleted successfully.":"Folder deleted successfully.","Folder updated successfully.":"Folder updated successfully.","Folder created successfully.":"Folder created successfully.","There are no assets yet.":"There are no assets yet.","Folder not found.":"Folder not found.","Are you sure you want to delete <strong>%s</strong> folder?":"Are you sure you want to delete <strong>%s</strong> folder?","Close sidebar":"Close sidebar","Open sidebar":"Open sidebar","Lock sidebar open":"Lock sidebar open","File upload":"File upload","Folder upload":"Folder upload","Copy %d file to <em>%s</em>_one":"Copy %d file to <em>%s</em>","Copy %d file to <em>%s</em>_other":"Copy %d files to <em>%s</em>","Move %d file to <em>%s</em>_one":"Move %d file to <em>%s</em>","Move %d file to <em>%s</em>_other":"Move %d files to <em>%s</em>","Restore %d file to <em>%s</em>_one":"Restore %d file to <em>%s</em>","Restore %d file to <em>%s</em>_other":"Restore %d files to <em>%s</em>","Go to parent":"Go to parent","Go to %s":"Go to %s","There are no folders to display":"There are no folders to display","File extensions are not allowed in this category":"File extensions are not allowed in this category","You do not have permissions to create assets in this category":"You do not have permissions to create assets in this category","You do not have permissions to create folders in this category":"You do not have permissions to create folders in this category","Some of the file extensions are not allowed in this category (%s)":"Some of the file extensions are not allowed in this category (%s)","Move and replace":"Move and replace","Move and rename":"Move and rename","Copy and replace":"Copy and replace","Copy and rename":"Copy and rename","Restore and replace":"Restore and replace","Restore and rename":"Restore and rename",Skip:"Skip","Duplicated items":"Duplicated items","A file named <strong>%s</strong> already exists in <strong>%s</strong>.":"A file named <strong>%s</strong> already exists in <strong>%s</strong>.","Apply this option to the next <strong>%d</strong> conflict_one":"Apply this option to the next <strong>%d</strong> conflict","Apply this option to the next <strong>%d</strong> conflict_other":"Apply this option to the next <strong>%d</strong> conflicts",Reset:"Reset",Apply:"Apply",Crop:"Crop",Dimensions:"Dimensions","Aspect ratio":"Aspect ratio","Lock aspect ratio":"Lock aspect ratio","Unlock aspect ratio":"Unlock aspect ratio",Freeform:"Freeform",Original:"Original",Presets:"Presets","Rotate and flip":"Rotate and flip","File info":"File info","Image editor":"Image editor","Save changes":"Save changes","Overwrite file":"Overwrite file","Image preview":"Image preview","Image resize":"Image resize","Image options":"Image options","Image automatically upscales if new dimensions exceed original size.":"Image automatically upscales if new dimensions exceed original size.","Final image resolution":"Final image resolution","Flip vertically":"Flip vertically","Flip horizontally":"Flip horizontally","Rotate %s counterclockwise":"Rotate %s counterclockwise","Image saved successfully.":"Image saved successfully.","Rotate %s clockwise":"Rotate %s clockwise","Zoom out":"Zoom out","Zoom in":"Zoom in","Reset zoom":"Reset zoom","Select preset...":"Select preset...","Clear selection":"Clear selection","Facebook Post":"Facebook Post","Facebook Cover":"Facebook Cover","Facebook Profile":"Facebook Profile","Facebook Story":"Facebook Story","Instagram Landscape":"Instagram Landscape","Instagram Portrait":"Instagram Portrait","Instagram Square":"Instagram Square","Instagram Story":"Instagram Story","Instagram Thumbnail":"Instagram Thumbnail","Twitter Cover":"Twitter Cover","Twitter Profile":"Twitter Profile","Twitter In-Stream":"Twitter In-Stream","LinkedIn Blog Post":"LinkedIn Blog Post","LinkedIn Cover":"LinkedIn Cover","LinkedIn Profile":"LinkedIn Profile","Show more actions":"Show more actions","Loading image...":"Loading image...","Workspace settings":"Workspace settings",Superadmin:"Superadmin",Actions:"Actions",Workspaces:"Workspaces","Category templates updated successfully.":"Category templates updated successfully.","Category templates":"Category templates","Remove category template":"Remove category template","Add category template":"Add category template","Category template name":"Category template name","Do you really want to remove %s category template?":"Do you really want to remove <strong>%s</strong> category template?","Copy workspace ID":"Copy workspace ID","Workspace name":"Workspace name","Add workspace":"Add workspace","Delete workspace":"Delete workspace","Rename workspace":"Rename workspace","Workspace created successfully.":"Workspace created successfully.","Workspace deleted successfully.":"Workspace deleted successfully.","Workspace updated successfully.":"Workspace updated successfully.","Workspace name cannot exceed %d characters.":"Workspace name cannot exceed %d characters.","Workspace name is required.":"Workspace name is required.","This operation will permanently delete the %s workspace with all the assets in it. Are you sure you want to do that?":"This operation will permanently delete the <strong>%s</strong> workspace with all the assets in it. Are you sure you want to do that?","Please type the workspace name to continue:":"Please type the workspace name to continue:","Globally limit extensions":"Globally limit extensions","Enabling the option below will globally limit extensions allowed to upload in all workspaces of the current website enviroment.":"Enabling the option below will globally limit extensions allowed to upload in all workspaces of the current website enviroment.","This operation will permanently delete some assets. Are you sure you want to do that?":"This operation will permanently delete some assets. Are you sure you want to do that?","Please type %s to continue:":"Please type %s to continue:","Delete confirmation":"Delete confirmation","Environment configuration updated successfully.":"Environment configuration updated successfully.","Maximum image dimension allowed is %d px.":"Maximum image dimension allowed is %d px.","Maximum file size":"Maximum file size","Maximum image resolution":"Maximum image resolution",Maximize:"Maximize",Minimize:"Minimize","You are about to permanently delete your group!":"You are about to permanently delete your group!","This operation will permanently delete the %s group. Are you sure you want to do that?":"This operation will permanently delete the <strong>%s</strong> group. Are you sure you want to do that?","Please type the group name to continue:":"Please type the group name to continue:","Add group":"Add group","Copy group ID":"Copy group ID","Delete group":"Delete group","Remove group":"Remove group","Rename group":"Rename group","Manage permissions":"Manage permissions","Group name is required.":"Group name is required.","Group name":"Group name","User groups":"User groups","Permissions enable you to define access rules for user groups. Users are assigned to the groups listed below based on the information in their authorization token.":"Permissions enable you to define access rules for user groups. Users are assigned to the groups listed below based on the information in their authorization token.","Read more":"Read more","Do you really want to remove this permission rule?":"Do you really want to remove this permission rule?","Remove permission rule":"Remove permission rule","modify folder metadata":"modify folder metadata","delete folder":"delete folder","create folder":"create folder","modify asset":"modify asset","modify asset metadata":"modify asset metadata","delete asset":"delete asset","create asset":"create asset","access category":"access category","Select all":"Select all","This permission rule applies to specific categories present in CKBox.":"This permission rule applies to <strong>specific categories</strong> present in CKBox.","This permission rule applies to all asset categories present in CKBox.":"This permission rule applies to <strong>all asset categories</strong> present in CKBox.","Below you can find list of the permission rules defined for the selected user group.":"Below you can find list of the permission rules defined for the selected user group.","Permission rules":"Permission rules","Add permission":"Add permission","The default setting applies the rule to all current and future asset categories. Select options below to to select specific categories.":"The default setting applies the rule to all current and future asset categories. Select options below to to select specific categories.","Apply only to specific categories":"Apply only to specific categories",Category:"Category",Asset:"Asset",Folder:"Folder","Allows users to view the contents of a specific category. Users with this permission can browse and access assets stored within the designated category. Without this permission the category wouldn't be listed.":"Allows users to view the contents of a specific category. Users with this permission can browse and access assets stored within the designated category. Without this permission the category wouldn't be listed.","Grants users the ability to upload new assets, and copy existing assets to a particular category.":"Grants users the ability to upload new assets, and copy existing assets to a particular category.","Grants users the ability to delete assets from the category or a folder.":"Grants users the ability to delete assets from the category or a folder.","Grants users the ability to edit and make changes to existing assets. Users with this permission can update asset by overwriting its content.":"Grants users the ability to edit and make changes to existing assets. Users with this permission can update asset by overwriting its content.","Grants users the ability to edit and update metadata associated with assets. Metadata includes information such as titles, descriptions, tags.":"Grants users the ability to edit and update metadata associated with assets. Metadata includes information such as titles, descriptions, tags.","Grants users the ability to create new folders.":"Grants users the ability to create new folders.","Grants users the ability to edit and update metadata associated with folders.":"Grants users the ability to edit and update metadata associated with folders.","Grants users the ability to delete folders.":"Grants users the ability to delete folders.","Group updated successfully.":"Group updated successfully.","Group created successfully.":"Group created successfully.","Group deleted successfully.":"Group deleted successfully.","Permission updated successfully.":"Permission updated successfully.","Permission created successfully.":"Permission created successfully.","Permission deleted successfully.":"Permission deleted successfully.","Go back":"Go back","This special-purpose group serves as a fallback for users without an explicitly assigned group in their authorization token.":"This special-purpose group serves as a fallback for users without an explicitly assigned group in their authorization token."}}();
package/package.json CHANGED
@@ -22,16 +22,16 @@
22
22
  ],
23
23
  "license": "SEE LICENSE IN LICENSE.md",
24
24
  "name": "ckbox",
25
- "version": "2.6.0",
25
+ "version": "2.8.0-rc.0",
26
26
  "description": "Main CKBox package",
27
27
  "main": "dist/index.js",
28
28
  "types": "dist/index.d.ts",
29
29
  "dependencies": {
30
- "@types/react": "^18.3.10",
31
- "@types/react-dom": "^18.3.0",
32
- "react": "^18.3.1",
33
- "react-dom": "^18.3.1",
34
- "tslib": "^2.7.0",
35
- "@ckbox/core": "2.6.0"
30
+ "@types/react": "^19.1.2",
31
+ "@types/react-dom": "^19.1.2",
32
+ "react": "^19.1.0",
33
+ "react-dom": "^19.1.0",
34
+ "tslib": "^2.8.1",
35
+ "@ckbox/core": "2.8.0-rc.0"
36
36
  }
37
37
  }