igniteui-webcomponents-data-grids 6.0.0 → 6.0.1-beta.1
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-webcomponents-data-grids.umd.js +3976 -3602
- package/bundles/igniteui-webcomponents-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 +2445 -2387
- 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/igc-cell-info.js +58 -49
- package/esm2015/lib/igc-checkbox-list-component.js +75 -72
- package/esm2015/lib/igc-combo-box-column-component.js +10 -10
- package/esm2015/lib/igc-data-grid-column-component.js +164 -135
- package/esm2015/lib/igc-data-grid-sort-indicator-component.js +22 -15
- package/esm2015/lib/igc-date-time-cell-info.js +12 -12
- package/esm2015/lib/igc-date-time-column-component.js +23 -23
- package/esm2015/lib/igc-editor-cell-info.js +23 -23
- package/esm2015/lib/igc-filter-cell-info.js +26 -26
- package/esm2015/lib/igc-format-cell-event-args.js +85 -0
- package/esm2015/lib/igc-image-cell-info.js +6 -6
- package/esm2015/lib/igc-image-column-component.js +12 -12
- package/esm2015/lib/igc-numeric-cell-info.js +26 -26
- package/esm2015/lib/igc-numeric-column-component.js +35 -35
- package/esm2015/lib/igc-section-header-cell-info.js +6 -6
- package/esm2015/lib/igc-summary-cell-info.js +9 -9
- package/esm2015/lib/igc-template-cell-info.js +2 -2
- package/esm2015/lib/igc-template-header-cell-info.js +2 -2
- package/esm2015/lib/igc-text-cell-info.js +2 -2
- package/esm2015/lib/igc-text-column-component.js +9 -9
- package/esm2015/lib/igc-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/igc-cell-info.js +62 -49
- package/esm5/lib/igc-checkbox-list-component.js +79 -72
- package/esm5/lib/igc-combo-box-column-component.js +10 -10
- package/esm5/lib/igc-data-grid-column-component.js +169 -135
- package/esm5/lib/igc-data-grid-sort-indicator-component.js +26 -15
- package/esm5/lib/igc-date-time-cell-info.js +12 -12
- package/esm5/lib/igc-date-time-column-component.js +23 -23
- package/esm5/lib/igc-editor-cell-info.js +23 -23
- package/esm5/lib/igc-filter-cell-info.js +26 -26
- package/esm5/lib/igc-format-cell-event-args.js +115 -0
- package/esm5/lib/igc-image-cell-info.js +6 -6
- package/esm5/lib/igc-image-column-component.js +12 -12
- package/esm5/lib/igc-numeric-cell-info.js +26 -26
- package/esm5/lib/igc-numeric-column-component.js +35 -35
- package/esm5/lib/igc-section-header-cell-info.js +6 -6
- package/esm5/lib/igc-summary-cell-info.js +9 -9
- package/esm5/lib/igc-template-cell-info.js +2 -2
- package/esm5/lib/igc-template-header-cell-info.js +2 -2
- package/esm5/lib/igc-text-cell-info.js +2 -2
- package/esm5/lib/igc-text-column-component.js +9 -9
- package/esm5/lib/igc-text-header-cell-info.js +10 -10
- package/esm5/public_api.js +2 -0
- package/fesm2015/igniteui-webcomponents-data-grids.js +4045 -3735
- package/fesm5/igniteui-webcomponents-data-grids.js +3976 -3604
- 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/igc-cell-info.d.ts +5 -0
- package/lib/igc-checkbox-list-component.d.ts +1 -0
- package/lib/igc-data-grid-column-component.d.ts +8 -0
- package/lib/igc-data-grid-sort-indicator-component.d.ts +2 -0
- package/lib/igc-format-cell-event-args.d.ts +42 -0
- package/package.json +4 -5
- package/public_api.d.ts +2 -0
|
@@ -146,18 +146,18 @@ export let IgcDataGridSortIndicatorComponent = /*@__PURE__*/ (() => {
|
|
|
146
146
|
this._a("sortDirection", enumToString(ColumnSortDirection_$type, this.i.b));
|
|
147
147
|
}
|
|
148
148
|
get iconColor() {
|
|
149
|
-
return brushToString(this.i.
|
|
149
|
+
return brushToString(this.i.a3);
|
|
150
150
|
}
|
|
151
151
|
set iconColor(v) {
|
|
152
|
-
this.i.
|
|
153
|
-
this._a("iconColor", brushToString(this.i.
|
|
152
|
+
this.i.a3 = stringToBrush(v);
|
|
153
|
+
this._a("iconColor", brushToString(this.i.a3));
|
|
154
154
|
}
|
|
155
155
|
get isAnimationEnabled() {
|
|
156
|
-
return this.i.
|
|
156
|
+
return this.i.m;
|
|
157
157
|
}
|
|
158
158
|
set isAnimationEnabled(v) {
|
|
159
|
-
this.i.
|
|
160
|
-
this._a("isAnimationEnabled", this.i.
|
|
159
|
+
this.i.m = ensureBool(v);
|
|
160
|
+
this._a("isAnimationEnabled", this.i.m);
|
|
161
161
|
}
|
|
162
162
|
/**
|
|
163
163
|
* Gets or sets the scaling value used to affect the pixel density of the control.
|
|
@@ -165,11 +165,11 @@ export let IgcDataGridSortIndicatorComponent = /*@__PURE__*/ (() => {
|
|
|
165
165
|
* to appear blurry.
|
|
166
166
|
*/
|
|
167
167
|
get pixelScalingRatio() {
|
|
168
|
-
return this.i.
|
|
168
|
+
return this.i.y;
|
|
169
169
|
}
|
|
170
170
|
set pixelScalingRatio(v) {
|
|
171
|
-
this.i.
|
|
172
|
-
this._a("pixelScalingRatio", this.i.
|
|
171
|
+
this.i.y = +v;
|
|
172
|
+
this._a("pixelScalingRatio", this.i.y);
|
|
173
173
|
}
|
|
174
174
|
/**
|
|
175
175
|
* Gets the actual pixel scaling ratio used to affect the pixel density of the control.
|
|
@@ -177,11 +177,11 @@ export let IgcDataGridSortIndicatorComponent = /*@__PURE__*/ (() => {
|
|
|
177
177
|
* to appear blurry.
|
|
178
178
|
*/
|
|
179
179
|
get actualPixelScalingRatio() {
|
|
180
|
-
return this.i.
|
|
180
|
+
return this.i.r;
|
|
181
181
|
}
|
|
182
182
|
set actualPixelScalingRatio(v) {
|
|
183
|
-
this.i.
|
|
184
|
-
this._a("actualPixelScalingRatio", this.i.
|
|
183
|
+
this.i.r = +v;
|
|
184
|
+
this._a("actualPixelScalingRatio", this.i.r);
|
|
185
185
|
}
|
|
186
186
|
get sortIndicatorStyle() {
|
|
187
187
|
return this.i.f;
|
|
@@ -190,6 +190,13 @@ export let IgcDataGridSortIndicatorComponent = /*@__PURE__*/ (() => {
|
|
|
190
190
|
this.i.f = ensureEnum(SortIndicatorStyle_$type, v);
|
|
191
191
|
this._a("sortIndicatorStyle", enumToString(SortIndicatorStyle_$type, this.i.f));
|
|
192
192
|
}
|
|
193
|
+
get isHitTestVisible() {
|
|
194
|
+
return this.i.n;
|
|
195
|
+
}
|
|
196
|
+
set isHitTestVisible(v) {
|
|
197
|
+
this.i.n = ensureBool(v);
|
|
198
|
+
this._a("isHitTestVisible", this.i.n);
|
|
199
|
+
}
|
|
193
200
|
findByName(name) {
|
|
194
201
|
if (this.findEphemera) {
|
|
195
202
|
if (name && name.indexOf("@@e:") == 0) {
|
|
@@ -252,14 +259,14 @@ export let IgcDataGridSortIndicatorComponent = /*@__PURE__*/ (() => {
|
|
|
252
259
|
this._inStyling = false;
|
|
253
260
|
}
|
|
254
261
|
getDesiredScale() {
|
|
255
|
-
let iv = this.i.
|
|
262
|
+
let iv = this.i.x();
|
|
256
263
|
return (iv);
|
|
257
264
|
}
|
|
258
265
|
notifySizeChanged(width, height) {
|
|
259
|
-
this.i.
|
|
266
|
+
this.i.au(width, height);
|
|
260
267
|
}
|
|
261
268
|
notifyCellSizeChanged() {
|
|
262
|
-
this.i.
|
|
269
|
+
this.i.at();
|
|
263
270
|
}
|
|
264
271
|
get renderCompleted() {
|
|
265
272
|
return this._renderCompleted;
|
|
@@ -22,56 +22,56 @@ export class IgcDateTimeCellInfo extends IgcCellInfo {
|
|
|
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);
|
|
@@ -70,95 +70,95 @@ export let IgcDateTimeColumnComponent = /*@__PURE__*/ (() => {
|
|
|
70
70
|
* Gets or sets the date time format to use for this column. If FormatString is specificied this value is ignored.
|
|
71
71
|
*/
|
|
72
72
|
get dateTimeFormat() {
|
|
73
|
-
return this.i.
|
|
73
|
+
return this.i.oa;
|
|
74
74
|
}
|
|
75
75
|
set dateTimeFormat(v) {
|
|
76
|
-
this.i.
|
|
77
|
-
this._a("dateTimeFormat", enumToString(DateTimeFormats_$type, this.i.
|
|
76
|
+
this.i.oa = ensureEnum(DateTimeFormats_$type, v);
|
|
77
|
+
this._a("dateTimeFormat", enumToString(DateTimeFormats_$type, this.i.oa));
|
|
78
78
|
}
|
|
79
79
|
/**
|
|
80
80
|
* Gets or sets the format string to apply to the value. If set, the other value formatting properties on this column are ignored.
|
|
81
81
|
*/
|
|
82
82
|
get formatString() {
|
|
83
|
-
return this.i.
|
|
83
|
+
return this.i.os;
|
|
84
84
|
}
|
|
85
85
|
set formatString(v) {
|
|
86
|
-
this.i.
|
|
86
|
+
this.i.os = v;
|
|
87
87
|
}
|
|
88
88
|
/**
|
|
89
89
|
* Gets or sets the format string to use when editing dates.
|
|
90
90
|
*/
|
|
91
91
|
get editorFormatString() {
|
|
92
|
-
return this.i.
|
|
92
|
+
return this.i.ol;
|
|
93
93
|
}
|
|
94
94
|
set editorFormatString(v) {
|
|
95
|
-
this.i.
|
|
95
|
+
this.i.ol = v;
|
|
96
96
|
}
|
|
97
97
|
get formatSpecifiers() {
|
|
98
|
-
return this.i.
|
|
98
|
+
return this.i.n6;
|
|
99
99
|
}
|
|
100
100
|
set formatSpecifiers(v) {
|
|
101
101
|
if (v && !Array.isArray(v) && typeof (v) == "string") {
|
|
102
102
|
const re = /\s*(?:,|\s|$)\s*/gm;
|
|
103
103
|
v = v.split(re);
|
|
104
104
|
}
|
|
105
|
-
this.i.
|
|
105
|
+
this.i.n6 = v;
|
|
106
106
|
}
|
|
107
107
|
/**
|
|
108
108
|
* Gets or sets the INTL DateTimeFormat object to use for formatting the date values.
|
|
109
109
|
*/
|
|
110
110
|
get formatOverride() {
|
|
111
|
-
return this.i.
|
|
111
|
+
return this.i.oh;
|
|
112
112
|
}
|
|
113
113
|
set formatOverride(v) {
|
|
114
|
-
this.i.
|
|
114
|
+
this.i.oh = v;
|
|
115
115
|
}
|
|
116
116
|
/**
|
|
117
117
|
* Gets or sets the ShowTodayButton property to detirmine if the today button is shown
|
|
118
118
|
*/
|
|
119
119
|
get showTodayButton() {
|
|
120
|
-
return this.i.
|
|
120
|
+
return this.i.od;
|
|
121
121
|
}
|
|
122
122
|
set showTodayButton(v) {
|
|
123
|
-
this.i.
|
|
124
|
-
this._a("showTodayButton", this.i.
|
|
123
|
+
this.i.od = ensureBool(v);
|
|
124
|
+
this._a("showTodayButton", this.i.od);
|
|
125
125
|
}
|
|
126
126
|
/**
|
|
127
127
|
* Gets or sets the editor type used for editing cells in this column.
|
|
128
128
|
*/
|
|
129
129
|
get editorType() {
|
|
130
|
-
return this.i.
|
|
130
|
+
return this.i.ob;
|
|
131
131
|
}
|
|
132
132
|
set editorType(v) {
|
|
133
|
-
this.i.
|
|
134
|
-
this._a("editorType", enumToString(EditorType_$type, this.i.
|
|
133
|
+
this.i.ob = ensureEnum(EditorType_$type, v);
|
|
134
|
+
this._a("editorType", enumToString(EditorType_$type, this.i.ob));
|
|
135
135
|
}
|
|
136
136
|
/**
|
|
137
137
|
* Gets or sets the ComboBox data source.
|
|
138
138
|
*/
|
|
139
139
|
get editorDataSource() {
|
|
140
|
-
return this.i.
|
|
140
|
+
return this.i.og;
|
|
141
141
|
}
|
|
142
142
|
set editorDataSource(v) {
|
|
143
|
-
this.i.
|
|
143
|
+
this.i.og = v;
|
|
144
144
|
}
|
|
145
145
|
/**
|
|
146
146
|
* Gets or sets the ComboBox text field.
|
|
147
147
|
*/
|
|
148
148
|
get editorTextField() {
|
|
149
|
-
return this.i.
|
|
149
|
+
return this.i.on;
|
|
150
150
|
}
|
|
151
151
|
set editorTextField(v) {
|
|
152
|
-
this.i.
|
|
152
|
+
this.i.on = v;
|
|
153
153
|
}
|
|
154
154
|
/**
|
|
155
155
|
* Gets or sets the ComboBox value field.
|
|
156
156
|
*/
|
|
157
157
|
get editorValueField() {
|
|
158
|
-
return this.i.
|
|
158
|
+
return this.i.oo;
|
|
159
159
|
}
|
|
160
160
|
set editorValueField(v) {
|
|
161
|
-
this.i.
|
|
161
|
+
this.i.oo = v;
|
|
162
162
|
}
|
|
163
163
|
findByName(name) {
|
|
164
164
|
var baseResult = super.findByName(name);
|
|
@@ -23,111 +23,111 @@ export class IgcEditorCellInfo extends IgcCellInfo {
|
|
|
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 IgcFilterCellInfo extends IgcCellInfo {
|
|
|
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 IgcGridFilterOperandsCollection();
|
|
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 IgcFilterCellInfo extends IgcCellInfo {
|
|
|
70
70
|
let coll = new IgcGridFilterOperandsCollection();
|
|
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,85 @@
|
|
|
1
|
+
import { FormatCellEventArgs as FormatCellEventArgs_internal } from "./FormatCellEventArgs";
|
|
2
|
+
import { ensureBool } from "igniteui-webcomponents-core";
|
|
3
|
+
export class IgcFormatCellEventArgs {
|
|
4
|
+
createImplementation() {
|
|
5
|
+
return new FormatCellEventArgs_internal();
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* @hidden
|
|
9
|
+
*/
|
|
10
|
+
get i() {
|
|
11
|
+
return this._implementation;
|
|
12
|
+
}
|
|
13
|
+
onImplementationCreated() {
|
|
14
|
+
}
|
|
15
|
+
constructor() {
|
|
16
|
+
this._implementation = this.createImplementation();
|
|
17
|
+
this._implementation.externalObject = this;
|
|
18
|
+
this.onImplementationCreated();
|
|
19
|
+
if (this._initializeAdapters) {
|
|
20
|
+
this._initializeAdapters();
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
_provideImplementation(i) {
|
|
24
|
+
this._implementation = i;
|
|
25
|
+
this._implementation.externalObject = this;
|
|
26
|
+
this.onImplementationCreated();
|
|
27
|
+
if (this._initializeAdapters) {
|
|
28
|
+
this._initializeAdapters();
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Gets the row index of the cell to format.
|
|
33
|
+
*/
|
|
34
|
+
get row() {
|
|
35
|
+
return this.i.c;
|
|
36
|
+
}
|
|
37
|
+
set row(v) {
|
|
38
|
+
this.i.c = +v;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Gets the data item associated with the cell.
|
|
42
|
+
*/
|
|
43
|
+
get item() {
|
|
44
|
+
return this.i.item;
|
|
45
|
+
}
|
|
46
|
+
set item(v) {
|
|
47
|
+
this.i.item = v;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Gets the value that is to be displayed in the cell.
|
|
51
|
+
*/
|
|
52
|
+
get value() {
|
|
53
|
+
return this.i.e;
|
|
54
|
+
}
|
|
55
|
+
set value(v) {
|
|
56
|
+
this.i.e = v;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Sets the formatted text to display in the cell.
|
|
60
|
+
*/
|
|
61
|
+
get text() {
|
|
62
|
+
return this.i.f;
|
|
63
|
+
}
|
|
64
|
+
set text(v) {
|
|
65
|
+
this.i.f = v;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* The cell is part of a summary row.
|
|
69
|
+
*/
|
|
70
|
+
get isSummary() {
|
|
71
|
+
return this.i.b;
|
|
72
|
+
}
|
|
73
|
+
set isSummary(v) {
|
|
74
|
+
this.i.b = ensureBool(v);
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* The cell is part of a grouping row.
|
|
78
|
+
*/
|
|
79
|
+
get isGroup() {
|
|
80
|
+
return this.i.a;
|
|
81
|
+
}
|
|
82
|
+
set isGroup(v) {
|
|
83
|
+
this.i.a = ensureBool(v);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
@@ -23,27 +23,27 @@ export class IgcImageCellInfo extends IgcCellInfo {
|
|
|
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
|
}
|