@syncfusion/ej2-dropdowns 21.1.36 → 21.1.37
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/CHANGELOG.md +15 -0
- package/dist/ej2-dropdowns.min.js +2 -2
- package/dist/ej2-dropdowns.umd.min.js +2 -2
- package/dist/ej2-dropdowns.umd.min.js.map +1 -1
- package/dist/es6/ej2-dropdowns.es2015.js +5 -3
- package/dist/es6/ej2-dropdowns.es2015.js.map +1 -1
- package/dist/es6/ej2-dropdowns.es5.js +5 -3
- package/dist/es6/ej2-dropdowns.es5.js.map +1 -1
- package/dist/global/ej2-dropdowns.min.js +2 -2
- package/dist/global/ej2-dropdowns.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +36 -22
- package/src/list-box/list-box-model.d.ts +0 -1
- package/src/list-box/list-box.d.ts +0 -1
- package/src/list-box/list-box.js +4 -2
- package/src/mention/mention.js +1 -1
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 21.1.
|
|
3
|
+
* version : 21.1.37
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2020. 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,46 +1,59 @@
|
|
|
1
1
|
{
|
|
2
|
-
"_from": "@syncfusion/ej2-dropdowns
|
|
2
|
+
"_from": "@syncfusion/ej2-dropdowns@*",
|
|
3
3
|
"_id": "@syncfusion/ej2-dropdowns@21.1.35",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-H65eTmORf+vdwyOO3JqjF5G+ZZKyWjLZtdN8ia71tMG+aGkoPxyfF+TqSNU6/9ibNgIyIyMlufz5tqpWmiKVCw==",
|
|
6
6
|
"_location": "/@syncfusion/ej2-dropdowns",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
9
|
-
"type": "
|
|
9
|
+
"type": "range",
|
|
10
10
|
"registry": true,
|
|
11
|
-
"raw": "@syncfusion/ej2-dropdowns
|
|
11
|
+
"raw": "@syncfusion/ej2-dropdowns@*",
|
|
12
12
|
"name": "@syncfusion/ej2-dropdowns",
|
|
13
13
|
"escapedName": "@syncfusion%2fej2-dropdowns",
|
|
14
14
|
"scope": "@syncfusion",
|
|
15
|
-
"rawSpec": "
|
|
15
|
+
"rawSpec": "*",
|
|
16
16
|
"saveSpec": null,
|
|
17
|
-
"fetchSpec": "
|
|
17
|
+
"fetchSpec": "*"
|
|
18
18
|
},
|
|
19
19
|
"_requiredBy": [
|
|
20
|
-
"
|
|
21
|
-
"/"
|
|
20
|
+
"/",
|
|
21
|
+
"/@syncfusion/ej2",
|
|
22
|
+
"/@syncfusion/ej2-angular-dropdowns",
|
|
23
|
+
"/@syncfusion/ej2-documenteditor",
|
|
24
|
+
"/@syncfusion/ej2-gantt",
|
|
25
|
+
"/@syncfusion/ej2-grids",
|
|
26
|
+
"/@syncfusion/ej2-inplace-editor",
|
|
27
|
+
"/@syncfusion/ej2-kanban",
|
|
28
|
+
"/@syncfusion/ej2-pdfviewer",
|
|
29
|
+
"/@syncfusion/ej2-pivotview",
|
|
30
|
+
"/@syncfusion/ej2-querybuilder",
|
|
31
|
+
"/@syncfusion/ej2-react-dropdowns",
|
|
32
|
+
"/@syncfusion/ej2-ribbon",
|
|
33
|
+
"/@syncfusion/ej2-schedule",
|
|
34
|
+
"/@syncfusion/ej2-spreadsheet",
|
|
35
|
+
"/@syncfusion/ej2-vue-dropdowns"
|
|
22
36
|
],
|
|
23
|
-
"_resolved": "https://
|
|
24
|
-
"_shasum": "
|
|
25
|
-
"_spec": "@syncfusion/ej2-dropdowns
|
|
26
|
-
"_where": "
|
|
37
|
+
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-dropdowns/-/ej2-dropdowns-21.1.35.tgz",
|
|
38
|
+
"_shasum": "592dc7076dc25afb5dd7096cdfbba2f7a947f0d1",
|
|
39
|
+
"_spec": "@syncfusion/ej2-dropdowns@*",
|
|
40
|
+
"_where": "/jenkins/workspace/elease-automation_release_21.1.1/packages/included",
|
|
27
41
|
"author": {
|
|
28
42
|
"name": "Syncfusion Inc."
|
|
29
43
|
},
|
|
30
44
|
"bundleDependencies": false,
|
|
31
45
|
"dependencies": {
|
|
32
|
-
"@syncfusion/ej2-base": "~21.1.
|
|
33
|
-
"@syncfusion/ej2-data": "~21.1.
|
|
34
|
-
"@syncfusion/ej2-inputs": "~21.1.
|
|
35
|
-
"@syncfusion/ej2-lists": "~21.1.
|
|
36
|
-
"@syncfusion/ej2-navigations": "~21.1.
|
|
37
|
-
"@syncfusion/ej2-popups": "~21.1.
|
|
46
|
+
"@syncfusion/ej2-base": "~21.1.37",
|
|
47
|
+
"@syncfusion/ej2-data": "~21.1.37",
|
|
48
|
+
"@syncfusion/ej2-inputs": "~21.1.37",
|
|
49
|
+
"@syncfusion/ej2-lists": "~21.1.37",
|
|
50
|
+
"@syncfusion/ej2-navigations": "~21.1.37",
|
|
51
|
+
"@syncfusion/ej2-popups": "~21.1.37"
|
|
38
52
|
},
|
|
39
53
|
"deprecated": false,
|
|
40
54
|
"description": "Essential JS 2 DropDown Components",
|
|
41
55
|
"devDependencies": {},
|
|
42
56
|
"es2015": "./dist/es6/ej2-dropdowns.es5.js",
|
|
43
|
-
"homepage": "https://www.syncfusion.com/javascript-ui-controls",
|
|
44
57
|
"keywords": [
|
|
45
58
|
"ej2",
|
|
46
59
|
"syncfusion",
|
|
@@ -59,7 +72,8 @@
|
|
|
59
72
|
"main": "./dist/ej2-dropdowns.umd.min.js",
|
|
60
73
|
"module": "./index.js",
|
|
61
74
|
"name": "@syncfusion/ej2-dropdowns",
|
|
62
|
-
"sideEffects": false,
|
|
63
75
|
"typings": "index.d.ts",
|
|
64
|
-
"version": "21.1.
|
|
65
|
-
|
|
76
|
+
"version": "21.1.37",
|
|
77
|
+
"sideEffects": false,
|
|
78
|
+
"homepage": "https://www.syncfusion.com/javascript-ui-controls"
|
|
79
|
+
}
|
package/src/list-box/list-box.js
CHANGED
|
@@ -1209,7 +1209,9 @@ var ListBox = /** @class */ (function (_super) {
|
|
|
1209
1209
|
}
|
|
1210
1210
|
this.updateSelectedOptions();
|
|
1211
1211
|
this.triggerChange(this.getSelectedItems(), e);
|
|
1212
|
-
this.
|
|
1212
|
+
if (this.list) {
|
|
1213
|
+
this.checkMaxSelection();
|
|
1214
|
+
}
|
|
1213
1215
|
}
|
|
1214
1216
|
};
|
|
1215
1217
|
ListBox.prototype.triggerChange = function (selectedLis, event) {
|
|
@@ -1868,7 +1870,7 @@ var ListBox = /** @class */ (function (_super) {
|
|
|
1868
1870
|
if (index < 0 || index === cul.childElementCount) {
|
|
1869
1871
|
return -1;
|
|
1870
1872
|
}
|
|
1871
|
-
cli = cul.
|
|
1873
|
+
cli = cul.childNodes[index];
|
|
1872
1874
|
if (cli.classList.contains('e-disabled') || cli.classList.contains(cssClass.group)) {
|
|
1873
1875
|
index = this.getValidIndex(cli, index, keyCode);
|
|
1874
1876
|
}
|
package/src/mention/mention.js
CHANGED
|
@@ -1137,7 +1137,7 @@ var Mention = /** @class */ (function (_super) {
|
|
|
1137
1137
|
}
|
|
1138
1138
|
globalRange = this.range;
|
|
1139
1139
|
range = document.createRange();
|
|
1140
|
-
if (((this.getTextRange() && this.getTextRange().lastIndexOf(this.mentionChar) !== -1
|
|
1140
|
+
if (((this.getTextRange() && this.getTextRange().lastIndexOf(this.mentionChar) !== -1) || this.getTextRange() && this.getTextRange().trim() === this.mentionChar)) {
|
|
1141
1141
|
range.setStart(globalRange.startContainer, startPos);
|
|
1142
1142
|
range.setEnd(globalRange.startContainer, endPos);
|
|
1143
1143
|
}
|