@syncfusion/ej2-filemanager 27.1.51 → 27.1.52

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.1.51
3
+ * version : 27.1.52
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.50",
3
+ "_id": "@syncfusion/ej2-filemanager@27.1.51",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-lQcbSmuhubN8h3u3rT6htJR/YPvo8ukcq3fp1W+F7fd6k4rDjkpqdtqkGB7+dI50eR9wlVjWFu70Dpiv3OK3yA==",
5
+ "_integrity": "sha512-zvq338TUENAwjdxhgETsgV5wXO7ghEx5eaAl8gcoOG7utuYrJqsunX0XoIp976gv89rwB3TrWV7cuwc9Q9uSKA==",
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.50.tgz",
28
- "_shasum": "07d479afde33def32353db2fd1079f16ca48dffd",
27
+ "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-filemanager/-/ej2-filemanager-27.1.51.tgz",
28
+ "_shasum": "f6e4914ca5297cf0bf20445da3ab2fb52a85433d",
29
29
  "_spec": "@syncfusion/ej2-filemanager@*",
30
30
  "_where": "/jenkins/workspace/elease-automation_release_27.1.1/packages/included",
31
31
  "author": {
@@ -36,14 +36,14 @@
36
36
  },
37
37
  "bundleDependencies": false,
38
38
  "dependencies": {
39
- "@syncfusion/ej2-base": "~27.1.50",
39
+ "@syncfusion/ej2-base": "~27.1.52",
40
40
  "@syncfusion/ej2-buttons": "~27.1.51",
41
- "@syncfusion/ej2-data": "~27.1.51",
42
- "@syncfusion/ej2-grids": "~27.1.51",
41
+ "@syncfusion/ej2-data": "~27.1.52",
42
+ "@syncfusion/ej2-grids": "~27.1.52",
43
43
  "@syncfusion/ej2-inputs": "~27.1.50",
44
44
  "@syncfusion/ej2-layouts": "~27.1.51",
45
45
  "@syncfusion/ej2-lists": "~27.1.50",
46
- "@syncfusion/ej2-navigations": "~27.1.51",
46
+ "@syncfusion/ej2-navigations": "~27.1.52",
47
47
  "@syncfusion/ej2-popups": "~27.1.50",
48
48
  "@syncfusion/ej2-splitbuttons": "~27.1.50"
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.1.51",
78
+ "version": "27.1.52",
79
79
  "sideEffects": false
80
80
  }
