@syncfusion/ej2-filemanager 25.1.40 → 25.2.6

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 : 25.1.40
3
+ * version : 25.2.6
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@25.1.39",
3
+ "_id": "@syncfusion/ej2-filemanager@25.2.3",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-Z6BdQySKrjaUSHIaVXQ5wz3K1cgT3KIp8r0ObtWYRgszZjseC4kesoRPZ+4qyGiyPrn4jWB/fD/mTanU8WUDMw==",
5
+ "_integrity": "sha512-wbhlKTpkiOC2S6h43jyWCRIeq9fJAfDQA8+FkPVQ8+rmnsXQtLy4NK4GDPf33e5IjHvXOm4gaUscBfvLOzzyTg==",
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-25.1.39.tgz",
28
- "_shasum": "d972e0f5d37560d0529f8bc4a1bf8234a8263cfc",
27
+ "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-filemanager/-/ej2-filemanager-25.2.3.tgz",
28
+ "_shasum": "6fb5c7d751cf143bdafc5fbe5444a73931041097",
29
29
  "_spec": "@syncfusion/ej2-filemanager@*",
30
30
  "_where": "/jenkins/workspace/elease-automation_release_25.1.1/packages/included",
31
31
  "author": {
@@ -36,16 +36,16 @@
36
36
  },
37
37
  "bundleDependencies": false,
38
38
  "dependencies": {
39
- "@syncfusion/ej2-base": "~25.1.35",
40
- "@syncfusion/ej2-buttons": "~25.1.39",
41
- "@syncfusion/ej2-data": "~25.1.35",
42
- "@syncfusion/ej2-grids": "~25.1.40",
43
- "@syncfusion/ej2-inputs": "~25.1.40",
44
- "@syncfusion/ej2-layouts": "~25.1.37",
45
- "@syncfusion/ej2-lists": "~25.1.39",
46
- "@syncfusion/ej2-navigations": "~25.1.40",
47
- "@syncfusion/ej2-popups": "~25.1.39",
48
- "@syncfusion/ej2-splitbuttons": "~25.1.38"
39
+ "@syncfusion/ej2-base": "~25.2.5",
40
+ "@syncfusion/ej2-buttons": "~25.2.6",
41
+ "@syncfusion/ej2-data": "~25.2.3",
42
+ "@syncfusion/ej2-grids": "~25.2.6",
43
+ "@syncfusion/ej2-inputs": "~25.2.6",
44
+ "@syncfusion/ej2-layouts": "~25.2.3",
45
+ "@syncfusion/ej2-lists": "~25.2.3",
46
+ "@syncfusion/ej2-navigations": "~25.2.6",
47
+ "@syncfusion/ej2-popups": "~25.2.6",
48
+ "@syncfusion/ej2-splitbuttons": "~25.2.4"
49
49
  },
50
50
  "deprecated": false,
51
51
  "description": "Essential JS 2 FileManager Component",
@@ -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": "25.1.40",
78
+ "version": "25.2.6",
79
79
  "sideEffects": false
80
80
  }
@@ -137,6 +137,7 @@ var Virtualization = /** @class */ (function () {
137
137
  this.scrollPosition = scroll;
138
138
  // Update the list of items and the items property of the largeIconInstance
139
139
  this.largeIconInstance.itemList = Array.prototype.slice.call(selectAll('.' + CLS.LIST_ITEM, this.largeIconInstance.element));
140
+ this.itemCount = this.itemCount != this.largeIconInstance.itemList.length ? this.largeIconInstance.itemList.length : this.itemCount;
140
141
  this.largeIconInstance.items = this.largeIconInstance.allItems.slice(this.renderedCount -
141
142
  this.itemCount, this.renderedCount);
142
143
  };
@@ -110,8 +110,7 @@ var DetailsView = /** @class */ (function () {
110
110
  allowResizing: this.parent.detailsViewSettings.columnResizing,
111
111
  selectionSettings: {
112
112
  type: this.parent.allowMultiSelection ? 'Multiple' : 'Single',
113
- checkboxMode: 'ResetOnRowClick',
114
- persistSelection: (this.parent.enableVirtualization) ? true : false
113
+ checkboxMode: 'ResetOnRowClick'
115
114
  },
116
115
  enableRtl: this.parent.enableRtl,
117
116
  pageSettings: { pageSize: 20 },
@@ -149,6 +149,7 @@ export interface ColumnModel {
149
149
  /**
150
150
  * If `isPrimaryKey` is set to true, considers this column as the primary key constraint.
151
151
  *
152
+
152
153
  * @default false
153
154
  */
154
155
  isPrimaryKey?: boolean;
@@ -172,6 +172,7 @@ export declare class Column extends ChildProperty<Column> {
172
172
  /**
173
173
  * If `isPrimaryKey` is set to true, considers this column as the primary key constraint.
174
174
  *
175
+
175
176
  * @default false
176
177
  */
177
178
  isPrimaryKey: boolean;
@@ -23,7 +23,7 @@ import { Property, ChildProperty, initializeCSPTemplate } from '@syncfusion/ej2-
23
23
  */
24
24
  export var columnArray = [
25
25
  {
26
- field: 'name', headerText: 'Name', minWidth: 120, isPrimaryKey: true,
26
+ field: 'name', headerText: 'Name', minWidth: 120,
27
27
  template: '<span class=\"e-fe-text\">${name}</span>',
28
28
  customAttributes: { class: 'e-fe-grid-name' }
29
29
  },
@@ -272,15 +272,29 @@ var ContextMenu = /** @class */ (function () {
272
272
  this.disabledItems.push('Open');
273
273
  }
274
274
  }
275
- else if (this.parent.selectedItems.length !== 1 && this.parent.activeModule !== 'navigationpane') {
276
- this.disabledItems.push('Rename', 'Paste');
275
+ else if (this.parent.activeModule !== 'navigationpane') {
276
+ if (this.parent.selectedItems.length === 1) {
277
+ var renameIndex = this.disabledItems.indexOf('Rename');
278
+ if (renameIndex !== -1) {
279
+ this.disabledItems.splice(renameIndex, 1);
280
+ }
281
+ }
282
+ else {
283
+ this.disabledItems.push('Rename', 'Paste');
284
+ }
277
285
  }
278
286
  };
279
287
  ContextMenu.prototype.setFileItem = function () {
280
288
  this.menuType = 'file';
281
289
  this.contextMenu.items = this.getItemData(this.parent.contextMenuSettings.file.map(function (item) { return item.trim(); }));
282
290
  this.contextMenu.dataBind();
283
- if (this.parent.selectedItems.length !== 1) {
291
+ if (this.parent.selectedItems.length === 1) {
292
+ var renameIndex = this.disabledItems.indexOf('Rename');
293
+ if (renameIndex !== -1) {
294
+ this.disabledItems.splice(renameIndex, 1);
295
+ }
296
+ }
297
+ else {
284
298
  this.disabledItems.push('Rename');
285
299
  }
286
300
  };
@@ -294,6 +308,9 @@ var ContextMenu = /** @class */ (function () {
294
308
  (closest(target, '#' + this.parent.element.id + CLS.GRID_ID).getElementsByClassName(CLS.EMPTY).length !== 0)))) {
295
309
  this.disabledItems.push('SelectAll');
296
310
  }
311
+ else {
312
+ this.disabledItems = this.disabledItems.filter(function (item) { return item !== 'SelectAll'; });
313
+ }
297
314
  if (this.parent.selectedNodes.length === 0) {
298
315
  if (this.disabledItems.indexOf('Paste') === -1) {
299
316
  this.disabledItems.push('Paste');