Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@syncfusion/ej2-filemanager

Package Overview
Dependencies
Maintainers
0
Versions
165
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@syncfusion/ej2-filemanager - npm Package Compare versions

Comparing version 26.2.10 to 26.2.11-21788

9

dist/global/index.d.ts

@@ -1,10 +0,1 @@

/*!
* filename: index.d.ts
* version : 26.2.10
* Copyright Syncfusion Inc. 2001 - 2023. All rights reserved.
* Use of this code is subject to the terms of our license.
* A copy of the current license can be obtained at any time by e-mailing
* licensing@syncfusion.com. Any infringement will be prosecuted under
* applicable laws.
*/
import * as _filemanager from '@syncfusion/ej2-filemanager';

@@ -11,0 +2,0 @@

158

package.json
{
"_from": "@syncfusion/ej2-filemanager@*",
"_id": "@syncfusion/ej2-filemanager@26.2.7",
"_inBundle": false,
"_integrity": "sha512-WBLVyIiVrlyLJO0YbLcMYkHc+eJvQSwHeUsr5JWhapUTSo3L0u5Z6Mb0K3BV5q7X6VesEExXXqYXH+OKL4FUaw==",
"_location": "/@syncfusion/ej2-filemanager",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "@syncfusion/ej2-filemanager@*",
"name": "@syncfusion/ej2-filemanager",
"escapedName": "@syncfusion%2fej2-filemanager",
"scope": "@syncfusion",
"rawSpec": "*",
"saveSpec": null,
"fetchSpec": "*"
},
"_requiredBy": [
"/",
"/@syncfusion/ej2",
"/@syncfusion/ej2-angular-filemanager",
"/@syncfusion/ej2-react-filemanager",
"/@syncfusion/ej2-richtexteditor",
"/@syncfusion/ej2-vue-filemanager"
],
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-filemanager/-/ej2-filemanager-26.2.7.tgz",
"_shasum": "823145120e2b236a4907d250a101ac8e1da431f6",
"_spec": "@syncfusion/ej2-filemanager@*",
"_where": "/jenkins/workspace/elease-automation_release_26.1.1/packages/included",
"author": {
"name": "Syncfusion Inc."
},
"bugs": {
"url": "https://github.com/syncfusion/ej2-javascript-ui-controls/issues"
},
"bundleDependencies": false,
"dependencies": {
"@syncfusion/ej2-base": "~26.2.10",
"@syncfusion/ej2-buttons": "~26.2.10",
"@syncfusion/ej2-data": "~26.2.10",
"@syncfusion/ej2-grids": "~26.2.10",
"@syncfusion/ej2-inputs": "~26.2.10",
"@syncfusion/ej2-layouts": "~26.2.10",
"@syncfusion/ej2-lists": "~26.2.10",
"@syncfusion/ej2-navigations": "~26.2.10",
"@syncfusion/ej2-popups": "~26.2.10",
"@syncfusion/ej2-splitbuttons": "~26.2.10"
},
"deprecated": false,
"description": "Essential JS 2 FileManager Component",
"devDependencies": {},
"es2015": "./dist/es6/ej2-filemanager.es5.js",
"homepage": "https://www.syncfusion.com/javascript-ui-controls",
"keywords": [
"ej2",
"syncfusion",
"JavaScript",
"TypeScript",
"filemanager",
"file organizer",
"file organizing tool",
"file picker",
"file viewer",
"file browser",
"file selector",
"directory viewer"
],
"license": "SEE LICENSE IN license",
"main": "./dist/ej2-filemanager.umd.min.js",
"module": "./index.js",
"name": "@syncfusion/ej2-filemanager",
"repository": {
"type": "git",
"url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
},
"typings": "index.d.ts",
"version": "26.2.10",
"sideEffects": false
}
"_from": "@syncfusion/ej2-filemanager@*",
"_id": "@syncfusion/ej2-filemanager@26.2.10",
"_inBundle": false,
"_integrity": "sha512-oiNkHvO8aEgTFU9PVi+t/aw3isJHPEDUoClk68yJ0zSfEnv6tawYHEAVYfQItpmRGvEGLI43gLdn6ePdoeSdiA==",
"_location": "/@syncfusion/ej2-filemanager",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "@syncfusion/ej2-filemanager@*",
"name": "@syncfusion/ej2-filemanager",
"escapedName": "@syncfusion%2fej2-filemanager",
"scope": "@syncfusion",
"rawSpec": "*",
"saveSpec": null,
"fetchSpec": "*"
},
"_requiredBy": [
"/",
"/@syncfusion/ej2",
"/@syncfusion/ej2-angular-filemanager",
"/@syncfusion/ej2-react-filemanager",
"/@syncfusion/ej2-richtexteditor",
"/@syncfusion/ej2-vue-filemanager"
],
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-filemanager/-/ej2-filemanager-26.2.10.tgz",
"_shasum": "304c8eee30929973f64d0924c1f8bb67ba8b5db9",
"_spec": "@syncfusion/ej2-filemanager@*",
"_where": "/jenkins/workspace/elease-automation_release_26.1.1/packages/included",
"author": {
"name": "Syncfusion Inc."
},
"bugs": {
"url": "https://github.com/syncfusion/ej2-javascript-ui-controls/issues"
},
"bundleDependencies": false,
"dependencies": {
"@syncfusion/ej2-base": "~26.2.10",
"@syncfusion/ej2-buttons": "~26.2.10",
"@syncfusion/ej2-data": "~26.2.10",
"@syncfusion/ej2-grids": "~26.2.11",
"@syncfusion/ej2-inputs": "~26.2.11",
"@syncfusion/ej2-layouts": "~26.2.10",
"@syncfusion/ej2-lists": "~26.2.11",
"@syncfusion/ej2-navigations": "~26.2.11",
"@syncfusion/ej2-popups": "~26.2.11",
"@syncfusion/ej2-splitbuttons": "~26.2.10"
},
"deprecated": false,
"description": "Essential JS 2 FileManager Component",
"devDependencies": {},
"es2015": "./dist/es6/ej2-filemanager.es5.js",
"homepage": "https://www.syncfusion.com/javascript-ui-controls",
"keywords": [
"ej2",
"syncfusion",
"JavaScript",
"TypeScript",
"filemanager",
"file organizer",
"file organizing tool",
"file picker",
"file viewer",
"file browser",
"file selector",
"directory viewer"
],
"license": "SEE LICENSE IN license",
"main": "./dist/ej2-filemanager.umd.min.js",
"module": "./index.js",
"name": "@syncfusion/ej2-filemanager",
"repository": {
"type": "git",
"url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
},
"typings": "index.d.ts",
"version": "26.2.11-21788",
"sideEffects": false
}

