@syncfusion/ej2-dropdowns 19.4.40 → 19.4.48

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.
Files changed (117) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/README.md +1 -1
  3. package/dist/ej2-dropdowns.umd.min.js +2 -2
  4. package/dist/ej2-dropdowns.umd.min.js.map +1 -1
  5. package/dist/es6/ej2-dropdowns.es2015.js +87 -34
  6. package/dist/es6/ej2-dropdowns.es2015.js.map +1 -1
  7. package/dist/es6/ej2-dropdowns.es5.js +88 -34
  8. package/dist/es6/ej2-dropdowns.es5.js.map +1 -1
  9. package/dist/global/ej2-dropdowns.min.js +2 -2
  10. package/dist/global/ej2-dropdowns.min.js.map +1 -1
  11. package/dist/global/index.d.ts +1 -1
  12. package/package.json +11 -12
  13. package/src/combo-box/combo-box.js +2 -2
  14. package/src/common/incremental-search.d.ts +1 -1
  15. package/src/common/incremental-search.js +1 -1
  16. package/src/drop-down-base/drop-down-base.js +15 -2
  17. package/src/drop-down-list/drop-down-list.js +1 -1
  18. package/src/list-box/list-box.d.ts +0 -4
  19. package/src/list-box/list-box.js +0 -3
  20. package/src/multi-select/multi-select-model.d.ts +1 -1
  21. package/src/multi-select/multi-select.d.ts +2 -0
  22. package/src/multi-select/multi-select.js +69 -25
  23. package/styles/auto-complete/_fluent-definition.scss +2 -0
  24. package/styles/auto-complete/bootstrap5-dark.css +0 -1
  25. package/styles/auto-complete/bootstrap5.css +0 -1
  26. package/styles/bootstrap-dark.css +21 -3
  27. package/styles/bootstrap.css +21 -3
  28. package/styles/bootstrap4.css +21 -3
  29. package/styles/bootstrap5-dark.css +33 -9
  30. package/styles/bootstrap5.css +33 -9
  31. package/styles/combo-box/_fluent-definition.scss +2 -0
  32. package/styles/combo-box/bootstrap5-dark.css +0 -1
  33. package/styles/combo-box/bootstrap5.css +0 -1
  34. package/styles/drop-down-base/_fluent-definition.scss +109 -0
  35. package/styles/drop-down-list/_bootstrap5-definition.scss +0 -1
  36. package/styles/drop-down-list/_fluent-definition.scss +193 -0
  37. package/styles/drop-down-list/bootstrap5-dark.css +0 -1
  38. package/styles/drop-down-list/bootstrap5.css +0 -1
  39. package/styles/drop-down-list/icons/_bootstrap5.scss +0 -1
  40. package/styles/drop-down-list/icons/_fluent.scss +14 -0
  41. package/styles/drop-down-tree/_bootstrap5-definition.scss +59 -58
  42. package/styles/drop-down-tree/_fluent-definition.scss +71 -0
  43. package/styles/drop-down-tree/_layout.scss +12 -4
  44. package/styles/drop-down-tree/_tailwind-definition.scss +1 -0
  45. package/styles/drop-down-tree/bootstrap5-dark.css +11 -4
  46. package/styles/drop-down-tree/bootstrap5.css +11 -4
  47. package/styles/drop-down-tree/icons/_bootstrap5.scss +11 -11
  48. package/styles/drop-down-tree/icons/_fluent.scss +11 -0
  49. package/styles/drop-down-tree/icons/_tailwind-dark.scss +11 -11
  50. package/styles/drop-down-tree/tailwind-dark.css +1 -0
  51. package/styles/drop-down-tree/tailwind.css +1 -0
  52. package/styles/fabric-dark.css +21 -3
  53. package/styles/fabric.css +21 -3
  54. package/styles/highcontrast-light.css +21 -3
  55. package/styles/highcontrast.css +21 -3
  56. package/styles/list-box/_bootstrap-dark-definition.scss +3 -0
  57. package/styles/list-box/_bootstrap-definition.scss +3 -0
  58. package/styles/list-box/_bootstrap4-definition.scss +3 -0
  59. package/styles/list-box/_bootstrap5-definition.scss +5 -2
  60. package/styles/list-box/_fabric-dark-definition.scss +3 -0
  61. package/styles/list-box/_fabric-definition.scss +3 -0
  62. package/styles/list-box/_fluent-definition.scss +118 -0
  63. package/styles/list-box/_highcontrast-definition.scss +3 -0
  64. package/styles/list-box/_highcontrast-light-definition.scss +3 -0
  65. package/styles/list-box/_layout.scss +1 -6
  66. package/styles/list-box/_material-dark-definition.scss +3 -0
  67. package/styles/list-box/_material-definition.scss +3 -0
  68. package/styles/list-box/_tailwind-definition.scss +3 -0
  69. package/styles/list-box/_theme.scss +8 -0
  70. package/styles/list-box/bootstrap-dark.css +10 -0
  71. package/styles/list-box/bootstrap.css +10 -0
  72. package/styles/list-box/bootstrap4.css +10 -0
  73. package/styles/list-box/bootstrap5-dark.css +11 -1
  74. package/styles/list-box/bootstrap5.css +11 -1
  75. package/styles/list-box/fabric-dark.css +10 -0
  76. package/styles/list-box/fabric.css +10 -0
  77. package/styles/list-box/highcontrast-light.css +10 -0
  78. package/styles/list-box/highcontrast.css +10 -0
  79. package/styles/list-box/icons/_fluent.scss +25 -0
  80. package/styles/list-box/icons/_tailwind-dark.scss +2 -2
  81. package/styles/list-box/material-dark.css +10 -0
  82. package/styles/list-box/material.css +10 -0
  83. package/styles/list-box/tailwind-dark.css +13 -3
  84. package/styles/list-box/tailwind.css +11 -1
  85. package/styles/material-dark.css +21 -97
  86. package/styles/material.css +21 -97
  87. package/styles/multi-select/_bootstrap-dark-definition.scss +1 -0
  88. package/styles/multi-select/_bootstrap-definition.scss +1 -0
  89. package/styles/multi-select/_bootstrap4-definition.scss +1 -0
  90. package/styles/multi-select/_bootstrap5-definition.scss +1 -0
  91. package/styles/multi-select/_fabric-dark-definition.scss +1 -0
  92. package/styles/multi-select/_fabric-definition.scss +1 -0
  93. package/styles/multi-select/_fluent-definition.scss +215 -0
  94. package/styles/multi-select/_highcontrast-definition.scss +1 -0
  95. package/styles/multi-select/_highcontrast-light-definition.scss +1 -0
  96. package/styles/multi-select/_layout.scss +4 -119
  97. package/styles/multi-select/_material-dark-definition.scss +1 -22
  98. package/styles/multi-select/_material-definition.scss +1 -22
  99. package/styles/multi-select/_tailwind-definition.scss +1 -0
  100. package/styles/multi-select/_theme.scss +5 -0
  101. package/styles/multi-select/bootstrap-dark.css +11 -3
  102. package/styles/multi-select/bootstrap.css +11 -3
  103. package/styles/multi-select/bootstrap4.css +11 -3
  104. package/styles/multi-select/bootstrap5-dark.css +11 -3
  105. package/styles/multi-select/bootstrap5.css +11 -3
  106. package/styles/multi-select/fabric-dark.css +11 -3
  107. package/styles/multi-select/fabric.css +11 -3
  108. package/styles/multi-select/highcontrast-light.css +11 -3
  109. package/styles/multi-select/highcontrast.css +11 -3
  110. package/styles/multi-select/icons/_fluent.scss +27 -0
  111. package/styles/multi-select/material-dark.css +11 -97
  112. package/styles/multi-select/material.css +11 -97
  113. package/styles/multi-select/tailwind-dark.css +11 -3
  114. package/styles/multi-select/tailwind.css +11 -3
  115. package/styles/tailwind-dark.css +25 -6
  116. package/styles/tailwind.css +23 -4
  117. package/styles/_all.scss +0 -3
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 19.4.40
3
+ * version : 19.4.48
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,8 +1,8 @@
1
1
  {
2
2
  "_from": "@syncfusion/ej2-dropdowns@*",
3
- "_id": "@syncfusion/ej2-dropdowns@19.3.56",
3
+ "_id": "@syncfusion/ej2-dropdowns@19.4.47",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-swxFfaQGysEl0FHFlWDRqRKJMx3x2cBzkWu0aII2IRfQMjGd79WPOdsdSqDmSxQJOE1v6GiNgrlbyf9irDUIEQ==",
5
+ "_integrity": "sha512-OA2l6pPVkrG2ikHAmi9uEh8vlfOKUg2xBqfMTk1LTkbD1aUQL2VeWpeec7ZdvUWM9jptnHf2qrjjfHGvaONzYA==",
6
6
  "_location": "/@syncfusion/ej2-dropdowns",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -21,7 +21,6 @@
21
21
  "/@syncfusion/ej2",
22
22
  "/@syncfusion/ej2-angular-dropdowns",
23
23
  "/@syncfusion/ej2-documenteditor",
24
- "/@syncfusion/ej2-filemanager/@syncfusion/ej2-grids",
25
24
  "/@syncfusion/ej2-gantt",
26
25
  "/@syncfusion/ej2-grids",
27
26
  "/@syncfusion/ej2-inplace-editor",
@@ -34,8 +33,8 @@
34
33
  "/@syncfusion/ej2-spreadsheet",
35
34
  "/@syncfusion/ej2-vue-dropdowns"
36
35
  ],
