@syncfusion/ej2-filemanager
Advanced tools
Comparing version 20.2.45 to 20.3.47
@@ -5,21 +5,11 @@ # Changelog | ||
## 20.2.44 (2022-08-16) | ||
### File Manager | ||
#### Bug Fixes | ||
#### New Features | ||
- `#I391992` - The issue with "Getting incorrect folder or file path details in the Node JS file service provider for the File Manager component" has been resolved. | ||
- `#I394199` - The issue with "Image preview is not loaded while naming folders with special characters in ASP.NET Core File Manager" has been resolved. | ||
- Provided the folder (directory) upload support for Physical File Provider. | ||
- Provided the folder (directory) upload support for Azure File Provider. | ||
- Provided the folder (directory) upload support for NodeJS File System Provider. | ||
- Provided the folder (directory) upload support for Amazon S3 File Provider. | ||
## 20.2.39 (2022-07-19) | ||
### File Manager | ||
#### Bug Fixes | ||
- `#F175723` - The issue with "The File Manager incorrectly shows Type of the selected items when an unidentified file type is selected" has been resolved. | ||
- `#I385707` - The issue with "Facing error while copying and pasting a folder within another folder in the MVC File Manager component" has been resolved. | ||
- `#I391271` - The issue with "Facing an error in the File Manager component while performing the drag and drop with the ID-based providers" has been resolved. | ||
## 19.2.56 (2021-08-17) | ||
@@ -26,0 +16,0 @@ |
/*! | ||
* filename: index.d.ts | ||
* version : 20.2.45 | ||
* version : 20.3.47 | ||
* Copyright Syncfusion Inc. 2001 - 2020. All rights reserved. | ||
@@ -5,0 +5,0 @@ * Use of this code is subject to the terms of our license. |
{ | ||
"_from": "@syncfusion/ej2-filemanager@*", | ||
"_id": "@syncfusion/ej2-filemanager@20.2.44", | ||
"_id": "@syncfusion/ej2-filemanager@18.11.1", | ||
"_inBundle": false, | ||
"_integrity": "sha512-hfegkjFKC2YKIv9oOH4SdHCU8oXRYyuRHo/jlZjka4EoH40CEQ/FLtCMjpOfjH2G+Hk3b/V+OVwGOh9AzR3DdA==", | ||
"_integrity": "sha512-ARkeDw7V6bEHgGF9oV7gFvHyLHceyEwIXQ44qfmdza5b7CKCCuzm0Yz6iZTspFTYCGuAh+BLxuSQw01i1VPj4A==", | ||
"_location": "/@syncfusion/ej2-filemanager", | ||
@@ -28,4 +28,4 @@ "_phantomChildren": {}, | ||
], | ||
"_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-filemanager/-/ej2-filemanager-20.2.44.tgz", | ||
"_shasum": "e026529abd212826bd54651f801d4f0d6e58128d", | ||
"_resolved": "http://nexus.syncfusion.com/repository/ej2-release/@syncfusion/ej2-filemanager/-/ej2-filemanager-18.11.1.tgz", | ||
"_shasum": "10412f53e60a17107a680168a2039a13b200e34c", | ||
"_spec": "@syncfusion/ej2-filemanager@*", | ||
@@ -41,12 +41,12 @@ "_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included", | ||
"dependencies": { | ||
"@syncfusion/ej2-base": "~20.2.45", | ||
"@syncfusion/ej2-buttons": "~20.2.45", | ||
"@syncfusion/ej2-data": "~20.2.45", | ||
"@syncfusion/ej2-grids": "~20.2.45", | ||
"@syncfusion/ej2-inputs": "~20.2.45", | ||
"@syncfusion/ej2-layouts": "~20.2.45", | ||
"@syncfusion/ej2-lists": "~20.2.45", | ||
"@syncfusion/ej2-navigations": "~20.2.45", | ||
"@syncfusion/ej2-popups": "~20.2.45", | ||
"@syncfusion/ej2-splitbuttons": "~20.2.45" | ||
"@syncfusion/ej2-base": "~20.3.47", | ||
"@syncfusion/ej2-buttons": "~20.3.47", | ||
"@syncfusion/ej2-data": "~20.3.47", | ||
"@syncfusion/ej2-grids": "~20.3.47", | ||
"@syncfusion/ej2-inputs": "~20.3.47", | ||
"@syncfusion/ej2-layouts": "~20.3.47", | ||
"@syncfusion/ej2-lists": "~20.3.47", | ||
"@syncfusion/ej2-navigations": "~20.3.47", | ||
"@syncfusion/ej2-popups": "~20.3.47", | ||
"@syncfusion/ej2-splitbuttons": "~20.3.47" | ||
}, | ||
@@ -56,3 +56,3 @@ "deprecated": false, | ||
"devDependencies": {}, | ||
"es2015": "./dist/es6/ej2-filemanager.es2015.js", | ||
"es2015": "./dist/es6/ej2-filemanager.es5.js", | ||
"homepage": "https://github.com/syncfusion/ej2-javascript-ui-controls#readme", | ||
@@ -73,4 +73,4 @@ "keywords": [ | ||
"typings": "index.d.ts", | ||
"version": "20.2.45", | ||
"version": "20.3.47", | ||
"sideEffects": false | ||
} |
@@ -212,3 +212,4 @@ import { Component, EmitType, ModuleDeclaration, isNullOrUndefined, L10n, closest } from '@syncfusion/ej2-base';import { Property, INotifyPropertyChanged, NotifyPropertyChanges, Complex, select } from '@syncfusion/ej2-base';import { createElement, addClass, removeClass, setStyleAttribute as setAttr, getUniqueID } from '@syncfusion/ej2-base';import { isNullOrUndefined as isNOU, formatUnit, Browser, KeyboardEvents, KeyboardEventArgs } from '@syncfusion/ej2-base';import { Event, EventHandler, getValue, setValue } from '@syncfusion/ej2-base';import { Splitter, PanePropertiesModel } from '@syncfusion/ej2-layouts';import { Dialog, createSpinner, hideSpinner, showSpinner, BeforeOpenEventArgs, BeforeCloseEventArgs } from '@syncfusion/ej2-popups';import { createDialog, createExtDialog } from '../pop-up/dialog';import { ToolbarSettings, ToolbarSettingsModel, AjaxSettings, NavigationPaneSettings, DetailsViewSettings } from '../models/index';import { NavigationPaneSettingsModel, DetailsViewSettingsModel } from '../models/index';import { AjaxSettingsModel, SearchSettings, SearchSettingsModel } from '../models/index';import { Toolbar } from '../actions/toolbar';import { DetailsView } from '../layout/details-view';import { LargeIconsView } from '../layout/large-icons-view';import { Uploader, UploadingEventArgs, SelectedEventArgs, FileInfo, CancelEventArgs } from '@syncfusion/ej2-inputs';import { UploadSettingsModel } from '../models/upload-settings-model';import { UploadSettings } from '../models/upload-settings';import * as events from './constant';import * as CLS from './classes';import { read, filter, createFolder } from '../common/operations';import { ITreeView, IContextMenu, ViewType, SortOrder, FileDragEventArgs, RetryArgs, ReadArgs, FileSelectionEventArgs } from './interface';import { BeforeSendEventArgs, SuccessEventArgs, FailureEventArgs, FileLoadEventArgs } from './interface';import { FileOpenEventArgs, FileSelectEventArgs, MenuClickEventArgs, MenuOpenEventArgs } from './interface';import { ToolbarClickEventArgs, ToolbarCreateEventArgs, UploadListCreateArgs } from './interface';import { PopupOpenCloseEventArgs, BeforePopupOpenCloseEventArgs, BeforeDownloadEventArgs, BeforeImageLoadEventArgs } from './interface';import { refresh, getPathObject, getLocaleText, setNextPath, createDeniedDialog, getCssClass } from '../common/utility';import { hasContentAccess, hasUploadAccess, updateLayout, createNewFolder, uploadItem } from '../common/utility';import { TreeView as BaseTreeView } from '@syncfusion/ej2-navigations';import { ContextMenuSettingsModel } from '../models/contextMenu-settings-model';import { ContextMenuSettings } from '../models/contextMenu-settings';import { BreadCrumbBar } from '../actions/breadcrumb-bar';import { ContextMenu } from '../pop-up/context-menu';import { defaultLocale } from '../models/default-locale';import { PositionModel } from '@syncfusion/ej2-base/src/draggable-model'; | ||
* allowedExtensions: '', | ||
* autoClose: false | ||
* autoClose: false, | ||
* directoryUpload: false | ||
* } | ||
@@ -215,0 +216,0 @@ */ |
@@ -328,3 +328,4 @@ import { Component, EmitType, ModuleDeclaration, L10n } from '@syncfusion/ej2-base'; | ||
* allowedExtensions: '', | ||
* autoClose: false | ||
* autoClose: false, | ||
* directoryUpload: false | ||
* } | ||
@@ -331,0 +332,0 @@ */ |
@@ -423,2 +423,3 @@ var __extends = (this && this.__extends) || (function () { | ||
allowedExtensions: this.uploadSettings.allowedExtensions, | ||
directoryUpload: this.uploadSettings.directoryUpload, | ||
fileListRendering: this.onFileListRender.bind(this) | ||
@@ -436,2 +437,3 @@ }); | ||
this.uploadObj.allowedExtensions = this.uploadSettings.allowedExtensions; | ||
this.uploadObj.directoryUpload = this.uploadSettings.directoryUpload; | ||
this.uploadObj.dataBind(); | ||
@@ -486,3 +488,3 @@ }; | ||
var data = JSON.stringify(getValue(this.pathId[this.pathId.length - 1], this.feParent)); | ||
args.customFormData = [{ 'path': this.path }, { 'action': action }, { 'data': data }]; | ||
args.customFormData = [{ 'path': this.path }, { 'action': action }, { 'data': data }, { 'filename': args.fileData.name }]; | ||
var uploadUrl = this.ajaxSettings.uploadUrl ? this.ajaxSettings.uploadUrl : this.ajaxSettings.url; | ||
@@ -489,0 +491,0 @@ // eslint-disable-next-line |
@@ -315,2 +315,4 @@ import { TreeView as BaseTreeView } from '@syncfusion/ej2-navigations'; | ||
} | ||
if (this.parent.uploadObj.directoryUpload) | ||
this.updateTree(args); | ||
}; | ||
@@ -317,0 +319,0 @@ NavigationPane.prototype.updateTree = function (args) { |
@@ -33,2 +33,15 @@ import { Property, ChildProperty } from '@syncfusion/ej2-base'; | ||
/** | ||
* Specifies a Boolean value that indicates whether the folder (directory) can be browsed and uploaded in the FileManager component. | ||
* This property allows to select or drop to upload the folders (directories) instead of files. When folder upload is enabled, all the folder contents including hierarchy folders and files are considered to upload. | ||
* Folder (directory) upload is supported for the following file system providers, | ||
* - Physical provider | ||
* - NodeJS provider | ||
* - Azure provider | ||
* - Amazon S3 provider | ||
* | ||
* @default false | ||
*/ | ||
directoryUpload?: boolean; | ||
/** | ||
* Specifies the minimum file size to be uploaded in bytes. | ||
@@ -35,0 +48,0 @@ * The property is used to make sure that you cannot upload empty files and small files. |
@@ -28,2 +28,14 @@ import { ChildProperty } from '@syncfusion/ej2-base'; | ||
/** | ||
* Specifies a Boolean value that indicates whether the folder (directory) can be browsed and uploaded in the FileManager component. | ||
* This property allows to select or drop to upload the folders (directories) instead of files. When folder upload is enabled, all the folder contents including hierarchy folders and files are considered to upload. | ||
* Folder (directory) upload is supported for the following file system providers, | ||
* - Physical provider | ||
* - NodeJS provider | ||
* - Azure provider | ||
* - Amazon S3 provider | ||
* | ||
* @default false | ||
*/ | ||
directoryUpload: boolean; | ||
/** | ||
* Specifies the minimum file size to be uploaded in bytes. | ||
@@ -30,0 +42,0 @@ * The property is used to make sure that you cannot upload empty files and small files. |
@@ -39,2 +39,5 @@ var __extends = (this && this.__extends) || (function () { | ||
__decorate([ | ||
Property(false) | ||
], UploadSettings.prototype, "directoryUpload", void 0); | ||
__decorate([ | ||
Property(0) | ||
@@ -41,0 +44,0 @@ ], UploadSettings.prototype, "minFileSize", void 0); |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11007477
189
96618
2
+ Added@syncfusion/ej2-base@20.3.56(transitive)
+ Added@syncfusion/ej2-buttons@20.3.58(transitive)
+ Added@syncfusion/ej2-calendars@20.3.59(transitive)
+ Added@syncfusion/ej2-compression@20.3.56(transitive)
+ Added@syncfusion/ej2-data@20.3.60(transitive)
+ Added@syncfusion/ej2-dropdowns@20.3.60(transitive)
+ Added@syncfusion/ej2-excel-export@20.3.61(transitive)
+ Added@syncfusion/ej2-file-utils@20.3.56(transitive)
+ Added@syncfusion/ej2-grids@20.3.62(transitive)
+ Added@syncfusion/ej2-icons@20.3.56(transitive)
+ Added@syncfusion/ej2-inputs@20.3.57(transitive)
+ Added@syncfusion/ej2-layouts@20.3.58(transitive)
+ Added@syncfusion/ej2-lists@20.3.56(transitive)
+ Added@syncfusion/ej2-navigations@20.3.60(transitive)
+ Added@syncfusion/ej2-notifications@20.3.56(transitive)
+ Added@syncfusion/ej2-pdf-export@20.3.56(transitive)
+ Added@syncfusion/ej2-popups@20.3.60(transitive)
+ Added@syncfusion/ej2-splitbuttons@20.3.56(transitive)
- Removed@syncfusion/ej2-base@20.2.48(transitive)
- Removed@syncfusion/ej2-buttons@20.2.46(transitive)
- Removed@syncfusion/ej2-calendars@20.2.50(transitive)
- Removed@syncfusion/ej2-compression@20.2.45(transitive)
- Removed@syncfusion/ej2-data@20.2.45(transitive)
- Removed@syncfusion/ej2-dropdowns@20.2.50(transitive)
- Removed@syncfusion/ej2-excel-export@20.2.48(transitive)
- Removed@syncfusion/ej2-file-utils@20.2.45(transitive)
- Removed@syncfusion/ej2-grids@20.2.49(transitive)
- Removed@syncfusion/ej2-icons@20.2.45(transitive)
- Removed@syncfusion/ej2-inputs@20.2.48(transitive)
- Removed@syncfusion/ej2-layouts@20.2.46(transitive)
- Removed@syncfusion/ej2-lists@20.2.46(transitive)
- Removed@syncfusion/ej2-navigations@20.2.50(transitive)
- Removed@syncfusion/ej2-pdf-export@20.2.45(transitive)
- Removed@syncfusion/ej2-popups@20.2.49(transitive)
- Removed@syncfusion/ej2-splitbuttons@20.2.45(transitive)