igniteui-angular-data-grids 20.0.0 → 20.0.1-beta.0
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/bundles/igniteui-angular-data-grids.umd.js +3900 -3533
- package/bundles/igniteui-angular-data-grids.umd.min.js +1 -1
- package/esm2015/lib/CanvasCellPresenterBase.js +3 -3
- package/esm2015/lib/CanvasContentCellModelHelper.js +4 -4
- package/esm2015/lib/CanvasDateTimeCellPresenter.js +10 -6
- package/esm2015/lib/CanvasGridCellBase.js +1 -1
- package/esm2015/lib/CanvasImageCellPresenter.js +6 -6
- package/esm2015/lib/CanvasNumericCellPresenter.js +9 -6
- package/esm2015/lib/CanvasSectionHeaderCellPresenter.js +9 -9
- package/esm2015/lib/CanvasSummaryCellPresenter.js +3 -3
- package/esm2015/lib/CanvasTemplateCellPresenter.js +2 -2
- package/esm2015/lib/CanvasTemplateHeaderCellPresenter.js +1 -1
- package/esm2015/lib/CanvasTextCellPresenter.js +20 -15
- package/esm2015/lib/CanvasTextHeaderCell.js +4 -4
- package/esm2015/lib/CanvasTextHeaderCellPresenter.js +9 -9
- package/esm2015/lib/CellPresenterBase.js +5 -5
- package/esm2015/lib/CheckboxListView_combined.js +479 -435
- package/esm2015/lib/ColumnChooserView_combined.js +13 -13
- package/esm2015/lib/ColumnFilterCondition_combined.js +2442 -2384
- package/esm2015/lib/ColumnGroupingView_combined.js +4 -4
- package/esm2015/lib/ColumnPinningView_combined.js +13 -13
- package/esm2015/lib/ComparisonOperatorSelectorView_combined.js +6 -6
- package/esm2015/lib/ContentCellModelHelper.js +4 -4
- package/esm2015/lib/DataGridCellLayoutPanel.js +8 -8
- package/esm2015/lib/DataGridToolbarView_combined.js +2 -2
- package/esm2015/lib/DateTimeCellPresenter.js +10 -6
- package/esm2015/lib/EditorCellPresenter.js +19 -19
- package/esm2015/lib/FilterCellPresenter.js +11 -11
- package/esm2015/lib/FormatCellEventArgs.js +31 -0
- package/esm2015/lib/GridCellBase.js +1 -1
- package/esm2015/lib/GridColumnFilterOptionsView_combined.js +10 -10
- package/esm2015/lib/GridColumnGroupOptionsView_combined.js +5 -5
- package/esm2015/lib/GridColumnHideOptionsView_combined.js +3 -3
- package/esm2015/lib/GridColumnMoveOptionsView_combined.js +1 -1
- package/esm2015/lib/GridColumnOptionsView_combined.js +1 -1
- package/esm2015/lib/GridColumnPinOptionsView_combined.js +4 -4
- package/esm2015/lib/GridColumnSummaryOptionsView_combined.js +7 -7
- package/esm2015/lib/GridExternalWrapper.js +6 -6
- package/esm2015/lib/GridFilterDialogView_combined.js +9 -4
- package/esm2015/lib/GridSortIndicatorView_combined.js +136 -120
- package/esm2015/lib/ISummaryChooserView_combined.js +9 -9
- package/esm2015/lib/ImageCellPresenter.js +6 -6
- package/esm2015/lib/MultiColumnComboBoxView_combined.js +2 -2
- package/esm2015/lib/NumericCellPresenter.js +9 -6
- package/esm2015/lib/PropertyEditorView_combined.js +17 -17
- package/esm2015/lib/SectionHeaderCellPresenter.js +9 -9
- package/esm2015/lib/SummaryCellPresenter.js +6 -6
- package/esm2015/lib/TemplateCellPresenter.js +2 -2
- package/esm2015/lib/TemplateHeader.js +2 -2
- package/esm2015/lib/TemplateHeaderCellModel.js +18 -18
- package/esm2015/lib/TemplateHeaderCellPresenter.js +1 -1
- package/esm2015/lib/TextCellPresenter.js +20 -15
- package/esm2015/lib/TextHeaderCell.js +6 -5
- package/esm2015/lib/TextHeaderCellPresenter.js +16 -16
- package/esm2015/lib/igx-cell-info.js +58 -49
- package/esm2015/lib/igx-checkbox-list-component.js +58 -55
- package/esm2015/lib/igx-combo-box-column-component.js +10 -10
- package/esm2015/lib/igx-data-grid-column-component.js +121 -97
- package/esm2015/lib/igx-data-grid-sort-indicator-component.js +20 -12
- package/esm2015/lib/igx-date-time-cell-info.js +12 -12
- package/esm2015/lib/igx-date-time-column-component.js +20 -20
- package/esm2015/lib/igx-editor-cell-info.js +23 -23
- package/esm2015/lib/igx-filter-cell-info.js +26 -26
- package/esm2015/lib/igx-format-cell-event-args.js +82 -0
- package/esm2015/lib/igx-image-cell-info.js +6 -6
- package/esm2015/lib/igx-image-column-component.js +10 -10
- package/esm2015/lib/igx-numeric-cell-info.js +26 -26
- package/esm2015/lib/igx-numeric-column-component.js +30 -30
- package/esm2015/lib/igx-section-header-cell-info.js +6 -6
- package/esm2015/lib/igx-summary-cell-info.js +9 -9
- package/esm2015/lib/igx-template-cell-info.js +2 -2
- package/esm2015/lib/igx-template-header-cell-info.js +2 -2
- package/esm2015/lib/igx-text-cell-info.js +2 -2
- package/esm2015/lib/igx-text-column-component.js +8 -8
- package/esm2015/lib/igx-text-header-cell-info.js +10 -10
- package/esm2015/public_api.js +2 -0
- package/esm5/lib/CanvasCellPresenterBase.js +3 -3
- package/esm5/lib/CanvasContentCellModelHelper.js +4 -4
- package/esm5/lib/CanvasDateTimeCellPresenter.js +10 -6
- package/esm5/lib/CanvasGridCellBase.js +1 -1
- package/esm5/lib/CanvasImageCellPresenter.js +6 -6
- package/esm5/lib/CanvasNumericCellPresenter.js +9 -6
- package/esm5/lib/CanvasSectionHeaderCellPresenter.js +9 -9
- package/esm5/lib/CanvasSummaryCellPresenter.js +3 -3
- package/esm5/lib/CanvasTemplateCellPresenter.js +2 -2
- package/esm5/lib/CanvasTemplateHeaderCellPresenter.js +1 -1
- package/esm5/lib/CanvasTextCellPresenter.js +20 -15
- package/esm5/lib/CanvasTextHeaderCell.js +4 -4
- package/esm5/lib/CanvasTextHeaderCellPresenter.js +9 -9
- package/esm5/lib/CellPresenterBase.js +5 -5
- package/esm5/lib/CheckboxListView_combined.js +461 -413
- package/esm5/lib/ColumnChooserView_combined.js +13 -13
- package/esm5/lib/ColumnFilterCondition_combined.js +2343 -2281
- package/esm5/lib/ColumnGroupingView_combined.js +4 -4
- package/esm5/lib/ColumnPinningView_combined.js +13 -13
- package/esm5/lib/ComparisonOperatorSelectorView_combined.js +6 -6
- package/esm5/lib/ContentCellModelHelper.js +4 -4
- package/esm5/lib/DataGridCellLayoutPanel.js +8 -8
- package/esm5/lib/DataGridToolbarView_combined.js +2 -2
- package/esm5/lib/DateTimeCellPresenter.js +10 -6
- package/esm5/lib/EditorCellPresenter.js +19 -19
- package/esm5/lib/FilterCellPresenter.js +11 -11
- package/esm5/lib/FormatCellEventArgs.js +37 -0
- package/esm5/lib/GridCellBase.js +1 -1
- package/esm5/lib/GridColumnFilterOptionsView_combined.js +10 -10
- package/esm5/lib/GridColumnGroupOptionsView_combined.js +5 -5
- package/esm5/lib/GridColumnHideOptionsView_combined.js +3 -3
- package/esm5/lib/GridColumnMoveOptionsView_combined.js +1 -1
- package/esm5/lib/GridColumnOptionsView_combined.js +1 -1
- package/esm5/lib/GridColumnPinOptionsView_combined.js +4 -4
- package/esm5/lib/GridColumnSummaryOptionsView_combined.js +7 -7
- package/esm5/lib/GridExternalWrapper.js +6 -6
- package/esm5/lib/GridFilterDialogView_combined.js +9 -4
- package/esm5/lib/GridSortIndicatorView_combined.js +135 -115
- package/esm5/lib/ISummaryChooserView_combined.js +9 -9
- package/esm5/lib/ImageCellPresenter.js +6 -6
- package/esm5/lib/MultiColumnComboBoxView_combined.js +2 -2
- package/esm5/lib/NumericCellPresenter.js +9 -6
- package/esm5/lib/PropertyEditorView_combined.js +17 -17
- package/esm5/lib/SectionHeaderCellPresenter.js +9 -9
- package/esm5/lib/SummaryCellPresenter.js +6 -6
- package/esm5/lib/TemplateCellPresenter.js +2 -2
- package/esm5/lib/TemplateHeader.js +2 -2
- package/esm5/lib/TemplateHeaderCellModel.js +17 -17
- package/esm5/lib/TemplateHeaderCellPresenter.js +1 -1
- package/esm5/lib/TextCellPresenter.js +20 -15
- package/esm5/lib/TextHeaderCell.js +6 -5
- package/esm5/lib/TextHeaderCellPresenter.js +16 -16
- package/esm5/lib/igx-cell-info.js +62 -49
- package/esm5/lib/igx-checkbox-list-component.js +62 -55
- package/esm5/lib/igx-combo-box-column-component.js +10 -10
- package/esm5/lib/igx-data-grid-column-component.js +126 -97
- package/esm5/lib/igx-data-grid-sort-indicator-component.js +24 -12
- package/esm5/lib/igx-date-time-cell-info.js +12 -12
- package/esm5/lib/igx-date-time-column-component.js +20 -20
- package/esm5/lib/igx-editor-cell-info.js +23 -23
- package/esm5/lib/igx-filter-cell-info.js +26 -26
- package/esm5/lib/igx-format-cell-event-args.js +112 -0
- package/esm5/lib/igx-image-cell-info.js +6 -6
- package/esm5/lib/igx-image-column-component.js +10 -10
- package/esm5/lib/igx-numeric-cell-info.js +26 -26
- package/esm5/lib/igx-numeric-column-component.js +30 -30
- package/esm5/lib/igx-section-header-cell-info.js +6 -6
- package/esm5/lib/igx-summary-cell-info.js +9 -9
- package/esm5/lib/igx-template-cell-info.js +2 -2
- package/esm5/lib/igx-template-header-cell-info.js +2 -2
- package/esm5/lib/igx-text-cell-info.js +2 -2
- package/esm5/lib/igx-text-column-component.js +8 -8
- package/esm5/lib/igx-text-header-cell-info.js +10 -10
- package/esm5/public_api.js +2 -0
- package/fesm2015/igniteui-angular-data-grids.js +3969 -3666
- package/fesm5/igniteui-angular-data-grids.js +3900 -3535
- package/lib/CanvasTextCellPresenter.d.ts +1 -0
- package/lib/CheckboxListView_combined.d.ts +127 -120
- package/lib/ColumnFilterCondition_combined.d.ts +643 -636
- package/lib/FormatCellEventArgs.d.ts +15 -0
- package/lib/GridSortIndicatorView_combined.d.ts +41 -38
- package/lib/TemplateHeaderCellModel.d.ts +7 -7
- package/lib/TextCellPresenter.d.ts +1 -0
- package/lib/igx-cell-info.d.ts +5 -0
- package/lib/igx-checkbox-list-component.d.ts +2 -0
- package/lib/igx-data-grid-column-component.d.ts +10 -1
- package/lib/igx-data-grid-sort-indicator-component.d.ts +4 -1
- package/lib/igx-format-cell-event-args.d.ts +45 -0
- package/package.json +4 -5
- package/public_api.d.ts +2 -0
|
@@ -66,16 +66,16 @@ export let IgxDataGridSortIndicatorComponent = /*@__PURE__*/ (() => {
|
|
|
66
66
|
this.i.b = ensureEnum(ColumnSortDirection_$type, v);
|
|
67
67
|
}
|
|
68
68
|
get iconColor() {
|
|
69
|
-
return brushToString(this.i.
|
|
69
|
+
return brushToString(this.i.a3);
|
|
70
70
|
}
|
|
71
71
|
set iconColor(v) {
|
|
72
|
-
this.i.
|
|
72
|
+
this.i.a3 = stringToBrush(v);
|
|
73
73
|
}
|
|
74
74
|
get isAnimationEnabled() {
|
|
75
|
-
return this.i.
|
|
75
|
+
return this.i.m;
|
|
76
76
|
}
|
|
77
77
|
set isAnimationEnabled(v) {
|
|
78
|
-
this.i.
|
|
78
|
+
this.i.m = ensureBool(v);
|
|
79
79
|
}
|
|
80
80
|
/**
|
|
81
81
|
* Gets or sets the scaling value used to affect the pixel density of the control.
|
|
@@ -83,10 +83,10 @@ export let IgxDataGridSortIndicatorComponent = /*@__PURE__*/ (() => {
|
|
|
83
83
|
* to appear blurry.
|
|
84
84
|
*/
|
|
85
85
|
get pixelScalingRatio() {
|
|
86
|
-
return this.i.
|
|
86
|
+
return this.i.y;
|
|
87
87
|
}
|
|
88
88
|
set pixelScalingRatio(v) {
|
|
89
|
-
this.i.
|
|
89
|
+
this.i.y = +v;
|
|
90
90
|
}
|
|
91
91
|
/**
|
|
92
92
|
* Gets the actual pixel scaling ratio used to affect the pixel density of the control.
|
|
@@ -94,10 +94,10 @@ export let IgxDataGridSortIndicatorComponent = /*@__PURE__*/ (() => {
|
|
|
94
94
|
* to appear blurry.
|
|
95
95
|
*/
|
|
96
96
|
get actualPixelScalingRatio() {
|
|
97
|
-
return this.i.
|
|
97
|
+
return this.i.r;
|
|
98
98
|
}
|
|
99
99
|
set actualPixelScalingRatio(v) {
|
|
100
|
-
this.i.
|
|
100
|
+
this.i.r = +v;
|
|
101
101
|
}
|
|
102
102
|
get sortIndicatorStyle() {
|
|
103
103
|
return this.i.f;
|
|
@@ -105,6 +105,12 @@ export let IgxDataGridSortIndicatorComponent = /*@__PURE__*/ (() => {
|
|
|
105
105
|
set sortIndicatorStyle(v) {
|
|
106
106
|
this.i.f = ensureEnum(SortIndicatorStyle_$type, v);
|
|
107
107
|
}
|
|
108
|
+
get isHitTestVisible() {
|
|
109
|
+
return this.i.n;
|
|
110
|
+
}
|
|
111
|
+
set isHitTestVisible(v) {
|
|
112
|
+
this.i.n = ensureBool(v);
|
|
113
|
+
}
|
|
108
114
|
findByName(name) {
|
|
109
115
|
if (this.findEphemera) {
|
|
110
116
|
if (name && name.indexOf("@@e:") == 0) {
|
|
@@ -167,14 +173,14 @@ export let IgxDataGridSortIndicatorComponent = /*@__PURE__*/ (() => {
|
|
|
167
173
|
this._inStyling = false;
|
|
168
174
|
}
|
|
169
175
|
getDesiredScale() {
|
|
170
|
-
let iv = this.i.
|
|
176
|
+
let iv = this.i.x();
|
|
171
177
|
return (iv);
|
|
172
178
|
}
|
|
173
179
|
notifySizeChanged(width, height) {
|
|
174
|
-
this.i.
|
|
180
|
+
this.i.au(width, height);
|
|
175
181
|
}
|
|
176
182
|
notifyCellSizeChanged() {
|
|
177
|
-
this.i.
|
|
183
|
+
this.i.at();
|
|
178
184
|
}
|
|
179
185
|
get renderCompleted() {
|
|
180
186
|
if (this._renderCompleted == null) {
|
|
@@ -203,7 +209,7 @@ export let IgxDataGridSortIndicatorComponent = /*@__PURE__*/ (() => {
|
|
|
203
209
|
}
|
|
204
210
|
}
|
|
205
211
|
IgxDataGridSortIndicatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: IgxDataGridSortIndicatorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
206
|
-
IgxDataGridSortIndicatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: IgxDataGridSortIndicatorComponent, selector: "igx-data-grid-sort-indicator", inputs: { sortDirection: "sortDirection", iconColor: "iconColor", isAnimationEnabled: "isAnimationEnabled", pixelScalingRatio: "pixelScalingRatio", actualPixelScalingRatio: "actualPixelScalingRatio", sortIndicatorStyle: "sortIndicatorStyle" }, outputs: { renderCompleted: "renderCompleted" }, providers: [], ngImport: i0, template: ``, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
212
|
+
IgxDataGridSortIndicatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: IgxDataGridSortIndicatorComponent, selector: "igx-data-grid-sort-indicator", inputs: { sortDirection: "sortDirection", iconColor: "iconColor", isAnimationEnabled: "isAnimationEnabled", pixelScalingRatio: "pixelScalingRatio", actualPixelScalingRatio: "actualPixelScalingRatio", sortIndicatorStyle: "sortIndicatorStyle", isHitTestVisible: "isHitTestVisible" }, outputs: { renderCompleted: "renderCompleted" }, providers: [], ngImport: i0, template: ``, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
207
213
|
return IgxDataGridSortIndicatorComponent;
|
|
208
214
|
})();
|
|
209
215
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: IgxDataGridSortIndicatorComponent, decorators: [{
|
|
@@ -226,6 +232,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
226
232
|
type: Input
|
|
227
233
|
}], sortIndicatorStyle: [{
|
|
228
234
|
type: Input
|
|
235
|
+
}], isHitTestVisible: [{
|
|
236
|
+
type: Input
|
|
229
237
|
}], renderCompleted: [{
|
|
230
238
|
type: Output
|
|
231
239
|
}] } });
|
|
@@ -22,56 +22,56 @@ export class IgxDateTimeCellInfo extends IgxCellInfo {
|
|
|
22
22
|
* Sets or gets the DateTime value for the cell.
|
|
23
23
|
*/
|
|
24
24
|
get dateTimeValue() {
|
|
25
|
-
return this.i.
|
|
25
|
+
return this.i.mt;
|
|
26
26
|
}
|
|
27
27
|
set dateTimeValue(v) {
|
|
28
|
-
this.i.
|
|
28
|
+
this.i.mt = v;
|
|
29
29
|
}
|
|
30
30
|
/**
|
|
31
31
|
* The format string to apply to the value
|
|
32
32
|
*/
|
|
33
33
|
get formatStringOverride() {
|
|
34
|
-
return this.i.
|
|
34
|
+
return this.i.na;
|
|
35
35
|
}
|
|
36
36
|
set formatStringOverride(v) {
|
|
37
|
-
this.i.
|
|
37
|
+
this.i.na = v;
|
|
38
38
|
}
|
|
39
39
|
get formatSpecifiers() {
|
|
40
|
-
return this.i.
|
|
40
|
+
return this.i.mk;
|
|
41
41
|
}
|
|
42
42
|
set formatSpecifiers(v) {
|
|
43
43
|
if (v && !Array.isArray(v) && typeof (v) == "string") {
|
|
44
44
|
const re = /\s*(?:,|\s|$)\s*/gm;
|
|
45
45
|
v = v.split(re);
|
|
46
46
|
}
|
|
47
|
-
this.i.
|
|
47
|
+
this.i.mk = v;
|
|
48
48
|
}
|
|
49
49
|
/**
|
|
50
50
|
* The format options to apply to the value
|
|
51
51
|
*/
|
|
52
52
|
get formatOverride() {
|
|
53
|
-
return this.i.
|
|
53
|
+
return this.i.m3;
|
|
54
54
|
}
|
|
55
55
|
set formatOverride(v) {
|
|
56
|
-
this.i.
|
|
56
|
+
this.i.m3 = v;
|
|
57
57
|
}
|
|
58
58
|
/**
|
|
59
59
|
* Sets or gets the simple DateTimeFormat to use for the cell.
|
|
60
60
|
*/
|
|
61
61
|
get dateTimeFormat() {
|
|
62
|
-
return this.i.
|
|
62
|
+
return this.i.mp;
|
|
63
63
|
}
|
|
64
64
|
set dateTimeFormat(v) {
|
|
65
|
-
this.i.
|
|
65
|
+
this.i.mp = ensureEnum(DateTimeFormats_$type, v);
|
|
66
66
|
}
|
|
67
67
|
/**
|
|
68
68
|
* Sets or gets whether the value to use is a DateTimeOffset value.
|
|
69
69
|
*/
|
|
70
70
|
get isOffsetValue() {
|
|
71
|
-
return this.i.
|
|
71
|
+
return this.i.mr;
|
|
72
72
|
}
|
|
73
73
|
set isOffsetValue(v) {
|
|
74
|
-
this.i.
|
|
74
|
+
this.i.mr = ensureBool(v);
|
|
75
75
|
}
|
|
76
76
|
findByName(name) {
|
|
77
77
|
var baseResult = super.findByName(name);
|
|
@@ -41,92 +41,92 @@ export let IgxDateTimeColumnComponent = /*@__PURE__*/ (() => {
|
|
|
41
41
|
* Gets or sets the date time format to use for this column. If FormatString is specificied this value is ignored.
|
|
42
42
|
*/
|
|
43
43
|
get dateTimeFormat() {
|
|
44
|
-
return this.i.
|
|
44
|
+
return this.i.oa;
|
|
45
45
|
}
|
|
46
46
|
set dateTimeFormat(v) {
|
|
47
|
-
this.i.
|
|
47
|
+
this.i.oa = ensureEnum(DateTimeFormats_$type, v);
|
|
48
48
|
}
|
|
49
49
|
/**
|
|
50
50
|
* Gets or sets the format string to apply to the value. If set, the other value formatting properties on this column are ignored.
|
|
51
51
|
*/
|
|
52
52
|
get formatString() {
|
|
53
|
-
return this.i.
|
|
53
|
+
return this.i.os;
|
|
54
54
|
}
|
|
55
55
|
set formatString(v) {
|
|
56
|
-
this.i.
|
|
56
|
+
this.i.os = v;
|
|
57
57
|
}
|
|
58
58
|
/**
|
|
59
59
|
* Gets or sets the format string to use when editing dates.
|
|
60
60
|
*/
|
|
61
61
|
get editorFormatString() {
|
|
62
|
-
return this.i.
|
|
62
|
+
return this.i.ol;
|
|
63
63
|
}
|
|
64
64
|
set editorFormatString(v) {
|
|
65
|
-
this.i.
|
|
65
|
+
this.i.ol = v;
|
|
66
66
|
}
|
|
67
67
|
get formatSpecifiers() {
|
|
68
|
-
return this.i.
|
|
68
|
+
return this.i.n6;
|
|
69
69
|
}
|
|
70
70
|
set formatSpecifiers(v) {
|
|
71
71
|
if (v && !Array.isArray(v) && typeof (v) == "string") {
|
|
72
72
|
const re = /\s*(?:,|\s|$)\s*/gm;
|
|
73
73
|
v = v.split(re);
|
|
74
74
|
}
|
|
75
|
-
this.i.
|
|
75
|
+
this.i.n6 = v;
|
|
76
76
|
}
|
|
77
77
|
/**
|
|
78
78
|
* Gets or sets the INTL DateTimeFormat object to use for formatting the date values.
|
|
79
79
|
*/
|
|
80
80
|
get formatOverride() {
|
|
81
|
-
return this.i.
|
|
81
|
+
return this.i.oh;
|
|
82
82
|
}
|
|
83
83
|
set formatOverride(v) {
|
|
84
|
-
this.i.
|
|
84
|
+
this.i.oh = v;
|
|
85
85
|
}
|
|
86
86
|
/**
|
|
87
87
|
* Gets or sets the ShowTodayButton property to detirmine if the today button is shown
|
|
88
88
|
*/
|
|
89
89
|
get showTodayButton() {
|
|
90
|
-
return this.i.
|
|
90
|
+
return this.i.od;
|
|
91
91
|
}
|
|
92
92
|
set showTodayButton(v) {
|
|
93
|
-
this.i.
|
|
93
|
+
this.i.od = ensureBool(v);
|
|
94
94
|
}
|
|
95
95
|
/**
|
|
96
96
|
* Gets or sets the editor type used for editing cells in this column.
|
|
97
97
|
*/
|
|
98
98
|
get editorType() {
|
|
99
|
-
return this.i.
|
|
99
|
+
return this.i.ob;
|
|
100
100
|
}
|
|
101
101
|
set editorType(v) {
|
|
102
|
-
this.i.
|
|
102
|
+
this.i.ob = ensureEnum(EditorType_$type, v);
|
|
103
103
|
}
|
|
104
104
|
/**
|
|
105
105
|
* Gets or sets the ComboBox data source.
|
|
106
106
|
*/
|
|
107
107
|
get editorDataSource() {
|
|
108
|
-
return this.i.
|
|
108
|
+
return this.i.og;
|
|
109
109
|
}
|
|
110
110
|
set editorDataSource(v) {
|
|
111
|
-
this.i.
|
|
111
|
+
this.i.og = v;
|
|
112
112
|
}
|
|
113
113
|
/**
|
|
114
114
|
* Gets or sets the ComboBox text field.
|
|
115
115
|
*/
|
|
116
116
|
get editorTextField() {
|
|
117
|
-
return this.i.
|
|
117
|
+
return this.i.on;
|
|
118
118
|
}
|
|
119
119
|
set editorTextField(v) {
|
|
120
|
-
this.i.
|
|
120
|
+
this.i.on = v;
|
|
121
121
|
}
|
|
122
122
|
/**
|
|
123
123
|
* Gets or sets the ComboBox value field.
|
|
124
124
|
*/
|
|
125
125
|
get editorValueField() {
|
|
126
|
-
return this.i.
|
|
126
|
+
return this.i.oo;
|
|
127
127
|
}
|
|
128
128
|
set editorValueField(v) {
|
|
129
|
-
this.i.
|
|
129
|
+
this.i.oo = v;
|
|
130
130
|
}
|
|
131
131
|
findByName(name) {
|
|
132
132
|
var baseResult = super.findByName(name);
|
|
@@ -23,111 +23,111 @@ export class IgxEditorCellInfo extends IgxCellInfo {
|
|
|
23
23
|
* Gets whether the editor cell is hidden or not.
|
|
24
24
|
*/
|
|
25
25
|
get isHidden() {
|
|
26
|
-
return this.i.
|
|
26
|
+
return this.i.mv;
|
|
27
27
|
}
|
|
28
28
|
/**
|
|
29
29
|
* Gets or sets the edit target for this cell.
|
|
30
30
|
*/
|
|
31
31
|
get editTarget() {
|
|
32
|
-
const r = this.i.
|
|
32
|
+
const r = this.i.mo;
|
|
33
33
|
if (r == null) {
|
|
34
34
|
return null;
|
|
35
35
|
}
|
|
36
36
|
return r.externalObject;
|
|
37
37
|
}
|
|
38
38
|
set editTarget(v) {
|
|
39
|
-
v == null ? this.i.
|
|
39
|
+
v == null ? this.i.mo = null : this.i.mo = v.i;
|
|
40
40
|
}
|
|
41
41
|
/**
|
|
42
42
|
* Gets or sets the data type associated with the cell being edited.
|
|
43
43
|
*/
|
|
44
44
|
get dataType() {
|
|
45
|
-
return this.i.
|
|
45
|
+
return this.i.mm;
|
|
46
46
|
}
|
|
47
47
|
set dataType(v) {
|
|
48
|
-
this.i.
|
|
48
|
+
this.i.mm = ensureEnum(DataSourceSchemaPropertyType_$type, v);
|
|
49
49
|
}
|
|
50
50
|
/**
|
|
51
51
|
* Gets or sets the error message to display in the editor cell.
|
|
52
52
|
*/
|
|
53
53
|
get errorMessage() {
|
|
54
|
-
return this.i.
|
|
54
|
+
return this.i.nr;
|
|
55
55
|
}
|
|
56
56
|
set errorMessage(v) {
|
|
57
|
-
this.i.
|
|
57
|
+
this.i.nr = v;
|
|
58
58
|
}
|
|
59
59
|
/**
|
|
60
60
|
* Gets or sets the user selected value.
|
|
61
61
|
*/
|
|
62
62
|
get editValue() {
|
|
63
|
-
return this.i.
|
|
63
|
+
return this.i.ne;
|
|
64
64
|
}
|
|
65
65
|
set editValue(v) {
|
|
66
|
-
this.i.
|
|
66
|
+
this.i.ne = v;
|
|
67
67
|
}
|
|
68
68
|
/**
|
|
69
69
|
* Gets or sets the type of editor to use while cell editing.
|
|
70
70
|
*/
|
|
71
71
|
get editorType() {
|
|
72
|
-
return this.i.
|
|
72
|
+
return this.i.mq;
|
|
73
73
|
}
|
|
74
74
|
set editorType(v) {
|
|
75
|
-
this.i.
|
|
75
|
+
this.i.mq = ensureEnum(EditorType_$type, v);
|
|
76
76
|
}
|
|
77
77
|
/**
|
|
78
78
|
* Gets or sets the data source to use for the editor where it makes sense.
|
|
79
79
|
*/
|
|
80
80
|
get editorDataSource() {
|
|
81
|
-
return this.i.
|
|
81
|
+
return this.i.nd;
|
|
82
82
|
}
|
|
83
83
|
set editorDataSource(v) {
|
|
84
|
-
this.i.
|
|
84
|
+
this.i.nd = v;
|
|
85
85
|
}
|
|
86
86
|
/**
|
|
87
87
|
* Gets or sets the editors display member.
|
|
88
88
|
*/
|
|
89
89
|
get editorTextField() {
|
|
90
|
-
return this.i.
|
|
90
|
+
return this.i.nm;
|
|
91
91
|
}
|
|
92
92
|
set editorTextField(v) {
|
|
93
|
-
this.i.
|
|
93
|
+
this.i.nm = v;
|
|
94
94
|
}
|
|
95
95
|
/**
|
|
96
96
|
* Gets or sets the editors value member.
|
|
97
97
|
*/
|
|
98
98
|
get editorValueField() {
|
|
99
|
-
return this.i.
|
|
99
|
+
return this.i.mk;
|
|
100
100
|
}
|
|
101
101
|
set editorValueField(v) {
|
|
102
102
|
if (v && !Array.isArray(v) && typeof (v) == "string") {
|
|
103
103
|
const re = /\s*(?:,|\s|$)\s*/gm;
|
|
104
104
|
v = v.split(re);
|
|
105
105
|
}
|
|
106
|
-
this.i.
|
|
106
|
+
this.i.mk = v;
|
|
107
107
|
}
|
|
108
108
|
get dateFormatString() {
|
|
109
|
-
return this.i.
|
|
109
|
+
return this.i.nj;
|
|
110
110
|
}
|
|
111
111
|
set dateFormatString(v) {
|
|
112
|
-
this.i.
|
|
112
|
+
this.i.nj = v;
|
|
113
113
|
}
|
|
114
114
|
get showTodayButton() {
|
|
115
|
-
return this.i.
|
|
115
|
+
return this.i.mw;
|
|
116
116
|
}
|
|
117
117
|
set showTodayButton(v) {
|
|
118
|
-
this.i.
|
|
118
|
+
this.i.mw = ensureBool(v);
|
|
119
119
|
}
|
|
120
120
|
/**
|
|
121
121
|
* Gets the row index that the editor cell is targeting for edit.
|
|
122
122
|
*/
|
|
123
123
|
get targetRow() {
|
|
124
|
-
return this.i.
|
|
124
|
+
return this.i.nb;
|
|
125
125
|
}
|
|
126
126
|
/**
|
|
127
127
|
* Gets the column index that the editor cell is targeting for edit.
|
|
128
128
|
*/
|
|
129
129
|
get targetColumn() {
|
|
130
|
-
return this.i.
|
|
130
|
+
return this.i.na;
|
|
131
131
|
}
|
|
132
132
|
findByName(name) {
|
|
133
133
|
var baseResult = super.findByName(name);
|
|
@@ -27,38 +27,38 @@ export class IgxFilterCellInfo extends IgxCellInfo {
|
|
|
27
27
|
* Gets or sets whether the cell is hit test visible.
|
|
28
28
|
*/
|
|
29
29
|
get dataType() {
|
|
30
|
-
return this.i.
|
|
30
|
+
return this.i.mo;
|
|
31
31
|
}
|
|
32
32
|
set dataType(v) {
|
|
33
|
-
this.i.
|
|
33
|
+
this.i.mo = ensureEnum(DataSourceSchemaPropertyType_$type, v);
|
|
34
34
|
}
|
|
35
35
|
/**
|
|
36
36
|
* Gets or sets the current filter to display in the cell.
|
|
37
37
|
*/
|
|
38
38
|
get filter() {
|
|
39
|
-
return this.i.
|
|
39
|
+
return this.i.mm;
|
|
40
40
|
}
|
|
41
41
|
set filter(v) {
|
|
42
|
-
this.i.
|
|
42
|
+
this.i.mm = v;
|
|
43
43
|
}
|
|
44
44
|
/**
|
|
45
45
|
* Gets or sets the current filter expression applied to the column.
|
|
46
46
|
*/
|
|
47
47
|
get filterExpression() {
|
|
48
|
-
return this.i.
|
|
48
|
+
return this.i.mq;
|
|
49
49
|
}
|
|
50
50
|
set filterExpression(v) {
|
|
51
|
-
this.i.
|
|
51
|
+
this.i.mq = v;
|
|
52
52
|
}
|
|
53
53
|
get filterOperands() {
|
|
54
54
|
if (this._filterOperands === null) {
|
|
55
55
|
let coll = new IgxGridFilterOperandsCollection();
|
|
56
|
-
let innerColl = this.i.
|
|
56
|
+
let innerColl = this.i.ms;
|
|
57
57
|
if (!innerColl) {
|
|
58
58
|
innerColl = new GridFilterOperandsCollection_internal();
|
|
59
59
|
}
|
|
60
60
|
this._filterOperands = coll._fromInner(innerColl);
|
|
61
|
-
this.i.
|
|
61
|
+
this.i.ms = innerColl;
|
|
62
62
|
}
|
|
63
63
|
return this._filterOperands;
|
|
64
64
|
}
|
|
@@ -70,62 +70,62 @@ export class IgxFilterCellInfo extends IgxCellInfo {
|
|
|
70
70
|
let coll = new IgxGridFilterOperandsCollection();
|
|
71
71
|
this._filterOperands = coll._fromOuter(v);
|
|
72
72
|
let syncColl = new SyncableObservableCollection$1(FilterOperand.$type);
|
|
73
|
-
let innerColl = this.i.
|
|
73
|
+
let innerColl = this.i.ms;
|
|
74
74
|
if (!innerColl) {
|
|
75
75
|
innerColl = new GridFilterOperandsCollection_internal();
|
|
76
76
|
}
|
|
77
77
|
syncColl._inner = innerColl;
|
|
78
78
|
syncColl.clear();
|
|
79
79
|
this._filterOperands._setSyncTarget(syncColl);
|
|
80
|
-
this.i.
|
|
80
|
+
this.i.ms = innerColl;
|
|
81
81
|
}
|
|
82
82
|
get operatorType() {
|
|
83
|
-
return this.i.
|
|
83
|
+
return this.i.mk;
|
|
84
84
|
}
|
|
85
85
|
set operatorType(v) {
|
|
86
|
-
this.i.
|
|
86
|
+
this.i.mk = v;
|
|
87
87
|
}
|
|
88
88
|
get filterValue() {
|
|
89
|
-
return this.i.
|
|
89
|
+
return this.i.m6;
|
|
90
90
|
}
|
|
91
91
|
set filterValue(v) {
|
|
92
|
-
this.i.
|
|
92
|
+
this.i.m6 = v;
|
|
93
93
|
}
|
|
94
94
|
get selectorTop() {
|
|
95
|
-
return this.i.
|
|
95
|
+
return this.i.m0;
|
|
96
96
|
}
|
|
97
97
|
set selectorTop(v) {
|
|
98
|
-
this.i.
|
|
98
|
+
this.i.m0 = +v;
|
|
99
99
|
}
|
|
100
100
|
get selectorLeft() {
|
|
101
|
-
return this.i.
|
|
101
|
+
return this.i.mz;
|
|
102
102
|
}
|
|
103
103
|
set selectorLeft(v) {
|
|
104
|
-
this.i.
|
|
104
|
+
this.i.mz = +v;
|
|
105
105
|
}
|
|
106
106
|
get editorTop() {
|
|
107
|
-
return this.i.
|
|
107
|
+
return this.i.my;
|
|
108
108
|
}
|
|
109
109
|
set editorTop(v) {
|
|
110
|
-
this.i.
|
|
110
|
+
this.i.my = +v;
|
|
111
111
|
}
|
|
112
112
|
get editorLeft() {
|
|
113
|
-
return this.i.
|
|
113
|
+
return this.i.mx;
|
|
114
114
|
}
|
|
115
115
|
set editorLeft(v) {
|
|
116
|
-
this.i.
|
|
116
|
+
this.i.mx = +v;
|
|
117
117
|
}
|
|
118
118
|
get clearIconTop() {
|
|
119
|
-
return this.i.
|
|
119
|
+
return this.i.mw;
|
|
120
120
|
}
|
|
121
121
|
set clearIconTop(v) {
|
|
122
|
-
this.i.
|
|
122
|
+
this.i.mw = +v;
|
|
123
123
|
}
|
|
124
124
|
get clearIconLeft() {
|
|
125
|
-
return this.i.
|
|
125
|
+
return this.i.mv;
|
|
126
126
|
}
|
|
127
127
|
set clearIconLeft(v) {
|
|
128
|
-
this.i.
|
|
128
|
+
this.i.mv = +v;
|
|
129
129
|
}
|
|
130
130
|
findByName(name) {
|
|
131
131
|
var baseResult = super.findByName(name);
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { FormatCellEventArgs as FormatCellEventArgs_internal } from "./FormatCellEventArgs";
|
|
2
|
+
import { ensureBool } from "igniteui-angular-core";
|
|
3
|
+
export class IgxFormatCellEventArgs {
|
|
4
|
+
constructor() {
|
|
5
|
+
this._implementation = this.createImplementation();
|
|
6
|
+
this._implementation.externalObject = this;
|
|
7
|
+
this.onImplementationCreated();
|
|
8
|
+
if (this._initializeAdapters) {
|
|
9
|
+
this._initializeAdapters();
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
createImplementation() {
|
|
13
|
+
return new FormatCellEventArgs_internal();
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* @hidden
|
|
17
|
+
*/
|
|
18
|
+
get i() {
|
|
19
|
+
return this._implementation;
|
|
20
|
+
}
|
|
21
|
+
onImplementationCreated() {
|
|
22
|
+
}
|
|
23
|
+
_provideImplementation(i) {
|
|
24
|
+
this._implementation = i;
|
|
25
|
+
this._implementation.externalObject = this;
|
|
26
|
+
this.onImplementationCreated();
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Gets the row index of the cell to format.
|
|
30
|
+
*/
|
|
31
|
+
get row() {
|
|
32
|
+
return this.i.c;
|
|
33
|
+
}
|
|
34
|
+
set row(v) {
|
|
35
|
+
this.i.c = +v;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Gets the data item associated with the cell.
|
|
39
|
+
*/
|
|
40
|
+
get item() {
|
|
41
|
+
return this.i.item;
|
|
42
|
+
}
|
|
43
|
+
set item(v) {
|
|
44
|
+
this.i.item = v;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Gets the value that is to be displayed in the cell.
|
|
48
|
+
*/
|
|
49
|
+
get value() {
|
|
50
|
+
return this.i.e;
|
|
51
|
+
}
|
|
52
|
+
set value(v) {
|
|
53
|
+
this.i.e = v;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Sets the formatted text to display in the cell.
|
|
57
|
+
*/
|
|
58
|
+
get text() {
|
|
59
|
+
return this.i.f;
|
|
60
|
+
}
|
|
61
|
+
set text(v) {
|
|
62
|
+
this.i.f = v;
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* The cell is part of a summary row.
|
|
66
|
+
*/
|
|
67
|
+
get isSummary() {
|
|
68
|
+
return this.i.b;
|
|
69
|
+
}
|
|
70
|
+
set isSummary(v) {
|
|
71
|
+
this.i.b = ensureBool(v);
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* The cell is part of a grouping row.
|
|
75
|
+
*/
|
|
76
|
+
get isGroup() {
|
|
77
|
+
return this.i.a;
|
|
78
|
+
}
|
|
79
|
+
set isGroup(v) {
|
|
80
|
+
this.i.a = ensureBool(v);
|
|
81
|
+
}
|
|
82
|
+
}
|
|
@@ -23,27 +23,27 @@ export class IgxImageCellInfo extends IgxCellInfo {
|
|
|
23
23
|
* Sets or gets the resource path to use to get the image for the cell.
|
|
24
24
|
*/
|
|
25
25
|
get imagePath() {
|
|
26
|
-
return this.i.
|
|
26
|
+
return this.i.mr;
|
|
27
27
|
}
|
|
28
28
|
set imagePath(v) {
|
|
29
|
-
this.i.
|
|
29
|
+
this.i.mr = v;
|
|
30
30
|
}
|
|
31
31
|
/**
|
|
32
32
|
* Sets or gets the image stretching behavior for the image.
|
|
33
33
|
*/
|
|
34
34
|
get imageStretchOption() {
|
|
35
|
-
return this.i.
|
|
35
|
+
return this.i.mm;
|
|
36
36
|
}
|
|
37
37
|
set imageStretchOption(v) {
|
|
38
|
-
this.i.
|
|
38
|
+
this.i.mm = ensureEnum(ImageStretchOptions_$type, v);
|
|
39
39
|
}
|
|
40
40
|
/**
|
|
41
41
|
* Sets or gets the image resource type. Indicates which type of resource should be fetched and how ImagePath should be interpreted.
|
|
42
42
|
*/
|
|
43
43
|
get imageResourceType() {
|
|
44
|
-
return this.i.
|
|
44
|
+
return this.i.mk;
|
|
45
45
|
}
|
|
46
46
|
set imageResourceType(v) {
|
|
47
|
-
this.i.
|
|
47
|
+
this.i.mk = ensureEnum(ImageResourceType_$type, v);
|
|
48
48
|
}
|
|
49
49
|
}
|