@syncfusion/ej2-dropdowns 19.4.38 → 19.4.40

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 (67) hide show
  1. package/README.md +1 -1
  2. package/dist/ej2-dropdowns.umd.min.js +2 -2
  3. package/dist/ej2-dropdowns.umd.min.js.map +1 -1
  4. package/dist/es6/ej2-dropdowns.es2015.js +31 -72
  5. package/dist/es6/ej2-dropdowns.es2015.js.map +1 -1
  6. package/dist/es6/ej2-dropdowns.es5.js +31 -73
  7. package/dist/es6/ej2-dropdowns.es5.js.map +1 -1
  8. package/dist/global/ej2-dropdowns.min.js +2 -2
  9. package/dist/global/ej2-dropdowns.min.js.map +1 -1
  10. package/dist/global/index.d.ts +1 -1
  11. package/package.json +7 -6
  12. package/src/combo-box/combo-box.js +2 -2
  13. package/src/common/incremental-search.d.ts +1 -1
  14. package/src/common/incremental-search.js +1 -1
  15. package/src/drop-down-base/drop-down-base.js +1 -13
  16. package/src/list-box/list-box.d.ts +4 -0
  17. package/src/list-box/list-box.js +3 -0
  18. package/src/multi-select/multi-select-model.d.ts +1 -1
  19. package/src/multi-select/multi-select.d.ts +0 -2
  20. package/src/multi-select/multi-select.js +24 -57
  21. package/styles/_all.scss +3 -0
  22. package/styles/auto-complete/bootstrap5-dark.css +1 -0
  23. package/styles/auto-complete/bootstrap5.css +1 -0
  24. package/styles/bootstrap5-dark.css +6 -12
  25. package/styles/bootstrap5.css +6 -12
  26. package/styles/combo-box/bootstrap5-dark.css +1 -0
  27. package/styles/combo-box/bootstrap5.css +1 -0
  28. package/styles/drop-down-list/_bootstrap5-definition.scss +1 -0
  29. package/styles/drop-down-list/bootstrap5-dark.css +1 -0
  30. package/styles/drop-down-list/bootstrap5.css +1 -0
  31. package/styles/drop-down-list/icons/_bootstrap5.scss +1 -0
  32. package/styles/drop-down-tree/_bootstrap5-definition.scss +58 -59
  33. package/styles/drop-down-tree/_layout.scss +4 -12
  34. package/styles/drop-down-tree/_tailwind-definition.scss +0 -1
  35. package/styles/drop-down-tree/bootstrap5-dark.css +4 -11
  36. package/styles/drop-down-tree/bootstrap5.css +4 -11
  37. package/styles/drop-down-tree/icons/_bootstrap5.scss +11 -11
  38. package/styles/drop-down-tree/icons/_tailwind-dark.scss +11 -11
  39. package/styles/drop-down-tree/tailwind-dark.css +0 -1
  40. package/styles/drop-down-tree/tailwind.css +0 -1
  41. package/styles/list-box/_bootstrap5-definition.scss +2 -2
  42. package/styles/list-box/_layout.scss +6 -1
  43. package/styles/list-box/bootstrap5-dark.css +1 -1
  44. package/styles/list-box/bootstrap5.css +1 -1
  45. package/styles/list-box/icons/_tailwind-dark.scss +2 -2
  46. package/styles/list-box/tailwind-dark.css +3 -3
  47. package/styles/list-box/tailwind.css +1 -1
  48. package/styles/material-dark.css +94 -0
  49. package/styles/material.css +94 -0
  50. package/styles/multi-select/_layout.scss +116 -0
  51. package/styles/multi-select/_material-dark-definition.scss +22 -0
  52. package/styles/multi-select/_material-definition.scss +22 -0
  53. package/styles/multi-select/material-dark.css +94 -0
  54. package/styles/multi-select/material.css +94 -0
  55. package/styles/tailwind-dark.css +3 -4
  56. package/styles/tailwind.css +1 -2
  57. package/styles/auto-complete/_fluent-definition.scss +0 -2
  58. package/styles/combo-box/_fluent-definition.scss +0 -2
  59. package/styles/drop-down-base/_fluent-definition.scss +0 -109
  60. package/styles/drop-down-list/_fluent-definition.scss +0 -193
  61. package/styles/drop-down-list/icons/_fluent.scss +0 -14
  62. package/styles/drop-down-tree/_fluent-definition.scss +0 -71
  63. package/styles/drop-down-tree/icons/_fluent.scss +0 -11
  64. package/styles/list-box/_fluent-definition.scss +0 -115
  65. package/styles/list-box/icons/_fluent.scss +0 -25
  66. package/styles/multi-select/_fluent-definition.scss +0 -214
  67. package/styles/multi-select/icons/_fluent.scss +0 -27
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 19.4.38
3
+ * version : 19.4.40
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@18.34.12",
3
+ "_id": "@syncfusion/ej2-dropdowns@19.3.56",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-GpZ9oh7UZXwnybsQmiiBdwawlGvjrvCBIG0qtHQ5La0zjOsOKVIYPk3Lu+CvXwLu3FuxLXFCfy5JiBA/AA9WAg==",
5
+ "_integrity": "sha512-swxFfaQGysEl0FHFlWDRqRKJMx3x2cBzkWu0aII2IRfQMjGd79WPOdsdSqDmSxQJOE1v6GiNgrlbyf9irDUIEQ==",
6
6
  "_location": "/@syncfusion/ej2-dropdowns",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -21,6 +21,7 @@
