@syncfusion/ej2-dropdowns 26.2.11 → 26.2.13
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-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 +7 -4
- package/dist/es6/ej2-dropdowns.es2015.js.map +1 -1
- package/dist/es6/ej2-dropdowns.es5.js +7 -4
- 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 +7 -7
- package/src/combo-box/combo-box.js +1 -1
- package/src/drop-down-list/drop-down-list.d.ts +1 -0
- package/src/drop-down-list/drop-down-list.js +3 -0
- package/src/drop-down-tree/drop-down-tree.js +2 -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 : 26.2.
|
|
3
|
+
* version : 26.2.13
|
|
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-dropdowns@*",
|
|
3
|
-
"_id": "@syncfusion/ej2-dropdowns@26.2.
|
|
3
|
+
"_id": "@syncfusion/ej2-dropdowns@26.2.11",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-X2MfNU+v5Sz+2cdRtZSrpJvMzuwaqt54CEVP0KG6X0mt+x1BEQXInHCADQC0NBmI9uddJEYdLAFojM1+TAyiFw==",
|
|
6
6
|
"_location": "/@syncfusion/ej2-dropdowns",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
"/@syncfusion/ej2-spreadsheet",
|
|
36
36
|
"/@syncfusion/ej2-vue-dropdowns"
|
|
37
37
|
],
|
|
38
|
-
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-dropdowns/-/ej2-dropdowns-26.2.
|
|
39
|
-
"_shasum": "
|
|
38
|
+
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-dropdowns/-/ej2-dropdowns-26.2.11.tgz",
|
|
39
|
+
"_shasum": "f5b0da55d1080d7e5e50445184be17055ce71e88",
|
|
40
40
|
"_spec": "@syncfusion/ej2-dropdowns@*",
|
|
41
41
|
"_where": "/jenkins/workspace/elease-automation_release_26.1.1/packages/included",
|
|
42
42
|
"author": {
|
|
@@ -46,9 +46,9 @@
|
|
|
46
46
|
"dependencies": {
|
|
47
47
|
"@syncfusion/ej2-base": "~26.2.10",
|
|
48
48
|
"@syncfusion/ej2-data": "~26.2.10",
|
|
49
|
-
"@syncfusion/ej2-inputs": "~26.2.
|
|
49
|
+
"@syncfusion/ej2-inputs": "~26.2.13",
|
|
50
50
|
"@syncfusion/ej2-lists": "~26.2.11",
|
|
51
|
-
"@syncfusion/ej2-navigations": "~26.2.
|
|
51
|
+
"@syncfusion/ej2-navigations": "~26.2.12",
|
|
52
52
|
"@syncfusion/ej2-notifications": "~26.2.10",
|
|
53
53
|
"@syncfusion/ej2-popups": "~26.2.11"
|
|
54
54
|
},
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"module": "./index.js",
|
|
76
76
|
"name": "@syncfusion/ej2-dropdowns",
|
|
77
77
|
"typings": "index.d.ts",
|
|
78
|
-
"version": "26.2.
|
|
78
|
+
"version": "26.2.13",
|
|
79
79
|
"sideEffects": false,
|
|
80
80
|
"homepage": "https://www.syncfusion.com/javascript-ui-controls"
|
|
81
81
|
}
|
|
@@ -107,6 +107,7 @@ export declare class DropDownList extends DropDownBase implements IInput {
|
|
|
107
107
|
protected selectedElementID: string;
|
|
108
108
|
private preselectedIndex;
|
|
109
109
|
private isTouched;
|
|
110
|
+
protected isFocused: boolean;
|
|
110
111
|
private clearButton;
|
|
111
112
|
/**
|
|
112
113
|
* Sets CSS classes to the root element of the component that allows customization of appearance.
|
|
@@ -89,6 +89,7 @@ var DropDownList = /** @class */ (function (_super) {
|
|
|
89
89
|
_this.isListSearched = false;
|
|
90
90
|
_this.preventChange = false;
|
|
91
91
|
_this.isTouched = false;
|
|
92
|
+
_this.isFocused = false;
|
|
92
93
|
_this.IsScrollerAtEnd = function () {
|
|
93
94
|
return this.list && this.list.scrollTop + this.list.clientHeight >= this.list.scrollHeight;
|
|
94
95
|
};
|
|
@@ -505,6 +506,7 @@ var DropDownList = /** @class */ (function (_super) {
|
|
|
505
506
|
this.isActive = false;
|
|
506
507
|
this.beforePopupOpen = false;
|
|
507
508
|
}
|
|
509
|
+
this.isFocused = false;
|
|
508
510
|
};
|
|
509
511
|
DropDownList.prototype.focusOutAction = function (e) {
|
|
510
512
|
this.isInteracted = false;
|
|
@@ -536,6 +538,7 @@ var DropDownList = /** @class */ (function (_super) {
|
|
|
536
538
|
this.trigger('focus', args);
|
|
537
539
|
}
|
|
538
540
|
this.updateIconState();
|
|
541
|
+
this.isFocused = true;
|
|
539
542
|
};
|
|
540
543
|
DropDownList.prototype.resetValueHandler = function (e) {
|
|
541
544
|
var formElement = closest(this.inputElement, 'form');
|
|
@@ -1493,7 +1493,7 @@ var DropDownTree = /** @class */ (function (_super) {
|
|
|
1493
1493
|
this.currentText = this.text;
|
|
1494
1494
|
this.currentValue = this.value;
|
|
1495
1495
|
if (!isNOU(this.value) && this.value.length > 0 && !isNOU(this.currentText)) {
|
|
1496
|
-
this.inputWrapper.setAttribute('aria-label', this.currentText.
|
|
1496
|
+
this.inputWrapper.setAttribute('aria-label', this.currentText.replace(/,/g, ', '));
|
|
1497
1497
|
}
|
|
1498
1498
|
if (this.isInitialized) {
|
|
1499
1499
|
this.triggerChangeEvent();
|
|
@@ -2416,7 +2416,7 @@ var DropDownTree = /** @class */ (function (_super) {
|
|
|
2416
2416
|
this.currentText = this.text;
|
|
2417
2417
|
this.currentValue = this.value;
|
|
2418
2418
|
if (!isNOU(this.value) && this.value.length > 0 && !isNOU(this.currentText)) {
|
|
2419
|
-
this.inputWrapper.setAttribute('aria-label', this.currentText.
|
|
2419
|
+
this.inputWrapper.setAttribute('aria-label', this.currentText.replace(/,/g, ', '));
|
|
2420
2420
|
}
|
|
2421
2421
|
else {
|
|
2422
2422
|
this.inputWrapper.setAttribute('aria-label', this.getModuleName());
|
package/src/mention/mention.js
CHANGED
|
@@ -632,7 +632,7 @@ var Mention = /** @class */ (function (_super) {
|
|
|
632
632
|
if (isNullOrUndefined(text)) {
|
|
633
633
|
return '';
|
|
634
634
|
}
|
|
635
|
-
var textValue = text.replace(/\u00A0/g, ' ');
|
|
635
|
+
var textValue = text.indexOf('\u200B') > -1 ? text.replace(/\u200B/g, '').replace(/\u00A0/g, ' ') : text.replace(/\u00A0/g, ' ');
|
|
636
636
|
var words = textValue.split(/\s+/);
|
|
637
637
|
var wordCnt = words.length - 1;
|
|
638
638
|
return words[wordCnt].trim();
|