@syncfusion/ej2-filemanager
Advanced tools
Comparing version 25.1.39 to 25.1.40
@@ -9,4 +9,13 @@ # Changelog | ||
- `#I574902` - The error dialog that appears when refreshing the File Manager component's SQL service has been resolved. | ||
## 25.1.39 (2024-04-09) | ||
### FileManager | ||
#### Bug Fixes | ||
- `#I574481` - The issue with context menu items not getting disabled when menu items contain spaces in the File Manager component has been resolved. | ||
- `#I573974` - The console error while trying to persist the deleted file in the File Manager component has been resolved. | ||
- `#I574902` - The error dialog that appears when refreshing the File Manager component's SQL service has been resolved. | ||
@@ -13,0 +22,0 @@ ## 25.1.38 (2024-04-02) |
/*! | ||
* filename: index.d.ts | ||
* version : 25.1.39 | ||
* version : 25.1.40 | ||
* Copyright Syncfusion Inc. 2001 - 2023. 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@25.1.38", | ||
"_id": "@syncfusion/ej2-filemanager@25.1.39", | ||
"_inBundle": false, | ||
"_integrity": "sha512-S/wBZ4ksnyUS3R/E9PjNk+i2KZo3uNPOMgJBeaeVedW4cggmMGGYp+ruHeVqMG+NKvBnQ68cGKTkm8Uaa5+DLw==", | ||
"_integrity": "sha512-Z6BdQySKrjaUSHIaVXQ5wz3K1cgT3KIp8r0ObtWYRgszZjseC4kesoRPZ+4qyGiyPrn4jWB/fD/mTanU8WUDMw==", | ||
"_location": "/@syncfusion/ej2-filemanager", | ||
@@ -27,4 +27,4 @@ "_phantomChildren": {}, | ||
], | ||
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-filemanager/-/ej2-filemanager-25.1.38.tgz", | ||
"_shasum": "1005ff10885cd23c419a2a2746a9c90cb44f4b0a", | ||
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-filemanager/-/ej2-filemanager-25.1.39.tgz", | ||
"_shasum": "d972e0f5d37560d0529f8bc4a1bf8234a8263cfc", | ||
"_spec": "@syncfusion/ej2-filemanager@*", | ||
@@ -43,7 +43,7 @@ "_where": "/jenkins/workspace/elease-automation_release_25.1.1/packages/included", | ||
"@syncfusion/ej2-data": "~25.1.35", | ||
"@syncfusion/ej2-grids": "~25.1.39", | ||
"@syncfusion/ej2-inputs": "~25.1.38", | ||
"@syncfusion/ej2-grids": "~25.1.40", | ||
"@syncfusion/ej2-inputs": "~25.1.40", | ||
"@syncfusion/ej2-layouts": "~25.1.37", | ||
"@syncfusion/ej2-lists": "~25.1.39", | ||
"@syncfusion/ej2-navigations": "~25.1.39", | ||
"@syncfusion/ej2-navigations": "~25.1.40", | ||
"@syncfusion/ej2-popups": "~25.1.39", | ||
@@ -80,4 +80,4 @@ "@syncfusion/ej2-splitbuttons": "~25.1.38" | ||
"typings": "index.d.ts", | ||
"version": "25.1.39", | ||
"version": "25.1.40", | ||
"sideEffects": false | ||
} |
@@ -69,4 +69,4 @@ import * as CLS from '../base/classes'; | ||
var matched = getParents(element, text, false, hasId); | ||
var path = hasId ? '' : '/'; | ||
var len = matched.length - (hasId ? 1 : 2); | ||
var path = '/'; | ||
var len = matched.length - (2); | ||
for (var i = len; i >= 0; i--) { | ||
@@ -143,4 +143,4 @@ path += matched[i] + '/'; | ||
var key = parent.hasId ? 'id' : 'name'; | ||
var newPath = parent.hasId ? '' : '/'; | ||
var i = parent.hasId ? 0 : 1; | ||
var newPath = '/'; | ||
var i = 1; | ||
for (i; i < parent.pathId.length; i++) { | ||
@@ -147,0 +147,0 @@ // eslint-disable-next-line |
@@ -176,4 +176,12 @@ import { ContextMenu as Menu } from '@syncfusion/ej2-navigations'; | ||
pasteEle && !pasteEle.classList.contains('e-disabled')) { | ||
this.disabledItems.push('Paste'); | ||
if (this.disabledItems.indexOf('Paste') === -1) { | ||
this.disabledItems.push('Paste'); | ||
} | ||
} | ||
else { | ||
var pasteIndex = this.disabledItems.indexOf('Paste'); | ||
if (pasteIndex !== -1) { | ||
this.disabledItems.splice(pasteIndex, 1); | ||
} | ||
} | ||
if (args.cancel) { | ||
@@ -291,3 +299,5 @@ this.menuTarget = this.currentElement = null; | ||
if (this.parent.selectedNodes.length === 0) { | ||
this.disabledItems.push('Paste'); | ||
if (this.disabledItems.indexOf('Paste') === -1) { | ||
this.disabledItems.push('Paste'); | ||
} | ||
} | ||
@@ -294,0 +304,0 @@ this.contextMenu.dataBind(); |
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
12108384
107364