21
21
  "/@syncfusion/ej2",
22
22
  "/@syncfusion/ej2-angular-dropdowns",
23
23
  "/@syncfusion/ej2-documenteditor",
24
+ "/@syncfusion/ej2-filemanager/@syncfusion/ej2-grids",
24
25
  "/@syncfusion/ej2-gantt",
25
26
  "/@syncfusion/ej2-grids",
26
27
  "/@syncfusion/ej2-inplace-editor",
@@ -33,8 +34,8 @@
33
34
  "/@syncfusion/ej2-spreadsheet",
34
35
  "/@syncfusion/ej2-vue-dropdowns"
35
36
  ],
36
- "_resolved": "http://nexus.syncfusion.com/repository/ej2-release/@syncfusion/ej2-dropdowns/-/ej2-dropdowns-18.34.12.tgz",
37
- "_shasum": "0c4856ee2b4172eae286c065c85c47e0ee581236",
37
+ "_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-dropdowns/-/ej2-dropdowns-19.3.56.tgz",
38
+ "_shasum": "8fab90fa06f7b8947bfcab02e078098b513bf98f",
38
39
  "_spec": "@syncfusion/ej2-dropdowns@*",
39
40
  "_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included",
40
41
  "author": {
@@ -46,7 +47,7 @@
46
47
  "@syncfusion/ej2-data": "~19.4.38",
47
48
  "@syncfusion/ej2-inputs": "~19.4.38",
48
49
  "@syncfusion/ej2-lists": "~19.4.38",
49
- "@syncfusion/ej2-navigations": "~19.4.38",
50
+ "@syncfusion/ej2-navigations": "~19.4.40",
50
51
  "@syncfusion/ej2-popups": "~19.4.38"
51
52
  },
52
53
  "deprecated": false,
@@ -72,6 +73,6 @@
72
73
  "module": "./index.js",
73
74
  "name": "@syncfusion/ej2-dropdowns",
74
75
  "typings": "index.d.ts",
75
- "version": "19.4.38",
76
+ "version": "19.4.40",
76
77
  "sideEffects": false
77
78
  }
@@ -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, this.filterType, true);
237
+ var activeItem = Search(inputValue, this.liCollections, 'StartsWith', 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 && !this.isCustomFilter) {
394
+ if (this.liCollections && this.liCollections.length < 0) {
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' | 'EndsWith' | 'Contains';
4
+ export declare type SearchType = 'StartsWith' | 'Equal';
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) || (searchType === 'EndsWith' && text.substr(text.length - queryStr.length) === queryStr) || (searchType === 'Contains' && new RegExp(queryStr, "g").test(text))) {
86
+ if ((searchType === 'Equal' && text === queryStr) || (searchType === 'StartsWith' && text.substr(0, strLength) === queryStr)) {
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' && _this.itemTemplate != null && (ulElement.childElementCount > 0 && ulElement.children[0].childElementCount > 0)) {
496
+ if (_this.getModuleName() === 'multiselect' && (ulElement.childElementCount > 0 && ulElement.children[0].childElementCount > 0)) {
497
497
  _this.updateDataList();
498
498
  }
499
499
  });
