@syncfusion/ej2-multicolumn-combobox 26.2.10 → 26.2.12
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-multicolumn-combobox.umd.min.js +2 -2
- package/dist/ej2-multicolumn-combobox.umd.min.js.map +1 -1
- package/dist/es6/ej2-multicolumn-combobox.es2015.js +31 -17
- package/dist/es6/ej2-multicolumn-combobox.es2015.js.map +1 -1
- package/dist/es6/ej2-multicolumn-combobox.es5.js +33 -19
- package/dist/es6/ej2-multicolumn-combobox.es5.js.map +1 -1
- package/dist/global/ej2-multicolumn-combobox.min.js +2 -2
- package/dist/global/ej2-multicolumn-combobox.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +6 -6
- package/src/multicolumn-combobox/multi-column-combo-box-model.d.ts +1 -1
- package/src/multicolumn-combobox/multi-column-combo-box.js +34 -20
- package/hotfix/26.1.35_Vol2.txt +0 -1
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_from": "@syncfusion/ej2-multicolumn-combobox@*",
|
|
3
|
-
"_id": "@syncfusion/ej2-multicolumn-combobox@26.2.
|
|
3
|
+
"_id": "@syncfusion/ej2-multicolumn-combobox@26.2.10",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-KNb+kJ1fjWr+Bpq183i76TwNktCk/PmC6ZK3CTOVY9n4VjYw6IvgJJNHVB2uH+1O6jz6pEGg3p7+nWDRXyJyDA==",
|
|
6
6
|
"_location": "/@syncfusion/ej2-multicolumn-combobox",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
"/@syncfusion/ej2-react-multicolumn-combobox",
|
|
24
24
|
"/@syncfusion/ej2-vue-multicolumn-combobox"
|
|
25
25
|
],
|
|
26
|
-
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-multicolumn-combobox/-/ej2-multicolumn-combobox-26.2.
|
|
27
|
-
"_shasum": "
|
|
26
|
+
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-multicolumn-combobox/-/ej2-multicolumn-combobox-26.2.10.tgz",
|
|
27
|
+
"_shasum": "eb760582866d2891694337f388296d04f9967f07",
|
|
28
28
|
"_spec": "@syncfusion/ej2-multicolumn-combobox@*",
|
|
29
29
|
"_where": "/jenkins/workspace/elease-automation_release_26.1.1/packages/included",
|
|
30
30
|
"author": {
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"bundleDependencies": false,
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@syncfusion/ej2-base": "~26.2.10",
|
|
39
|
-
"@syncfusion/ej2-grids": "~26.2.
|
|
39
|
+
"@syncfusion/ej2-grids": "~26.2.12"
|
|
40
40
|
},
|
|
41
41
|
"deprecated": false,
|
|
42
42
|
"description": "Essential JS 2 Component",
|
|
@@ -57,6 +57,6 @@
|
|
|
57
57
|
"url": "git+https://github.com/syncfusion/ej2-multicolumn-combobox-component.git"
|
|
58
58
|
},
|
|
59
59
|
"typings": "index.d.ts",
|
|
60
|
-
"version": "26.2.
|
|
60
|
+
"version": "26.2.12",
|
|
61
61
|
"sideEffects": false
|
|
62
62
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Component, EventHandler, INotifyPropertyChanged, Property, NotifyPropertyChanges, closest, attributes, append, compile, detach, KeyboardEvents } from '@syncfusion/ej2-base';import { ChildProperty, prepend, Collection, getUniqueID, Complex, isNullOrUndefined as isNOU, select, L10n, Browser } from '@syncfusion/ej2-base';import { formatUnit, addClass, removeClass, NumberFormatOptions, DateFormatOptions, Event, EmitType, AnimationModel, Animation, KeyboardEventArgs } from '@syncfusion/ej2-base';import { Input, InputObject } from '@syncfusion/ej2-inputs';import { DataManager, Query, Group } from '@syncfusion/ej2-data';import { Popup } from '@syncfusion/ej2-popups';import { Grid, FailureEventArgs, VirtualScroll, Group as GridGroup, Edit, Sort, GridColumnModel } from '@syncfusion/ej2-grids';
|
|
1
|
+
import { Component, EventHandler, INotifyPropertyChanged, Property, NotifyPropertyChanges, closest, attributes, append, compile, detach, KeyboardEvents, isNullOrUndefined } from '@syncfusion/ej2-base';import { ChildProperty, prepend, Collection, getUniqueID, Complex, isNullOrUndefined as isNOU, select, L10n, Browser } from '@syncfusion/ej2-base';import { formatUnit, addClass, removeClass, NumberFormatOptions, DateFormatOptions, Event, EmitType, AnimationModel, Animation, KeyboardEventArgs } from '@syncfusion/ej2-base';import { Input, InputObject } from '@syncfusion/ej2-inputs';import { DataManager, Query, Group } from '@syncfusion/ej2-data';import { Popup } from '@syncfusion/ej2-popups';import { Grid, FailureEventArgs, VirtualScroll, Group as GridGroup, Edit, Sort, GridColumnModel } from '@syncfusion/ej2-grids';
|
|
2
2
|
import {TextAlign,GridLine,WrapMode,DataResult,FilterType,FloatLabelType,SortOrder,SortType,PopupEventArgs,FilteringEventArgs,SelectEventArgs,ChangeEventArgs} from "./multi-column-combo-box";
|
|
3
3
|
import {ComponentModel} from '@syncfusion/ej2-base';
|
|
4
4
|
|
|
@@ -17,7 +17,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
17
17
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
18
18
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
19
19
|
};
|
|
20
|
-
import { Component, EventHandler, Property, NotifyPropertyChanges, closest, attributes, append, compile, detach, KeyboardEvents } from '@syncfusion/ej2-base';
|
|
20
|
+
import { Component, EventHandler, Property, NotifyPropertyChanges, closest, attributes, append, compile, detach, KeyboardEvents, isNullOrUndefined } from '@syncfusion/ej2-base';
|
|
21
21
|
import { ChildProperty, prepend, Collection, getUniqueID, Complex, isNullOrUndefined as isNOU, select, L10n, Browser } from '@syncfusion/ej2-base';
|
|
22
22
|
import { formatUnit, addClass, removeClass, Event, Animation } from '@syncfusion/ej2-base';
|
|
23
23
|
import { Input } from '@syncfusion/ej2-inputs';
|
|
@@ -943,25 +943,37 @@ var MultiColumnComboBox = /** @class */ (function (_super) {
|
|
|
943
943
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
944
944
|
MultiColumnComboBox.prototype.filterAction = function (dataSource, inputValue, query, fields) {
|
|
945
945
|
var _this = this;
|
|
946
|
-
var
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
dataSource.executeQuery(
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
var dataLength = dataLists.length;
|
|
955
|
-
filteredData = dataLists.filter(function (item) { return _this.filterData(item, filterType, inputValue, fields); });
|
|
956
|
-
_this.updateGridDataSource(filteredData, dataLength);
|
|
946
|
+
var dataLists;
|
|
947
|
+
if (isNullOrUndefined(query) && isNullOrUndefined(fields)) {
|
|
948
|
+
this.updateGridDataSource(dataSource);
|
|
949
|
+
}
|
|
950
|
+
else if (query) {
|
|
951
|
+
new DataManager(dataSource).executeQuery(query).then(function (e) {
|
|
952
|
+
dataLists = e.result;
|
|
953
|
+
_this.updateGridDataSource(dataLists);
|
|
957
954
|
});
|
|
958
955
|
}
|
|
959
|
-
else
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
956
|
+
else {
|
|
957
|
+
var filterType_1 = this.filterType.toString().toLowerCase();
|
|
958
|
+
var isQuery = query || new Query();
|
|
959
|
+
var filteredData_1;
|
|
960
|
+
if (dataSource instanceof DataManager) {
|
|
961
|
+
// Handle filtering for DataManager
|
|
962
|
+
dataSource.executeQuery(isQuery).then(function (e) {
|
|
963
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
964
|
+
var dataLists = e.result;
|
|
965
|
+
var dataLength = dataLists.length;
|
|
966
|
+
filteredData_1 = dataLists.filter(function (item) { return _this.filterData(item, filterType_1, inputValue, fields); });
|
|
967
|
+
_this.updateGridDataSource(filteredData_1, dataLength);
|
|
968
|
+
});
|
|
969
|
+
}
|
|
970
|
+
else if (Array.isArray(dataSource)) {
|
|
971
|
+
// Handle filtering for array data source
|
|
972
|
+
filteredData_1 = dataSource.filter(function (item) {
|
|
973
|
+
return _this.filterData(item, filterType_1, inputValue, fields);
|
|
974
|
+
});
|
|
975
|
+
this.updateGridDataSource(filteredData_1);
|
|
976
|
+
}
|
|
965
977
|
}
|
|
966
978
|
};
|
|
967
979
|
MultiColumnComboBox.prototype.filterData = function (item, filterType, inputValue, fields) {
|
|
@@ -1544,8 +1556,10 @@ var MultiColumnComboBox = /** @class */ (function (_super) {
|
|
|
1544
1556
|
break;
|
|
1545
1557
|
case 'sortOrder':
|
|
1546
1558
|
if (this.gridObj) {
|
|
1547
|
-
this.gridObj.sortSettings.columns = [{
|
|
1548
|
-
|
|
1559
|
+
this.gridObj.sortSettings.columns = [{
|
|
1560
|
+
field: this.fields.text, direction: newProp.sortOrder === SortOrder.Ascending ?
|
|
1561
|
+
SortOrder.Ascending : SortOrder.Descending
|
|
1562
|
+
}];
|
|
1549
1563
|
}
|
|
1550
1564
|
break;
|
|
1551
1565
|
case 'htmlAttributes':
|
package/hotfix/26.1.35_Vol2.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
hotfix/26.1.35_Vol2
|