@syncfusion/ej2-filemanager 23.1.38 → 23.1.40

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.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 23.1.38
3
+ * version : 23.1.40
4
4
  * Copyright Syncfusion Inc. 2001 - 2023. All rights reserved.
5
5
  * Use of this code is subject to the terms of our license.
6
6
  * A copy of the current license can be obtained at any time by e-mailing
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "_from": "@syncfusion/ej2-filemanager@*",
3
- "_id": "@syncfusion/ej2-filemanager@23.1.36",
3
+ "_id": "@syncfusion/ej2-filemanager@23.1.39",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-inDlT6xPbUpZpboqEsJRhXQ3YJrDhxpDuLt94BggB84M/3KN3CYVNIIKzbg0AhhS/ghDmklxAvtOxikrSaD4/w==",
5
+ "_integrity": "sha512-qQyWCBH6PqOUgVY+XH+EPAdfbXfc/neBa43ymaiSqKkYernOxUSTHU/kgiXPUs6/uqpMR+HzGKygsnD11MGl+A==",
6
6
  "_location": "/@syncfusion/ej2-filemanager",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -25,8 +25,8 @@
25
25
  "/@syncfusion/ej2-richtexteditor",
26
26
  "/@syncfusion/ej2-vue-filemanager"
27
27
  ],
28
- "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-filemanager/-/ej2-filemanager-23.1.36.tgz",
29
- "_shasum": "7047e09e8e538c5df61362148eb51fb06f31423a",
28
+ "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-filemanager/-/ej2-filemanager-23.1.39.tgz",
29
+ "_shasum": "d8f768c765a62740e2ed46ceb30b90d1e4ae57e9",
30
30
  "_spec": "@syncfusion/ej2-filemanager@*",
31
31
  "_where": "/jenkins/workspace/elease-automation_release_23.1.1/packages/included",
32
32
  "author": {
@@ -38,13 +38,13 @@
38
38
  "bundleDependencies": false,
39
39
  "dependencies": {
40
40
  "@syncfusion/ej2-base": "~23.1.38",
41
- "@syncfusion/ej2-buttons": "~23.1.36",
41
+ "@syncfusion/ej2-buttons": "~23.1.39",
42
42
  "@syncfusion/ej2-data": "~23.1.36",
43
- "@syncfusion/ej2-grids": "~23.1.38",
44
- "@syncfusion/ej2-inputs": "~23.1.38",
43
+ "@syncfusion/ej2-grids": "~23.1.40",
44
+ "@syncfusion/ej2-inputs": "~23.1.40",
45
45
  "@syncfusion/ej2-layouts": "~23.1.36",
46
46
  "@syncfusion/ej2-lists": "~23.1.36",
47
- "@syncfusion/ej2-navigations": "~23.1.36",
47
+ "@syncfusion/ej2-navigations": "~23.1.40",
48
48
  "@syncfusion/ej2-popups": "~23.1.38",
49
49
  "@syncfusion/ej2-splitbuttons": "~23.1.36"
50
50
  },
@@ -76,6 +76,6 @@
76
76
  "url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
77
77
  },
78
78
  "typings": "index.d.ts",
79
- "version": "23.1.38",
79
+ "version": "23.1.40",
80
80
  "sideEffects": false
81
81
  }
@@ -85,7 +85,7 @@ export function rename(parent, path, itemNewName) {
85
85
  }
86
86
  // eslint-disable-next-line
87
87
  var data = {
88
- action: 'rename', path: path, name: name, newName: newName, data: parent.itemData
88
+ action: 'rename', path: path, name: name, newName: newName, data: parent.itemData, showFileExtension: parent.showFileExtension
89
89
  };
90
90
  createAjax(parent, data, renameSuccess, path);
91
91
  }
@@ -261,7 +261,7 @@ parent, data, fn, event, operation, targetPath) {
261
261
  setValue('location', location_1, result.details);
262
262
  }
263
263
  fn(parent, result, event, operation, targetPath);
264
- if (!isNOU(result.files) && (event === 'path-changed' || event === 'finalize-end' || event === 'open-end')) {
264
+ if (!isNOU(result.files) && (event === 'path-changed' || event === 'finalize-end' || event === 'open-end' || event === 'drop-path')) {
265
265
  parent.notify(events.searchTextChange, result);
266
266
  }
267
267
  if (typeof getValue('onSuccess', beforeSendArgs.ajaxSettings) === 'function') {
@@ -429,15 +429,15 @@ function renameSuccess(parent, result, path) {
429
429
  var args = { action: 'rename', result: result };
430
430
  parent.trigger('success', args);
431
431
  parent.renamedItem = Array.isArray(result.files) ? result.files[0] : result.files;
432
- if (getValue('filterPath', parent.renamedItem) === getValue('filterPath', parent.itemData[0]) && parent.pathNames.length > 1) {
433
- parent.pathNames[parent.pathNames.length - 1] = parent.renameText;
434
- }
435
432
  if (parent.activeModule === 'navigationpane') {
436
433
  parent.pathId.pop();
437
434
  parent.itemData = [getValue(parent.pathId[parent.pathId.length - 1], parent.feParent)];
438
435
  read(parent, events.renameEndParent, getValue('filterPath', parent.renamedItem).replace(/\\/g, '/'));
439
436
  parent.itemData[0] = parent.renamedItem;
440
437
  read(parent, events.pathChanged, parent.path === '/' ? parent.path : getValue('filterPath', parent.renamedItem).replace(/\\/g, '/') + parent.renamedItem.name + '/');
438
+ if (getValue('filterPath', parent.renamedItem) === getValue('filterPath', parent.itemData[0]) && parent.pathNames.length > 1) {
439
+ parent.pathNames[parent.pathNames.length - 1] = parent.renameText;
440
+ }
441
441
  }
442
442
  else {
443
443
  parent.itemData = [getPathObject(parent)];