@@ -628,22 +628,10 @@ 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
- }
637
631
  }
638
632
  else {
639
633
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
640
634
  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
- }
647
635
  }
648
636
  this.renderReactTemplates();
649
637
  }
@@ -678,6 +678,10 @@ 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;
681
685
  /**
682
686
  * Returns the selected list items.
683
687
  */
@@ -438,6 +438,9 @@ 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
+ }
441
444
  };
442
445
  ListBox.prototype.dragEnd = function (args) {
443
446
  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, 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';
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';
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,8 +795,6 @@ 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;
800
798
  private updateVal;
801
799
  /**
802
800
  * 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,9 +2443,7 @@ 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
- if (this.hideSelectedItem) {
2447
- addClass([li], HIDE_LIST);
2448
- }
2446
+ addClass([li], HIDE_LIST);
2449
2447
  }
2450
2448
  };
2451
2449
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
@@ -3509,25 +3507,6 @@ var MultiSelect = /** @class */ (function (_super) {
3509
3507
  }
3510
3508
  this.renderPopup();
3511
3509
  };
3512
- MultiSelect.prototype.presentItemValue = function (ulElement) {
3513
- var valuecheck = [];
3514
- for (var i = 0; i < this.value.length; i++) {
3515
- var checkEle = this.findListElement(((this.allowFiltering && !isNullOrUndefined(this.mainList)) ? this.mainList : ulElement), 'li', 'data-value', this.value[i]);
3516
- if (!checkEle) {
3517
- valuecheck.push(this.value[i]);
3518
- }
3519
- }
3520
- return valuecheck;
3521
- };
3522
- ;
3523
- MultiSelect.prototype.addNonPresentItems = function (valuecheck, ulElement, list, event) {
3524
- var _this = this;
3525
- this.dataSource.executeQuery(this.getForQuery(valuecheck)).then(function (e) {
3526
- _this.addItem(e.result, list.length);
3527
- _this.updateActionList(ulElement, list, event);
3528
- });
3529
- };
3530
- ;
3531
3510
  MultiSelect.prototype.updateVal = function (newProp, oldProp, prop) {
3532
3511
  if (!this.list) {
3533
3512
  this.onLoadSelect();
@@ -3536,43 +3515,31 @@ var MultiSelect = /** @class */ (function (_super) {
3536
3515
  this.onLoadSelect();
3537
3516
  }
3538
3517
  else {
3539
- var valuecheck = [];
3540
- if (!isNullOrUndefined(this.value) && !this.allowCustomValue) {
3541
- valuecheck = this.presentItemValue(this.ulElement);
3518
+ if (prop === 'text') {
3519
+ this.initialTextUpdate();
3520
+ newProp = this.value;
3542
3521
  }
3543
- if (prop == 'value' && valuecheck.length > 0 && this.dataSource instanceof DataManager && !isNullOrUndefined(this.value)
3544
- && this.listData != null) {
3545
- this.mainData = null;
3546
- this.setDynValue = true;
3547
- this.addNonPresentItems(valuecheck, this.ulElement, this.listData);
3522
+ if (isNullOrUndefined(this.value) || this.value.length === 0) {
3523
+ this.tempValues = oldProp;
3548
3524
  }
3549
- else {
3550
- if (prop === 'text') {
3551
- this.initialTextUpdate();
3552
- newProp = this.value;
3553
- }
3554
- if (isNullOrUndefined(this.value) || this.value.length === 0) {
3555
- this.tempValues = oldProp;
3556
- }
3557
- // eslint-disable-next-line
3558
- if (this.allowCustomValue && (this.mode === 'Default' || this.mode === 'Box') && this.isReact && this.inputFocus
3559
- && this.isPopupOpen() && this.mainData !== this.listData) {
3560
- var list = this.mainList.cloneNode ? this.mainList.cloneNode(true) : this.mainList;
3561
- this.onActionComplete(list, this.mainData);
3562
- }
3563
- this.initialValueUpdate();
3564
- if (this.mode !== 'Box' && !this.inputFocus) {
3565
- this.updateDelimView();
3566
- }
3567
- if (!this.inputFocus) {
3568
- this.refreshInputHight();
3569
- }
3570
- this.refreshPlaceHolder();
3571
- if (this.mode !== 'CheckBox' && this.changeOnBlur) {
3572
- this.updateValueState(null, newProp, oldProp);
3573
- }
3574
- this.checkPlaceholderSize();
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);
3530
+ }
3531
+ this.initialValueUpdate();
3532
+ if (this.mode !== 'Box' && !this.inputFocus) {
3533
+ this.updateDelimView();
3534
+ }
3535
+ if (!this.inputFocus) {
3536
+ this.refreshInputHight();
3575
3537
  }
3538
+ this.refreshPlaceHolder();
3539
+ if (this.mode !== 'CheckBox' && this.changeOnBlur) {
3540
+ this.updateValueState(null, newProp, oldProp);
3541
+ }
3542
+ this.checkPlaceholderSize();
3576
3543
  }
3577
3544
  if (!this.changeOnBlur) {
3578
3545
  this.updateValueState(null, newProp, oldProp);
@@ -0,0 +1,3 @@
1
+ @import 'drop-down-base/all.scss';
2
+ @import 'drop-down-list/all.scss';
3
+ @import 'drop-down-tree/all.scss';
@@ -62,6 +62,7 @@
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;
65
66
  }
66
67
 
67
68
  .e-input-group.e-control-wrapper.e-ddl.e-readonly .e-input[readonly],
@@ -62,6 +62,7 @@
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;
65
66
  }
66
67
 
67
68
  .e-input-group.e-control-wrapper.e-ddl.e-readonly .e-input[readonly],
@@ -453,6 +453,7 @@
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;
456
457
  }
457
458
 
458
459
  .e-input-group.e-control-wrapper.e-ddl.e-readonly .e-input[readonly],
@@ -1136,16 +1137,8 @@ ejs-dropdownlist {
1136
1137
  .e-ddt.e-bigger.e-input-group.e-control-wrapper.e-show-text.e-show-dd-icon .e-clear-icon,
1137
1138
  .e-ddt.e-bigger.e-float-input.e-control-wrapper.e-show-chip.e-show-dd-icon .e-clear-icon,
1138
1139
  .e-ddt.e-bigger.e-float-input.e-control-wrapper.e-show-text.e-show-dd-icon .e-clear-icon {
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;
1140
+ bottom: 6px;
1141
+ right: 33px;
1149
1142
  }
1150
1143
 
1151
1144
  .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,
@@ -1159,7 +1152,8 @@ ejs-dropdownlist {
1159
1152
  .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,
1160
1153
  .e-ddt.e-bigger.e-input-group.e-control-wrapper .e-clear-icon,
1161
1154
  .e-ddt.e-bigger.e-float-input.e-control-wrapper .e-clear-icon {
1162
- min-height: 36px;
1155
+ min-width: 0;
1156
+ padding: 6px;
1163
1157
  }
1164
1158
 
1165
1159
  .e-bigger .e-ddt.e-show-chip .e-chips-close,
@@ -3220,7 +3214,7 @@ ejs-listbox {
3220
3214
  .e-listbox-container .e-list-group-item {
3221
3215
  background-color: #343a40;
3222
3216
  border-color: rgba(0, 0, 0, 0.12);
3223
- color: #000;
3217
+ color: #7b848d;
3224
3218
  font-size: 12px;
3225
3219
  }
3226
3220
 
@@ -453,6 +453,7 @@
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;
456
457
  }
457
458
 
458
459
  .e-input-group.e-control-wrapper.e-ddl.e-readonly .e-input[readonly],
@@ -1136,16 +1137,8 @@ ejs-dropdownlist {
1136
1137
  .e-ddt.e-bigger.e-input-group.e-control-wrapper.e-show-text.e-show-dd-icon .e-clear-icon,
1137
1138
  .e-ddt.e-bigger.e-float-input.e-control-wrapper.e-show-chip.e-show-dd-icon .e-clear-icon,
1138
1139
  .e-ddt.e-bigger.e-float-input.e-control-wrapper.e-show-text.e-show-dd-icon .e-clear-icon {
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;
1140
+ bottom: 6px;
1141
+ right: 33px;
1149
1142
  }
1150
1143
 
1151
1144
  .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,
@@ -1159,7 +1152,8 @@ ejs-dropdownlist {
1159
1152
  .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,
1160
1153
  .e-ddt.e-bigger.e-input-group.e-control-wrapper .e-clear-icon,
1161
1154
  .e-ddt.e-bigger.e-float-input.e-control-wrapper .e-clear-icon {
1162
- min-height: 36px;
1155
+ min-width: 0;
1156
+ padding: 6px;
1163
1157
  }
1164
1158
 
1165
1159
  .e-bigger .e-ddt.e-show-chip .e-chips-close,
@@ -3220,7 +3214,7 @@ ejs-listbox {
3220
3214
  .e-listbox-container .e-list-group-item {
3221
3215
  background-color: #e9ecef;
3222
3216
  border-color: rgba(0, 0, 0, 0.12);
3223
- color: #000;
3217
+ color: #6c757d;
3224
3218
  font-size: 12px;
3225
3219
  }
3226
3220
 
@@ -62,6 +62,7 @@
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;
65
66
  }
66
67
 
67
68
  .e-input-group.e-control-wrapper.e-ddl.e-readonly .e-input[readonly],
@@ -62,6 +62,7 @@
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;
65
66
  }
66
67
 
67
68
  .e-input-group.e-control-wrapper.e-ddl.e-readonly .e-input[readonly],
@@ -105,6 +105,7 @@ $ddl-filter-box-shadow: 0 1.5px 5px -2px $ddl-filter-box-shadow-color !default;
105
105
  .e-input-group#{&}.e-control-wrapper.e-ddl .e-input[readonly],
106
106
  .e-float-input#{&}.e-control-wrapper.e-ddl input[readonly] {
107
107
  background: transparent;
108
+ color: inherit;
108
109
  }
109
110
 
110
111
  .e-input-group.e-control-wrapper.e-ddl.e-readonly .e-input[readonly],
@@ -119,6 +119,7 @@
119
119
  .e-input-group.e-control-wrapper.e-ddl .e-input[readonly],
120
120
  .e-float-input.e-control-wrapper.e-ddl input[readonly] {
121
121
  background: transparent;
122
+ color: inherit;
122
123
  }
123
124
 
124
125
  .e-input-group.e-control-wrapper.e-ddl.e-readonly .e-input[readonly],
@@ -119,6 +119,7 @@
119
119
  .e-input-group.e-control-wrapper.e-ddl .e-input[readonly],
120
120
  .e-float-input.e-control-wrapper.e-ddl input[readonly] {
121
121
  background: transparent;
122
+ color: inherit;
122
123
  }
123
124
 
124
125
  .e-input-group.e-control-wrapper.e-ddl.e-readonly .e-input[readonly],
@@ -12,3 +12,4 @@
12
12
  font-family: 'e-icons';
13
13
  }
14
14
  }
15
+
@@ -1,60 +1,59 @@
1
- // sass-lint:disable-all
2
- $ddt-skin-name: $skin-name !default;
3
- $ddt-box-shadow: none !default;
4
- $ddt-close-icon-bottom: 10px !default;
5
- $ddt-dd-icon-bottom: 0 !default;
6
- $ddt-dd-icon-width: 30px !default;
7
- $ddt-close-icon-width: 20px !default;
8
- $ddt-dd-icon-bigger-bottom: 0 !default;
9
- $ddt-filter-border: 1px solid $border-light !default;
10
- $ddt-filter-top-border: 0 !default;
11
- $ddt-filter-padding: 4px !default;
12
- $ddt-chip-margin: 3px 4px !default;
13
- $ddt-chip-padding: 0 8px 0 8px !default;
14
- $ddt-chip-radius: 4px !default;
15
- $ddt-chip-height: 24px !default;
16
- $ddt-chip-bigger-height: 30px !default;
17
- $ddt-close-icon-bigger-min-height: 36px !default;
18
- $ddt-chip-content-padding: 0 4px 0 0 !default;
19
- $ddt-rtl-chip-content-padding: 0 0 0 4px !default;
20
- $ddt-big-chip-content-padding: 0 8px 0 0 !default;
21
- $ddt-rtl-big-chip-content-padding: 0 0 0 8px !default;
22
- $ddt-chip-close-font: 10px !default;
23
- $ddt-chip-close-height: 16px !default;
24
- $ddt-chip-close-width: 16px !default;
25
- $ddt-last-chip-right-margin: 48px !default;
26
- $ddt-last-chip-bigger-right-margin: 52px !default;
27
- $ddt-select-all-height: 34px !default;
28
- $ddt-select-all-checkbox-margin: 0 8px !default;
29
- $ddt-select-all-text-indent: 0 !default;
30
- $ddt-select-all-bigger-text-indent: 0 !default;
31
- $ddt-select-all-text-font-size: $text-sm !default;
32
- $ddt-popup-reorder-border: $border-light !default;
33
- $ddt-treeview-padding: 0 8px !default;
34
- $ddt-chip-width: calc(100% - 2px) !default;
35
- $ddt-chip-ddi-width: calc(100% - 31px) !default;
36
- $ddt-chip-ci-width: calc(100% - 31px) !default;
37
- $ddt-chip-ddi-ci-width: calc(100% - 62px) !default;
38
- $ddt-big-chip-ddi-width: calc(100% - 37px) !default;
39
- $ddt-big-chip-ci-width: calc(100% - 37px) !default;
40
- $ddt-big-chip-ddi-ci-width: calc(100% - 73px) !default;
41
- $ddt-remains-padding: 0 0 0 8px !default;
42
- $ddt-rtl-remains-padding: 0 8px 0 0 !default;
43
- $ddt-chip-font-size: $text-sm !default;
44
- $ddt-overflow-count-padding: 5px 4px !default;
45
- $ddt-delim-padding : 0 8px !default;
46
- $ddt-delim-bigger-padding: 0 12px !default;
47
- $ddt-remains-count-padding-top: 0 !default;
48
-
49
- // color variables
50
- $ddt-chip-bg-color: $secondary-bg-color !default;
51
- $ddt-popup-background-color: $flyout-bg-color !default;
52
- $ddt-popup-border-color: $border-light !default;
53
- $ddt-chip-close: $secondary-text-color !default;
54
- $ddt-chip-font-color: $secondary-text-color !default;
55
- $ddt-chip-hover-bg-color: $secondary-border-color-hover !default;;
56
- $ddt-chip-hover-font-color: $secondary-text-color-hover !default;
57
- $ddt-nodata-font-color: $content-text-color !default;
58
- $ddt-select-all-font-color: $content-text-color !default;
59
- $ddt-remains-font-color: $content-text-color-alt3 !default;
1
+ // sass-lint:disable-all
2
+ $ddt-skin-name: $skin-name !default;
3
+ $ddt-box-shadow: none !default;
4
+ $ddt-close-icon-bottom: 10px !default;
5
+ $ddt-dd-icon-bottom: 0 !default;
6
+ $ddt-dd-icon-width: 30px !default;
7
+ $ddt-close-icon-width: 20px !default;
8
+ $ddt-dd-icon-bigger-bottom: 0 !default;
9
+ $ddt-filter-border: 1px solid $border-light !default;
10
+ $ddt-filter-top-border: 0 !default;
11
+ $ddt-filter-padding: 4px !default;
12
+ $ddt-chip-margin: 3px 4px !default;
13
+ $ddt-chip-padding: 0 8px 0 8px !default;
14
+ $ddt-chip-radius: 4px !default;
15
+ $ddt-chip-height: 24px !default;
16
+ $ddt-chip-bigger-height: 30px !default;
17
+ $ddt-chip-content-padding: 0 4px 0 0 !default;
18
+ $ddt-rtl-chip-content-padding: 0 0 0 4px !default;
19
+ $ddt-big-chip-content-padding: 0 8px 0 0 !default;
20
+ $ddt-rtl-big-chip-content-padding: 0 0 0 8px !default;
21
+ $ddt-chip-close-font: 10px !default;
22
+ $ddt-chip-close-height: 16px !default;
23
+ $ddt-chip-close-width: 16px !default;
24
+ $ddt-last-chip-right-margin: 48px !default;
25
+ $ddt-last-chip-bigger-right-margin: 52px !default;
26
+ $ddt-select-all-height: 34px !default;
27
+ $ddt-select-all-checkbox-margin: 0 8px !default;
28
+ $ddt-select-all-text-indent: 0 !default;
29
+ $ddt-select-all-bigger-text-indent: 0 !default;
30
+ $ddt-select-all-text-font-size: $text-sm !default;
31
+ $ddt-popup-reorder-border: $border-light !default;
32
+ $ddt-treeview-padding: 0 8px !default;
33
+ $ddt-chip-width: calc(100% - 2px) !default;
34
+ $ddt-chip-ddi-width: calc(100% - 31px) !default;
35
+ $ddt-chip-ci-width: calc(100% - 31px) !default;
36
+ $ddt-chip-ddi-ci-width: calc(100% - 62px) !default;
37
+ $ddt-big-chip-ddi-width: calc(100% - 37px) !default;
38
+ $ddt-big-chip-ci-width: calc(100% - 37px) !default;
39
+ $ddt-big-chip-ddi-ci-width: calc(100% - 73px) !default;
40
+ $ddt-remains-padding: 0 0 0 8px !default;
41
+ $ddt-rtl-remains-padding: 0 8px 0 0 !default;
42
+ $ddt-chip-font-size: $text-sm !default;
43
+ $ddt-overflow-count-padding: 5px 4px !default;
44
+ $ddt-delim-padding : 0 8px !default;
45
+ $ddt-delim-bigger-padding: 0 12px !default;
46
+ $ddt-remains-count-padding-top: 0 !default;
47
+
48
+ // color variables
49
+ $ddt-chip-bg-color: $secondary-bg-color !default;
50
+ $ddt-popup-background-color: $flyout-bg-color !default;
51
+ $ddt-popup-border-color: $border-light !default;
52
+ $ddt-chip-close: $secondary-text-color !default;
53
+ $ddt-chip-font-color: $secondary-text-color !default;
54
+ $ddt-chip-hover-bg-color: $secondary-border-color-hover !default;;
55
+ $ddt-chip-hover-font-color: $secondary-text-color-hover !default;
56
+ $ddt-nodata-font-color: $content-text-color !default;
57
+ $ddt-select-all-font-color: $content-text-color !default;
58
+ $ddt-remains-font-color: $content-text-color-alt3 !default;
60
59
  $ddt-readonly-input-bg-color: $content-bg-color !default;
@@ -88,7 +88,7 @@
88
88
  &.e-show-chip {
89
89
 
90
90
  .e-chips-close {
91
- @if $ddt-skin-name != 'bootstrap5' {
91
+ @if $ddt-skin-name != 'tailwind' and $ddt-skin-name != 'bootstrap5' {
92
92
  line-height: $ddt-chip-icon-line-height;
93
93
  }
94
94
  min-height: $ddt-chip-close-height;
@@ -847,22 +847,14 @@
847
847
  right: 33px;
848
848
  }
849
849
  @else if $ddt-skin-name == 'bootstrap5' {
850
- bottom: auto;
851
- right: 36px;
850
+ bottom: 6px;
851
+ right: 33px;
852
852
  }
853
853
  @else {
854
854
  right: $ddt-dd-icon-bigger-width;
855
855
  }
856
856
  }
857
857
 
858
- @if $ddt-skin-name == 'bootstrap5' {
859
- &.e-show-chip {
860
- &.e-show-dd-icon .e-clear-icon {
861
- bottom: 0;
862
- }
863
- }
864
- }
865
-
866
858
  .e-ddt-icon {
867
859
  bottom: $ddt-dd-icon-bigger-bottom;
868
860
  }
@@ -875,7 +867,7 @@
875
867
  }
876
868
 
877
869
  .e-clear-icon {
878
- @if $ddt-skin-name == 'tailwind' {
870
+ @if $ddt-skin-name == 'tailwind' or $ddt-skin-name == 'bootstrap5' {
879
871
  min-width: 0;
880
872
  padding: 6px;
881
873
  }
@@ -21,7 +21,6 @@ $ddt-big-chip-content-padding: 0 8px 0 0 !default;
21
21
  $ddt-rtl-big-chip-content-padding: 0 0 0 8px !default;
22
22
  $ddt-chip-close-font: 16px !default;
23
23
  $ddt-chip-close-height: 16px !default;
24
- $ddt-chip-icon-line-height: 10px !default;
25
24
  $ddt-chip-close-width: 16px !default;
26
25
  $ddt-last-chip-right-margin: 45px !default;
27
26
  $ddt-last-chip-bigger-right-margin: 52px !default;