@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/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "_from": "@syncfusion/ej2-multicolumn-combobox@*",
3
- "_id": "@syncfusion/ej2-multicolumn-combobox@26.1.39",
3
+ "_id": "@syncfusion/ej2-multicolumn-combobox@26.2.8",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-+t8bdzi7eaott07aVWjXAdzCtyU5YHP8wzNQ8kEzy9p8AcUNiFcUi+9hH0oXQUuVMFfD0i7H9A9CMqsPZ/3sJA==",
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.1.39.tgz",
27
- "_shasum": "fee7825568de558ee64d28e59a1ef6643cba23bf",
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.5"
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.5",
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,PopupEventArgs,FilteringEventArgs,SelectEventArgs,ChangeEventArgs} from "./multi-column-combo-box";
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
  /**
@@ -86,6 +86,23 @@ export declare enum SortType {
86
86
  */
87
87
  MultipleColumns = "MultipleColumns"
88
88
  }
89
+ /**
90
+ * Specifies the type of wrap mode to be applied for the grid cells.
91
+ */
92
+ export declare enum WrapMode {
93
+ /**
94
+ * Specifies that both header and content text wrapping are enabled.
95
+ */
96
+ Both = "Both",
97
+ /**
98
+ * Specifies that only content text wrapping is enabled.
99
+ */
100
+ Content = "Content",
101
+ /**
102
+ * Specifies that only header text wrapping is enabled.
103
+ */
104
+ Header = "Header"
105
+ }
89
106
  /**
90
107
  * The fields property maps the columns of the data table and binds the data to the component.
91
108
  */
@@ -209,6 +226,21 @@ export declare class GridSettings extends ChildProperty<GridSettings> {
209
226
  * @default Default
210
227
  */
211
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;
212
244
  }
213
245
  export interface PopupEventArgs {
214
246
  /**
@@ -97,6 +97,24 @@ export var SortType;
97
97
  */
98
98
  SortType["MultipleColumns"] = "MultipleColumns";
99
99
  })(SortType || (SortType = {}));
100
+ /**
101
+ * Specifies the type of wrap mode to be applied for the grid cells.
102
+ */
103
+ export var WrapMode;
104
+ (function (WrapMode) {
105
+ /**
106
+ * Specifies that both header and content text wrapping are enabled.
107
+ */
108
+ WrapMode["Both"] = "Both";
109
+ /**
110
+ * Specifies that only content text wrapping is enabled.
111
+ */
112
+ WrapMode["Content"] = "Content";
113
+ /**
114
+ * Specifies that only header text wrapping is enabled.
115
+ */
116
+ WrapMode["Header"] = "Header";
117
+ })(WrapMode || (WrapMode = {}));
100
118
  /**
101
119
  * The fields property maps the columns of the data table and binds the data to the component.
102
120
  */
@@ -172,6 +190,12 @@ var GridSettings = /** @class */ (function (_super) {
172
190
  __decorate([
173
191
  Property('Default')
174
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);
175
199
  return GridSettings;
176
200
  }(ChildProperty));
177
201
  export { GridSettings };
@@ -281,6 +305,8 @@ var MultiColumnComboBox = /** @class */ (function (_super) {
281
305
  enableRtl: this.enableRtl,
282
306
  editSettings: { allowAdding: false },
283
307
  query: this.query,
308
+ allowTextWrap: this.gridSettings.allowTextWrap,
309
+ textWrapSettings: { wrapMode: this.gridSettings.textWrapMode },
284
310
  height: this.popupHeight,
285
311
  allowMultiSorting: this.sortType.toString().toLowerCase() === 'multiplecolumns' && this.allowSorting,
286
312
  rowTemplate: this.itemTemplate,
@@ -1565,6 +1591,12 @@ var MultiColumnComboBox = /** @class */ (function (_super) {
1565
1591
  this.gridObj.gridLines = newProp.gridSettings.gridLines;
1566
1592
  this.gridObj.rowHeight = newProp.gridSettings.rowHeight;
1567
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
+ }
1568
1600
  }
1569
1601
  break;
1570
1602
  case 'fields':