@syncfusion/ej2-multicolumn-combobox 26.2.8 → 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 +14 -22
- package/dist/es6/ej2-multicolumn-combobox.es2015.js.map +1 -1
- package/dist/es6/ej2-multicolumn-combobox.es5.js +14 -22
- 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 -18
- package/src/multicolumn-combobox/multi-column-combo-box.d.ts +15 -15
- package/src/multicolumn-combobox/multi-column-combo-box.js +14 -22
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.8",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-ZHdE2uzXDBWWQYNN+nNdKtXCjFyVKIezxHCGfDMr+606/biac1gDLEM6hEyNEiJ5SH+ZRhmxN3DgeY2VcPDJ0A==",
|
|
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.8.tgz",
|
|
27
|
+
"_shasum": "227ae841b1b84c994674f3c92039cadc3cd44827",
|
|
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.5",
|
|
39
|
-
"@syncfusion/ej2-grids": "~26.2.
|
|
39
|
+
"@syncfusion/ej2-grids": "~26.2.9"
|
|
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.9",
|
|
61
61
|
"sideEffects": false
|
|
62
62
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
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';
|
|
2
|
-
import {TextAlign,GridLine,DataResult,FilterType,FloatLabelType,SortOrder,SortType,
|
|
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
|
|
|
5
5
|
/**
|
|
@@ -150,6 +150,23 @@ export interface GridSettingsModel {
|
|
|
150
150
|
*/
|
|
151
151
|
gridLines?: GridLine;
|
|
152
152
|
|
|
153
|
+
/**
|
|
154
|
+
* Specifies whether to allow text wrapping of the popup grid content.
|
|
155
|
+
*
|
|
156
|
+
* @default false
|
|
157
|
+
*/
|
|
158
|
+
allowTextWrap?: boolean;
|
|
159
|
+
|
|
160
|
+
/**
|
|
161
|
+
* Specifies the mode for text wrapping in the popup grid content. Options include 'Both', 'Content', and 'Header'.
|
|
162
|
+
*
|
|
163
|
+
* @isenumeration true
|
|
164
|
+
*
|
|
165
|
+
* @default WrapMode.Both
|
|
166
|
+
* @asptype WrapMode
|
|
167
|
+
*/
|
|
168
|
+
textWrapMode?: WrapMode | string;
|
|
169
|
+
|
|
153
170
|
}
|
|
154
171
|
|
|
155
172
|
/**
|
|
@@ -395,23 +412,6 @@ export interface MultiColumnComboBoxModel extends ComponentModel{
|
|
|
395
412
|
*/
|
|
396
413
|
query?: Query;
|
|
397
414
|
|
|
398
|
-
/**
|
|
399
|
-
* Specifies whether to allow text wrapping of the popup grid content.
|
|
400
|
-
*
|
|
401
|
-
* @default false
|
|
402
|
-
*/
|
|
403
|
-
allowTextWrap?: boolean;
|
|
404
|
-
|
|
405
|
-
/**
|
|
406
|
-
* Specifies the mode for text wrapping in the popup grid content. Options include 'Both', 'Content', and 'Header'.
|
|
407
|
-
*
|
|
408
|
-
* @isenumeration true
|
|
409
|
-
*
|
|
410
|
-
* @default WrapMode.Both
|
|
411
|
-
* @asptype WrapMode
|
|
412
|
-
*/
|
|
413
|
-
textWrapMode?: WrapMode | string;
|
|
414
|
-
|
|
415
415
|
/**
|
|
416
416
|
* Accepts the template design and assigns it to each items present in the popup.
|
|
417
417
|
*
|
|
@@ -226,6 +226,21 @@ export declare class GridSettings extends ChildProperty<GridSettings> {
|
|
|
226
226
|
* @default Default
|
|
227
227
|
*/
|
|
228
228
|
gridLines: GridLine;
|
|
229
|
+
/**
|
|
230
|
+
* Specifies whether to allow text wrapping of the popup grid content.
|
|
231
|
+
*
|
|
232
|
+
* @default false
|
|
233
|
+
*/
|
|
234
|
+
allowTextWrap: boolean;
|
|
235
|
+
/**
|
|
236
|
+
* Specifies the mode for text wrapping in the popup grid content. Options include 'Both', 'Content', and 'Header'.
|
|
237
|
+
*
|
|
238
|
+
* @isenumeration true
|
|
239
|
+
*
|
|
240
|
+
* @default WrapMode.Both
|
|
241
|
+
* @asptype WrapMode
|
|
242
|
+
*/
|
|
243
|
+
textWrapMode: WrapMode | string;
|
|
229
244
|
}
|
|
230
245
|
export interface PopupEventArgs {
|
|
231
246
|
/**
|
|
@@ -588,21 +603,6 @@ export declare class MultiColumnComboBox extends Component<HTMLElement> implemen
|
|
|
588
603
|
* @default null
|
|
589
604
|
*/
|
|
590
605
|
query: Query;
|
|
591
|
-
/**
|
|
592
|
-
* Specifies whether to allow text wrapping of the popup grid content.
|
|
593
|
-
*
|
|
594
|
-
* @default false
|
|
595
|
-
*/
|
|
596
|
-
allowTextWrap: boolean;
|
|
597
|
-
/**
|
|
598
|
-
* Specifies the mode for text wrapping in the popup grid content. Options include 'Both', 'Content', and 'Header'.
|
|
599
|
-
*
|
|
600
|
-
* @isenumeration true
|
|
601
|
-
*
|
|
602
|
-
* @default WrapMode.Both
|
|
603
|
-
* @asptype WrapMode
|
|
604
|
-
*/
|
|
605
|
-
textWrapMode: WrapMode | string;
|
|
606
606
|
/**
|
|
607
607
|
* Accepts the template design and assigns it to each items present in the popup.
|
|
608
608
|
*
|
|
@@ -190,6 +190,12 @@ var GridSettings = /** @class */ (function (_super) {
|
|
|
190
190
|
__decorate([
|
|
191
191
|
Property('Default')
|
|
192
192
|
], GridSettings.prototype, "gridLines", void 0);
|
|
193
|
+
__decorate([
|
|
194
|
+
Property(false)
|
|
195
|
+
], GridSettings.prototype, "allowTextWrap", void 0);
|
|
196
|
+
__decorate([
|
|
197
|
+
Property(WrapMode.Both)
|
|
198
|
+
], GridSettings.prototype, "textWrapMode", void 0);
|
|
193
199
|
return GridSettings;
|
|
194
200
|
}(ChildProperty));
|
|
195
201
|
export { GridSettings };
|
|
@@ -299,7 +305,8 @@ var MultiColumnComboBox = /** @class */ (function (_super) {
|
|
|
299
305
|
enableRtl: this.enableRtl,
|
|
300
306
|
editSettings: { allowAdding: false },
|
|
301
307
|
query: this.query,
|
|
302
|
-
allowTextWrap: this.allowTextWrap,
|
|
308
|
+
allowTextWrap: this.gridSettings.allowTextWrap,
|
|
309
|
+
textWrapSettings: { wrapMode: this.gridSettings.textWrapMode },
|
|
303
310
|
height: this.popupHeight,
|
|
304
311
|
allowMultiSorting: this.sortType.toString().toLowerCase() === 'multiplecolumns' && this.allowSorting,
|
|
305
312
|
rowTemplate: this.itemTemplate,
|
|
@@ -344,7 +351,6 @@ var MultiColumnComboBox = /** @class */ (function (_super) {
|
|
|
344
351
|
this.gridObj.sortSettings = { columns: [{ field: this.fields.text, direction: sortOrder === 'ascending' ?
|
|
345
352
|
SortOrder.Ascending : SortOrder.Descending }] };
|
|
346
353
|
}
|
|
347
|
-
this.gridObj.textWrapSettings.wrapMode = this.textWrapMode;
|
|
348
354
|
this.gridObj.appendTo(this.gridEle);
|
|
349
355
|
};
|
|
350
356
|
// eslint-disable @typescript-eslint/no-explicit-any
|
|
@@ -1585,6 +1591,12 @@ var MultiColumnComboBox = /** @class */ (function (_super) {
|
|
|
1585
1591
|
this.gridObj.gridLines = newProp.gridSettings.gridLines;
|
|
1586
1592
|
this.gridObj.rowHeight = newProp.gridSettings.rowHeight;
|
|
1587
1593
|
this.gridObj.enableAltRow = newProp.gridSettings.enableAltRow;
|
|
1594
|
+
if (!(isNOU(newProp.gridSettings.allowTextWrap))) {
|
|
1595
|
+
this.gridObj.allowTextWrap = newProp.gridSettings.allowTextWrap;
|
|
1596
|
+
}
|
|
1597
|
+
if (!(isNOU(newProp.gridSettings.textWrapMode))) {
|
|
1598
|
+
this.gridObj.textWrapSettings.wrapMode = newProp.gridSettings.textWrapMode;
|
|
1599
|
+
}
|
|
1588
1600
|
}
|
|
1589
1601
|
break;
|
|
1590
1602
|
case 'fields':
|
|
@@ -1610,20 +1622,6 @@ var MultiColumnComboBox = /** @class */ (function (_super) {
|
|
|
1610
1622
|
this.allowSorting = this.gridObj.allowSorting = newProp.allowSorting;
|
|
1611
1623
|
}
|
|
1612
1624
|
break;
|
|
1613
|
-
case 'allowTextWrap':
|
|
1614
|
-
if (this.gridObj) {
|
|
1615
|
-
if (!(isNOU(newProp.allowTextWrap))) {
|
|
1616
|
-
this.gridObj.allowTextWrap = newProp.allowTextWrap;
|
|
1617
|
-
}
|
|
1618
|
-
}
|
|
1619
|
-
break;
|
|
1620
|
-
case 'textWrapMode':
|
|
1621
|
-
if (this.gridObj) {
|
|
1622
|
-
if (!(isNOU(newProp.textWrapMode))) {
|
|
1623
|
-
this.gridObj.textWrapSettings.wrapMode = newProp.textWrapMode;
|
|
1624
|
-
}
|
|
1625
|
-
}
|
|
1626
|
-
break;
|
|
1627
1625
|
case 'columns':
|
|
1628
1626
|
if (this.gridObj) {
|
|
1629
1627
|
gridColumns = this.getGridColumns();
|
|
@@ -1705,12 +1703,6 @@ var MultiColumnComboBox = /** @class */ (function (_super) {
|
|
|
1705
1703
|
__decorate([
|
|
1706
1704
|
Property()
|
|
1707
1705
|
], MultiColumnComboBox.prototype, "query", void 0);
|
|
1708
|
-
__decorate([
|
|
1709
|
-
Property(false)
|
|
1710
|
-
], MultiColumnComboBox.prototype, "allowTextWrap", void 0);
|
|
1711
|
-
__decorate([
|
|
1712
|
-
Property(WrapMode.Both)
|
|
1713
|
-
], MultiColumnComboBox.prototype, "textWrapMode", void 0);
|
|
1714
1706
|
__decorate([
|
|
1715
1707
|
Property(null)
|
|
1716
1708
|
], MultiColumnComboBox.prototype, "itemTemplate", void 0);
|