37
- "_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-dropdowns/-/ej2-dropdowns-19.3.56.tgz",
38
- "_shasum": "8fab90fa06f7b8947bfcab02e078098b513bf98f",
36
+ "_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-dropdowns/-/ej2-dropdowns-19.4.47.tgz",
37
+ "_shasum": "2074e43dec8f0451ebdb48adc8e3d59b907b84e9",
39
38
  "_spec": "@syncfusion/ej2-dropdowns@*",
40
39
  "_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included",
41
40
  "author": {
@@ -43,12 +42,12 @@
43
42
  },
44
43
  "bundleDependencies": false,
45
44
  "dependencies": {
46
- "@syncfusion/ej2-base": "~19.4.38",
47
- "@syncfusion/ej2-data": "~19.4.38",
48
- "@syncfusion/ej2-inputs": "~19.4.38",
49
- "@syncfusion/ej2-lists": "~19.4.38",
50
- "@syncfusion/ej2-navigations": "~19.4.40",
51
- "@syncfusion/ej2-popups": "~19.4.38"
45
+ "@syncfusion/ej2-base": "~19.4.48",
46
+ "@syncfusion/ej2-data": "~19.4.48",
47
+ "@syncfusion/ej2-inputs": "~19.4.48",
48
+ "@syncfusion/ej2-lists": "~19.4.48",
49
+ "@syncfusion/ej2-navigations": "~19.4.48",
50
+ "@syncfusion/ej2-popups": "~19.4.48"
52
51
  },
53
52
  "deprecated": false,
54
53
  "description": "Essential JS 2 DropDown Components",
@@ -73,6 +72,6 @@
73
72
  "module": "./index.js",
74
73
  "name": "@syncfusion/ej2-dropdowns",
75
74
  "typings": "index.d.ts",
