@syncfusion/ej2-filemanager 27.2.2 → 27.2.3

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 : 27.2.2
3
+ * version : 27.2.3
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@27.1.55",
3
+ "_id": "@syncfusion/ej2-filemanager@27.2.2",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-mXHh/mT0JHDzdy0W7uOfch/Nh1+8YsD/66iR5ZPiWYq4meYSVdjV0KUh8nDoBsjt7bC30QoPdLK23PCpifDNjQ==",
5
+ "_integrity": "sha512-V2KoRE+JPgfAheFWW3Cm3i1CyXeozIR8SIP8EuRp331qsAURmGiR1vRnWNBnYAmtAGOIQAIryBReBl9CjAapog==",
6
6
  "_location": "/@syncfusion/ej2-filemanager",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -24,8 +24,8 @@
24
24
  "/@syncfusion/ej2-richtexteditor",
25
25
  "/@syncfusion/ej2-vue-filemanager"
26
26
  ],
27
- "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-filemanager/-/ej2-filemanager-27.1.55.tgz",
28
- "_shasum": "f115703417214ffe376fda5ff562fa5db915eb6b",
27
+ "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-filemanager/-/ej2-filemanager-27.2.2.tgz",
28
+ "_shasum": "f3f1d09154ac3f2b09c6796f4e5352a5eae45333",
29
29
  "_spec": "@syncfusion/ej2-filemanager@*",
30
30
  "_where": "/jenkins/workspace/elease-automation_release_27.1.1/packages/included",
31
31
  "author": {
@@ -39,11 +39,11 @@
39
39
  "@syncfusion/ej2-base": "~27.2.2",
40
40
  "@syncfusion/ej2-buttons": "~27.2.2",
41
41
  "@syncfusion/ej2-data": "~27.2.2",
42
- "@syncfusion/ej2-grids": "~27.2.2",
42
+ "@syncfusion/ej2-grids": "~27.2.3",
43
43
  "@syncfusion/ej2-inputs": "~27.2.2",
44
- "@syncfusion/ej2-layouts": "~27.2.2",
45
- "@syncfusion/ej2-lists": "~27.2.2",
46
- "@syncfusion/ej2-navigations": "~27.2.2",
44
+ "@syncfusion/ej2-layouts": "~27.2.3",
45
+ "@syncfusion/ej2-lists": "~27.2.3",
46
+ "@syncfusion/ej2-navigations": "~27.2.3",
47
47
  "@syncfusion/ej2-popups": "~27.2.2",
48
48
  "@syncfusion/ej2-splitbuttons": "~27.2.2"
49
49
  },
@@ -75,6 +75,6 @@
75
75
  "url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
76
76
  },
77
77
  "typings": "index.d.ts",
78
- "version": "27.2.2",
78
+ "version": "27.2.3",
79
79
  "sideEffects": false
80
80
  }
@@ -408,7 +408,7 @@ var DetailsView = /** @class */ (function () {
408
408
  this.element.querySelector('.e-content').scrollTop === 0))) {
409
409
  this.selectRecords(this.parent.selectedItems);
410
410
  }
411
- if (this.isPasteOperation === true) {
411
+ if (this.isPasteOperation === true && (!isNullOrUndefined(this.gridObj.getDataRows()) && this.gridObj.getDataRows().length > 0)) {
412
412
  if (!this.isColumnRefresh) {
413
413
  this.selectRecords(this.parent.pasteNodes);
414
414
  this.isPasteOperation = false;
@@ -212,7 +212,7 @@ var NavigationPane = /** @class */ (function () {
212
212
  this.isNodeClickCalled = true;
213
213
  this.isSameNodeClicked = false;
214
214
  this.previousSelected = this.treeObj.selectedNodes;
215
- this.treeObj.selectedNodes = [args.node.getAttribute('data-uid')];
215
+ this.treeObj.setProperties({ selectedNodes: [args.node.getAttribute('data-uid')] });
216
216
  }
217
217
  }
218
218
  else if (this.previousSelected[0] !== args.node.getAttribute('data-uid')) {
@@ -236,7 +236,7 @@ var NavigationPane = /** @class */ (function () {
236
236
  read(this.parent, this.isPathDragged ? events.pasteEnd : events.pathChanged, this.parent.path);
237
237
  this.parent.visitedItem = node;
238
238
  this.isPathDragged = this.isRenameParent = this.isRightClick = false;
239
- this.treeObj.selectedNodes = [node.getAttribute('data-uid')];
239
+ this.treeObj.setProperties({ selectedNodes: [node.getAttribute('data-uid')] });
240
240
  }
241
241
  };
242
242
  NavigationPane.prototype.onNodeSelected = function (args) {
@@ -312,7 +312,7 @@ var NavigationPane = /** @class */ (function () {
312
312
  if ((args.event.which === 3) && (args.node.getAttribute('data-uid') !== this.treeObj.selectedNodes[0])) {
313
313
  this.isRightClick = true;
314
314
  this.isNodeClickCalled = true;
315
- this.treeObj.selectedNodes = [args.node.getAttribute('data-uid')];
315
+ this.treeObj.setProperties({ selectedNodes: [args.node.getAttribute('data-uid')] });
316
316
  }
317
317
  else if (args.node.getAttribute('data-uid') === this.treeObj.selectedNodes[0] && this.parent.selectedItems.length !== 0) {
318
318
  this.parent.setProperties({ selectedItems: [] }, true);
@@ -325,7 +325,7 @@ var NavigationPane = /** @class */ (function () {
325
325
  }
326
326
  this.isSameNodeClicked = true;
327
327
  this.isNodeClickCalled = true;
328
- this.treeObj.selectedNodes = [args.node.getAttribute('data-uid')];
328
+ this.treeObj.setProperties({ selectedNodes: [args.node.getAttribute('data-uid')] });
329
329
  }
330
330
  };
331
331
  /* istanbul ignore next */
@@ -375,7 +375,7 @@ var NavigationPane = /** @class */ (function () {
375
375
  NavigationPane.prototype.onOpenEnd = function (args) {
376
376
  var sleId = this.parent.pathId[this.parent.pathId.length - 1];
377
377
  this.treeObj.expandAll(this.treeObj.selectedNodes);
378
- this.treeObj.selectedNodes = [sleId];
378
+ this.treeObj.setProperties({ selectedNodes: [sleId] });
379
379
  this.expandNodeTarget = 'add';
380
380
  this.onPathChanged(args);
381
381
  };
@@ -394,7 +394,7 @@ var NavigationPane = /** @class */ (function () {
394
394
  this.onInit();
395
395
  var id = getValue('_fm_id', args.cwd);
396
396
  this.addChild(args.files, id, false);
397
- this.treeObj.selectedNodes = [this.parent.pathId[this.parent.pathId.length - 1]];
397
+ this.treeObj.setProperties({ selectedNodes: [this.parent.pathId[this.parent.pathId.length - 1]] });
398
398
  };
399
399
  NavigationPane.prototype.onCreateEnd = function (args) {
400
400
  this.updateTree(args);
@@ -513,7 +513,7 @@ var NavigationPane = /** @class */ (function () {
513
513
  this.doDownload();
514
514
  };
515
515
  NavigationPane.prototype.onSelectionChanged = function (e) {
516
- this.treeObj.selectedNodes = [e.selectedNode];
516
+ this.treeObj.setProperties({ selectedNodes: [e.selectedNode] });
517
517
  };
518
518
  NavigationPane.prototype.onClearPathInit = function (e) {
519
519
  this.removeChildNodes(e.selectedNode);
@@ -92,7 +92,7 @@ var ContextMenu = /** @class */ (function () {
92
92
  }
93
93
  }
94
94
  this.parent.pathId.push(parentKey[parentKey.length - 1]);
95
- this.parent.navigationpaneModule.treeObj.selectedNodes = [this.parent.pathId[this.parent.pathId.length - 1]];
95
+ this.parent.navigationpaneModule.treeObj.setProperties({ selectedNodes: [this.parent.pathId[this.parent.pathId.length - 1]] });
96
96
  }
97
97
  this.isMenuItemClicked = false;
98
98
  };
@@ -154,7 +154,7 @@ var ContextMenu = /** @class */ (function () {
154
154
  else if (closest(target, '#' + this.parent.element.id + CLS.TREE_ID)) {
155
155
  uid = closest(target, 'li').getAttribute('data-uid');
156
156
  if (!isNOU(uid)) {
157
- this.parent.navigationpaneModule.treeObj.selectedNodes = [uid];
157
+ this.parent.navigationpaneModule.treeObj.setProperties({ selectedNodes: [uid] });
158
158
  }
159
159
  treeFolder = true;
160
160
  }