@syncfusion/ej2-dropdowns 19.3.43 → 19.3.47
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/.eslintrc.json +244 -0
- package/CHANGELOG.md +28 -0
- 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 +30 -5
- package/dist/es6/ej2-dropdowns.es2015.js.map +1 -1
- package/dist/es6/ej2-dropdowns.es5.js +30 -5
- package/dist/es6/ej2-dropdowns.es5.js.map +1 -1
- package/dist/global/ej2-dropdowns.min.js +2 -2
- package/dist/global/ej2-dropdowns.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +11 -11
- package/src/combo-box/combo-box.js +1 -0
- package/src/drop-down-list/drop-down-list.d.ts +1 -0
- package/src/drop-down-list/drop-down-list.js +12 -0
- package/src/drop-down-tree/drop-down-tree.js +9 -5
- package/src/list-box/list-box.d.ts +4 -0
- package/src/list-box/list-box.js +3 -0
- package/src/multi-select/multi-select.js +5 -0
- package/styles/auto-complete/bootstrap4.css +5 -0
- package/styles/auto-complete/bootstrap5-dark.css +5 -0
- package/styles/auto-complete/bootstrap5.css +5 -0
- package/styles/bootstrap4.css +5 -0
- package/styles/bootstrap5-dark.css +5 -0
- package/styles/bootstrap5.css +5 -0
- package/styles/combo-box/bootstrap4.css +5 -0
- package/styles/combo-box/bootstrap5-dark.css +5 -0
- package/styles/combo-box/bootstrap5.css +5 -0
- package/styles/drop-down-list/_bootstrap4-definition.scss +6 -0
- package/styles/drop-down-list/_bootstrap5-definition.scss +6 -0
- package/styles/drop-down-list/bootstrap4.css +5 -0
- package/styles/drop-down-list/bootstrap5-dark.css +5 -0
- package/styles/drop-down-list/bootstrap5.css +5 -0
- package/styles/drop-down-tree/_layout.scss +461 -1
- package/styles/drop-down-tree/_material-dark-definition.scss +6 -1
- package/styles/drop-down-tree/_material-definition.scss +6 -1
- package/styles/drop-down-tree/_theme.scss +8 -0
- package/styles/drop-down-tree/material-dark.css +402 -1
- package/styles/drop-down-tree/material.css +402 -1
- package/styles/material-dark.css +496 -1
- package/styles/material.css +496 -1
- package/styles/multi-select/_layout.scss +116 -0
- package/styles/multi-select/_material-dark-definition.scss +22 -0
- package/styles/multi-select/_material-definition.scss +22 -0
- package/styles/multi-select/material-dark.css +94 -0
- package/styles/multi-select/material.css +94 -0
- package/tslint.json +111 -0
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 19.3.
|
|
3
|
+
* version : 19.3.47
|
|
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@
|
|
3
|
+
"_id": "@syncfusion/ej2-dropdowns@19.3.46",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-1s/sRzEruRPBWzxdT4RnWeLpg8rERIFNMtTPG0BX9syh6Ke1IOV24+Rafjmjc3q0nZlA4/4dJfxmYQkqrDEa7g==",
|
|
6
6
|
"_location": "/@syncfusion/ej2-dropdowns",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
"/@syncfusion/ej2-spreadsheet",
|
|
34
34
|
"/@syncfusion/ej2-vue-dropdowns"
|
|
35
35
|
],
|
|
36
|
-
"_resolved": "http://nexus.syncfusion.com/repository/ej2-
|
|
37
|
-
"_shasum": "
|
|
36
|
+
"_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix/@syncfusion/ej2-dropdowns/-/ej2-dropdowns-19.3.46.tgz",
|
|
37
|
+
"_shasum": "23c4b20999a8bbff002f3c6607dbd30afc4e020c",
|
|
38
38
|
"_spec": "@syncfusion/ej2-dropdowns@*",
|
|
39
39
|
"_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included",
|
|
40
40
|
"author": {
|
|
@@ -42,12 +42,12 @@
|
|
|
42
42
|
},
|
|
43
43
|
"bundleDependencies": false,
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@syncfusion/ej2-base": "~19.3.
|
|
46
|
-
"@syncfusion/ej2-data": "~19.3.
|
|
47
|
-
"@syncfusion/ej2-inputs": "~19.3.
|
|
48
|
-
"@syncfusion/ej2-lists": "~19.3.
|
|
49
|
-
"@syncfusion/ej2-navigations": "~19.3.
|
|
50
|
-
"@syncfusion/ej2-popups": "~19.3.
|
|
45
|
+
"@syncfusion/ej2-base": "~19.3.47",
|
|
46
|
+
"@syncfusion/ej2-data": "~19.3.47",
|
|
47
|
+
"@syncfusion/ej2-inputs": "~19.3.47",
|
|
48
|
+
"@syncfusion/ej2-lists": "~19.3.45",
|
|
49
|
+
"@syncfusion/ej2-navigations": "~19.3.46",
|
|
50
|
+
"@syncfusion/ej2-popups": "~19.3.47"
|
|
51
51
|
},
|
|
52
52
|
"deprecated": false,
|
|
53
53
|
"description": "Essential JS 2 DropDown Components",
|
|
@@ -72,6 +72,6 @@
|
|
|
72
72
|
"module": "./index.js",
|
|
73
73
|
"name": "@syncfusion/ej2-dropdowns",
|
|
74
74
|
"typings": "index.d.ts",
|
|
75
|
-
"version": "19.3.
|
|
75
|
+
"version": "19.3.47",
|
|
76
76
|
"sideEffects": false
|
|
77
77
|
}
|
|
@@ -583,6 +583,7 @@ var ComboBox = /** @class */ (function (_super) {
|
|
|
583
583
|
EventHandler.add(this.inputElement, 'keyup', this.onFilterUp, this);
|
|
584
584
|
EventHandler.add(this.inputElement, 'keydown', this.onFilterDown, this);
|
|
585
585
|
}
|
|
586
|
+
this.setReadOnly();
|
|
586
587
|
break;
|
|
587
588
|
case 'allowFiltering':
|
|
588
589
|
this.setSearchBox();
|
|
@@ -528,6 +528,7 @@ export declare class DropDownList extends DropDownBase implements IInput {
|
|
|
528
528
|
onPropertyChanged(newProp: DropDownListModel, oldProp: DropDownListModel): void;
|
|
529
529
|
private checkValidLi;
|
|
530
530
|
private setSelectionData;
|
|
531
|
+
protected setReadOnly(): void;
|
|
531
532
|
private setCssClass;
|
|
532
533
|
/**
|
|
533
534
|
* Return the module name of this component.
|
|
@@ -2068,6 +2068,7 @@ var DropDownList = /** @class */ (function (_super) {
|
|
|
2068
2068
|
});
|
|
2069
2069
|
prepend([this.hiddenElement], this.inputWrapper.container);
|
|
2070
2070
|
this.validationAttribute(this.element, this.hiddenElement);
|
|
2071
|
+
this.setReadOnly();
|
|
2071
2072
|
this.setFields();
|
|
2072
2073
|
this.inputWrapper.container.style.width = formatUnit(this.width);
|
|
2073
2074
|
this.inputWrapper.container.classList.add('e-ddl');
|
|
@@ -2195,6 +2196,8 @@ var DropDownList = /** @class */ (function (_super) {
|
|
|
2195
2196
|
this.actionData = this.actionCompleteData;
|
|
2196
2197
|
}
|
|
2197
2198
|
else if (this.allowFiltering && newProp.query && !isNullOrUndefined(Object.keys(newProp.query))) {
|
|
2199
|
+
this.actionCompleteData = this.getModuleName() === 'combobox' ?
|
|
2200
|
+
{ ulElement: null, list: null, isUpdated: false } : this.actionCompleteData;
|
|
2198
2201
|
this.actionData = this.actionCompleteData;
|
|
2199
2202
|
}
|
|
2200
2203
|
};
|
|
@@ -2262,6 +2265,7 @@ var DropDownList = /** @class */ (function (_super) {
|
|
|
2262
2265
|
if (this.getModuleName() !== 'dropdownlist') {
|
|
2263
2266
|
Input.setReadonly(newProp.readonly, this.inputElement);
|
|
2264
2267
|
}
|
|
2268
|
+
this.setReadOnly();
|
|
2265
2269
|
break;
|
|
2266
2270
|
case 'cssClass':
|
|
2267
2271
|
this.setCssClass(newProp.cssClass, oldProp.cssClass);
|
|
@@ -2421,6 +2425,14 @@ var DropDownList = /** @class */ (function (_super) {
|
|
|
2421
2425
|
}
|
|
2422
2426
|
};
|
|
2423
2427
|
};
|
|
2428
|
+
DropDownList.prototype.setReadOnly = function () {
|
|
2429
|
+
if (this.readonly) {
|
|
2430
|
+
addClass([this.inputWrapper.container], ['e-readonly']);
|
|
2431
|
+
}
|
|
2432
|
+
else {
|
|
2433
|
+
removeClass([this.inputWrapper.container], ['e-readonly']);
|
|
2434
|
+
}
|
|
2435
|
+
};
|
|
2424
2436
|
DropDownList.prototype.setCssClass = function (newClass, oldClass) {
|
|
2425
2437
|
if (!isNullOrUndefined(oldClass)) {
|
|
2426
2438
|
oldClass = (oldClass.replace(/\s+/g, ' ')).trim();
|
|
@@ -289,9 +289,9 @@ var DropDownTree = /** @class */ (function (_super) {
|
|
|
289
289
|
this.createClearIcon();
|
|
290
290
|
this.inputWrapper.classList.add(DROPDOWNTREE);
|
|
291
291
|
this.setElementWidth(this.width);
|
|
292
|
-
this.setAttributes();
|
|
293
292
|
this.updateDataAttribute();
|
|
294
293
|
this.setHTMLAttributes();
|
|
294
|
+
this.setAttributes();
|
|
295
295
|
this.popupDiv = this.createElement('div', { className: CONTENT, attrs: { 'tabindex': '0' } });
|
|
296
296
|
this.popupDiv.classList.add(DROPDOWN);
|
|
297
297
|
this.tree = this.createElement('div', { id: this.element.id + '_tree' });
|
|
@@ -579,9 +579,6 @@ var DropDownTree = /** @class */ (function (_super) {
|
|
|
579
579
|
this.isClearButtonClick = false;
|
|
580
580
|
return;
|
|
581
581
|
}
|
|
582
|
-
if (!this.wrapText && e.target.classList.contains(CHIP_CLOSE)) {
|
|
583
|
-
this.removeChip(e);
|
|
584
|
-
}
|
|
585
582
|
if (this.isPopupOpen) {
|
|
586
583
|
this.hidePopup();
|
|
587
584
|
}
|
|
@@ -813,11 +810,18 @@ var DropDownTree = /** @class */ (function (_super) {
|
|
|
813
810
|
switch (e.action) {
|
|
814
811
|
case 'escape':
|
|
815
812
|
case 'altUp':
|
|
813
|
+
if (_this.isPopupOpen) {
|
|
814
|
+
_this.hidePopup();
|
|
815
|
+
}
|
|
816
|
+
break;
|
|
816
817
|
case 'shiftTab':
|
|
817
818
|
case 'tab':
|
|
818
819
|
if (_this.isPopupOpen) {
|
|
819
820
|
_this.hidePopup();
|
|
820
821
|
}
|
|
822
|
+
if (_this.inputFocus) {
|
|
823
|
+
_this.onFocusOut();
|
|
824
|
+
}
|
|
821
825
|
break;
|
|
822
826
|
case 'altDown':
|
|
823
827
|
if (!_this.isPopupOpen) {
|
|
@@ -1188,7 +1192,7 @@ var DropDownTree = /** @class */ (function (_super) {
|
|
|
1188
1192
|
}
|
|
1189
1193
|
};
|
|
1190
1194
|
DropDownTree.prototype.setAttributes = function () {
|
|
1191
|
-
this.
|
|
1195
|
+
this.inputEle.setAttribute('tabindex', '-1');
|
|
1192
1196
|
var id = this.element.getAttribute('id');
|
|
1193
1197
|
this.hiddenElement.id = id + '_hidden';
|
|
1194
1198
|
this.inputWrapper.setAttribute('tabindex', '0');
|
|
@@ -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
|
*/
|
package/src/list-box/list-box.js
CHANGED
|
@@ -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;
|
|
@@ -2388,6 +2388,7 @@ var MultiSelect = /** @class */ (function (_super) {
|
|
|
2388
2388
|
setValue(this.fields.value, value, newValue);
|
|
2389
2389
|
var noDataEle = this.popupWrapper.querySelector('.' + dropDownBaseClasses.noData);
|
|
2390
2390
|
this.addItem(newValue, indexItem);
|
|
2391
|
+
element = element ? element : this.findListElement(this.hideSelectedItem ? this.ulElement : this.list, 'li', 'data-value', value);
|
|
2391
2392
|
if (this.popupWrapper.contains(noDataEle)) {
|
|
2392
2393
|
this.list.setAttribute('style', noDataEle.getAttribute('style'));
|
|
2393
2394
|
this.popupWrapper.replaceChild(this.list, noDataEle);
|
|
@@ -2436,6 +2437,10 @@ var MultiSelect = /** @class */ (function (_super) {
|
|
|
2436
2437
|
this.popupObj = null;
|
|
2437
2438
|
this.renderPopup();
|
|
2438
2439
|
}
|
|
2440
|
+
else if (this.allowCustomValue) {
|
|
2441
|
+
this.list = list;
|
|
2442
|
+
this.mainList = this.ulElement = list.querySelector('ul');
|
|
2443
|
+
}
|
|
2439
2444
|
};
|
|
2440
2445
|
MultiSelect.prototype.updateDataList = function () {
|
|
2441
2446
|
if (this.mainList && this.ulElement && this.mainList.childElementCount < this.ulElement.childElementCount) {
|
|
@@ -68,6 +68,11 @@
|
|
|
68
68
|
background: transparent;
|
|
69
69
|
}
|
|
70
70
|
|
|
71
|
+
.e-input-group.e-control-wrapper.e-ddl.e-readonly .e-input[readonly],
|
|
72
|
+
.e-float-input.e-control-wrapper.e-ddl.e-readonly input[readonly] {
|
|
73
|
+
background: #e9ecef;
|
|
74
|
+
}
|
|
75
|
+
|
|
71
76
|
.e-input-group:not(.e-disabled) .e-control.e-dropdownlist ~ .e-ddl-icon:active,
|
|
72
77
|
.e-input-group:not(.e-disabled) .e-control.e-dropdownlist ~ .e-ddl-icon:hover,
|
|
73
78
|
.e-control.e-dropdownlist .e-input-group:not(.e-disabled) .e-ddl-icon:active,
|
|
@@ -64,6 +64,11 @@
|
|
|
64
64
|
background: transparent;
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
+
.e-input-group.e-control-wrapper.e-ddl.e-readonly .e-input[readonly],
|
|
68
|
+
.e-float-input.e-control-wrapper.e-ddl.e-readonly input[readonly] {
|
|
69
|
+
background: #343a40;
|
|
70
|
+
}
|
|
71
|
+
|
|
67
72
|
.e-input-group:not(.e-disabled) .e-control.e-dropdownlist ~ .e-ddl-icon:active,
|
|
68
73
|
.e-input-group:not(.e-disabled) .e-control.e-dropdownlist ~ .e-ddl-icon:hover,
|
|
69
74
|
.e-control.e-dropdownlist .e-input-group:not(.e-disabled) .e-ddl-icon:active,
|
|
@@ -64,6 +64,11 @@
|
|
|
64
64
|
background: transparent;
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
+
.e-input-group.e-control-wrapper.e-ddl.e-readonly .e-input[readonly],
|
|
68
|
+
.e-float-input.e-control-wrapper.e-ddl.e-readonly input[readonly] {
|
|
69
|
+
background: #e9ecef;
|
|
70
|
+
}
|
|
71
|
+
|
|
67
72
|
.e-input-group:not(.e-disabled) .e-control.e-dropdownlist ~ .e-ddl-icon:active,
|
|
68
73
|
.e-input-group:not(.e-disabled) .e-control.e-dropdownlist ~ .e-ddl-icon:hover,
|
|
69
74
|
.e-control.e-dropdownlist .e-input-group:not(.e-disabled) .e-ddl-icon:active,
|
package/styles/bootstrap4.css
CHANGED
|
@@ -449,6 +449,11 @@
|
|
|
449
449
|
background: transparent;
|
|
450
450
|
}
|
|
451
451
|
|
|
452
|
+
.e-input-group.e-control-wrapper.e-ddl.e-readonly .e-input[readonly],
|
|
453
|
+
.e-float-input.e-control-wrapper.e-ddl.e-readonly input[readonly] {
|
|
454
|
+
background: #e9ecef;
|
|
455
|
+
}
|
|
456
|
+
|
|
452
457
|
.e-input-group:not(.e-disabled) .e-control.e-dropdownlist ~ .e-ddl-icon:active,
|
|
453
458
|
.e-input-group:not(.e-disabled) .e-control.e-dropdownlist ~ .e-ddl-icon:hover,
|
|
454
459
|
.e-control.e-dropdownlist .e-input-group:not(.e-disabled) .e-ddl-icon:active,
|
|
@@ -455,6 +455,11 @@
|
|
|
455
455
|
background: transparent;
|
|
456
456
|
}
|
|
457
457
|
|
|
458
|
+
.e-input-group.e-control-wrapper.e-ddl.e-readonly .e-input[readonly],
|
|
459
|
+
.e-float-input.e-control-wrapper.e-ddl.e-readonly input[readonly] {
|
|
460
|
+
background: #343a40;
|
|
461
|
+
}
|
|
462
|
+
|
|
458
463
|
.e-input-group:not(.e-disabled) .e-control.e-dropdownlist ~ .e-ddl-icon:active,
|
|
459
464
|
.e-input-group:not(.e-disabled) .e-control.e-dropdownlist ~ .e-ddl-icon:hover,
|
|
460
465
|
.e-control.e-dropdownlist .e-input-group:not(.e-disabled) .e-ddl-icon:active,
|
package/styles/bootstrap5.css
CHANGED
|
@@ -455,6 +455,11 @@
|
|
|
455
455
|
background: transparent;
|
|
456
456
|
}
|
|
457
457
|
|
|
458
|
+
.e-input-group.e-control-wrapper.e-ddl.e-readonly .e-input[readonly],
|
|
459
|
+
.e-float-input.e-control-wrapper.e-ddl.e-readonly input[readonly] {
|
|
460
|
+
background: #e9ecef;
|
|
461
|
+
}
|
|
462
|
+
|
|
458
463
|
.e-input-group:not(.e-disabled) .e-control.e-dropdownlist ~ .e-ddl-icon:active,
|
|
459
464
|
.e-input-group:not(.e-disabled) .e-control.e-dropdownlist ~ .e-ddl-icon:hover,
|
|
460
465
|
.e-control.e-dropdownlist .e-input-group:not(.e-disabled) .e-ddl-icon:active,
|
|
@@ -68,6 +68,11 @@
|
|
|
68
68
|
background: transparent;
|
|
69
69
|
}
|
|
70
70
|
|
|
71
|
+
.e-input-group.e-control-wrapper.e-ddl.e-readonly .e-input[readonly],
|
|
72
|
+
.e-float-input.e-control-wrapper.e-ddl.e-readonly input[readonly] {
|
|
73
|
+
background: #e9ecef;
|
|
74
|
+
}
|
|
75
|
+
|
|
71
76
|
.e-input-group:not(.e-disabled) .e-control.e-dropdownlist ~ .e-ddl-icon:active,
|
|
72
77
|
.e-input-group:not(.e-disabled) .e-control.e-dropdownlist ~ .e-ddl-icon:hover,
|
|
73
78
|
.e-control.e-dropdownlist .e-input-group:not(.e-disabled) .e-ddl-icon:active,
|
|
@@ -64,6 +64,11 @@
|
|
|
64
64
|
background: transparent;
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
+
.e-input-group.e-control-wrapper.e-ddl.e-readonly .e-input[readonly],
|
|
68
|
+
.e-float-input.e-control-wrapper.e-ddl.e-readonly input[readonly] {
|
|
69
|
+
background: #343a40;
|
|
70
|
+
}
|
|
71
|
+
|
|
67
72
|
.e-input-group:not(.e-disabled) .e-control.e-dropdownlist ~ .e-ddl-icon:active,
|
|
68
73
|
.e-input-group:not(.e-disabled) .e-control.e-dropdownlist ~ .e-ddl-icon:hover,
|
|
69
74
|
.e-control.e-dropdownlist .e-input-group:not(.e-disabled) .e-ddl-icon:active,
|
|
@@ -64,6 +64,11 @@
|
|
|
64
64
|
background: transparent;
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
+
.e-input-group.e-control-wrapper.e-ddl.e-readonly .e-input[readonly],
|
|
68
|
+
.e-float-input.e-control-wrapper.e-ddl.e-readonly input[readonly] {
|
|
69
|
+
background: #e9ecef;
|
|
70
|
+
}
|
|
71
|
+
|
|
67
72
|
.e-input-group:not(.e-disabled) .e-control.e-dropdownlist ~ .e-ddl-icon:active,
|
|
68
73
|
.e-input-group:not(.e-disabled) .e-control.e-dropdownlist ~ .e-ddl-icon:hover,
|
|
69
74
|
.e-control.e-dropdownlist .e-input-group:not(.e-disabled) .e-ddl-icon:active,
|
|
@@ -23,6 +23,7 @@ $ddl-back-icon-margin: -2px 10px 0 -54px !default;
|
|
|
23
23
|
$ddl-back-icon-padding: 0 !default;
|
|
24
24
|
$ddl-icon-color: rgba($black, .5) !default;
|
|
25
25
|
$ddl-icon-hover-color: rgba($black, .4) !default;
|
|
26
|
+
$ddl-readonly-bg-color: $gray-200 !default;
|
|
26
27
|
|
|
27
28
|
// small size
|
|
28
29
|
$ddl-small-list-font-size: 13px !default;
|
|
@@ -106,6 +107,11 @@ $ddl-bigger-small-list-font-size: 14px !default;
|
|
|
106
107
|
background: transparent;
|
|
107
108
|
}
|
|
108
109
|
|
|
110
|
+
.e-input-group.e-control-wrapper.e-ddl.e-readonly .e-input[readonly],
|
|
111
|
+
.e-float-input.e-control-wrapper.e-ddl.e-readonly input[readonly] {
|
|
112
|
+
background: $ddl-readonly-bg-color;
|
|
113
|
+
}
|
|
114
|
+
|
|
109
115
|
.e-input-group:not(.e-disabled) .e-control#{&}.e-dropdownlist ~ .e-ddl-icon:active,
|
|
110
116
|
.e-input-group:not(.e-disabled) .e-control#{&}.e-dropdownlist ~ .e-ddl-icon:hover,
|
|
111
117
|
.e-control#{&}.e-dropdownlist .e-input-group:not(.e-disabled) .e-ddl-icon:active,
|
|
@@ -15,6 +15,7 @@ $ddl-clear-icon-margin-right: 66px !default;
|
|
|
15
15
|
$ddl-back-icon-margin: 0 10px 0 -52px !default;
|
|
16
16
|
$ddl-back-icon-padding: 0 8px !default;
|
|
17
17
|
$ddl-popup-shadow: $shadow-lg !default;
|
|
18
|
+
$ddl-readonly-bg-color: $content-bg-color-alt2 !default;
|
|
18
19
|
|
|
19
20
|
// Small Size
|
|
20
21
|
$ddl-small-list-font-size: $text-xs !default;
|
|
@@ -106,6 +107,11 @@ $ddl-filter-box-shadow: 0 1.5px 5px -2px $ddl-filter-box-shadow-color !default;
|
|
|
106
107
|
background: transparent;
|
|
107
108
|
}
|
|
108
109
|
|
|
110
|
+
.e-input-group.e-control-wrapper.e-ddl.e-readonly .e-input[readonly],
|
|
111
|
+
.e-float-input.e-control-wrapper.e-ddl.e-readonly input[readonly] {
|
|
112
|
+
background: $ddl-readonly-bg-color;
|
|
113
|
+
}
|
|
114
|
+
|
|
109
115
|
.e-input-group:not(.e-disabled) .e-control#{&}.e-dropdownlist ~ .e-ddl-icon:active,
|
|
110
116
|
.e-input-group:not(.e-disabled) .e-control#{&}.e-dropdownlist ~ .e-ddl-icon:hover,
|
|
111
117
|
.e-control#{&}.e-dropdownlist .e-input-group:not(.e-disabled) .e-ddl-icon:active,
|
|
@@ -117,6 +117,11 @@
|
|
|
117
117
|
background: transparent;
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
+
.e-input-group.e-control-wrapper.e-ddl.e-readonly .e-input[readonly],
|
|
121
|
+
.e-float-input.e-control-wrapper.e-ddl.e-readonly input[readonly] {
|
|
122
|
+
background: #e9ecef;
|
|
123
|
+
}
|
|
124
|
+
|
|
120
125
|
.e-input-group:not(.e-disabled) .e-control.e-dropdownlist ~ .e-ddl-icon:active,
|
|
121
126
|
.e-input-group:not(.e-disabled) .e-control.e-dropdownlist ~ .e-ddl-icon:hover,
|
|
122
127
|
.e-control.e-dropdownlist .e-input-group:not(.e-disabled) .e-ddl-icon:active,
|
|
@@ -121,6 +121,11 @@
|
|
|
121
121
|
background: transparent;
|
|
122
122
|
}
|
|
123
123
|
|
|
124
|
+
.e-input-group.e-control-wrapper.e-ddl.e-readonly .e-input[readonly],
|
|
125
|
+
.e-float-input.e-control-wrapper.e-ddl.e-readonly input[readonly] {
|
|
126
|
+
background: #343a40;
|
|
127
|
+
}
|
|
128
|
+
|
|
124
129
|
.e-input-group:not(.e-disabled) .e-control.e-dropdownlist ~ .e-ddl-icon:active,
|
|
125
130
|
.e-input-group:not(.e-disabled) .e-control.e-dropdownlist ~ .e-ddl-icon:hover,
|
|
126
131
|
.e-control.e-dropdownlist .e-input-group:not(.e-disabled) .e-ddl-icon:active,
|
|
@@ -121,6 +121,11 @@
|
|
|
121
121
|
background: transparent;
|
|
122
122
|
}
|
|
123
123
|
|
|
124
|
+
.e-input-group.e-control-wrapper.e-ddl.e-readonly .e-input[readonly],
|
|
125
|
+
.e-float-input.e-control-wrapper.e-ddl.e-readonly input[readonly] {
|
|
126
|
+
background: #e9ecef;
|
|
127
|
+
}
|
|
128
|
+
|
|
124
129
|
.e-input-group:not(.e-disabled) .e-control.e-dropdownlist ~ .e-ddl-icon:active,
|
|
125
130
|
.e-input-group:not(.e-disabled) .e-control.e-dropdownlist ~ .e-ddl-icon:hover,
|
|
126
131
|
.e-control.e-dropdownlist .e-input-group:not(.e-disabled) .e-ddl-icon:active,
|