@syncfusion/ej2-multicolumn-combobox 27.2.3 → 27.2.5
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 +32 -3
- package/dist/es6/ej2-multicolumn-combobox.es2015.js.map +1 -1
- package/dist/es6/ej2-multicolumn-combobox.es5.js +32 -3
- 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 +7 -7
- package/src/multicolumn-combobox/index.d.ts +1 -1
- package/src/multicolumn-combobox/index.js +1 -1
- package/src/multicolumn-combobox/multi-column-combo-box-model.d.ts +30 -2
- package/src/multicolumn-combobox/multi-column-combo-box.d.ts +36 -0
- package/src/multicolumn-combobox/multi-column-combo-box.js +31 -2
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 27.2.
|
|
3
|
+
* version : 27.2.5
|
|
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-multicolumn-combobox@*",
|
|
3
|
-
"_id": "@syncfusion/ej2-multicolumn-combobox@27.2.
|
|
3
|
+
"_id": "@syncfusion/ej2-multicolumn-combobox@27.2.4",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-GnM9DL0XEo5WHlt4uf78P2Mzr7WAbgb6jY+0hKBw0Fu7B6666Fa8mdF8T4qka3ttiqx2vo3CdSiPcpxBUWHWsw==",
|
|
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-27.2.
|
|
27
|
-
"_shasum": "
|
|
26
|
+
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-multicolumn-combobox/-/ej2-multicolumn-combobox-27.2.4.tgz",
|
|
27
|
+
"_shasum": "f28af60fb8ce6bbab674a87562a8f8975740ab0a",
|
|
28
28
|
"_spec": "@syncfusion/ej2-multicolumn-combobox@*",
|
|
29
29
|
"_where": "/jenkins/workspace/elease-automation_release_27.1.1/packages/included",
|
|
30
30
|
"author": {
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
},
|
|
36
36
|
"bundleDependencies": false,
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@syncfusion/ej2-base": "~27.2.
|
|
39
|
-
"@syncfusion/ej2-grids": "~27.2.
|
|
38
|
+
"@syncfusion/ej2-base": "~27.2.5",
|
|
39
|
+
"@syncfusion/ej2-grids": "~27.2.5"
|
|
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": "27.2.
|
|
60
|
+
"version": "27.2.5",
|
|
61
61
|
"sideEffects": false
|
|
62
62
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
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
|
-
import {TextAlign,GridLine,WrapMode,DataResult,FilterType,FloatLabelType,SortOrder,SortType,PopupEventArgs,FilteringEventArgs,SelectEventArgs,ChangeEventArgs} from "./multi-column-combo-box";
|
|
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, Resize, FailureEventArgs, VirtualScroll, Group as GridGroup, Edit, Sort, GridColumnModel } from '@syncfusion/ej2-grids';
|
|
2
|
+
import {TextAlign,GridLine,WrapMode,ResizeArgs,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
|
/**
|
|
@@ -167,6 +167,34 @@ export interface GridSettingsModel {
|
|
|
167
167
|
*/
|
|
168
168
|
textWrapMode?: WrapMode | string;
|
|
169
169
|
|
|
170
|
+
/**
|
|
171
|
+
* Specifies whether resizing of columns is enabled in the popup grid content.
|
|
172
|
+
*
|
|
173
|
+
* @default false
|
|
174
|
+
*/
|
|
175
|
+
allowResizing?: boolean;
|
|
176
|
+
|
|
177
|
+
/**
|
|
178
|
+
* Triggers during the column resizing.
|
|
179
|
+
*
|
|
180
|
+
* @event resizing
|
|
181
|
+
*/
|
|
182
|
+
resizing?: EmitType<ResizeArgs>;
|
|
183
|
+
|
|
184
|
+
/**
|
|
185
|
+
* Triggers when the column resizing begins.
|
|
186
|
+
*
|
|
187
|
+
* @event resizeStart
|
|
188
|
+
*/
|
|
189
|
+
resizeStart?: EmitType<ResizeArgs>;
|
|
190
|
+
|
|
191
|
+
/**
|
|
192
|
+
* Triggers when the column resizing ends.
|
|
193
|
+
*
|
|
194
|
+
* @event resizeStop
|
|
195
|
+
*/
|
|
196
|
+
resizeStop?: EmitType<ResizeArgs>;
|
|
197
|
+
|
|
170
198
|
}
|
|
171
199
|
|
|
172
200
|
/**
|
|
@@ -241,6 +241,30 @@ export declare class GridSettings extends ChildProperty<GridSettings> {
|
|
|
241
241
|
* @asptype WrapMode
|
|
242
242
|
*/
|
|
243
243
|
textWrapMode: WrapMode | string;
|
|
244
|
+
/**
|
|
245
|
+
* Specifies whether resizing of columns is enabled in the popup grid content.
|
|
246
|
+
*
|
|
247
|
+
* @default false
|
|
248
|
+
*/
|
|
249
|
+
allowResizing: boolean;
|
|
250
|
+
/**
|
|
251
|
+
* Triggers during the column resizing.
|
|
252
|
+
*
|
|
253
|
+
* @event resizing
|
|
254
|
+
*/
|
|
255
|
+
resizing: EmitType<ResizeArgs>;
|
|
256
|
+
/**
|
|
257
|
+
* Triggers when the column resizing begins.
|
|
258
|
+
*
|
|
259
|
+
* @event resizeStart
|
|
260
|
+
*/
|
|
261
|
+
resizeStart: EmitType<ResizeArgs>;
|
|
262
|
+
/**
|
|
263
|
+
* Triggers when the column resizing ends.
|
|
264
|
+
*
|
|
265
|
+
* @event resizeStop
|
|
266
|
+
*/
|
|
267
|
+
resizeStop: EmitType<ResizeArgs>;
|
|
244
268
|
}
|
|
245
269
|
export interface PopupEventArgs {
|
|
246
270
|
/**
|
|
@@ -368,6 +392,18 @@ export interface ChangeEventArgs {
|
|
|
368
392
|
*/
|
|
369
393
|
item: Object;
|
|
370
394
|
}
|
|
395
|
+
export interface ResizeArgs {
|
|
396
|
+
/**
|
|
397
|
+
* Defines the details about the column that is currently being resized.
|
|
398
|
+
*/
|
|
399
|
+
column: ColumnModel;
|
|
400
|
+
/**
|
|
401
|
+
* Specifies whether to cancel the resizing operation of the columns.
|
|
402
|
+
*
|
|
403
|
+
* @default false
|
|
404
|
+
*/
|
|
405
|
+
cancel: boolean;
|
|
406
|
+
}
|
|
371
407
|
/**
|
|
372
408
|
* @hidden
|
|
373
409
|
*/
|
|
@@ -23,7 +23,7 @@ import { formatUnit, addClass, removeClass, Event, Animation } from '@syncfusion
|
|
|
23
23
|
import { Input } from '@syncfusion/ej2-inputs';
|
|
24
24
|
import { DataManager, Query } from '@syncfusion/ej2-data';
|
|
25
25
|
import { Popup } from '@syncfusion/ej2-popups';
|
|
26
|
-
import { Grid, VirtualScroll, Group as GridGroup, Edit, Sort } from '@syncfusion/ej2-grids';
|
|
26
|
+
import { Grid, Resize, VirtualScroll, Group as GridGroup, Edit, Sort } from '@syncfusion/ej2-grids';
|
|
27
27
|
var DROPDOWNICON = 'e-input-group-icon e-multicolumn-list-icon e-icons';
|
|
28
28
|
var CONTENT = 'e-popup-content';
|
|
29
29
|
var ICONANIMATION = 'e-icon-anim';
|
|
@@ -42,7 +42,7 @@ var MultiColumnGrid = /** @class */ (function () {
|
|
|
42
42
|
* @private
|
|
43
43
|
*/
|
|
44
44
|
MultiColumnGrid.prototype.InjectModules = function () {
|
|
45
|
-
Grid.Inject(VirtualScroll, GridGroup, Edit, Sort);
|
|
45
|
+
Grid.Inject(VirtualScroll, GridGroup, Edit, Sort, Resize);
|
|
46
46
|
};
|
|
47
47
|
return MultiColumnGrid;
|
|
48
48
|
}());
|
|
@@ -196,6 +196,18 @@ var GridSettings = /** @class */ (function (_super) {
|
|
|
196
196
|
__decorate([
|
|
197
197
|
Property(WrapMode.Both)
|
|
198
198
|
], GridSettings.prototype, "textWrapMode", void 0);
|
|
199
|
+
__decorate([
|
|
200
|
+
Property(false)
|
|
201
|
+
], GridSettings.prototype, "allowResizing", void 0);
|
|
202
|
+
__decorate([
|
|
203
|
+
Event()
|
|
204
|
+
], GridSettings.prototype, "resizing", void 0);
|
|
205
|
+
__decorate([
|
|
206
|
+
Event()
|
|
207
|
+
], GridSettings.prototype, "resizeStart", void 0);
|
|
208
|
+
__decorate([
|
|
209
|
+
Event()
|
|
210
|
+
], GridSettings.prototype, "resizeStop", void 0);
|
|
199
211
|
return GridSettings;
|
|
200
212
|
}(ChildProperty));
|
|
201
213
|
export { GridSettings };
|
|
@@ -308,6 +320,7 @@ var MultiColumnComboBox = /** @class */ (function (_super) {
|
|
|
308
320
|
allowTextWrap: this.gridSettings.allowTextWrap,
|
|
309
321
|
textWrapSettings: { wrapMode: this.gridSettings.textWrapMode },
|
|
310
322
|
height: this.popupHeight,
|
|
323
|
+
allowResizing: this.gridSettings.allowResizing,
|
|
311
324
|
allowMultiSorting: this.sortType.toString().toLowerCase() === 'multiplecolumns' && this.allowSorting,
|
|
312
325
|
rowTemplate: this.itemTemplate,
|
|
313
326
|
dataBound: function () { _this.onDataBound(); },
|
|
@@ -329,6 +342,21 @@ var MultiColumnComboBox = /** @class */ (function (_super) {
|
|
|
329
342
|
args.cancel = true;
|
|
330
343
|
_this.gridKeyActionHandler(args, true);
|
|
331
344
|
}
|
|
345
|
+
},
|
|
346
|
+
resizing: function (args) {
|
|
347
|
+
if (_this.gridSettings.resizing) {
|
|
348
|
+
_this.gridSettings.resizing.call(_this, args);
|
|
349
|
+
}
|
|
350
|
+
},
|
|
351
|
+
resizeStart: function (args) {
|
|
352
|
+
if (_this.gridSettings.resizeStart) {
|
|
353
|
+
_this.gridSettings.resizeStart.call(_this, args);
|
|
354
|
+
}
|
|
355
|
+
},
|
|
356
|
+
resizeStop: function (args) {
|
|
357
|
+
if (_this.gridSettings.resizeStop) {
|
|
358
|
+
_this.gridSettings.resizeStop.call(_this, args);
|
|
359
|
+
}
|
|
332
360
|
}
|
|
333
361
|
});
|
|
334
362
|
this.gridEle = this.createElement('div', { id: getUniqueID('grid'), className: MULTICOLUMNGRID });
|
|
@@ -1675,6 +1703,7 @@ var MultiColumnComboBox = /** @class */ (function (_super) {
|
|
|
1675
1703
|
this.gridObj.gridLines = newProp.gridSettings.gridLines;
|
|
1676
1704
|
this.gridObj.rowHeight = newProp.gridSettings.rowHeight;
|
|
1677
1705
|
this.gridObj.enableAltRow = newProp.gridSettings.enableAltRow;
|
|
1706
|
+
this.gridObj.allowResizing = newProp.gridSettings.allowResizing;
|
|
1678
1707
|
if (!(isNOU(newProp.gridSettings.allowTextWrap))) {
|
|
1679
1708
|
this.gridObj.allowTextWrap = newProp.gridSettings.allowTextWrap;
|
|
1680
1709
|
}
|