76
- "version": "19.4.40",
75
+ "version": "19.4.48",
77
76
  "sideEffects": false
78
77
  }
@@ -234,7 +234,7 @@ var ComboBox = /** @class */ (function (_super) {
234
234
  if ((Browser.isDevice && !this.isDropDownClick || !Browser.isDevice) &&
235
235
  !isNullOrUndefined(this.liCollections) && this.liCollections.length > 0) {
236
236
  var inputValue = this.inputElement.value;
237
- var activeItem = Search(inputValue, this.liCollections, 'StartsWith', true);
237
+ var activeItem = Search(inputValue, this.liCollections, this.filterType, true);
238
238
  var activeElement = activeItem.item;
239
239
  if (!isNullOrUndefined(activeElement)) {
240
240
  var count = this.getIndexByValue(activeElement.getAttribute('data-value')) - 1;
@@ -391,7 +391,7 @@ var ComboBox = /** @class */ (function (_super) {
391
391
  else {
392
392
  this.activeIndex = null;
393
393
  this.removeSelection();
394
- if (this.liCollections && this.liCollections.length < 0) {
394
+ if (this.liCollections && this.liCollections.length > 0 && !this.isCustomFilter) {
395
395
  this.removeFocus();
396
396
  }
397
397
  }
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * IncrementalSearch module file
3
3
  */
4
- export declare type SearchType = 'StartsWith' | 'Equal';
4
+ export declare type SearchType = 'StartsWith' | 'Equal' | 'EndsWith' | 'Contains';
5
5
  /**
6
6
  * Search and focus the list item based on key code matches with list text content
7
7
  *
@@ -83,7 +83,7 @@ export function Search(inputVal, items, searchType, ignoreCase) {
83
83
  for (var i = 0, itemsData = listItems; i < itemsData.length; i++) {
84
84
  var item = itemsData[i];
85
85
  var text = (ignoreCase ? item.textContent.toLocaleLowerCase() : item.textContent).replace(/^\s+|\s+$/g, '');
86
- if ((searchType === 'Equal' && text === queryStr) || (searchType === 'StartsWith' && text.substr(0, strLength) === queryStr)) {
86
+ if ((searchType === 'Equal' && text === queryStr) || (searchType === 'StartsWith' && text.substr(0, strLength) === queryStr) || (searchType === 'EndsWith' && text.substr(text.length - queryStr.length) === queryStr) || (searchType === 'Contains' && new RegExp(queryStr, "g").test(text))) {
87
87
  itemData.item = item;
88
88
  itemData.index = i;
89
89
  return { item: item, index: i };
@@ -493,7 +493,7 @@ var DropDownBase = /** @class */ (function (_super) {
493
493
  }
494
494
  _this.bindChildItems(localDataArgs.result, ulElement, fields);
495
495
  setTimeout(function () {
496
- if (_this.getModuleName() === 'multiselect' && (ulElement.childElementCount > 0 && ulElement.children[0].childElementCount > 0)) {
496
+ if (_this.getModuleName() === 'multiselect' && _this.itemTemplate != null && (ulElement.childElementCount > 0 && ulElement.children[0].childElementCount > 0)) {
497
497
  _this.updateDataList();
498
498
  }
499
499
  });
@@ -628,10 +628,22 @@ var DropDownBase = /** @class */ (function (_super) {
628
628
  var groupValue = select(this.groupTemplate, document).innerHTML.trim();
629
629
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
630
630
  var tempHeaders = ListBase.renderGroupTemplate(groupValue, dataSource, this.fields.properties, headerItems, option, this);
631
+ //EJ2-55168- Group checkbox is not working with group template
632
+ if (this.isGroupChecking) {
633
+ for (var i = 0; i < tempHeaders.length; i++) {
634
+ this.notify('addItem', { module: 'CheckBoxSelection', item: tempHeaders[i] });
635
+ }
636
+ }
631
637
  }
632
638
  else {
633
639
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
634
640
  var tempHeaders = ListBase.renderGroupTemplate(this.groupTemplate, dataSource, this.fields.properties, headerItems, option, this);
641
+ //EJ2-55168- Group checkbox is not working with group template
642
+ if (this.isGroupChecking) {
643
+ for (var i = 0; i < tempHeaders.length; i++) {
644
+ this.notify('addItem', { module: 'CheckBoxSelection', item: tempHeaders[i] });
645
+ }
646
+ }
635
647
  }
636
648
  this.renderReactTemplates();
637
649
  }
@@ -1046,7 +1058,8 @@ var DropDownBase = /** @class */ (function (_super) {
1046
1058
  li.innerText = itemText;
1047
1059
  }
1048
1060
  if (this.itemTemplate && !isHeader) {
1049
- var compiledString = compile(this.itemTemplate);
1061
+ var itemCheck = this.templateCompiler(this.itemTemplate);
1062
+ var compiledString = itemCheck ? compile(select(this.itemTemplate, document).innerHTML.trim()) : compile(this.itemTemplate);
1050
1063
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
1051
1064
  var addItemTemplate = compiledString(item, this, 'itemTemplate', this.itemTemplateId, this.isStringTemplate, null, li);
1052
1065
  if (addItemTemplate) {
@@ -2222,7 +2222,7 @@ var DropDownList = /** @class */ (function (_super) {
2222
2222
  DropDownList.prototype.checkCustomValue = function () {
2223
2223
  this.itemData = this.getDataByValue(this.value);
2224
2224
  var dataItem = this.getItemData();
2225
- this.setProperties({ 'value': dataItem.value, 'text': dataItem.text });
2225
+ this.setProperties({ 'text': dataItem.text, 'value': dataItem.value });
2226
2226
  };
2227
2227
  DropDownList.prototype.updateInputFields = function () {
2228
2228
  if (this.getModuleName() === 'dropdownlist') {
@@ -678,10 +678,6 @@ export interface DropEventArgs {
678
678
  * Illustrates whether the current action needs to be prevented or not.
679
679
  */
680
680
  cancel?: boolean;
681
- /**
682
- * Illustrates whether the drag all action needs to be prevented or not.
683
- */
684
- isDragAll?: boolean | null;
685
681
  /**
686
682
  * Returns the selected list items.
687
683
  */
@@ -438,9 +438,6 @@ var ListBox = /** @class */ (function (_super) {
438
438
  args.items = this.getDataByValues([dragValue]);
439
439
  }
440
440
  this.trigger('beforeDrop', args);
441
- if (args.isDragAll !== null) {
442
- this.allowDragAll = args.isDragAll;
443
- }
444
441
  };
445
442
  ListBox.prototype.dragEnd = function (args) {
446
443
  var _this = this;
@@ -1,4 +1,4 @@
1
- import { DropDownBase, SelectEventArgs, dropDownBaseClasses, PopupEventArgs, FilteringEventArgs } from '../drop-down-base/drop-down-base';import { FocusEventArgs, BeforeOpenEventArgs, FilterType, FieldSettings } from '../drop-down-base/drop-down-base';import { FieldSettingsModel } from '../drop-down-base/drop-down-base-model';import { Popup, createSpinner, showSpinner, hideSpinner } from '@syncfusion/ej2-popups';import { IInput, FloatLabelType } from '@syncfusion/ej2-inputs';import { attributes, setValue, SanitizeHtmlHelper, getValue } from '@syncfusion/ej2-base';import { NotifyPropertyChanges, extend } from '@syncfusion/ej2-base';import { EventHandler, Property, Event, compile, L10n, EmitType, KeyboardEventArgs } from '@syncfusion/ej2-base';import { Animation, AnimationModel, Browser, prepend, Complex } from '@syncfusion/ej2-base';import { Search } from '../common/incremental-search';import { append, addClass, removeClass, closest, detach, remove, select, selectAll } from '@syncfusion/ej2-base';import { getUniqueID, formatUnit, isNullOrUndefined, isUndefined, ModuleDeclaration } from '@syncfusion/ej2-base';import { DataManager, Query, Predicate } from '@syncfusion/ej2-data';import { SortOrder } from '@syncfusion/ej2-lists';import { createFloatLabel, removeFloating, floatLabelFocus, floatLabelBlur, encodePlaceholder } from './float-label';
1
+ import { DropDownBase, SelectEventArgs, dropDownBaseClasses, PopupEventArgs, FilteringEventArgs } from '../drop-down-base/drop-down-base';import { FocusEventArgs, BeforeOpenEventArgs, FilterType, FieldSettings, ResultData } from '../drop-down-base/drop-down-base';import { FieldSettingsModel } from '../drop-down-base/drop-down-base-model';import { Popup, createSpinner, showSpinner, hideSpinner } from '@syncfusion/ej2-popups';import { IInput, FloatLabelType } from '@syncfusion/ej2-inputs';import { attributes, setValue, SanitizeHtmlHelper, getValue } from '@syncfusion/ej2-base';import { NotifyPropertyChanges, extend } from '@syncfusion/ej2-base';import { EventHandler, Property, Event, compile, L10n, EmitType, KeyboardEventArgs } from '@syncfusion/ej2-base';import { Animation, AnimationModel, Browser, prepend, Complex } from '@syncfusion/ej2-base';import { Search } from '../common/incremental-search';import { append, addClass, removeClass, closest, detach, remove, select, selectAll } from '@syncfusion/ej2-base';import { getUniqueID, formatUnit, isNullOrUndefined, isUndefined, ModuleDeclaration } from '@syncfusion/ej2-base';import { DataManager, Query, Predicate } from '@syncfusion/ej2-data';import { SortOrder } from '@syncfusion/ej2-lists';import { createFloatLabel, removeFloating, floatLabelFocus, floatLabelBlur, encodePlaceholder } from './float-label';
2
2
  import {visualMode,MultiSelectChangeEventArgs,RemoveEventArgs,ISelectAllEventArgs,TaggingEventArgs,CustomValueEventArgs} from "./multi-select";
3
3
  import {DropDownBaseModel} from "../drop-down-base/drop-down-base-model";
4
4
 
@@ -795,6 +795,8 @@ export declare class MultiSelect extends DropDownBase implements IInput {
795
795
  */
796
796
  onPropertyChanged(newProp: MultiSelectModel, oldProp: MultiSelectModel): void;
797
797
  private reInitializePoup;
798
+ private presentItemValue;
799
+ private addNonPresentItems;
798
800
  private updateVal;
799
801
  /**
800
802
  * Adds a new item to the multiselect popup list. By default, new item appends to the list as the last item,
@@ -421,7 +421,7 @@ var MultiSelect = /** @class */ (function (_super) {
421
421
  this.mainData = list;
422
422
  this.mainListCollection = this.liCollections;
423
423
  }
424
- else if (!isNullOrUndefined(this.mainData) && this.mainData.length === 0) {
424
+ else if (isNullOrUndefined(this.mainData) || this.mainData.length === 0) {
425
425
  this.mainData = list;
426
426
  }
427
427
  if ((this.remoteCustomValue || list.length <= 0) && this.allowCustomValue && this.inputFocus && this.allowFiltering &&
@@ -2443,7 +2443,9 @@ var MultiSelect = /** @class */ (function (_super) {
2443
2443
  MultiSelect.prototype.updateActionCompleteData = function (li, item) {
2444
2444
  if (this.value && this.value.indexOf(li.getAttribute('data-value')) > -1) {
2445
2445
  this.mainList = this.ulElement;
2446
- addClass([li], HIDE_LIST);
2446
+ if (this.hideSelectedItem) {
2447
+ addClass([li], HIDE_LIST);
2448
+ }
2447
2449
  }
2448
2450
  };
2449
2451
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
@@ -3106,7 +3108,7 @@ var MultiSelect = /** @class */ (function (_super) {
3106
3108
  'li.e-list-item[aria-selected="true"]:not(.e-reorder-hide)');
3107
3109
  }
3108
3110
  if (this.enableGroupCheckBox && this.mode === 'CheckBox' && !isNullOrUndefined(this.fields.groupBy)) {
3109
- var target = (event ? event.target : null);
3111
+ var target = (event ? (this.groupTemplate ? closest(event.target, '.e-list-group-item') : event.target) : null);
3110
3112
  target = (event && event.keyCode === 32) ? list : target;
3111
3113
  target = (target && target.classList.contains('e-frame')) ? target.parentElement.parentElement : target;
3112
3114
  if (target && target.classList.contains('e-list-group-item')) {
@@ -3480,6 +3482,17 @@ var MultiSelect = /** @class */ (function (_super) {
3480
3482
  this.notify('selectAllText', false);
3481
3483
  break;
3482
3484
  case 'popupHeight':
3485
+ if (this.popupObj) {
3486
+ var overAllHeight = parseInt(this.popupHeight, 10);
3487
+ if (this.popupHeight !== 'auto') {
3488
+ this.list.style.maxHeight = formatUnit(overAllHeight);
3489
+ this.popupWrapper.style.maxHeight = formatUnit(this.popupHeight);
3490
+ }
3491
+ else {
3492
+ this.list.style.maxHeight = formatUnit(this.popupHeight);
3493
+ }
3494
+ }
3495
+ break;
3483
3496
  case 'headerTemplate':
3484
3497
  case 'footerTemplate':
3485
3498
  this.reInitializePoup();
@@ -3507,6 +3520,25 @@ var MultiSelect = /** @class */ (function (_super) {
3507
3520
  }
3508
3521
  this.renderPopup();
3509
3522
  };
3523
+ MultiSelect.prototype.presentItemValue = function (ulElement) {
3524
+ var valuecheck = [];
3525
+ for (var i = 0; i < this.value.length; i++) {
3526
+ var checkEle = this.findListElement(((this.allowFiltering && !isNullOrUndefined(this.mainList)) ? this.mainList : ulElement), 'li', 'data-value', this.value[i]);
3527
+ if (!checkEle) {
3528
+ valuecheck.push(this.value[i]);
3529
+ }
3530
+ }
3531
+ return valuecheck;
3532
+ };
3533
+ ;
3534
+ MultiSelect.prototype.addNonPresentItems = function (valuecheck, ulElement, list, event) {
3535
+ var _this = this;
3536
+ this.dataSource.executeQuery(this.getForQuery(valuecheck)).then(function (e) {
3537
+ _this.addItem(e.result, list.length);
3538
+ _this.updateActionList(ulElement, list, event);
3539
+ });
3540
+ };
3541
+ ;
3510
3542
  MultiSelect.prototype.updateVal = function (newProp, oldProp, prop) {
3511
3543
  if (!this.list) {
3512
3544
  this.onLoadSelect();
@@ -3515,31 +3547,43 @@ var MultiSelect = /** @class */ (function (_super) {
3515
3547
  this.onLoadSelect();
3516
3548
  }
3517
3549
  else {
3518
- if (prop === 'text') {
3519
- this.initialTextUpdate();
3520
- newProp = this.value;
3521
- }
3522
- if (isNullOrUndefined(this.value) || this.value.length === 0) {
3523
- this.tempValues = oldProp;
3550
+ var valuecheck = [];
3551
+ if (!isNullOrUndefined(this.value) && !this.allowCustomValue) {
3552
+ valuecheck = this.presentItemValue(this.ulElement);
3524
3553
  }
3525
- // eslint-disable-next-line
3526
- if (this.allowCustomValue && (this.mode === 'Default' || this.mode === 'Box') && this.isReact && this.inputFocus
3527
- && this.isPopupOpen() && this.mainData !== this.listData) {
3528
- var list = this.mainList.cloneNode ? this.mainList.cloneNode(true) : this.mainList;
3529
- this.onActionComplete(list, this.mainData);
3554
+ if (prop == 'value' && valuecheck.length > 0 && this.dataSource instanceof DataManager && !isNullOrUndefined(this.value)
3555
+ && this.listData != null) {
3556
+ this.mainData = null;
3557
+ this.setDynValue = true;
3558
+ this.addNonPresentItems(valuecheck, this.ulElement, this.listData);
3530
3559
  }
3531
- this.initialValueUpdate();
3532
- if (this.mode !== 'Box' && !this.inputFocus) {
3533
- this.updateDelimView();
3534
- }
3535
- if (!this.inputFocus) {
3536
- this.refreshInputHight();
3537
- }
3538
- this.refreshPlaceHolder();
3539
- if (this.mode !== 'CheckBox' && this.changeOnBlur) {
3540
- this.updateValueState(null, newProp, oldProp);
3560
+ else {
3561
+ if (prop === 'text') {
3562
+ this.initialTextUpdate();
3563
+ newProp = this.value;
3564
+ }
3565
+ if (isNullOrUndefined(this.value) || this.value.length === 0) {
3566
+ this.tempValues = oldProp;
3567
+ }
3568
+ // eslint-disable-next-line
3569
+ if (this.allowCustomValue && (this.mode === 'Default' || this.mode === 'Box') && this.isReact && this.inputFocus
3570
+ && this.isPopupOpen() && this.mainData !== this.listData) {
3571
+ var list = this.mainList.cloneNode ? this.mainList.cloneNode(true) : this.mainList;
3572
+ this.onActionComplete(list, this.mainData);
3573
+ }
3574
+ this.initialValueUpdate();
3575
+ if (this.mode !== 'Box' && !this.inputFocus) {
3576
+ this.updateDelimView();
3577
+ }
3578
+ if (!this.inputFocus) {
3579
+ this.refreshInputHight();
3580
+ }
3581
+ this.refreshPlaceHolder();
3582
+ if (this.mode !== 'CheckBox' && this.changeOnBlur) {
3583
+ this.updateValueState(null, newProp, oldProp);
3584
+ }
3585
+ this.checkPlaceholderSize();
3541
3586
  }
3542
- this.checkPlaceholderSize();
3543
3587
  }
3544
3588
  if (!this.changeOnBlur) {
3545
3589
  this.updateValueState(null, newProp, oldProp);
@@ -0,0 +1,2 @@
1
+ //default
2
+ //enddefault
@@ -62,7 +62,6 @@
62
62
  .e-input-group.e-control-wrapper.e-ddl .e-input[readonly],
63
63
  .e-float-input.e-control-wrapper.e-ddl input[readonly] {
64
64
  background: transparent;
65
- color: inherit;
66
65
  }
67
66
 
68
67
  .e-input-group.e-control-wrapper.e-ddl.e-readonly .e-input[readonly],
@@ -62,7 +62,6 @@
62
62
  .e-input-group.e-control-wrapper.e-ddl .e-input[readonly],
63
63
  .e-float-input.e-control-wrapper.e-ddl input[readonly] {
64
64
  background: transparent;
65
- color: inherit;
66
65
  }
67
66
 
68
67
  .e-input-group.e-control-wrapper.e-ddl.e-readonly .e-input[readonly],
@@ -1339,11 +1339,13 @@ ejs-dropdownlist {
1339
1339
  padding: 13px 0 13px 0;
1340
1340
  }
1341
1341
 
1342
- .e-multi-select-wrapper .e-searcher.e-zero-size:not(.e-multiselect-box) {
1342
+ .e-multi-select-wrapper .e-searcher.e-zero-size:not(.e-multiselect-box),
1343
+ .e-multi-select-wrapper .e-multi-searcher.e-zero-size:not(.e-multiselect-box) {
1343
1344
  width: 0;
1344
1345
  }
1345
1346
 
1346
- .e-multi-select-wrapper .e-searcher.e-zero-size:not(.e-multiselect-box) input[type='text'] {
1347
+ .e-multi-select-wrapper .e-searcher.e-zero-size:not(.e-multiselect-box) input[type='text'],
1348
+ .e-multi-select-wrapper .e-multi-searcher.e-zero-size:not(.e-multiselect-box) input[type='text'] {
1347
1349
  height: 1px;
1348
1350
  min-height: 1px;
1349
1351
  }
@@ -1471,7 +1473,8 @@ ejs-dropdownlist {
1471
1473
  word-wrap: initial;
1472
1474
  }
1473
1475
 
1474
- .e-multiselect.e-input-group .e-searcher .e-label-top {
1476
+ .e-multiselect.e-input-group .e-searcher .e-label-top,
1477
+ .e-multiselect.e-input-group .e-multi-searcher .e-label-top {
1475
1478
  top: 17px;
1476
1479
  }
1477
1480
 
@@ -2454,6 +2457,11 @@ ejs-multiselect {
2454
2457
  font-size: 10px;
2455
2458
  }
2456
2459
 
2460
+ .e-multiselect.e-disabled .e-multi-select-wrapper .e-delim-values {
2461
+ -webkit-text-fill-color: #9c9c9c;
2462
+ color: #9c9c9c;
2463
+ }
2464
+
2457
2465
  .e-listbox-tool .e-moveup::before {
2458
2466
  content: '\e651';
2459
2467
  }
@@ -3051,6 +3059,16 @@ ejs-listbox {
3051
3059
  height: calc(100% - 52px);
3052
3060
  }
3053
3061
 
3062
+ .e-listbox-wrapper.e-select-all .e-list-parent,
3063
+ .e-listbox-container.e-select-all .e-list-parent {
3064
+ height: calc(100% - 40px);
3065
+ }
3066
+
3067
+ .e-listbox-wrapper.e-filter-list.e-select-all .e-list-parent,
3068
+ .e-listbox-container.e-filter-list.e-select-all .e-list-parent {
3069
+ height: calc(100% - 92px);
3070
+ }
3071
+
3054
3072
  .e-listbox-wrapper .e-icons,
3055
3073
  .e-listbox-container .e-icons {
3056
3074
  color: #f0f0f0;
@@ -1338,11 +1338,13 @@ ejs-dropdownlist {
1338
1338
  padding: 13px 0 13px 0;
1339
1339
  }
1340
1340
 
1341
- .e-multi-select-wrapper .e-searcher.e-zero-size:not(.e-multiselect-box) {
1341
+ .e-multi-select-wrapper .e-searcher.e-zero-size:not(.e-multiselect-box),
1342
+ .e-multi-select-wrapper .e-multi-searcher.e-zero-size:not(.e-multiselect-box) {
1342
1343
  width: 0;
1343
1344
  }
1344
1345
 
1345
- .e-multi-select-wrapper .e-searcher.e-zero-size:not(.e-multiselect-box) input[type='text'] {
1346
+ .e-multi-select-wrapper .e-searcher.e-zero-size:not(.e-multiselect-box) input[type='text'],
1347
+ .e-multi-select-wrapper .e-multi-searcher.e-zero-size:not(.e-multiselect-box) input[type='text'] {
1346
1348
  height: 1px;
1347
1349
  min-height: 1px;
1348
1350
  }
@@ -1470,7 +1472,8 @@ ejs-dropdownlist {
1470
1472
  word-wrap: initial;
1471
1473
  }
1472
1474
 
1473
- .e-multiselect.e-input-group .e-searcher .e-label-top {
1475
+ .e-multiselect.e-input-group .e-searcher .e-label-top,
1476
+ .e-multiselect.e-input-group .e-multi-searcher .e-label-top {
1474
1477
  top: 16px;
1475
1478
  }
1476
1479
 
@@ -2453,6 +2456,11 @@ ejs-multiselect {
2453
2456
  font-size: 10px;
2454
2457
  }
2455
2458
 
2459
+ .e-multiselect.e-disabled .e-multi-select-wrapper .e-delim-values {
2460
+ -webkit-text-fill-color: #999;
2461
+ color: #999;
2462
+ }
2463
+
2456
2464
  .e-listbox-tool .e-moveup::before {
2457
2465
  content: '\e651';
2458
2466
  }
@@ -3050,6 +3058,16 @@ ejs-listbox {
3050
3058
  height: calc(100% - 52px);
3051
3059
  }
3052
3060
 
3061
+ .e-listbox-wrapper.e-select-all .e-list-parent,
3062
+ .e-listbox-container.e-select-all .e-list-parent {
3063
+ height: calc(100% - 40px);
3064
+ }
3065
+
3066
+ .e-listbox-wrapper.e-filter-list.e-select-all .e-list-parent,
3067
+ .e-listbox-container.e-filter-list.e-select-all .e-list-parent {
3068
+ height: calc(100% - 92px);
3069
+ }
3070
+
3053
3071
  .e-listbox-wrapper .e-icons,
3054
3072
  .e-listbox-container .e-icons {
3055
3073
  color: rgba(0, 0, 0, 0.75);
@@ -1475,11 +1475,13 @@ ejs-dropdownlist {
1475
1475
  padding: 13px 0 13px 0;
1476
1476
  }
1477
1477
 
1478
- .e-multi-select-wrapper .e-searcher.e-zero-size:not(.e-multiselect-box) {
1478
+ .e-multi-select-wrapper .e-searcher.e-zero-size:not(.e-multiselect-box),
1479
+ .e-multi-select-wrapper .e-multi-searcher.e-zero-size:not(.e-multiselect-box) {
1479
1480
  width: 0;
1480
1481
  }
1481
1482
 
1482
- .e-multi-select-wrapper .e-searcher.e-zero-size:not(.e-multiselect-box) input[type='text'] {
1483
+ .e-multi-select-wrapper .e-searcher.e-zero-size:not(.e-multiselect-box) input[type='text'],
1484
+ .e-multi-select-wrapper .e-multi-searcher.e-zero-size:not(.e-multiselect-box) input[type='text'] {
1483
1485
  height: 1px;
1484
1486
  min-height: 1px;
1485
1487
  }
@@ -1609,7 +1611,8 @@ ejs-dropdownlist {
1609
1611
  word-wrap: initial;
1610
1612
  }
1611
1613
 
1612
- .e-multiselect.e-input-group .e-searcher .e-label-top {
1614
+ .e-multiselect.e-input-group .e-searcher .e-label-top,
1615
+ .e-multiselect.e-input-group .e-multi-searcher .e-label-top {
1613
1616
  top: 15px;
1614
1617
  }
1615
1618
 
@@ -2637,6 +2640,11 @@ ejs-multiselect {
2637
2640
  font-size: 10px;
2638
2641
  }
2639
2642
 
2643
+ .e-multiselect.e-disabled .e-multi-select-wrapper .e-delim-values {
2644
+ -webkit-text-fill-color: #6c757d;
2645
+ color: #6c757d;
2646
+ }
2647
+
2640
2648
  .e-listbox-tool .e-moveup::before {
2641
2649
  content: '\e808';
2642
2650
  }
@@ -3283,6 +3291,16 @@ ejs-listbox {
3283
3291
  height: calc(100% - 39px);
3284
3292
  }
3285
3293
 
3294
+ .e-listbox-wrapper.e-select-all .e-list-parent,
3295
+ .e-listbox-container.e-select-all .e-list-parent {
3296
+ height: calc(100% - 40px);
3297
+ }
3298
+
3299
+ .e-listbox-wrapper.e-filter-list.e-select-all .e-list-parent,
3300
+ .e-listbox-container.e-filter-list.e-select-all .e-list-parent {
3301
+ height: calc(100% - 79px);
3302
+ }
3303
+
3286
3304
  .e-listbox-wrapper .e-icons,
3287
3305
  .e-listbox-container .e-icons {
3288
3306
  color: #212529;
@@ -453,7 +453,6 @@
453
453
  .e-input-group.e-control-wrapper.e-ddl .e-input[readonly],
454
454
  .e-float-input.e-control-wrapper.e-ddl input[readonly] {
455
455
  background: transparent;
456
- color: inherit;
457
456
  }
458
457
 
459
458
  .e-input-group.e-control-wrapper.e-ddl.e-readonly .e-input[readonly],
@@ -1137,8 +1136,16 @@ ejs-dropdownlist {
1137
1136
  .e-ddt.e-bigger.e-input-group.e-control-wrapper.e-show-text.e-show-dd-icon .e-clear-icon,
1138
1137
  .e-ddt.e-bigger.e-float-input.e-control-wrapper.e-show-chip.e-show-dd-icon .e-clear-icon,
1139
1138
  .e-ddt.e-bigger.e-float-input.e-control-wrapper.e-show-text.e-show-dd-icon .e-clear-icon {
1140
- bottom: 6px;
1141
- right: 33px;
1139
+ bottom: auto;
1140
+ right: 36px;
1141
+ }
1142
+
1143
+ .e-bigger .e-ddt.e-input-group.e-control-wrapper.e-show-chip.e-show-chip.e-show-dd-icon .e-clear-icon, .e-bigger .e-ddt.e-input-group.e-control-wrapper.e-show-text.e-show-chip.e-show-dd-icon .e-clear-icon, .e-bigger .e-ddt.e-float-input.e-control-wrapper.e-show-chip.e-show-chip.e-show-dd-icon .e-clear-icon, .e-bigger .e-ddt.e-float-input.e-control-wrapper.e-show-text.e-show-chip.e-show-dd-icon .e-clear-icon,
1144
+ .e-ddt.e-bigger.e-input-group.e-control-wrapper.e-show-chip.e-show-chip.e-show-dd-icon .e-clear-icon,
1145
+ .e-ddt.e-bigger.e-input-group.e-control-wrapper.e-show-text.e-show-chip.e-show-dd-icon .e-clear-icon,
1146
+ .e-ddt.e-bigger.e-float-input.e-control-wrapper.e-show-chip.e-show-chip.e-show-dd-icon .e-clear-icon,
1147
+ .e-ddt.e-bigger.e-float-input.e-control-wrapper.e-show-text.e-show-chip.e-show-dd-icon .e-clear-icon {
1148
+ bottom: 0;
1142
1149
  }
1143
1150
 
1144
1151
  .e-bigger .e-ddt.e-input-group.e-control-wrapper.e-show-chip .e-ddt-icon, .e-bigger .e-ddt.e-input-group.e-control-wrapper.e-show-text .e-ddt-icon, .e-bigger .e-ddt.e-float-input.e-control-wrapper.e-show-chip .e-ddt-icon, .e-bigger .e-ddt.e-float-input.e-control-wrapper.e-show-text .e-ddt-icon,
@@ -1152,8 +1159,7 @@ ejs-dropdownlist {
1152
1159
  .e-bigger .e-ddt.e-input-group.e-control-wrapper .e-clear-icon, .e-bigger .e-ddt.e-float-input.e-control-wrapper .e-clear-icon,
1153
1160
  .e-ddt.e-bigger.e-input-group.e-control-wrapper .e-clear-icon,
1154
1161
  .e-ddt.e-bigger.e-float-input.e-control-wrapper .e-clear-icon {
1155
- min-width: 0;
1156
- padding: 6px;
1162
+ min-height: 36px;
1157
1163
  }
1158
1164
 
1159
1165
  .e-bigger .e-ddt.e-show-chip .e-chips-close,
@@ -1439,11 +1445,13 @@ ejs-dropdownlist {
1439
1445
  padding: 12px 4px 11px 0;
1440
1446
  }
1441
1447
 
1442
- .e-multi-select-wrapper .e-searcher.e-zero-size:not(.e-multiselect-box) {
1448
+ .e-multi-select-wrapper .e-searcher.e-zero-size:not(.e-multiselect-box),
1449
+ .e-multi-select-wrapper .e-multi-searcher.e-zero-size:not(.e-multiselect-box) {
1443
1450
  width: 0;
1444
1451
  }
1445
1452
 
1446
- .e-multi-select-wrapper .e-searcher.e-zero-size:not(.e-multiselect-box) input[type='text'] {
1453
+ .e-multi-select-wrapper .e-searcher.e-zero-size:not(.e-multiselect-box) input[type='text'],
1454
+ .e-multi-select-wrapper .e-multi-searcher.e-zero-size:not(.e-multiselect-box) input[type='text'] {
1447
1455
  height: 1px;
1448
1456
  min-height: 1px;
1449
1457
  }
@@ -1573,7 +1581,8 @@ ejs-dropdownlist {
1573
1581
  word-wrap: initial;
1574
1582
  }
1575
1583
 
1576
- .e-multiselect.e-input-group .e-searcher .e-label-top {
1584
+ .e-multiselect.e-input-group .e-searcher .e-label-top,
1585
+ .e-multiselect.e-input-group .e-multi-searcher .e-label-top {
1577
1586
  top: 15px;
1578
1587
  }
1579
1588
 
@@ -2565,6 +2574,11 @@ ejs-multiselect {
2565
2574
  font-size: 14px;
2566
2575
  }
2567
2576
 
2577
+ .e-multiselect.e-disabled .e-multi-select-wrapper .e-delim-values {
2578
+ -webkit-text-fill-color: #e9ecef;
2579
+ color: #e9ecef;
2580
+ }
2581
+
2568
2582
  .e-listbox-tool .e-moveup::before {
2569
2583
  content: '\e776';
2570
2584
  }
@@ -3162,6 +3176,16 @@ ejs-listbox {
3162
3176
  height: calc(100% - 47px);
3163
3177
  }
3164
3178
 
3179
+ .e-listbox-wrapper.e-select-all .e-list-parent,
3180
+ .e-listbox-container.e-select-all .e-list-parent {
3181
+ height: calc(100% - 36px);
3182
+ }
3183
+
3184
+ .e-listbox-wrapper.e-filter-list.e-select-all .e-list-parent,
3185
+ .e-listbox-container.e-filter-list.e-select-all .e-list-parent {
3186
+ height: calc(100% - 86px);
3187
+ }
3188
+
3165
3189
  .e-listbox-wrapper .e-list-item,
3166
3190
  .e-listbox-container .e-list-item {
3167
3191
  background-color: transparent;
@@ -3214,7 +3238,7 @@ ejs-listbox {
3214
3238
  .e-listbox-container .e-list-group-item {
3215
3239
  background-color: #343a40;
3216
3240
  border-color: rgba(0, 0, 0, 0.12);
3217
- color: #7b848d;
3241
+ color: #000;
3218
3242
  font-size: 12px;
3219
3243
  }
3220
3244