@syncfusion/ej2-filemanager 29.1.37 → 29.2.4
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.
- package/dist/ej2-filemanager.min.js +2 -2
- package/dist/ej2-filemanager.umd.min.js +2 -2
- package/dist/ej2-filemanager.umd.min.js.map +1 -1
- package/dist/es6/ej2-filemanager.es2015.js +11 -6
- package/dist/es6/ej2-filemanager.es2015.js.map +1 -1
- package/dist/es6/ej2-filemanager.es5.js +11 -6
- package/dist/es6/ej2-filemanager.es5.js.map +1 -1
- package/dist/global/ej2-filemanager.min.js +2 -2
- package/dist/global/ej2-filemanager.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +15 -15
- package/src/file-manager/base/file-manager.js +11 -6
@@ -8279,21 +8279,24 @@ var FileManager = /** @__PURE__ @class */ (function (_super) {
|
|
8279
8279
|
if (isBind) {
|
8280
8280
|
this.viewElem = this.view === 'LargeIcons' ? this.largeiconsviewModule.element : this.element.querySelector('.e-gridcontent');
|
8281
8281
|
}
|
8282
|
-
if (!this.viewElem) {
|
8283
|
-
return;
|
8284
|
-
}
|
8285
8282
|
if (isBind) {
|
8286
8283
|
if (this.allowMultiSelection) {
|
8287
|
-
EventHandler.add(this.viewElem, 'mousedown', this.onDragStart, this);
|
8288
8284
|
this.on(layoutChange, this.onLayoutChange, this);
|
8289
8285
|
this.on(selectionChanged, this.onLayoutChange, this);
|
8290
8286
|
}
|
8291
8287
|
}
|
8292
8288
|
else {
|
8293
|
-
EventHandler.remove(this.viewElem, 'mousedown', this.onDragStart);
|
8294
8289
|
this.off(layoutChange, this.onLayoutChange);
|
8295
8290
|
this.off(selectionChanged, this.onLayoutChange);
|
8296
8291
|
}
|
8292
|
+
if (this.viewElem) {
|
8293
|
+
if (isBind && this.allowMultiSelection) {
|
8294
|
+
EventHandler.add(this.viewElem, 'mousedown', this.onDragStart, this);
|
8295
|
+
}
|
8296
|
+
else {
|
8297
|
+
EventHandler.remove(this.viewElem, 'mousedown', this.onDragStart);
|
8298
|
+
}
|
8299
|
+
}
|
8297
8300
|
};
|
8298
8301
|
FileManager.prototype.wireEvents = function () {
|
8299
8302
|
if (this.enableRangeSelection) {
|
@@ -8393,7 +8396,9 @@ var FileManager = /** @__PURE__ @class */ (function (_super) {
|
|
8393
8396
|
addClass(selectAll('.e-rowcell', item), ['e-active']);
|
8394
8397
|
this.dragSelectedItems.push(item.querySelector('.e-drag-text').textContent);
|
8395
8398
|
}
|
8396
|
-
|
8399
|
+
if (this.showItemCheckBoxes) {
|
8400
|
+
item.querySelector('.e-frame').classList.add('e-check');
|
8401
|
+
}
|
8397
8402
|
}
|
8398
8403
|
}
|
8399
8404
|
};
|