@syncfusion/ej2-dropdowns 26.1.40 → 26.1.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ej2-dropdowns.min.js +2 -2
- package/dist/ej2-dropdowns.umd.min.js +2 -2
- package/dist/ej2-dropdowns.umd.min.js.map +1 -1
- package/dist/es6/ej2-dropdowns.es2015.js +17 -6
- package/dist/es6/ej2-dropdowns.es2015.js.map +1 -1
- package/dist/es6/ej2-dropdowns.es5.js +17 -6
- 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 +9 -9
- package/src/drop-down-list/drop-down-list.js +8 -6
- package/src/drop-down-tree/drop-down-tree.js +3 -0
- package/src/list-box/list-box.js +6 -0
- package/styles/bootstrap-dark.css +1 -1
- package/styles/bootstrap.css +1 -1
- package/styles/bootstrap4.css +1 -1
- package/styles/bootstrap5-dark.css +1 -1
- package/styles/bootstrap5.css +1 -1
- package/styles/drop-down-tree/_layout.scss +1 -1
- package/styles/drop-down-tree/bootstrap-dark.css +1 -1
- package/styles/drop-down-tree/bootstrap.css +1 -1
- package/styles/drop-down-tree/bootstrap4.css +1 -1
- package/styles/drop-down-tree/bootstrap5-dark.css +1 -1
- package/styles/drop-down-tree/bootstrap5.css +1 -1
- package/styles/drop-down-tree/fabric-dark.css +1 -1
- package/styles/drop-down-tree/fabric.css +1 -1
- package/styles/drop-down-tree/fluent-dark.css +1 -1
- package/styles/drop-down-tree/fluent.css +1 -1
- package/styles/drop-down-tree/fluent2.css +1 -1
- package/styles/drop-down-tree/highcontrast-light.css +1 -1
- package/styles/drop-down-tree/highcontrast.css +1 -1
- package/styles/drop-down-tree/material-dark.css +1 -1
- package/styles/drop-down-tree/material.css +1 -1
- package/styles/drop-down-tree/material3-dark.css +1 -1
- package/styles/drop-down-tree/material3.css +1 -1
- package/styles/drop-down-tree/tailwind-dark.css +1 -1
- package/styles/drop-down-tree/tailwind.css +1 -1
- package/styles/fabric-dark.css +1 -1
- package/styles/fabric.css +1 -1
- package/styles/fluent-dark.css +1 -1
- package/styles/fluent.css +1 -1
- package/styles/fluent2.css +3 -2
- package/styles/highcontrast-light.css +1 -1
- package/styles/highcontrast.css +1 -1
- package/styles/material-dark.css +1 -1
- package/styles/material.css +1 -1
- package/styles/material3-dark.css +1 -1
- package/styles/material3.css +1 -1
- package/styles/multi-select/_fluent2-definition.scss +2 -1
- package/styles/multi-select/_theme.scss +3 -0
- package/styles/multi-select/fluent2.css +2 -1
- package/styles/tailwind-dark.css +1 -1
- package/styles/tailwind.css +1 -1
- package/.eslintrc.json +0 -261
- package/tslint.json +0 -111
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 26.1.
|
|
3
|
+
* version : 26.1.41
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2023. 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@26.1.
|
|
3
|
+
"_id": "@syncfusion/ej2-dropdowns@26.1.40",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-46wsnnD/li+mnQiUZhf2KWrLIFRT/shD611wyMhaV7ODT+2ZvOD5mOrh71gYynMICY126Kzzxe4F3gdjasT4Kw==",
|
|
6
6
|
"_location": "/@syncfusion/ej2-dropdowns",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
"/@syncfusion/ej2-spreadsheet",
|
|
36
36
|
"/@syncfusion/ej2-vue-dropdowns"
|
|
37
37
|
],
|
|
38
|
-
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-dropdowns/-/ej2-dropdowns-26.1.
|
|
39
|
-
"_shasum": "
|
|
38
|
+
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-dropdowns/-/ej2-dropdowns-26.1.40.tgz",
|
|
39
|
+
"_shasum": "9852b08ad6e71686b9266207a21399eb21170fd0",
|
|
40
40
|
"_spec": "@syncfusion/ej2-dropdowns@*",
|
|
41
41
|
"_where": "/jenkins/workspace/elease-automation_release_26.1.1/packages/included",
|
|
42
42
|
"author": {
|
|
@@ -45,12 +45,12 @@
|
|
|
45
45
|
"bundleDependencies": false,
|
|
46
46
|
"dependencies": {
|
|
47
47
|
"@syncfusion/ej2-base": "~26.1.37",
|
|
48
|
-
"@syncfusion/ej2-data": "~26.1.
|
|
49
|
-
"@syncfusion/ej2-inputs": "~26.1.
|
|
48
|
+
"@syncfusion/ej2-data": "~26.1.41",
|
|
49
|
+
"@syncfusion/ej2-inputs": "~26.1.41",
|
|
50
50
|
"@syncfusion/ej2-lists": "~26.1.35",
|
|
51
|
-
"@syncfusion/ej2-navigations": "~26.1.
|
|
51
|
+
"@syncfusion/ej2-navigations": "~26.1.41",
|
|
52
52
|
"@syncfusion/ej2-notifications": "~26.1.35",
|
|
53
|
-
"@syncfusion/ej2-popups": "~26.1.
|
|
53
|
+
"@syncfusion/ej2-popups": "~26.1.41"
|
|
54
54
|
},
|
|
55
55
|
"deprecated": false,
|
|
56
56
|
"description": "Essential JS 2 DropDown Components",
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"module": "./index.js",
|
|
76
76
|
"name": "@syncfusion/ej2-dropdowns",
|
|
77
77
|
"typings": "index.d.ts",
|
|
78
|
-
"version": "26.1.
|
|
78
|
+
"version": "26.1.41",
|
|
79
79
|
"sideEffects": false,
|
|
80
80
|
"homepage": "https://www.syncfusion.com/javascript-ui-controls"
|
|
81
81
|
}
|
|
@@ -3948,12 +3948,14 @@ var DropDownList = /** @class */ (function (_super) {
|
|
|
3948
3948
|
Input.setValue('', this.inputElement, this.floatLabelType, this.showClearButton);
|
|
3949
3949
|
}
|
|
3950
3950
|
this.element.style.display = 'block';
|
|
3951
|
-
if (this.inputWrapper.container
|
|
3952
|
-
|
|
3953
|
-
|
|
3954
|
-
|
|
3955
|
-
|
|
3956
|
-
|
|
3951
|
+
if (this.inputWrapper.container && this.inputWrapper.container.parentElement) {
|
|
3952
|
+
if (this.inputWrapper.container.parentElement.tagName === this.getNgDirective()) {
|
|
3953
|
+
detach(this.inputWrapper.container);
|
|
3954
|
+
}
|
|
3955
|
+
else {
|
|
3956
|
+
this.inputWrapper.container.parentElement.insertBefore(this.element, this.inputWrapper.container);
|
|
3957
|
+
detach(this.inputWrapper.container);
|
|
3958
|
+
}
|
|
3957
3959
|
}
|
|
3958
3960
|
delete this.hiddenElement;
|
|
3959
3961
|
this.filterInput = null;
|
|
@@ -415,6 +415,7 @@ var DropDownTree = /** @class */ (function (_super) {
|
|
|
415
415
|
_this.isFilteredData = false;
|
|
416
416
|
_this.isFilterRestore = true;
|
|
417
417
|
fields = _this.cloneFields(_this.fields);
|
|
418
|
+
_this.treeObj.element.classList.remove('e-filtering');
|
|
418
419
|
}
|
|
419
420
|
else if (args.preventDefaultAction) {
|
|
420
421
|
fields = args.fields;
|
|
@@ -435,6 +436,7 @@ var DropDownTree = /** @class */ (function (_super) {
|
|
|
435
436
|
fields = _this.nestedFilter(args.text, args.fields);
|
|
436
437
|
}
|
|
437
438
|
}
|
|
439
|
+
_this.treeObj.element.classList.add('e-filtering');
|
|
438
440
|
}
|
|
439
441
|
_this.hideCheckAll(_this.isFilteredData);
|
|
440
442
|
if (flag) {
|
|
@@ -1531,6 +1533,7 @@ var DropDownTree = /** @class */ (function (_super) {
|
|
|
1531
1533
|
DropDownTree.prototype.renderPopup = function () {
|
|
1532
1534
|
var _this = this;
|
|
1533
1535
|
if (this.isFilteredData) {
|
|
1536
|
+
this.treeObj.element.classList.remove('e-filtering');
|
|
1534
1537
|
this.filterObj.value = '';
|
|
1535
1538
|
this.treeObj.fields = this.getTreeFields(this.fields);
|
|
1536
1539
|
this.isFilterRestore = true;
|
package/src/list-box/list-box.js
CHANGED
|
@@ -116,6 +116,9 @@ var ListBox = /** @class */ (function (_super) {
|
|
|
116
116
|
*/
|
|
117
117
|
ListBox.prototype.addItem = function (items, itemIndex) {
|
|
118
118
|
_super.prototype.addItem.call(this, items, itemIndex);
|
|
119
|
+
if (this.allowFiltering && this.filterInput.value !== '') {
|
|
120
|
+
this.filteringAction(this.jsonData, new Query(), this.fields);
|
|
121
|
+
}
|
|
119
122
|
};
|
|
120
123
|
/**
|
|
121
124
|
* Build and render the component.
|
|
@@ -852,6 +855,9 @@ var ListBox = /** @class */ (function (_super) {
|
|
|
852
855
|
*/
|
|
853
856
|
ListBox.prototype.addItems = function (items, itemIndex) {
|
|
854
857
|
_super.prototype.addItem.call(this, items, itemIndex);
|
|
858
|
+
if (this.allowFiltering && this.filterInput.value !== '') {
|
|
859
|
+
this.filteringAction(this.jsonData, new Query(), this.fields);
|
|
860
|
+
}
|
|
855
861
|
};
|
|
856
862
|
/**
|
|
857
863
|
* Removes a item from the list. By default, removed the last item in the list,
|
package/styles/bootstrap.css
CHANGED
package/styles/bootstrap4.css
CHANGED
|
@@ -1004,7 +1004,7 @@ ejs-dropdownlist {
|
|
|
1004
1004
|
.e-ddt .e-dropdowntree.e-chip-input,
|
|
1005
1005
|
.e-ddt input[readonly].e-input.e-chip-input {
|
|
1006
1006
|
width: 0;
|
|
1007
|
-
|
|
1007
|
+
visibility: hidden;
|
|
1008
1008
|
}
|
|
1009
1009
|
.e-ddt.e-popup {
|
|
1010
1010
|
border: 1px solid rgba(0, 0, 0, 0.15);
|
package/styles/bootstrap5.css
CHANGED
|
@@ -349,7 +349,7 @@
|
|
|
349
349
|
.e-ddt .e-dropdowntree.e-chip-input,
|
|
350
350
|
.e-ddt input[readonly].e-input.e-chip-input {
|
|
351
351
|
width: 0;
|
|
352
|
-
|
|
352
|
+
visibility: hidden;
|
|
353
353
|
}
|
|
354
354
|
.e-ddt.e-popup {
|
|
355
355
|
-webkit-box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 0px rgba(0, 0, 0, 0.14), 0 3px 14px 0px rgba(0, 0, 0, 0.12);
|
package/styles/fabric-dark.css
CHANGED
package/styles/fabric.css
CHANGED
package/styles/fluent-dark.css
CHANGED
package/styles/fluent.css
CHANGED
package/styles/fluent2.css
CHANGED
|
@@ -2230,7 +2230,7 @@ ejs-dropdownlist {
|
|
|
2230
2230
|
.e-ddt .e-dropdowntree.e-chip-input,
|
|
2231
2231
|
.e-ddt input[readonly].e-input.e-chip-input {
|
|
2232
2232
|
width: 0;
|
|
2233
|
-
|
|
2233
|
+
visibility: hidden;
|
|
2234
2234
|
}
|
|
2235
2235
|
.e-ddt.e-popup {
|
|
2236
2236
|
border: 1px solid var(--color-sf-border-light);
|
|
@@ -3640,7 +3640,8 @@ ejs-multiselect {
|
|
|
3640
3640
|
}
|
|
3641
3641
|
|
|
3642
3642
|
.e-multi-select-wrapper .e-chips {
|
|
3643
|
-
background-color: var(--color-sf-
|
|
3643
|
+
background-color: var(--color-sf-chip-bg-color);
|
|
3644
|
+
border: 1px solid var(--color-sf-chip-border-color);
|
|
3644
3645
|
border-radius: 6px;
|
|
3645
3646
|
height: 22px;
|
|
3646
3647
|
}
|
package/styles/highcontrast.css
CHANGED
package/styles/material-dark.css
CHANGED
package/styles/material.css
CHANGED
|
@@ -1122,7 +1122,7 @@ ejs-dropdownlist {
|
|
|
1122
1122
|
.e-ddt .e-dropdowntree.e-chip-input,
|
|
1123
1123
|
.e-ddt input[readonly].e-input.e-chip-input {
|
|
1124
1124
|
width: 0;
|
|
1125
|
-
|
|
1125
|
+
visibility: hidden;
|
|
1126
1126
|
}
|
|
1127
1127
|
.e-ddt.e-popup {
|
|
1128
1128
|
-webkit-box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 0px rgba(0, 0, 0, 0.14), 0 3px 14px 0px rgba(0, 0, 0, 0.12);
|
package/styles/material3.css
CHANGED
|
@@ -178,7 +178,8 @@ $ddl-closer-margin-top-bigger-small: -1.64em !default;
|
|
|
178
178
|
$ddl-list-box-shadow-color: rgba(0, 0, 0, .21) !default;
|
|
179
179
|
$ddl-chip-selected-shadow-value: 0 2px 3px 1px $ddl-list-box-shadow-color !default;
|
|
180
180
|
$ddl-chip-mobile-font: $content-text-color !default;
|
|
181
|
-
$ddl-chip-bg-color: $
|
|
181
|
+
$ddl-chip-bg-color: $chip-bg-color !default;
|
|
182
|
+
$dd-chip-border: 1px solid $chip-border-color !default;
|
|
182
183
|
$ddl-chip-hover-bg-color: $content-bg-color-alt4 !default;
|
|
183
184
|
$ddl-chip-hover-font-color: $content-text-color-hover !default;
|
|
184
185
|
$ddl-sel-hover-chip-bg-color: $content-bg-color-alt5 !default;
|
|
@@ -2476,7 +2476,8 @@ ejs-multiselect {
|
|
|
2476
2476
|
}
|
|
2477
2477
|
|
|
2478
2478
|
.e-multi-select-wrapper .e-chips {
|
|
2479
|
-
background-color: var(--color-sf-
|
|
2479
|
+
background-color: var(--color-sf-chip-bg-color);
|
|
2480
|
+
border: 1px solid var(--color-sf-chip-border-color);
|
|
2480
2481
|
border-radius: 6px;
|
|
2481
2482
|
height: 22px;
|
|
2482
2483
|
}
|
package/styles/tailwind-dark.css
CHANGED
package/styles/tailwind.css
CHANGED