@syncfusion/ej2-dropdowns 23.2.7 → 24.1.41
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 +19 -131
- 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 +653 -116
- package/dist/es6/ej2-dropdowns.es2015.js.map +1 -1
- package/dist/es6/ej2-dropdowns.es5.js +657 -119
- 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 +13 -13
- package/src/auto-complete/auto-complete.js +9 -4
- package/src/combo-box/combo-box.js +74 -2
- package/src/common/incremental-search.d.ts +1 -1
- package/src/common/incremental-search.js +50 -7
- package/src/common/interface.d.ts +2 -0
- package/src/common/virtual-scroll.js +22 -1
- package/src/drop-down-base/drop-down-base.d.ts +23 -3
- package/src/drop-down-base/drop-down-base.js +153 -40
- package/src/drop-down-list/drop-down-list.d.ts +10 -3
- package/src/drop-down-list/drop-down-list.js +305 -41
- package/src/drop-down-tree/drop-down-tree.js +24 -20
- package/src/list-box/list-box.js +8 -1
- package/src/mention/mention.js +5 -1
- package/src/multi-select/checkbox-selection.js +4 -1
- package/src/multi-select/multi-select.js +4 -2
- package/styles/drop-down-tree/_layout.scss +6 -0
- package/styles/drop-down-tree/fluent-dark.css +2 -0
- package/styles/drop-down-tree/fluent.css +2 -0
- package/styles/fluent-dark.css +2 -0
- package/styles/fluent.css +2 -0
|
@@ -96,6 +96,9 @@ var DropDownBase = /** @class */ (function (_super) {
|
|
|
96
96
|
_this.virtualizedItemsCount = 0;
|
|
97
97
|
_this.totalItemCount = 0;
|
|
98
98
|
_this.dataCount = 0;
|
|
99
|
+
_this.isRemoteDataUpdated = false;
|
|
100
|
+
_this.isIncrementalRequest = false;
|
|
101
|
+
_this.itemCount = 10;
|
|
99
102
|
return _this;
|
|
100
103
|
}
|
|
101
104
|
DropDownBase.prototype.getPropObject = function (prop, newProp, oldProp) {
|
|
@@ -492,7 +495,7 @@ var DropDownBase = /** @class */ (function (_super) {
|
|
|
492
495
|
if (!eventArgs.cancel) {
|
|
493
496
|
_this.isRequesting = true;
|
|
494
497
|
_this.showSpinner();
|
|
495
|
-
if (dataSource instanceof DataManager) {
|
|
498
|
+
if (dataSource instanceof DataManager && !_this.virtualGroupDataSource) {
|
|
496
499
|
_this.isRequested = true;
|
|
497
500
|
if (_this.isDataFetched) {
|
|
498
501
|
_this.emptyDataRequest(fields);
|
|
@@ -501,8 +504,39 @@ var DropDownBase = /** @class */ (function (_super) {
|
|
|
501
504
|
eventArgs.data.executeQuery(_this.getQuery(eventArgs.query)).then(function (e) {
|
|
502
505
|
_this.isPreventChange = _this.isAngular && _this.preventChange ? true : _this.isPreventChange;
|
|
503
506
|
_this.trigger('actionComplete', e, function (e) {
|
|
507
|
+
if (!_this.virtualGroupDataSource && _this.isVirtualizationEnabled) {
|
|
508
|
+
_this.isRemoteDataUpdated = true;
|
|
509
|
+
if ((_this.getModuleName() === 'combobox' && _this.isAllowFiltering && _this.isVirtualizationEnabled && e.result)) {
|
|
510
|
+
e.result = e.result.result;
|
|
511
|
+
}
|
|
512
|
+
if (e.result.length > 0) {
|
|
513
|
+
var dataSource_2 = e.result;
|
|
514
|
+
if (_this.isVirtualizationEnabled && _this.fields.groupBy) {
|
|
515
|
+
var data = new DataManager(dataSource_2).executeLocal(new Query().group(_this.fields.groupBy));
|
|
516
|
+
_this.virtualGroupDataSource = data.records;
|
|
517
|
+
}
|
|
518
|
+
else {
|
|
519
|
+
_this.virtualGroupDataSource = dataSource_2;
|
|
520
|
+
_this.hideSpinner();
|
|
521
|
+
_this.isRequested = false;
|
|
522
|
+
_this.isRequesting = false;
|
|
523
|
+
_this.setListData(dataSource_2, fields, query, event);
|
|
524
|
+
return;
|
|
525
|
+
}
|
|
526
|
+
}
|
|
527
|
+
_this.hideSpinner();
|
|
528
|
+
_this.isRequested = false;
|
|
529
|
+
_this.isRequesting = false;
|
|
530
|
+
_this.updatePopupState();
|
|
531
|
+
return;
|
|
532
|
+
}
|
|
504
533
|
if (!e.cancel) {
|
|
534
|
+
_this.isRequesting = false;
|
|
505
535
|
var listItems = e.result;
|
|
536
|
+
if (_this.isIncrementalRequest) {
|
|
537
|
+
ulElement = _this.renderItems(listItems, fields);
|
|
538
|
+
return;
|
|
539
|
+
}
|
|
506
540
|
if (listItems.length === 0) {
|
|
507
541
|
_this.isDataFetched = true;
|
|
508
542
|
}
|
|
@@ -516,7 +550,6 @@ var DropDownBase = /** @class */ (function (_super) {
|
|
|
516
550
|
_this.isRequested = false;
|
|
517
551
|
_this.bindChildItems(listItems, ulElement, fields, e);
|
|
518
552
|
}
|
|
519
|
-
_this.isRequesting = false;
|
|
520
553
|
});
|
|
521
554
|
}).catch(function (e) {
|
|
522
555
|
_this.isRequested = false;
|
|
@@ -527,8 +560,25 @@ var DropDownBase = /** @class */ (function (_super) {
|
|
|
527
560
|
}
|
|
528
561
|
else {
|
|
529
562
|
_this.isRequesting = false;
|
|
530
|
-
var
|
|
531
|
-
|
|
563
|
+
var listItems = void 0;
|
|
564
|
+
if (_this.isVirtualizationEnabled && !_this.virtualGroupDataSource && _this.fields.groupBy) {
|
|
565
|
+
var data = new DataManager(_this.dataSource).executeLocal(new Query().group(_this.fields.groupBy));
|
|
566
|
+
_this.virtualGroupDataSource = data.records;
|
|
567
|
+
}
|
|
568
|
+
var dataManager = _this.isVirtualizationEnabled && _this.virtualGroupDataSource ? new DataManager(_this.virtualGroupDataSource) : new DataManager(eventArgs.data);
|
|
569
|
+
listItems = (_this.getQuery(eventArgs.query)).executeLocal(dataManager);
|
|
570
|
+
if (_this.isVirtualizationEnabled && _this.getModuleName() === 'autocomplete' && (listItems.count != 0 && listItems.count < (_this.itemCount * 2))) {
|
|
571
|
+
var newQuery = _this.getQuery(eventArgs.query);
|
|
572
|
+
if (newQuery) {
|
|
573
|
+
for (var queryElements = 0; queryElements < newQuery.queries.length; queryElements++) {
|
|
574
|
+
if (newQuery.queries[queryElements].fn === 'onTake') {
|
|
575
|
+
newQuery.queries[queryElements].e.nos = listItems.count;
|
|
576
|
+
listItems = (newQuery).executeLocal(dataManager);
|
|
577
|
+
break;
|
|
578
|
+
}
|
|
579
|
+
}
|
|
580
|
+
}
|
|
581
|
+
}
|
|
532
582
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
533
583
|
_this.dataCount = listItems.count;
|
|
534
584
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
@@ -538,6 +588,10 @@ var DropDownBase = /** @class */ (function (_super) {
|
|
|
538
588
|
var localDataArgs = { cancel: false, result: listItems };
|
|
539
589
|
_this.isPreventChange = _this.isAngular && _this.preventChange ? true : _this.isPreventChange;
|
|
540
590
|
_this.trigger('actionComplete', localDataArgs, function (localDataArgs) {
|
|
591
|
+
if (_this.isIncrementalRequest) {
|
|
592
|
+
ulElement = _this.renderItems(localDataArgs.result, fields);
|
|
593
|
+
return;
|
|
594
|
+
}
|
|
541
595
|
if (!localDataArgs.cancel) {
|
|
542
596
|
ulElement = _this.renderItems(localDataArgs.result, fields);
|
|
543
597
|
_this.onActionComplete(ulElement, localDataArgs.result, event);
|
|
@@ -557,6 +611,12 @@ var DropDownBase = /** @class */ (function (_super) {
|
|
|
557
611
|
});
|
|
558
612
|
}
|
|
559
613
|
};
|
|
614
|
+
DropDownBase.prototype.updatePopupState = function () {
|
|
615
|
+
// Used this method in component side.
|
|
616
|
+
};
|
|
617
|
+
DropDownBase.prototype.updateRemoteData = function () {
|
|
618
|
+
this.setListData(this.dataSource, this.fields, this.query);
|
|
619
|
+
};
|
|
560
620
|
DropDownBase.prototype.bindChildItems = function (listItems, ulElement, fields, e) {
|
|
561
621
|
var _this = this;
|
|
562
622
|
if (listItems.length >= 100 && this.getModuleName() === 'autocomplete') {
|
|
@@ -644,7 +704,9 @@ var DropDownBase = /** @class */ (function (_super) {
|
|
|
644
704
|
if (this.isReact) {
|
|
645
705
|
this.clearTemplate(['itemTemplate', 'groupTemplate', 'actionFailureTemplate', 'noRecordsTemplate']);
|
|
646
706
|
}
|
|
647
|
-
|
|
707
|
+
if (!this.isVirtualizationEnabled) {
|
|
708
|
+
this.fixedHeaderElement = isNullOrUndefined(this.fixedHeaderElement) ? this.fixedHeaderElement : null;
|
|
709
|
+
}
|
|
648
710
|
if (this.getModuleName() === 'multiselect' && this.properties.allowCustomValue && this.fields.groupBy) {
|
|
649
711
|
for (var i = 0; i < ulElement.childElementCount; i++) {
|
|
650
712
|
if (ulElement.children[i].classList.contains('e-list-group-item')) {
|
|
@@ -785,25 +847,67 @@ var DropDownBase = /** @class */ (function (_super) {
|
|
|
785
847
|
this.scrollStop(e);
|
|
786
848
|
}
|
|
787
849
|
};
|
|
788
|
-
DropDownBase.prototype.scrollStop = function (e) {
|
|
850
|
+
DropDownBase.prototype.scrollStop = function (e, isDownkey) {
|
|
789
851
|
var target = !isNullOrUndefined(e) ? e.target : this.list;
|
|
790
852
|
var liHeight = parseInt(getComputedStyle(this.getValidLi(), null).getPropertyValue('height'), 10);
|
|
791
853
|
var topIndex = Math.round(target.scrollTop / liHeight);
|
|
792
854
|
var liCollections = this.list.querySelectorAll('li' + ':not(.e-hide-listitem)');
|
|
855
|
+
var virtualListCount = this.list.querySelectorAll('.e-virtual-list').length;
|
|
856
|
+
var count = 0;
|
|
857
|
+
var isCount = false;
|
|
793
858
|
for (var i = topIndex; i > -1; i--) {
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
859
|
+
var index = this.isVirtualizationEnabled ? i + virtualListCount : i;
|
|
860
|
+
if (this.isVirtualizationEnabled) {
|
|
861
|
+
var groupListLength = this.list.querySelectorAll('.e-list-group-item').length;
|
|
862
|
+
var loadedGroupList = 0;
|
|
863
|
+
if (isCount) {
|
|
864
|
+
count++;
|
|
865
|
+
}
|
|
866
|
+
if (this.updateGroupHeader(index, liCollections, target)) {
|
|
867
|
+
loadedGroupList++;
|
|
868
|
+
if (count >= this.getPageCount()) {
|
|
869
|
+
break;
|
|
870
|
+
}
|
|
871
|
+
if (groupListLength <= loadedGroupList) {
|
|
872
|
+
break;
|
|
873
|
+
}
|
|
874
|
+
}
|
|
875
|
+
if (isDownkey) {
|
|
876
|
+
if ((!isNullOrUndefined(liCollections[index]) && liCollections[index].classList.contains(dropDownBaseClasses.selected) && this.getModuleName() !== 'autocomplete') || (!isNullOrUndefined(liCollections[index]) && liCollections[index].classList.contains(dropDownBaseClasses.focus) && this.getModuleName() === 'autocomplete')) {
|
|
877
|
+
count++;
|
|
878
|
+
isCount = true;
|
|
879
|
+
}
|
|
880
|
+
}
|
|
800
881
|
}
|
|
801
882
|
else {
|
|
802
|
-
this.
|
|
803
|
-
|
|
883
|
+
if (this.updateGroupHeader(index, liCollections, target)) {
|
|
884
|
+
break;
|
|
885
|
+
}
|
|
804
886
|
}
|
|
805
887
|
}
|
|
806
888
|
};
|
|
889
|
+
DropDownBase.prototype.getPageCount = function (returnExactCount) {
|
|
890
|
+
var liHeight = this.list.classList.contains(dropDownBaseClasses.noData) ? null :
|
|
891
|
+
getComputedStyle(this.getItems()[0], null).getPropertyValue('height');
|
|
892
|
+
var pageCount = Math.round(this.list.getBoundingClientRect().height / parseInt(liHeight, 10));
|
|
893
|
+
return returnExactCount ? pageCount : Math.round(pageCount);
|
|
894
|
+
};
|
|
895
|
+
DropDownBase.prototype.updateGroupHeader = function (index, liCollections, target) {
|
|
896
|
+
if (!isNullOrUndefined(liCollections[index]) && liCollections[index].classList.contains(dropDownBaseClasses.group)) {
|
|
897
|
+
this.updateGroupFixedHeader(liCollections[index], target);
|
|
898
|
+
return true;
|
|
899
|
+
}
|
|
900
|
+
else {
|
|
901
|
+
this.fixedHeaderElement.style.display = 'none';
|
|
902
|
+
this.fixedHeaderElement.style.top = 'none';
|
|
903
|
+
return false;
|
|
904
|
+
}
|
|
905
|
+
};
|
|
906
|
+
DropDownBase.prototype.updateGroupFixedHeader = function (element, target) {
|
|
907
|
+
this.fixedHeaderElement.innerHTML = element.innerHTML;
|
|
908
|
+
this.fixedHeaderElement.style.top = target.scrollTop + 'px';
|
|
909
|
+
this.fixedHeaderElement.style.display = 'block';
|
|
910
|
+
};
|
|
807
911
|
DropDownBase.prototype.getValidLi = function () {
|
|
808
912
|
return this.liCollections[0];
|
|
809
913
|
};
|
|
@@ -837,45 +941,54 @@ var DropDownBase = /** @class */ (function (_super) {
|
|
|
837
941
|
var virtualUlElement = this.list.querySelector('.e-virtual-ddl-content');
|
|
838
942
|
if ((listData.length >= this.virtualizedItemsCount && oldUlElement && virtualUlElement) || (oldUlElement && virtualUlElement && this.isAllowFiltering) || (oldUlElement && virtualUlElement && this.getModuleName() === 'autocomplete')) {
|
|
839
943
|
virtualUlElement.replaceChild(ulElement, oldUlElement);
|
|
840
|
-
this.
|
|
841
|
-
this.ulElement = this.list.querySelector('ul');
|
|
842
|
-
this.listData = listData;
|
|
843
|
-
this.postRender(this.list, listData, this.bindEvent);
|
|
944
|
+
this.updateListElements(listData);
|
|
844
945
|
}
|
|
845
946
|
else if ((!virtualUlElement)) {
|
|
846
947
|
this.list.innerHTML = '';
|
|
847
|
-
this.
|
|
848
|
-
this.
|
|
849
|
-
this.
|
|
850
|
-
this.listData = listData;
|
|
851
|
-
this.postRender(this.list, listData, this.bindEvent);
|
|
948
|
+
this.createVirtualContent();
|
|
949
|
+
this.list.querySelector('.e-virtual-ddl-content').appendChild(ulElement);
|
|
950
|
+
this.updateListElements(listData);
|
|
852
951
|
}
|
|
853
952
|
}
|
|
854
953
|
}
|
|
855
954
|
else {
|
|
856
955
|
ulElement = this.createListItems(listData, fields);
|
|
956
|
+
if (this.isIncrementalRequest) {
|
|
957
|
+
this.incrementalLiCollections = ulElement.querySelectorAll('.' + dropDownBaseClasses.li);
|
|
958
|
+
this.incrementalUlElement = ulElement;
|
|
959
|
+
this.incrementalListData = listData;
|
|
960
|
+
return ulElement;
|
|
961
|
+
}
|
|
857
962
|
if (this.isVirtualizationEnabled) {
|
|
858
963
|
var oldUlElement = this.list.querySelector('.e-list-parent');
|
|
859
964
|
var virtualUlElement = this.list.querySelector('.e-virtual-ddl-content');
|
|
860
965
|
if ((listData.length >= this.virtualizedItemsCount && oldUlElement && virtualUlElement) || (oldUlElement && virtualUlElement && this.isAllowFiltering) || (oldUlElement && virtualUlElement && this.getModuleName() === 'autocomplete')) {
|
|
861
966
|
virtualUlElement.replaceChild(ulElement, oldUlElement);
|
|
862
|
-
this.
|
|
863
|
-
this.ulElement = this.list.querySelector('ul');
|
|
864
|
-
this.listData = listData;
|
|
865
|
-
this.postRender(this.list, listData, this.bindEvent);
|
|
967
|
+
this.updateListElements(listData);
|
|
866
968
|
}
|
|
867
969
|
else if ((!virtualUlElement)) {
|
|
868
970
|
this.list.innerHTML = '';
|
|
869
|
-
this.
|
|
870
|
-
this.
|
|
871
|
-
this.
|
|
872
|
-
this.listData = listData;
|
|
873
|
-
this.postRender(this.list, listData, this.bindEvent);
|
|
971
|
+
this.createVirtualContent();
|
|
972
|
+
this.list.querySelector('.e-virtual-ddl-content').appendChild(ulElement);
|
|
973
|
+
this.updateListElements(listData);
|
|
874
974
|
}
|
|
875
975
|
}
|
|
876
976
|
}
|
|
877
977
|
return ulElement;
|
|
878
978
|
};
|
|
979
|
+
DropDownBase.prototype.createVirtualContent = function () {
|
|
980
|
+
if (!this.list.querySelector('.e-virtual-ddl-content')) {
|
|
981
|
+
this.list.appendChild(this.createElement('div', {
|
|
982
|
+
className: 'e-virtual-ddl-content',
|
|
983
|
+
}));
|
|
984
|
+
}
|
|
985
|
+
};
|
|
986
|
+
DropDownBase.prototype.updateListElements = function (listData) {
|
|
987
|
+
this.liCollections = this.list.querySelectorAll('.' + dropDownBaseClasses.li);
|
|
988
|
+
this.ulElement = this.list.querySelector('ul');
|
|
989
|
+
this.listData = listData;
|
|
990
|
+
this.postRender(this.list, listData, this.bindEvent);
|
|
991
|
+
};
|
|
879
992
|
DropDownBase.prototype.templateListItem = function (dataSource, fields) {
|
|
880
993
|
var option = this.listOption(dataSource, fields);
|
|
881
994
|
option.templateID = this.itemTemplateId;
|
|
@@ -947,11 +1060,11 @@ var DropDownBase = /** @class */ (function (_super) {
|
|
|
947
1060
|
* @param {string | number | boolean} value - Specifies given value.
|
|
948
1061
|
* @returns {number} Returns the index of the item.
|
|
949
1062
|
*/
|
|
950
|
-
DropDownBase.prototype.
|
|
1063
|
+
DropDownBase.prototype.getIndexByValue = function (value) {
|
|
951
1064
|
var index;
|
|
952
|
-
var listItems = this.
|
|
953
|
-
for (var i = 0; i < listItems.
|
|
954
|
-
if (!isNullOrUndefined(value) && listItems
|
|
1065
|
+
var listItems = this.getItems();
|
|
1066
|
+
for (var i = 0; i < listItems.length; i++) {
|
|
1067
|
+
if (!isNullOrUndefined(value) && listItems[i].getAttribute('data-value') === value.toString()) {
|
|
955
1068
|
index = i;
|
|
956
1069
|
break;
|
|
957
1070
|
}
|
|
@@ -964,11 +1077,11 @@ var DropDownBase = /** @class */ (function (_super) {
|
|
|
964
1077
|
* @param {string | number | boolean} value - Specifies given value.
|
|
965
1078
|
* @returns {number} Returns the index of the item.
|
|
966
1079
|
*/
|
|
967
|
-
DropDownBase.prototype.
|
|
1080
|
+
DropDownBase.prototype.getIndexByValueFilter = function (value) {
|
|
968
1081
|
var index;
|
|
969
|
-
var listItems = this.
|
|
970
|
-
for (var i = 0; i < listItems.length; i++) {
|
|
971
|
-
if (!isNullOrUndefined(value) && listItems[i].getAttribute('data-value') === value.toString()) {
|
|
1082
|
+
var listItems = this.renderItems(this.selectData, this.fields);
|
|
1083
|
+
for (var i = 0; i < listItems.children.length; i++) {
|
|
1084
|
+
if (!isNullOrUndefined(value) && listItems.children[i].getAttribute('data-value') === value.toString()) {
|
|
972
1085
|
index = i;
|
|
973
1086
|
break;
|
|
974
1087
|
}
|
|
@@ -61,7 +61,7 @@ export declare class DropDownList extends DropDownBase implements IInput {
|
|
|
61
61
|
} | string | number | boolean;
|
|
62
62
|
private listHeight;
|
|
63
63
|
private listItemHeight;
|
|
64
|
-
|
|
64
|
+
protected skeletonCount: number;
|
|
65
65
|
protected hiddenElement: HTMLSelectElement;
|
|
66
66
|
protected isPopupOpen: boolean;
|
|
67
67
|
private isDocumentClick;
|
|
@@ -113,7 +113,6 @@ export declare class DropDownList extends DropDownBase implements IInput {
|
|
|
113
113
|
protected preventChange: boolean;
|
|
114
114
|
protected isAngular: boolean;
|
|
115
115
|
protected selectedElementID: string;
|
|
116
|
-
protected itemCount: number;
|
|
117
116
|
private virtualListHeight;
|
|
118
117
|
private virtualItemCount;
|
|
119
118
|
private isVirtualScrolling;
|
|
@@ -136,6 +135,10 @@ export declare class DropDownList extends DropDownBase implements IInput {
|
|
|
136
135
|
private virtualItemEndIndex;
|
|
137
136
|
private generatedDataObject;
|
|
138
137
|
private preselectedIndex;
|
|
138
|
+
protected incrementalQueryString: string;
|
|
139
|
+
protected incrementalEndIndex: number;
|
|
140
|
+
protected incrementalStartIndex: number;
|
|
141
|
+
protected incrementalPreQueryString: string;
|
|
139
142
|
private isTouched;
|
|
140
143
|
protected virtualListInfo: VirtualInfo;
|
|
141
144
|
protected viewPortInfo: VirtualInfo;
|
|
@@ -440,6 +443,9 @@ export declare class DropDownList extends DropDownBase implements IInput {
|
|
|
440
443
|
private onMouseLeave;
|
|
441
444
|
protected removeHover(): void;
|
|
442
445
|
protected isValidLI(li: Element | HTMLElement): boolean;
|
|
446
|
+
protected updateIncrementalInfo(startIndex: number, endIndex: number): void;
|
|
447
|
+
protected updateIncrementalView(startIndex: number, endIndex: number): void;
|
|
448
|
+
protected updateIncrementalItemIndex(startIndex: number, endIndex: number): void;
|
|
443
449
|
protected incrementalSearch(e: KeyboardEventArgs): void;
|
|
444
450
|
/**
|
|
445
451
|
* Hides the spinner loader.
|
|
@@ -455,13 +461,13 @@ export declare class DropDownList extends DropDownBase implements IInput {
|
|
|
455
461
|
showSpinner(): void;
|
|
456
462
|
protected keyActionHandler(e: KeyboardEventArgs): void;
|
|
457
463
|
private updateUpDownAction;
|
|
464
|
+
private updateVirtualItemIndex;
|
|
458
465
|
private updateHomeEndAction;
|
|
459
466
|
protected selectCurrentValueOnTab(e: KeyboardEventArgs): void;
|
|
460
467
|
protected mobileKeyActionHandler(e: KeyboardEventArgs): void;
|
|
461
468
|
private handleVirtualKeyboardActions;
|
|
462
469
|
protected selectCurrentItem(e: KeyboardEventArgs): void;
|
|
463
470
|
protected isSelectFocusItem(element: Element): boolean;
|
|
464
|
-
private getPageCount;
|
|
465
471
|
private pageUpSelection;
|
|
466
472
|
private PageUpDownSelection;
|
|
467
473
|
private pageDownSelection;
|
|
@@ -611,6 +617,7 @@ export declare class DropDownList extends DropDownBase implements IInput {
|
|
|
611
617
|
onPropertyChanged(newProp: DropDownListModel, oldProp: DropDownListModel): void;
|
|
612
618
|
private checkValidLi;
|
|
613
619
|
private setSelectionData;
|
|
620
|
+
protected updatePopupState(): void;
|
|
614
621
|
protected setReadOnly(): void;
|
|
615
622
|
protected setInputValue(newProp?: any, oldProp?: any): void;
|
|
616
623
|
private setCssClass;
|