@syncfusion/ej2-multicolumn-combobox 26.2.5 → 26.2.9
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 +33 -1
- package/dist/es6/ej2-multicolumn-combobox.es2015.js.map +1 -1
- package/dist/es6/ej2-multicolumn-combobox.es5.js +33 -1
- 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 +18 -1
- package/src/multicolumn-combobox/multi-column-combo-box.d.ts +32 -0
- package/src/multicolumn-combobox/multi-column-combo-box.js +32 -0
- package/styles/fluent2.css +3 -1031
- package/styles/material3-dark.css +1 -54
- package/styles/material3.css +3 -110
- package/styles/multicolumn-combobox/fluent2.css +3 -1031
- package/styles/multicolumn-combobox/material3-dark.css +1 -54
- package/styles/multicolumn-combobox/material3.css +3 -110
|
@@ -80,6 +80,24 @@ var SortType;
|
|
|
80
80
|
*/
|
|
81
81
|
SortType["MultipleColumns"] = "MultipleColumns";
|
|
82
82
|
})(SortType || (SortType = {}));
|
|
83
|
+
/**
|
|
84
|
+
* Specifies the type of wrap mode to be applied for the grid cells.
|
|
85
|
+
*/
|
|
86
|
+
var WrapMode;
|
|
87
|
+
(function (WrapMode) {
|
|
88
|
+
/**
|
|
89
|
+
* Specifies that both header and content text wrapping are enabled.
|
|
90
|
+
*/
|
|
91
|
+
WrapMode["Both"] = "Both";
|
|
92
|
+
/**
|
|
93
|
+
* Specifies that only content text wrapping is enabled.
|
|
94
|
+
*/
|
|
95
|
+
WrapMode["Content"] = "Content";
|
|
96
|
+
/**
|
|
97
|
+
* Specifies that only header text wrapping is enabled.
|
|
98
|
+
*/
|
|
99
|
+
WrapMode["Header"] = "Header";
|
|
100
|
+
})(WrapMode || (WrapMode = {}));
|
|
83
101
|
/**
|
|
84
102
|
* The fields property maps the columns of the data table and binds the data to the component.
|
|
85
103
|
*/
|
|
@@ -140,6 +158,12 @@ __decorate([
|
|
|
140
158
|
__decorate([
|
|
141
159
|
Property('Default')
|
|
142
160
|
], GridSettings.prototype, "gridLines", void 0);
|
|
161
|
+
__decorate([
|
|
162
|
+
Property(false)
|
|
163
|
+
], GridSettings.prototype, "allowTextWrap", void 0);
|
|
164
|
+
__decorate([
|
|
165
|
+
Property(WrapMode.Both)
|
|
166
|
+
], GridSettings.prototype, "textWrapMode", void 0);
|
|
143
167
|
/**
|
|
144
168
|
* The `MultiColumnComboBox` allows the user to search and select values from a list. It provides a list of options that can be selected using a filter input.
|
|
145
169
|
* The selected value will be displayed in the input element.
|
|
@@ -243,6 +267,8 @@ let MultiColumnComboBox = class MultiColumnComboBox extends Component {
|
|
|
243
267
|
enableRtl: this.enableRtl,
|
|
244
268
|
editSettings: { allowAdding: false },
|
|
245
269
|
query: this.query,
|
|
270
|
+
allowTextWrap: this.gridSettings.allowTextWrap,
|
|
271
|
+
textWrapSettings: { wrapMode: this.gridSettings.textWrapMode },
|
|
246
272
|
height: this.popupHeight,
|
|
247
273
|
allowMultiSorting: this.sortType.toString().toLowerCase() === 'multiplecolumns' && this.allowSorting,
|
|
248
274
|
rowTemplate: this.itemTemplate,
|
|
@@ -1510,6 +1536,12 @@ let MultiColumnComboBox = class MultiColumnComboBox extends Component {
|
|
|
1510
1536
|
this.gridObj.gridLines = newProp.gridSettings.gridLines;
|
|
1511
1537
|
this.gridObj.rowHeight = newProp.gridSettings.rowHeight;
|
|
1512
1538
|
this.gridObj.enableAltRow = newProp.gridSettings.enableAltRow;
|
|
1539
|
+
if (!(isNullOrUndefined(newProp.gridSettings.allowTextWrap))) {
|
|
1540
|
+
this.gridObj.allowTextWrap = newProp.gridSettings.allowTextWrap;
|
|
1541
|
+
}
|
|
1542
|
+
if (!(isNullOrUndefined(newProp.gridSettings.textWrapMode))) {
|
|
1543
|
+
this.gridObj.textWrapSettings.wrapMode = newProp.gridSettings.textWrapMode;
|
|
1544
|
+
}
|
|
1513
1545
|
}
|
|
1514
1546
|
break;
|
|
1515
1547
|
case 'fields':
|
|
@@ -1666,5 +1698,5 @@ MultiColumnComboBox = __decorate([
|
|
|
1666
1698
|
NotifyPropertyChanges
|
|
1667
1699
|
], MultiColumnComboBox);
|
|
1668
1700
|
|
|
1669
|
-
export { Column, FieldSettings, FilterType, GridSettings, MultiColumnComboBox, MultiColumnGrid, SortOrder, SortType };
|
|
1701
|
+
export { Column, FieldSettings, FilterType, GridSettings, MultiColumnComboBox, MultiColumnGrid, SortOrder, SortType, WrapMode };
|
|
1670
1702
|
//# sourceMappingURL=ej2-multicolumn-combobox.es2015.js.map
|