@@ -80,2 +80,2 @@ # JavaScript File Manager Control

© Copyright 2024 Syncfusion, Inc. All Rights Reserved. The Syncfusion Essential Studio license and copyright applies to this distribution.
© Copyright 2022 Syncfusion, Inc. All Rights Reserved. The Syncfusion Essential Studio license and copyright applies to this distribution.

@@ -1,2 +0,2 @@

import { Component, EmitType, ModuleDeclaration, isNullOrUndefined, L10n, closest, Collection } 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 { ToolbarItem, ToolbarItemModel } 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, FolderCreateEventArgs, DeleteEventArgs, RenameEventArgs, MoveEventArgs, SearchEventArgs } 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, closePopup } 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';import { Virtualization } from '../actions/virtualization';import { SortComparer } from './interface';
import { Component, EmitType, ModuleDeclaration, isNullOrUndefined, L10n, closest, Collection } 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 { ToolbarItem, ToolbarItemModel } 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, FolderCreateEventArgs, DeleteEventArgs, RenameEventArgs, MoveEventArgs, SearchEventArgs } from './interface';import { FileOpenEventArgs, FileSelectEventArgs, MenuClickEventArgs, MenuOpenEventArgs, MenuCloseEventArgs } 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, closePopup } 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';import { Virtualization } from '../actions/virtualization';import { SortComparer } from './interface';
import {ComponentModel} from '@syncfusion/ej2-base';

@@ -455,2 +455,9 @@

/**
* Triggers before the context menu is closed.
*
* @event menuClose
*/
menuClose?: EmitType<MenuCloseEventArgs>;
/**
* Triggers when the AJAX request is failed.

@@ -457,0 +464,0 @@ *

@@ -17,3 +17,3 @@ import { Component, EmitType, ModuleDeclaration, L10n } from '@syncfusion/ej2-base';

import { BeforeSendEventArgs, SuccessEventArgs, FailureEventArgs, FileLoadEventArgs, FolderCreateEventArgs, DeleteEventArgs, RenameEventArgs, MoveEventArgs, SearchEventArgs } from './interface';
import { FileOpenEventArgs, FileSelectEventArgs, MenuClickEventArgs, MenuOpenEventArgs } from './interface';
import { FileOpenEventArgs, FileSelectEventArgs, MenuClickEventArgs, MenuOpenEventArgs, MenuCloseEventArgs } from './interface';
import { ToolbarClickEventArgs, ToolbarCreateEventArgs, UploadListCreateArgs } from './interface';

@@ -550,2 +550,8 @@ import { PopupOpenCloseEventArgs, BeforePopupOpenCloseEventArgs, BeforeDownloadEventArgs, BeforeImageLoadEventArgs } from './interface';

/**
* Triggers before the context menu is closed.
*
* @event menuClose
*/
menuClose: EmitType<MenuCloseEventArgs>;
/**
* Triggers when the AJAX request is failed.

@@ -552,0 +558,0 @@ *

@@ -1318,2 +1318,5 @@ var __extends = (this && this.__extends) || (function () {

Event()
], FileManager.prototype, "menuClose", void 0);
__decorate([
Event()
], FileManager.prototype, "failure", void 0);

@@ -1320,0 +1323,0 @@ __decorate([

@@ -682,2 +682,39 @@ import { Component, EmitType, L10n } from '@syncfusion/ej2-base';

/**
* Interface for MenuClose event arguments.
*/
export interface MenuCloseEventArgs {
/**
* If you want to cancel this event then, set cancel to true. Otherwise, false.
*/
cancel?: boolean;
/**
* Returns the current context menu element.
*/
element?: HTMLElement;
/**
* Specifies the actual event.
*/
event?: Event;
/**
* Returns whether the current context menu is focused or not.
*/
isFocused?: boolean;
/**
* Returns the target folder/file item as an array of JSON object.
*/
fileDetails?: Object[];
/**
* Returns the current context menu items as JSON object.
*/
items?: MenuItemModel[];
/**
* Returns the parent context menu item as JSON object.
*/
parentItem?: MenuItemModel;
/**
* Returns the current context menu type based on current target.
*/
menuType?: string;
}
/**
* Interface for UploadListCreate event arguments.

@@ -684,0 +721,0 @@ */

