@syncfusion/ej2-filemanager 25.2.3 → 26.1.35

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.
Files changed (104) hide show
  1. package/.eslintrc.json +3 -2
  2. package/dist/ej2-filemanager.min.js +2 -2
  3. package/dist/ej2-filemanager.umd.min.js +2 -2
  4. package/dist/ej2-filemanager.umd.min.js.map +1 -1
  5. package/dist/es6/ej2-filemanager.es2015.js +931 -464
  6. package/dist/es6/ej2-filemanager.es2015.js.map +1 -1
  7. package/dist/es6/ej2-filemanager.es5.js +975 -517
  8. package/dist/es6/ej2-filemanager.es5.js.map +1 -1
  9. package/dist/global/ej2-filemanager.min.js +2 -2
  10. package/dist/global/ej2-filemanager.min.js.map +1 -1
  11. package/dist/global/index.d.ts +1 -1
  12. package/package.json +16 -16
  13. package/src/file-manager/actions/breadcrumb-bar.js +0 -4
  14. package/src/file-manager/actions/toolbar.js +1 -13
  15. package/src/file-manager/actions/virtualization.d.ts +28 -8
  16. package/src/file-manager/actions/virtualization.js +36 -12
  17. package/src/file-manager/base/file-manager-model.d.ts +107 -36
  18. package/src/file-manager/base/file-manager.d.ts +100 -25
  19. package/src/file-manager/base/file-manager.js +46 -20
  20. package/src/file-manager/base/interface.d.ts +224 -2
  21. package/src/file-manager/base/interface.js +0 -1
  22. package/src/file-manager/common/operations.d.ts +7 -0
  23. package/src/file-manager/common/operations.js +596 -94
  24. package/src/file-manager/common/utility.d.ts +22 -0
  25. package/src/file-manager/common/utility.js +117 -65
  26. package/src/file-manager/layout/details-view.d.ts +1 -1
  27. package/src/file-manager/layout/details-view.js +23 -68
  28. package/src/file-manager/layout/large-icons-view.js +24 -46
  29. package/src/file-manager/layout/navigation-pane.js +18 -41
  30. package/src/file-manager/models/column-model.d.ts +1 -3
  31. package/src/file-manager/models/default-locale.js +0 -1
  32. package/src/file-manager/models/details-view-settings.js +2 -1
  33. package/src/file-manager/pop-up/context-menu.js +26 -27
  34. package/src/file-manager/pop-up/dialog.d.ts +1 -2
  35. package/src/file-manager/pop-up/dialog.js +12 -35
  36. package/styles/bootstrap-dark.css +116 -105
  37. package/styles/bootstrap-dark.scss +16 -1
  38. package/styles/bootstrap.css +117 -106
  39. package/styles/bootstrap.scss +16 -1
  40. package/styles/bootstrap4.css +116 -105
  41. package/styles/bootstrap4.scss +16 -1
  42. package/styles/bootstrap5-dark.css +98 -98
  43. package/styles/bootstrap5-dark.scss +16 -1
  44. package/styles/bootstrap5.css +98 -98
  45. package/styles/bootstrap5.scss +16 -1
  46. package/styles/fabric-dark.css +116 -105
  47. package/styles/fabric-dark.scss +16 -1
  48. package/styles/fabric.css +116 -105
  49. package/styles/fabric.scss +16 -1
  50. package/styles/file-manager/_bds-definition.scss +1 -1
  51. package/styles/file-manager/_bootstrap5-definition.scss +2 -1
  52. package/styles/file-manager/_bootstrap5.3-definition.scss +240 -0
  53. package/styles/file-manager/_fluent-definition.scss +1 -1
  54. package/styles/file-manager/_fluent2-definition.scss +249 -0
  55. package/styles/file-manager/_layout.scss +255 -396
  56. package/styles/file-manager/_material-dark-definition.scss +1 -0
  57. package/styles/file-manager/_material-definition.scss +1 -0
  58. package/styles/file-manager/_material3-definition.scss +1 -27
  59. package/styles/file-manager/_tailwind-definition.scss +1 -1
  60. package/styles/file-manager/_theme.scss +37 -85
  61. package/styles/file-manager/bootstrap-dark.css +116 -105
  62. package/styles/file-manager/bootstrap.css +117 -106
  63. package/styles/file-manager/bootstrap4.css +116 -105
  64. package/styles/file-manager/bootstrap5-dark.css +98 -98
  65. package/styles/file-manager/bootstrap5.css +98 -98
  66. package/styles/file-manager/fabric-dark.css +116 -105
  67. package/styles/file-manager/fabric.css +116 -105
  68. package/styles/file-manager/fluent-dark.css +107 -102
  69. package/styles/file-manager/fluent.css +107 -102
  70. package/styles/file-manager/fluent2.css +2872 -0
  71. package/styles/file-manager/fluent2.scss +16 -0
  72. package/styles/file-manager/highcontrast-light.css +116 -105
  73. package/styles/file-manager/highcontrast.css +116 -105
  74. package/styles/file-manager/icons/_bootstrap5.3.scss +235 -0
  75. package/styles/file-manager/icons/_fluent2.scss +235 -0
  76. package/styles/file-manager/material-dark.css +140 -108
  77. package/styles/file-manager/material.css +156 -112
  78. package/styles/file-manager/material3-dark.css +134 -109
  79. package/styles/file-manager/material3.css +134 -109
  80. package/styles/file-manager/tailwind-dark.css +93 -95
  81. package/styles/file-manager/tailwind.css +93 -95
  82. package/styles/fluent-dark.css +107 -102
  83. package/styles/fluent-dark.scss +16 -1
  84. package/styles/fluent.css +107 -102
  85. package/styles/fluent.scss +16 -1
  86. package/styles/fluent2.css +2872 -0
  87. package/styles/fluent2.scss +16 -0
  88. package/styles/highcontrast-light.css +116 -105
  89. package/styles/highcontrast-light.scss +16 -1
  90. package/styles/highcontrast.css +116 -105
  91. package/styles/highcontrast.scss +16 -1
  92. package/styles/material-dark.css +140 -108
  93. package/styles/material-dark.scss +16 -1
  94. package/styles/material.css +156 -112
  95. package/styles/material.scss +16 -1
  96. package/styles/material3-dark.css +134 -109
  97. package/styles/material3-dark.scss +16 -1
  98. package/styles/material3.css +134 -109
  99. package/styles/material3.scss +16 -1
  100. package/styles/tailwind-dark.css +93 -95
  101. package/styles/tailwind-dark.scss +16 -1
  102. package/styles/tailwind.css +93 -95
  103. package/styles/tailwind.scss +16 -1
  104. package/CHANGELOG.md +0 -467
@@ -14,6 +14,7 @@ import { cutFiles, addBlur, openSearchFolder, copyFiles, removeActive, pasteHand
14
14
  import { hasReadAccess, hasEditAccess, hasDownloadAccess, doRename, getAccessClass, createDeniedDialog, rename } from '../common/index';
15
15
  import { createVirtualDragElement, dragStopHandler, dragStartHandler, draggingHandler, getModule, getFullPath } from '../common/index';
16
16
  import { getDirectoryPath, updateRenamingData, getItemName, doDeleteFiles, doDownloadFiles } from '../common/index';
17
+ /* eslint-disable @typescript-eslint/no-explicit-any */
17
18
  /**
18
19
  * DetailsView module
19
20
  */
@@ -87,7 +88,6 @@ var DetailsView = /** @class */ (function () {
87
88
  showSpinner(this.parent.element);
88
89
  if (this.parent.view === 'Details') {
89
90
  removeClass([this.parent.element], CLS.MULTI_SELECT);
90
- // eslint-disable-next-line
91
91
  var items = getSortedData(this.parent, args.files);
92
92
  this.checkNameWidth();
93
93
  var columns = this.getColumns();
@@ -128,8 +128,7 @@ var DetailsView = /** @class */ (function () {
128
128
  width: '100%',
129
129
  height: (this.parent.enableVirtualization) ? this.getGridHeight() : 'auto',
130
130
  beforeCopy: function (args) { args.cancel = true; },
131
- // eslint-disable-next-line
132
- load: function (args) {
131
+ load: function () {
133
132
  this.focusModule.destroy();
134
133
  },
135
134
  locale: this.parent.locale
@@ -147,18 +146,18 @@ var DetailsView = /** @class */ (function () {
147
146
  }
148
147
  };
149
148
  DetailsView.prototype.reactTemplateRender = function (args) {
150
- this.parent["portals"] = args;
149
+ this.parent['portals'] = args;
151
150
  if (this.parent.portals && this.parent.toolbarModule && this.parent.toolbarModule.toolbarObj &&
152
151
  this.parent.toolbarModule.toolbarObj.portals) {
153
- this.parent["portals"] = this.parent["portals"].concat(this.parent.toolbarModule.toolbarObj.portals);
152
+ this.parent['portals'] = this.parent['portals'].concat(this.parent.toolbarModule.toolbarObj.portals);
154
153
  }
155
- this.parent.notify('renderReactTemplate', this.parent["portals"]);
156
- this.parent["renderReactTemplates"]();
154
+ this.parent.notify('renderReactTemplate', this.parent['portals']);
155
+ this.parent['renderReactTemplates']();
157
156
  };
158
157
  /**
159
158
  * Gets the grid height.
160
159
  *
161
- * @returns The grid height.
160
+ * @returns {number} - The grid height.
162
161
  * @private
163
162
  */
164
163
  DetailsView.prototype.getGridHeight = function () {
@@ -236,7 +235,7 @@ var DetailsView = /** @class */ (function () {
236
235
  return "<span class=\"e-fe-icon " + data._fm_iconClass + "\"></span>";
237
236
  }), allowResizing: false, allowSorting: true, customAttributes: { class: 'e-fe-grid-icon' },
238
237
  headerTemplate: initializeCSPTemplate(function () {
239
- return "<span class=\"e-fe-icon e-fe-folder\"></span>";
238
+ return '<span class=\'e-fe-icon e-fe-folder\'></span>';
240
239
  })
241
240
  };
242
241
  columns.unshift(icon);
@@ -295,7 +294,8 @@ var DetailsView = /** @class */ (function () {
295
294
  }
296
295
  }
297
296
  if (!this.parent.showFileExtension && getValue('isFile', args.data)) {
298
- var textEle = args.row.querySelector('.e-fe-text');
297
+ var text = getValue('name', args.data);
298
+ var textEle = args.row.querySelector('[title= "' + text + '"]');
299
299
  if (textEle) {
300
300
  var name_1 = getValue('name', args.data);
301
301
  var type = getValue('type', args.data);
@@ -329,7 +329,6 @@ var DetailsView = /** @class */ (function () {
329
329
  var dateEle = args.row.querySelector('.e-fe-date');
330
330
  var intl = new Internationalization(this.parent.locale);
331
331
  var columns = this.parent.detailsViewSettings.columns;
332
- // eslint-disable-next-line
333
332
  var format = void 0;
334
333
  for (var i = 0; i < columns.length; i++) {
335
334
  if (columns[i].field === 'dateModified') {
@@ -365,7 +364,6 @@ var DetailsView = /** @class */ (function () {
365
364
  var len = rows.length;
366
365
  this.sortSelectedNodes = [];
367
366
  while (len > 0) {
368
- // eslint-disable-next-line
369
367
  var data = this.gridObj.getRowsObject()[rows[len - 1]].data;
370
368
  this.sortSelectedNodes.push(getValue(this.parent.hasId ? 'id' : 'name', data));
371
369
  len--;
@@ -385,8 +383,9 @@ var DetailsView = /** @class */ (function () {
385
383
  showSpinner(this.parent.element);
386
384
  var nameColumn = this.parent.detailsViewSettings.columns.find(function (column) { return column.field === _this.parent.sortBy; });
387
385
  if (nameColumn && !('sortComparer' in nameColumn)) {
388
- // eslint-disable-next-line
389
- var items = getSortedData(this.parent, (this.parent.enableVirtualization) ? args.result : this.gridObj.dataSource);
386
+ var items = getSortedData(this.parent, (this.parent.enableVirtualization)
387
+ ? args.result
388
+ : this.gridObj.dataSource);
390
389
  args.result = items;
391
390
  }
392
391
  };
@@ -395,7 +394,7 @@ var DetailsView = /** @class */ (function () {
395
394
  this.createDragObj();
396
395
  if ((this.parent.selectedItems.length !== 0 && !this.parent.enableVirtualization) ||
397
396
  ((this.parent.selectedItems.length !== 0 && this.parent.enableVirtualization &&
398
- this.element.querySelector('.e-content').scrollTop == 0))) {
397
+ this.element.querySelector('.e-content').scrollTop === 0))) {
399
398
  this.selectRecords(this.parent.selectedItems);
400
399
  }
401
400
  if (this.isPasteOperation === true) {
@@ -468,7 +467,6 @@ var DetailsView = /** @class */ (function () {
468
467
  this.isLoaded = false;
469
468
  };
470
469
  DetailsView.prototype.selectRecords = function (nodes) {
471
- // eslint-disable-next-line
472
470
  var gridRecords = this.gridObj.getCurrentViewRecords();
473
471
  var sRecords = [];
474
472
  for (var i = 0, len = gridRecords.length; i < len; i++) {
@@ -476,7 +474,7 @@ var DetailsView = /** @class */ (function () {
476
474
  if (nodes.indexOf(node) !== -1) {
477
475
  sRecords.push(i);
478
476
  }
479
- else if (!this.parent.showFileExtension && node.includes('.')) {
477
+ else if (!this.parent.showFileExtension && !this.parent.hasId && node.includes('.')) {
480
478
  var Str2 = node.split('.').slice(0, -1).join('.');
481
479
  if (nodes.indexOf(Str2) !== -1) {
482
480
  sRecords.push(i);
@@ -488,18 +486,14 @@ var DetailsView = /** @class */ (function () {
488
486
  this.addFocus(this.gridObj.selectedRowIndex);
489
487
  }
490
488
  };
491
- // eslint-disable-next-line
492
489
  DetailsView.prototype.addSelection = function (data) {
493
- // eslint-disable-next-line
494
490
  var items = this.gridObj.getCurrentViewRecords();
495
- // eslint-disable-next-line
496
491
  var rData = [];
497
492
  if (this.parent.hasId) {
498
493
  rData = new DataManager(items).
499
494
  executeLocal(new Query().where('id', 'equal', this.parent.renamedId, false));
500
495
  }
501
496
  else {
502
- // eslint-disable-next-line
503
497
  var nData = new DataManager(items).
504
498
  executeLocal(new Query().where('name', 'equal', getValue('name', data), false));
505
499
  if (nData.length > 0) {
@@ -517,7 +511,6 @@ var DetailsView = /** @class */ (function () {
517
511
  this.gridObj.sortModule.sortColumn(this.parent.sortBy, this.parent.sortOrder);
518
512
  }
519
513
  else {
520
- // eslint-disable-next-line
521
514
  this.gridObj.dataSource = getSortedData(this.parent, this.gridObj.dataSource);
522
515
  }
523
516
  if (this.element.querySelector('.e-content').scrollTop !== 0) {
@@ -625,7 +618,6 @@ var DetailsView = /** @class */ (function () {
625
618
  }
626
619
  };
627
620
  DetailsView.prototype.checkEmptyDiv = function (args) {
628
- // eslint-disable-next-line
629
621
  var items = getSortedData(this.parent, args.files);
630
622
  if (items.length === 0 && !isNOU(this.element.querySelector('.' + CLS.GRID_VIEW))) {
631
623
  createEmptyElement(this.parent, this.element, args);
@@ -642,21 +634,18 @@ var DetailsView = /** @class */ (function () {
642
634
  };
643
635
  DetailsView.prototype.onOpenInit = function () {
644
636
  if (this.parent.activeModule === 'detailsview') {
645
- // eslint-disable-next-line
646
637
  var data = this.gridObj.getSelectedRecords()[0];
647
638
  this.openContent(data);
648
639
  }
649
640
  };
650
641
  DetailsView.prototype.DblClickEvents = function (args) {
651
642
  this.gridObj.selectRows([args.rowIndex]);
652
- // eslint-disable-next-line
653
643
  var data;
654
644
  if (args.rowData) {
655
645
  data = JSON.parse(JSON.stringify(args.rowData));
656
646
  this.openContent(data);
657
647
  }
658
648
  };
659
- // eslint-disable-next-line
660
649
  DetailsView.prototype.openContent = function (data) {
661
650
  var _this = this;
662
651
  if (!hasReadAccess(data)) {
@@ -753,7 +742,6 @@ var DetailsView = /** @class */ (function () {
753
742
  this.gridObj.sortColumn('name', this.parent.sortOrder);
754
743
  }
755
744
  else {
756
- // eslint-disable-next-line
757
745
  this.gridObj.dataSource = getSortedData(this.parent, this.gridObj.dataSource);
758
746
  }
759
747
  this.parent.notify(events.sortByChange, {});
@@ -942,7 +930,6 @@ var DetailsView = /** @class */ (function () {
942
930
  this.parent.off(events.updateSelectionData, this.onUpdateSelectionData);
943
931
  };
944
932
  DetailsView.prototype.onActionFailure = function () { this.interaction = true; };
945
- // eslint-disable-next-line
946
933
  DetailsView.prototype.onMenuItemData = function (args) {
947
934
  if (this.parent.activeModule === this.getModuleName()) {
948
935
  this.parent.itemData = [this.gridObj.getRowInfo(args.target).rowData];
@@ -983,7 +970,6 @@ var DetailsView = /** @class */ (function () {
983
970
  getModule(this.parent, dragLi);
984
971
  this.parent.activeElements = [];
985
972
  this.parent.dragData = [];
986
- // eslint-disable-next-line
987
973
  this.parent.dragData = this.gridObj.getSelectedRecords();
988
974
  var dragRow;
989
975
  if (this.parent.dragData.length === 0 && dragLi) {
@@ -1072,16 +1058,13 @@ var DetailsView = /** @class */ (function () {
1072
1058
  DetailsView.prototype.onDropInit = function (args) {
1073
1059
  if (this.parent.targetModule === this.getModuleName()) {
1074
1060
  /* istanbul ignore next */
1075
- // eslint-disable-next-line
1076
1061
  var cwdData = getValue(this.parent.pathId[this.parent.pathId.length - 1], this.parent.feParent);
1077
1062
  if (!args.target.closest('tr')) {
1078
1063
  this.parent.dropPath = this.parent.path;
1079
1064
  this.parent.dropData = cwdData;
1080
1065
  }
1081
1066
  else {
1082
- // eslint-disable-next-line
1083
1067
  var info = null;
1084
- // eslint-disable-next-line
1085
1068
  info = this.gridObj.getRowInfo(args.target).rowData;
1086
1069
  this.parent.dropPath = info.isFile ? this.parent.path : getFullPath(this.parent, info, this.parent.path);
1087
1070
  this.parent.dropData = info.isFile ? cwdData : info;
@@ -1183,7 +1166,6 @@ var DetailsView = /** @class */ (function () {
1183
1166
  this.parent.currentItemText = getValue('name', args.data);
1184
1167
  }
1185
1168
  else if (len > 0) {
1186
- // eslint-disable-next-line
1187
1169
  var data = this.gridObj.getRowsObject()[rows[len - 1]].data;
1188
1170
  this.parent.currentItemText = getValue('name', data);
1189
1171
  }
@@ -1213,7 +1195,6 @@ var DetailsView = /** @class */ (function () {
1213
1195
  };
1214
1196
  DetailsView.prototype.selectedRecords = function () {
1215
1197
  this.parent.setProperties({ selectedItems: [] }, true);
1216
- // eslint-disable-next-line
1217
1198
  var selectedRecords = this.gridSelectNodes();
1218
1199
  var selectSize = 0;
1219
1200
  while (selectSize < selectedRecords.length) {
@@ -1277,28 +1258,27 @@ var DetailsView = /** @class */ (function () {
1277
1258
  EventHandler.remove(this.parent.element, 'focusout', this.onBlur);
1278
1259
  };
1279
1260
  DetailsView.prototype.wireClickEvent = function (toBind) {
1261
+ var _this = this;
1280
1262
  if (toBind) {
1281
- // eslint-disable-next-line
1282
- var proxy_1 = this;
1283
1263
  var ele = this.gridObj.getContent();
1284
1264
  this.clickObj = new Touch(ele, {
1285
1265
  tap: function (eve) {
1286
1266
  if (eve.tapCount === 1 && eve.originalEvent.target.classList.contains('e-content')) {
1287
- proxy_1.onClearAllInit();
1267
+ _this.onClearAllInit();
1288
1268
  }
1289
1269
  },
1290
1270
  tapHold: function (e) {
1291
- if (proxy_1.parent.isDevice) {
1271
+ if (_this.parent.isDevice) {
1292
1272
  e.originalEvent.preventDefault();
1293
- if (proxy_1.parent.allowMultiSelection) {
1294
- setValue('enableSelectMultiTouch', proxy_1.parent.allowMultiSelection, proxy_1.gridObj.selectionModule);
1295
- addClass([proxy_1.parent.element], CLS.MULTI_SELECT);
1273
+ if (_this.parent.allowMultiSelection) {
1274
+ setValue('enableSelectMultiTouch', _this.parent.allowMultiSelection, _this.gridObj.selectionModule);
1275
+ addClass([_this.parent.element], CLS.MULTI_SELECT);
1296
1276
  }
1297
1277
  var target = e.originalEvent.target;
1298
1278
  if (target) {
1299
1279
  var row = closest(target, '.' + CLS.ROW);
1300
- var index = proxy_1.gridObj.getRows().indexOf(row);
1301
- proxy_1.gridObj.selectRow(index);
1280
+ var index = _this.gridObj.getRows().indexOf(row);
1281
+ _this.gridObj.selectRow(index);
1302
1282
  }
1303
1283
  }
1304
1284
  }
@@ -1342,7 +1322,6 @@ var DetailsView = /** @class */ (function () {
1342
1322
  parseInt(this.getFocusedItem().getAttribute('data-rowindex'), 10) : null;
1343
1323
  };
1344
1324
  /* istanbul ignore next */
1345
- // eslint:disable-next-line
1346
1325
  DetailsView.prototype.keydownHandler = function (e) {
1347
1326
  if (!this.isRendered) {
1348
1327
  return;
@@ -1386,21 +1365,17 @@ var DetailsView = /** @class */ (function () {
1386
1365
  }
1387
1366
  };
1388
1367
  /* istanbul ignore next */
1389
- // eslint:disable-next-line
1390
1368
  DetailsView.prototype.keyupHandler = function (e) {
1391
1369
  if (!this.isRendered) {
1392
1370
  return;
1393
1371
  }
1394
1372
  e.preventDefault();
1395
1373
  var action = e.action;
1396
- // eslint-disable-next-line
1397
1374
  var gridItems = getSortedData(this.parent, this.gridObj.dataSource);
1398
1375
  var gridLength = gridItems.length;
1399
- var focItem = this.getFocusedItem();
1400
1376
  var focIndex = this.getFocusedItemIndex();
1401
1377
  var selIndex = this.gridObj.selectedRowIndex;
1402
1378
  var selRowIndeces = this.gridObj.getSelectedRowIndexes();
1403
- // eslint-disable-next-line
1404
1379
  var rowData;
1405
1380
  var firstItem;
1406
1381
  var lastItem;
@@ -1430,7 +1405,6 @@ var DetailsView = /** @class */ (function () {
1430
1405
  }
1431
1406
  rowData = this.gridObj.getRowsObject()[this.gridObj.selectedRowIndex].data;
1432
1407
  if (rowData) {
1433
- // eslint-disable-next-line
1434
1408
  var data = JSON.parse(JSON.stringify(rowData));
1435
1409
  this.openContent(data);
1436
1410
  }
@@ -1547,14 +1521,12 @@ var DetailsView = /** @class */ (function () {
1547
1521
  break;
1548
1522
  }
1549
1523
  };
1550
- // eslint-disable-next-line
1551
1524
  DetailsView.prototype.gridSelectNodes = function () {
1552
1525
  return this.gridObj.getSelectedRecords();
1553
1526
  };
1554
1527
  DetailsView.prototype.doDownload = function () {
1555
1528
  if (this.parent.selectedItems.length !== 0) {
1556
1529
  this.parent.itemData = this.gridObj.getSelectedRecords();
1557
- // eslint-disable-next-line
1558
1530
  var items = this.parent.itemData;
1559
1531
  for (var i = 0; i < items.length; i++) {
1560
1532
  if (!hasDownloadAccess(items[i])) {
@@ -1568,7 +1540,6 @@ var DetailsView = /** @class */ (function () {
1568
1540
  DetailsView.prototype.performDelete = function () {
1569
1541
  if (this.parent.selectedItems && this.parent.selectedItems.length > 0) {
1570
1542
  this.parent.itemData = this.gridObj.getSelectedRecords();
1571
- // eslint-disable-next-line
1572
1543
  var items = this.parent.itemData;
1573
1544
  for (var i = 0; i < items.length; i++) {
1574
1545
  if (!hasEditAccess(items[i])) {
@@ -1586,11 +1557,9 @@ var DetailsView = /** @class */ (function () {
1586
1557
  }
1587
1558
  };
1588
1559
  DetailsView.prototype.updateRenameData = function () {
1589
- // eslint-disable-next-line
1590
1560
  var data = this.gridSelectNodes()[0];
1591
1561
  updateRenamingData(this.parent, data);
1592
1562
  };
1593
- // eslint-disable-next-line
1594
1563
  DetailsView.prototype.shiftMoveMethod = function (gridItems, selIndex, focIndex, selRowIndeces, e) {
1595
1564
  if (!this.parent.allowMultiSelection) {
1596
1565
  this.moveFunction(gridItems, e, selIndex);
@@ -1608,7 +1577,6 @@ var DetailsView = /** @class */ (function () {
1608
1577
  }
1609
1578
  }
1610
1579
  };
1611
- // eslint-disable-next-line
1612
1580
  DetailsView.prototype.moveFunction = function (selectedItems, e, rowIndex) {
1613
1581
  if (!isNOU(this.getFocusedItem()) && this.parent.allowMultiSelection) {
1614
1582
  if (e.action === 'moveDown') {
@@ -1655,7 +1623,6 @@ var DetailsView = /** @class */ (function () {
1655
1623
  this.gridObj.selectRow(selIndex);
1656
1624
  }
1657
1625
  };
1658
- // eslint-disable-next-line
1659
1626
  DetailsView.prototype.ctrlMoveFunction = function (items, e, rowIndex) {
1660
1627
  var nextItem;
1661
1628
  if (!isNOU(this.getFocusedItem())) {
@@ -1674,7 +1641,6 @@ var DetailsView = /** @class */ (function () {
1674
1641
  }
1675
1642
  this.addFocus(nextItem);
1676
1643
  };
1677
- // eslint-disable-next-line
1678
1644
  DetailsView.prototype.checkRowsKey = function (items, indexValue, focIndex, e) {
1679
1645
  if (this.gridObj.checkAllRows === 'Uncheck' || this.gridObj.checkAllRows === 'Intermediate') {
1680
1646
  if (e.action !== 'csHome' && e.action !== 'csEnd') {
@@ -1798,7 +1764,6 @@ var DetailsView = /** @class */ (function () {
1798
1764
  }
1799
1765
  return check;
1800
1766
  };
1801
- // eslint-disable-next-line
1802
1767
  DetailsView.prototype.shiftSelectedItem = function (selIndex, selRowIndexes, gridItems, e) {
1803
1768
  if (selIndex === -1) {
1804
1769
  this.gridObj.selectRow(0);
@@ -1847,7 +1812,6 @@ var DetailsView = /** @class */ (function () {
1847
1812
  }
1848
1813
  }
1849
1814
  };
1850
- // eslint-disable-next-line
1851
1815
  DetailsView.prototype.onMethodCall = function (e) {
1852
1816
  if (this.parent.view !== 'Details') {
1853
1817
  return;
@@ -1880,11 +1844,8 @@ var DetailsView = /** @class */ (function () {
1880
1844
  break;
1881
1845
  }
1882
1846
  };
1883
- // eslint-disable-next-line
1884
1847
  DetailsView.prototype.getRecords = function (nodes) {
1885
- // eslint-disable-next-line
1886
1848
  var gridRecords = this.gridObj.getCurrentViewRecords();
1887
- // eslint-disable-next-line
1888
1849
  var records = [];
1889
1850
  var hasFilter = (this.parent.breadcrumbbarModule.searchObj.element.value !== '' || this.parent.isFiltered) ? true : false;
1890
1851
  var filter = this.parent.hasId ? 'id' : 'name';
@@ -1911,12 +1872,10 @@ var DetailsView = /** @class */ (function () {
1911
1872
  this.performDelete();
1912
1873
  return;
1913
1874
  }
1914
- // eslint-disable-next-line
1915
1875
  var records = this.getRecords(ids);
1916
1876
  if (records.length === 0) {
1917
1877
  return;
1918
1878
  }
1919
- // eslint-disable-next-line
1920
1879
  var data = [];
1921
1880
  var newIds = [];
1922
1881
  for (var i = 0; i < records.length; i++) {
@@ -1930,12 +1889,10 @@ var DetailsView = /** @class */ (function () {
1930
1889
  this.doDownload();
1931
1890
  return;
1932
1891
  }
1933
- // eslint-disable-next-line
1934
1892
  var dRecords = this.getRecords(ids);
1935
1893
  if (dRecords.length === 0) {
1936
1894
  return;
1937
1895
  }
1938
- // eslint-disable-next-line
1939
1896
  var data = [];
1940
1897
  var newIds = [];
1941
1898
  for (var i = 0; i < dRecords.length; i++) {
@@ -1948,7 +1905,6 @@ var DetailsView = /** @class */ (function () {
1948
1905
  if (isNOU(id)) {
1949
1906
  return;
1950
1907
  }
1951
- // eslint-disable-next-line
1952
1908
  var records = this.getRecords([id]);
1953
1909
  if (records.length > 0) {
1954
1910
  this.openContent(records[0]);
@@ -1960,7 +1916,6 @@ var DetailsView = /** @class */ (function () {
1960
1916
  this.performRename();
1961
1917
  return;
1962
1918
  }
1963
- // eslint-disable-next-line
1964
1919
  var records = this.getRecords([id]);
1965
1920
  if (records.length > 0) {
1966
1921
  updateRenamingData(this.parent, records[0]);