@@ -27,6 +27,7 @@ export declare class DetailsView {
27
27
  private isRendered;
28
28
  private isLoaded;
29
29
  private isNameWidth;
30
+ private isMultiSelect;
30
31
  gridObj: Grid;
31
32
  pasteOperation: boolean;
32
33
  uploadOperation: boolean;
@@ -39,6 +39,7 @@ var DetailsView = /** @class */ (function () {
39
39
  this.isRendered = true;
40
40
  this.isLoaded = false;
41
41
  this.isNameWidth = false;
42
+ this.isMultiSelect = false;
42
43
  this.pasteOperation = false;
43
44
  this.uploadOperation = false;
44
45
  Grid.Inject(Resize, ContextMenu, Sort, VirtualScroll);
@@ -1130,6 +1131,17 @@ var DetailsView = /** @class */ (function () {
1130
1131
  };
1131
1132
  this.parent.trigger('fileSelection', eventArgs);
1132
1133
  args.cancel = eventArgs.cancel;
1134
+ if (!this.isMultiSelect) {
1135
+ this.isMultiSelect = true;
1136
+ if ((args.isShiftPressed || args.isCtrlPressed) && !this.parent.allowMultiSelection && (args.target && args.target.parentElement && !args.target.parentElement.classList.contains('e-checkbox-wrapper'))) {
1137
+ args.cancel = true;
1138
+ var rowIndex = (args && args.rowIndexes)
1139
+ ? args.rowIndexes[args.rowIndexes.length - 1]
1140
+ : args.rowIndex;
1141
+ this.gridObj.selectRow(rowIndex);
1142
+ }
1143
+ this.isMultiSelect = false;
1144
+ }
1133
1145
  };
1134
1146
  /* istanbul ignore next */
1135
1147
  DetailsView.prototype.onSelected = function (args) {
@@ -692,7 +692,6 @@ var LargeIconsView = /** @class */ (function () {
692
692
  if (toBind) {
693
693
  this.clickObj = new Touch(this.element, {
694
694
  tap: function (eve) {
695
- eve.originalEvent.preventDefault();
696
695
  if (_this.parent.isDevice) {
697
696
  _this.tapCount = eve.tapCount;
698
697
  _this.tapEvent = eve;
package/tslint.json DELETED
@@ -1,111 +0,0 @@
1
- {
2
- "rules": {
3
- "chai-vague-errors": true,
4
- "use-isnan": true,
5
- "missing-jsdoc": true,
6
- "missing-optional-annotation": true,
7
- "no-backbone-get-set-outside-model": true,
8
- "no-banned-terms": true,
9
- "no-constant-condition": true,
10
- "no-control-regex": true,
11
- "no-cookies": true,
12
- "no-delete-expression": true,
13
- "no-document-write": true,
14
- "no-document-domain": true,
15
- "no-disable-auto-sanitization": true,
16
- "no-duplicate-case": true,
17
- "no-duplicate-parameter-names": true,
18
- "no-empty-interfaces": true,
19
- "no-exec-script": true,
20
- "no-function-constructor-with-string-args": true,
21
- "no-function-expression": true,
22
- "no-invalid-regexp": true,
23
- "no-for-in": true,
24
- "member-access": true,
25
- "no-multiline-string": true,
26
- "no-multiple-var-decl": true,
27
- "no-unnecessary-bind": true,
28
- "no-unnecessary-semicolons": true,
29
- "no-octal-literal": true,
30
- "no-regex-spaces": true,
31
- "no-sparse-arrays": true,
32
- "no-string-based-set-immediate": true,
33
- "no-string-based-set-interval": true,
34
- "no-unused-imports": true,
35
- "no-with-statement": true,
36
- "prefer-array-literal": true,
37
- "promise-must-complete": false,
38
- "react-no-dangerous-html": true,
39
- "use-named-parameter": true,
40
- "valid-typeof": true,
41
- "max-func-body-length": [true, 100, {
42
- "ignore-parameters-to-function-regex": "describe"
43
- }],
44
- "class-name": true,
45
- "curly": true,
46
- "eofline": false,
47
- "forin": true,
48
- "indent": [
49
- true,
50
- "spaces"
51
- ],
52
- "label-position": true,
53
- "max-line-length": [true, 140],
54
- "no-arg": true,
55
- "no-console": [true,
56
- "debug",
57
- "info",
58
- "log",
59
- "time",
60
- "timeEnd",
61
- "trace"
62
- ],
63
- "no-construct": true,
64
- "no-parameter-properties": true,
65
- "no-debugger": true,
66
- "no-duplicate-variable": true,
67
- "no-empty": true,
68
- "no-eval": true,
69
- "no-string-literal": true,
70
- "no-switch-case-fall-through": true,
71
- "trailing-comma": true,
72
- "no-trailing-whitespace": true,
73
- "no-unused-expression": true,
74
- "no-use-before-declare": false,
75
- "no-var-requires": true,
76
- "one-line": [true,
77
- "check-open-brace",
78
- "check-catch",
79
- "check-else",
80
- "check-whitespace"
81
- ],
82
- "no-any": true,
83
- "no-conditional-assignment": true,
84
- "no-angle-bracket-type-assertion": false,
85
- "align": [true, "parameters", "arguments", "statements"],
86
- "no-empty-line-after-opening-brace": false,
87
- "typedef-whitespace": [false],
88
- "ban": true,
89
- "quotemark": [true, "single"],
90
- "semicolon": true,
91
- "triple-equals": [true, "allow-null-check"],
92
- "typedef": [true,
93
- "call-signature",
94
- "parameter",
95
- "property-declaration",
96
- "variable-declaration",
97
- "arrow-parameter",
98
- "member-variable-declaration"],
99
- "variable-name": true,
100
- "whitespace": [true,
101
- "check-branch",
102
- "check-decl",
103
- "check-operator",
104
- "check-separator",
105
- "check-type"
106
- ],
107
- "jsdoc-format": true,
108
- "no-var-keyword": true,
109
- "radix": true
110
- }
111
- }