@syncfusion/ej2-dropdowns 26.1.38 → 26.1.39
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 +9 -5
- package/dist/es6/ej2-dropdowns.es2015.js.map +1 -1
- package/dist/es6/ej2-dropdowns.es5.js +9 -5
- 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/drop-down-tree/drop-down-tree.js +4 -3
- package/src/list-box/list-box.d.ts +4 -0
- package/src/list-box/list-box.js +4 -1
- package/src/mention/mention.js +1 -1
- package/styles/auto-complete/fluent2.css +5 -5
- package/styles/combo-box/fluent2.css +5 -5
- package/styles/drop-down-base/fluent2.css +5 -5
- package/styles/drop-down-list/fluent2.css +5 -5
- package/styles/drop-down-tree/fluent2.css +5 -5
- package/styles/fluent2.css +5 -5
- package/styles/list-box/fluent2.css +5 -5
- package/styles/mention/fluent2.css +5 -5
- package/styles/multi-select/fluent2.css +5 -5
|
@@ -7185,7 +7185,7 @@ let DropDownTree = class DropDownTree extends Component {
|
|
|
7185
7185
|
let checkValue;
|
|
7186
7186
|
const isObjectValue = isChild && isChildFiltering && this.isChildObject();
|
|
7187
7187
|
checkValue = isObjectValue ? node[this.fields.child.text] : node[this.fields.text];
|
|
7188
|
-
if (!checkValue) {
|
|
7188
|
+
if (!checkValue && !isNullOrUndefined(this.fields.child.text)) {
|
|
7189
7189
|
let tempChild = this.fields.child;
|
|
7190
7190
|
while (!node[tempChild.text]) {
|
|
7191
7191
|
tempChild = tempChild.child;
|
|
@@ -8638,7 +8638,6 @@ let DropDownTree = class DropDownTree extends Component {
|
|
|
8638
8638
|
this.ensurePlaceHolder();
|
|
8639
8639
|
}
|
|
8640
8640
|
if (this.showSelectAll && this.checkBoxElement) {
|
|
8641
|
-
const nodes = this.treeObj.element.querySelectorAll('li');
|
|
8642
8641
|
const checkedNodes = this.treeObj.element.querySelectorAll('li[aria-checked=true]');
|
|
8643
8642
|
const wrap = closest(this.checkBoxElement, '.' + CHECKBOXWRAP);
|
|
8644
8643
|
if (wrap && args.action === 'uncheck' && (args.isInteracted || checkedNodes.length === 0 || (!isNullOrUndefined(args.data[0]) && args.data[0].isChecked === 'false'))) {
|
|
@@ -8646,7 +8645,9 @@ let DropDownTree = class DropDownTree extends Component {
|
|
|
8646
8645
|
this.changeState(wrap, 'uncheck');
|
|
8647
8646
|
this.isReverseUpdate = false;
|
|
8648
8647
|
}
|
|
8649
|
-
else if (wrap && args.action === 'check'
|
|
8648
|
+
else if (wrap && args.action === 'check'
|
|
8649
|
+
&& checkedNodes.length === this.fields.dataSource.length
|
|
8650
|
+
&& (args.isInteracted || this.isCheckAllCalled || (!isNullOrUndefined(args.data[0]) && args.data[0].isChecked === 'true'))) {
|
|
8650
8651
|
this.isReverseUpdate = true;
|
|
8651
8652
|
this.isCheckAllCalled = false;
|
|
8652
8653
|
this.changeState(wrap, 'check');
|
|
@@ -19096,6 +19097,9 @@ let ListBox = ListBox_1 = class ListBox extends DropDownBase {
|
|
|
19096
19097
|
if (this.height.toString().indexOf('%') < 0) {
|
|
19097
19098
|
addClass([this.list], 'e-filter-list');
|
|
19098
19099
|
}
|
|
19100
|
+
else if (this.height.toString().indexOf('%') > 0) {
|
|
19101
|
+
this.ulElement.style.height = (this.ulElement.offsetHeight - this.filterParent.offsetHeight) + 'px';
|
|
19102
|
+
}
|
|
19099
19103
|
this.inputString = this.filterInput.value;
|
|
19100
19104
|
this.filterWireEvents();
|
|
19101
19105
|
return filterInputObj;
|
|
@@ -19671,7 +19675,7 @@ let ListBox = ListBox_1 = class ListBox extends DropDownBase {
|
|
|
19671
19675
|
else {
|
|
19672
19676
|
elems = [args.target];
|
|
19673
19677
|
}
|
|
19674
|
-
return { elements: elems, items: this.getDataByElems(elems) };
|
|
19678
|
+
return { elements: elems, event: args.event, items: this.getDataByElems(elems) };
|
|
19675
19679
|
}
|
|
19676
19680
|
onKeyDown(e) {
|
|
19677
19681
|
this.keyDownHandler(e);
|
|
@@ -20618,7 +20622,7 @@ let Mention = class Mention extends DropDownBase {
|
|
|
20618
20622
|
const isNavigation = (e.action === 'down' || e.action === 'up' || e.action === 'pageUp' || e.action === 'pageDown'
|
|
20619
20623
|
|| e.action === 'home' || e.action === 'end');
|
|
20620
20624
|
const isTabAction = e.action === 'tab' || e.action === 'close';
|
|
20621
|
-
if (this.list === undefined && !this.isRequested && !isTabAction && e.action !== 'escape' && e.action !== 'space') {
|
|
20625
|
+
if (this.list === undefined && !this.isRequested && !isTabAction && e.action !== 'escape' && e.action !== 'space' && this.mentionChar.charCodeAt(0) === this.getLastLetter(this.getTextRange()).charCodeAt(0)) {
|
|
20622
20626
|
this.renderList();
|
|
20623
20627
|
}
|
|
20624
20628
|
if (isNullOrUndefined(this.list) || (!isNullOrUndefined(this.liCollections) &&
|