@@ -883,2 +883,5 @@ import * as CLS from '../base/classes';

var path = (parent.folderPath === '') ? parent.path : parent.folderPath;
if (parent.activeModule === 'navigationpane' && !parent.selectedNodes[0].includes('/')) {
parent.targetPath = getValue('filterPath', parent.actionRecords[0]).replace(/\\/g, '/');
}
var subFolder = validateSubFolder(parent, parent.actionRecords, path, parent.path);

@@ -885,0 +888,0 @@ if (!subFolder) {

@@ -96,6 +96,3 @@ import { TreeView as BaseTreeView } from '@syncfusion/ej2-navigations';

if (!this.parent.isMobile && this.treeObj) {
if (this.parent.allowDragAndDrop) {
if (this.dragObj) {
this.dragObj.destroy();
}
if (this.parent.allowDragAndDrop && isNOU(this.dragObj)) {
this.dragObj = new Draggable(this.treeObj.element, {

@@ -118,2 +115,3 @@ cursorAt: this.parent.dragCursorPosition,

this.dragObj.destroy();
this.dragObj = null;
}

@@ -628,3 +626,3 @@ }

NavigationPane.prototype.checkDropPath = function (args) {
if (isFileSystemData(this.parent) && this.parent.path === this.parent.dropPath || this.parent.targetModule === 'navigationpane') {
if (isFileSystemData(this.parent) && (this.parent.path === this.parent.dropPath || this.parent.targetModule === 'navigationpane')) {
return;

@@ -631,0 +629,0 @@ }

@@ -150,3 +150,3 @@ import { Property, ChildProperty, NumberFormatOptions, DateFormatOptions } from '@syncfusion/ej2-base';import { SortComparer } from '../base/interface';

*
* @deprecated
* @default false

@@ -153,0 +153,0 @@ */

@@ -175,3 +175,3 @@ import { ChildProperty, NumberFormatOptions, DateFormatOptions } from '@syncfusion/ej2-base';

*
* @deprecated
* @default false

@@ -178,0 +178,0 @@ */

@@ -30,3 +30,3 @@ import { ContextMenu as Menu, BeforeOpenCloseMenuEventArgs } from '@syncfusion/ej2-navigations';

onBeforeItemRender(args: MenuEventArgs): void;
onBeforeClose(): void;
onBeforeClose(args: BeforeOpenCloseMenuEventArgs): void;
onBeforeOpen(args: BeforeOpenCloseMenuEventArgs): void;

@@ -33,0 +33,0 @@ private updateActiveModule;

@@ -64,3 +64,19 @@ import { ContextMenu as Menu } from '@syncfusion/ej2-navigations';

};
ContextMenu.prototype.onBeforeClose = function () {
ContextMenu.prototype.onBeforeClose = function (args) {
var eventArgs = {
cancel: false,
element: args.element,
event: args.event,
isFocused: args.isFocused,
fileDetails: [this.menuItemData],
items: args.items,
parentItem: args.parentItem,
menuType: this.menuType
};
this.parent.trigger('menuClose', eventArgs, function (menuCloseArgs) {
if (menuCloseArgs.cancel) {
args.cancel = menuCloseArgs.cancel;
return;
}
});
this.menuTarget = null;

@@ -402,2 +418,5 @@ if (!this.isMenuItemClicked && this.parent.pathId.length > 1 && this.parent.activeModule === 'navigationpane') {

if (_this.menuType === 'folder') {
if (_this.parent.activeModule === 'navigationpane') {
_this.parent.navigationpaneModule.openFileOnContextMenuClick(closest(_this.targetNodeElement, 'li'));
}
_this.parent.folderPath = getFullPath(_this.parent, _this.menuItemData, _this.parent.path);

@@ -404,0 +423,0 @@ }

Sorry, the diff of this file is too big to display

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 too big to display

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc