igniteui-webcomponents-data-grids 6.0.0 → 6.0.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
|
@@ -70,48 +70,48 @@ export let IgcImageColumnComponent = /*@__PURE__*/ (() => {
|
|
|
70
70
|
* Gets or sets the stretch option to use when rendering images
|
|
71
71
|
*/
|
|
72
72
|
get imageStretchOption() {
|
|
73
|
-
return this.i.
|
|
73
|
+
return this.i.n9;
|
|
74
74
|
}
|
|
75
75
|
set imageStretchOption(v) {
|
|
76
|
-
this.i.
|
|
77
|
-
this._a("imageStretchOption", enumToString(ImageStretchOptions_$type, this.i.
|
|
76
|
+
this.i.n9 = ensureEnum(ImageStretchOptions_$type, v);
|
|
77
|
+
this._a("imageStretchOption", enumToString(ImageStretchOptions_$type, this.i.n9));
|
|
78
78
|
}
|
|
79
79
|
/**
|
|
80
80
|
* Gets or sets the editor type used for editing cells in this column.
|
|
81
81
|
*/
|
|
82
82
|
get editorType() {
|
|
83
|
-
return this.i.
|
|
83
|
+
return this.i.n5;
|
|
84
84
|
}
|
|
85
85
|
set editorType(v) {
|
|
86
|
-
this.i.
|
|
87
|
-
this._a("editorType", enumToString(EditorType_$type, this.i.
|
|
86
|
+
this.i.n5 = ensureEnum(EditorType_$type, v);
|
|
87
|
+
this._a("editorType", enumToString(EditorType_$type, this.i.n5));
|
|
88
88
|
}
|
|
89
89
|
/**
|
|
90
90
|
* Gets or sets the ComboBox data source.
|
|
91
91
|
*/
|
|
92
92
|
get editorDataSource() {
|
|
93
|
-
return this.i.
|
|
93
|
+
return this.i.oa;
|
|
94
94
|
}
|
|
95
95
|
set editorDataSource(v) {
|
|
96
|
-
this.i.
|
|
96
|
+
this.i.oa = v;
|
|
97
97
|
}
|
|
98
98
|
/**
|
|
99
99
|
* Gets or sets the ComboBox text field.
|
|
100
100
|
*/
|
|
101
101
|
get editorTextField() {
|
|
102
|
-
return this.i.
|
|
102
|
+
return this.i.ob;
|
|
103
103
|
}
|
|
104
104
|
set editorTextField(v) {
|
|
105
|
-
this.i.
|
|
105
|
+
this.i.ob = v;
|
|
106
106
|
}
|
|
107
107
|
/**
|
|
108
108
|
* Gets or sets the ComboBox value field.
|
|
109
109
|
*/
|
|
110
110
|
get editorValueField() {
|
|
111
|
-
return this.i.
|
|
111
|
+
return this.i.oc;
|
|
112
112
|
}
|
|
113
113
|
set editorValueField(v) {
|
|
114
|
-
this.i.
|
|
114
|
+
this.i.oc = v;
|
|
115
115
|
}
|
|
116
116
|
}
|
|
117
117
|
IgcImageColumnComponent._observedAttributesIgcImageColumnComponent = null;
|
|
@@ -21,119 +21,119 @@ export class IgcNumericCellInfo extends IgcCellInfo {
|
|
|
21
21
|
* Sets or gets the numeric value to use for the cell.
|
|
22
22
|
*/
|
|
23
23
|
get numericValue() {
|
|
24
|
-
return this.i.
|
|
24
|
+
return this.i.ms;
|
|
25
25
|
}
|
|
26
26
|
set numericValue(v) {
|
|
27
|
-
this.i.
|
|
27
|
+
this.i.ms = +v;
|
|
28
28
|
}
|
|
29
29
|
/**
|
|
30
30
|
* Sets or gets whether there is a decimal numeric value to use for the cell.
|
|
31
31
|
*/
|
|
32
32
|
get hasDecimalValue() {
|
|
33
|
-
return this.i.
|
|
33
|
+
return this.i.mo;
|
|
34
34
|
}
|
|
35
35
|
set hasDecimalValue(v) {
|
|
36
|
-
this.i.
|
|
36
|
+
this.i.mo = ensureBool(v);
|
|
37
37
|
}
|
|
38
38
|
/**
|
|
39
39
|
* The format string to apply to the value
|
|
40
40
|
*/
|
|
41
41
|
get formatStringOverride() {
|
|
42
|
-
return this.i.
|
|
42
|
+
return this.i.nm;
|
|
43
43
|
}
|
|
44
44
|
set formatStringOverride(v) {
|
|
45
|
-
this.i.
|
|
45
|
+
this.i.nm = v;
|
|
46
46
|
}
|
|
47
47
|
get formatSpecifiers() {
|
|
48
|
-
return this.i.
|
|
48
|
+
return this.i.mk;
|
|
49
49
|
}
|
|
50
50
|
set formatSpecifiers(v) {
|
|
51
51
|
if (v && !Array.isArray(v) && typeof (v) == "string") {
|
|
52
52
|
const re = /\s*(?:,|\s|$)\s*/gm;
|
|
53
53
|
v = v.split(re);
|
|
54
54
|
}
|
|
55
|
-
this.i.
|
|
55
|
+
this.i.mk = v;
|
|
56
56
|
}
|
|
57
57
|
/**
|
|
58
58
|
* The format options to apply to the value
|
|
59
59
|
*/
|
|
60
60
|
get formatOverride() {
|
|
61
|
-
return this.i.
|
|
61
|
+
return this.i.ne;
|
|
62
62
|
}
|
|
63
63
|
set formatOverride(v) {
|
|
64
|
-
this.i.
|
|
64
|
+
this.i.ne = v;
|
|
65
65
|
}
|
|
66
66
|
/**
|
|
67
67
|
* Sets or gets the text prepended to a negative numeric value
|
|
68
68
|
*/
|
|
69
69
|
get negativePrefix() {
|
|
70
|
-
return this.i.
|
|
70
|
+
return this.i.ns;
|
|
71
71
|
}
|
|
72
72
|
set negativePrefix(v) {
|
|
73
|
-
this.i.
|
|
73
|
+
this.i.ns = v;
|
|
74
74
|
}
|
|
75
75
|
/**
|
|
76
76
|
* Sets or gets the text prepended to a positive numeric value
|
|
77
77
|
*/
|
|
78
78
|
get positivePrefix() {
|
|
79
|
-
return this.i.
|
|
79
|
+
return this.i.nx;
|
|
80
80
|
}
|
|
81
81
|
set positivePrefix(v) {
|
|
82
|
-
this.i.
|
|
82
|
+
this.i.nx = v;
|
|
83
83
|
}
|
|
84
84
|
/**
|
|
85
85
|
* Sets or gets the text appended to a negative numeric value
|
|
86
86
|
*/
|
|
87
87
|
get negativeSuffix() {
|
|
88
|
-
return this.i.
|
|
88
|
+
return this.i.nu;
|
|
89
89
|
}
|
|
90
90
|
set negativeSuffix(v) {
|
|
91
|
-
this.i.
|
|
91
|
+
this.i.nu = v;
|
|
92
92
|
}
|
|
93
93
|
/**
|
|
94
94
|
* Sets or gets the text appended to a positive numeric value
|
|
95
95
|
*/
|
|
96
96
|
get positiveSuffix() {
|
|
97
|
-
return this.i.
|
|
97
|
+
return this.i.nz;
|
|
98
98
|
}
|
|
99
99
|
set positiveSuffix(v) {
|
|
100
|
-
this.i.
|
|
100
|
+
this.i.nz = v;
|
|
101
101
|
}
|
|
102
102
|
/**
|
|
103
103
|
* The maximum number of decimal places to display when formatting
|
|
104
104
|
*/
|
|
105
105
|
get maxFractionDigits() {
|
|
106
|
-
return this.i.
|
|
106
|
+
return this.i.m0;
|
|
107
107
|
}
|
|
108
108
|
set maxFractionDigits(v) {
|
|
109
|
-
this.i.
|
|
109
|
+
this.i.m0 = +v;
|
|
110
110
|
}
|
|
111
111
|
/**
|
|
112
112
|
* The minimum number of decimal places to display when formatting
|
|
113
113
|
*/
|
|
114
114
|
get minFractionDigits() {
|
|
115
|
-
return this.i.
|
|
115
|
+
return this.i.m2;
|
|
116
116
|
}
|
|
117
117
|
set minFractionDigits(v) {
|
|
118
|
-
this.i.
|
|
118
|
+
this.i.m2 = +v;
|
|
119
119
|
}
|
|
120
120
|
/**
|
|
121
121
|
* The minimum number of integer digits to display when formatting
|
|
122
122
|
*/
|
|
123
123
|
get minIntegerDigits() {
|
|
124
|
-
return this.i.
|
|
124
|
+
return this.i.m4;
|
|
125
125
|
}
|
|
126
126
|
set minIntegerDigits(v) {
|
|
127
|
-
this.i.
|
|
127
|
+
this.i.m4 = +v;
|
|
128
128
|
}
|
|
129
129
|
/**
|
|
130
130
|
* Sets or gets if the grouping separator is shown
|
|
131
131
|
*/
|
|
132
132
|
get showGroupingSeparator() {
|
|
133
|
-
return this.i.
|
|
133
|
+
return this.i.mq;
|
|
134
134
|
}
|
|
135
135
|
set showGroupingSeparator(v) {
|
|
136
|
-
this.i.
|
|
136
|
+
this.i.mq = ensureBool(v);
|
|
137
137
|
}
|
|
138
138
|
findByName(name) {
|
|
139
139
|
var baseResult = super.findByName(name);
|
|
@@ -69,142 +69,142 @@ export let IgcNumericColumnComponent = /*@__PURE__*/ (() => {
|
|
|
69
69
|
* Gets or sets the string to prefix a negative value. If FormatString is specificied this value is ignored.
|
|
70
70
|
*/
|
|
71
71
|
get negativePrefix() {
|
|
72
|
-
return this.i.
|
|
72
|
+
return this.i.o0;
|
|
73
73
|
}
|
|
74
74
|
set negativePrefix(v) {
|
|
75
|
-
this.i.
|
|
75
|
+
this.i.o0 = v;
|
|
76
76
|
}
|
|
77
77
|
/**
|
|
78
78
|
* Gets or sets the string to prefix a positive value. If FormatString is specificied this value is ignored.
|
|
79
79
|
*/
|
|
80
80
|
get positivePrefix() {
|
|
81
|
-
return this.i.
|
|
81
|
+
return this.i.o4;
|
|
82
82
|
}
|
|
83
83
|
set positivePrefix(v) {
|
|
84
|
-
this.i.
|
|
84
|
+
this.i.o4 = v;
|
|
85
85
|
}
|
|
86
86
|
/**
|
|
87
87
|
* Gets or sets the string to suffix a negative value. If FormatString is specificied this value is ignored.
|
|
88
88
|
*/
|
|
89
89
|
get negativeSuffix() {
|
|
90
|
-
return this.i.
|
|
90
|
+
return this.i.o2;
|
|
91
91
|
}
|
|
92
92
|
set negativeSuffix(v) {
|
|
93
|
-
this.i.
|
|
93
|
+
this.i.o2 = v;
|
|
94
94
|
}
|
|
95
95
|
/**
|
|
96
96
|
* Gets or sets the string to suffix a positive value. If FormatString is specificied this value is ignored.
|
|
97
97
|
*/
|
|
98
98
|
get positiveSuffix() {
|
|
99
|
-
return this.i.
|
|
99
|
+
return this.i.o6;
|
|
100
100
|
}
|
|
101
101
|
set positiveSuffix(v) {
|
|
102
|
-
this.i.
|
|
102
|
+
this.i.o6 = v;
|
|
103
103
|
}
|
|
104
104
|
/**
|
|
105
105
|
* Gets or sets the maximum fraction digits. If FormatString is specificied this value is ignored.
|
|
106
106
|
*/
|
|
107
107
|
get maxFractionDigits() {
|
|
108
|
-
return this.i.
|
|
108
|
+
return this.i.of;
|
|
109
109
|
}
|
|
110
110
|
set maxFractionDigits(v) {
|
|
111
|
-
this.i.
|
|
112
|
-
this._a("maxFractionDigits", this.i.
|
|
111
|
+
this.i.of = +v;
|
|
112
|
+
this._a("maxFractionDigits", this.i.of);
|
|
113
113
|
}
|
|
114
114
|
/**
|
|
115
115
|
* Gets or sets the minimum fraction digits. If FormatString is specificied this value is ignored.
|
|
116
116
|
*/
|
|
117
117
|
get minFractionDigits() {
|
|
118
|
-
return this.i.
|
|
118
|
+
return this.i.og;
|
|
119
119
|
}
|
|
120
120
|
set minFractionDigits(v) {
|
|
121
|
-
this.i.
|
|
122
|
-
this._a("minFractionDigits", this.i.
|
|
121
|
+
this.i.og = +v;
|
|
122
|
+
this._a("minFractionDigits", this.i.og);
|
|
123
123
|
}
|
|
124
124
|
/**
|
|
125
125
|
* Gets or sets the minimum integer digits. If FormatString is specificied this value is ignored.
|
|
126
126
|
*/
|
|
127
127
|
get minIntegerDigits() {
|
|
128
|
-
return this.i.
|
|
128
|
+
return this.i.oh;
|
|
129
129
|
}
|
|
130
130
|
set minIntegerDigits(v) {
|
|
131
|
-
this.i.
|
|
132
|
-
this._a("minIntegerDigits", this.i.
|
|
131
|
+
this.i.oh = +v;
|
|
132
|
+
this._a("minIntegerDigits", this.i.oh);
|
|
133
133
|
}
|
|
134
134
|
/**
|
|
135
135
|
* Gets or sets whether to show a grouping separator. If FormatString is specificied this value is ignored.
|
|
136
136
|
*/
|
|
137
137
|
get showGroupingSeparator() {
|
|
138
|
-
return this.i.
|
|
138
|
+
return this.i.oa;
|
|
139
139
|
}
|
|
140
140
|
set showGroupingSeparator(v) {
|
|
141
|
-
this.i.
|
|
142
|
-
this._a("showGroupingSeparator", this.i.
|
|
141
|
+
this.i.oa = ensureBool(v);
|
|
142
|
+
this._a("showGroupingSeparator", this.i.oa);
|
|
143
143
|
}
|
|
144
144
|
/**
|
|
145
145
|
* Gets or sets the format string to apply to the value. If set, the other value formatting properties on this column are ignored.
|
|
146
146
|
*/
|
|
147
147
|
get formatString() {
|
|
148
|
-
return this.i.
|
|
148
|
+
return this.i.ov;
|
|
149
149
|
}
|
|
150
150
|
set formatString(v) {
|
|
151
|
-
this.i.
|
|
151
|
+
this.i.ov = v;
|
|
152
152
|
}
|
|
153
153
|
get formatSpecifiers() {
|
|
154
|
-
return this.i.
|
|
154
|
+
return this.i.n6;
|
|
155
155
|
}
|
|
156
156
|
set formatSpecifiers(v) {
|
|
157
157
|
if (v && !Array.isArray(v) && typeof (v) == "string") {
|
|
158
158
|
const re = /\s*(?:,|\s|$)\s*/gm;
|
|
159
159
|
v = v.split(re);
|
|
160
160
|
}
|
|
161
|
-
this.i.
|
|
161
|
+
this.i.n6 = v;
|
|
162
162
|
}
|
|
163
163
|
/**
|
|
164
164
|
* Gets or sets the INTL NumericFormat object to use for formatting the date values.
|
|
165
165
|
*/
|
|
166
166
|
get formatOverride() {
|
|
167
|
-
return this.i.
|
|
167
|
+
return this.i.ok;
|
|
168
168
|
}
|
|
169
169
|
set formatOverride(v) {
|
|
170
|
-
this.i.
|
|
170
|
+
this.i.ok = v;
|
|
171
171
|
}
|
|
172
172
|
/**
|
|
173
173
|
* Gets or sets the editor type used for editing cells in this column.
|
|
174
174
|
*/
|
|
175
175
|
get editorType() {
|
|
176
|
-
return this.i.
|
|
176
|
+
return this.i.n8;
|
|
177
177
|
}
|
|
178
178
|
set editorType(v) {
|
|
179
|
-
this.i.
|
|
180
|
-
this._a("editorType", enumToString(EditorType_$type, this.i.
|
|
179
|
+
this.i.n8 = ensureEnum(EditorType_$type, v);
|
|
180
|
+
this._a("editorType", enumToString(EditorType_$type, this.i.n8));
|
|
181
181
|
}
|
|
182
182
|
/**
|
|
183
183
|
* Gets or sets the ComboBox data source.
|
|
184
184
|
*/
|
|
185
185
|
get editorDataSource() {
|
|
186
|
-
return this.i.
|
|
186
|
+
return this.i.oj;
|
|
187
187
|
}
|
|
188
188
|
set editorDataSource(v) {
|
|
189
|
-
this.i.
|
|
189
|
+
this.i.oj = v;
|
|
190
190
|
}
|
|
191
191
|
/**
|
|
192
192
|
* Gets or sets the ComboBox text field.
|
|
193
193
|
*/
|
|
194
194
|
get editorTextField() {
|
|
195
|
-
return this.i.
|
|
195
|
+
return this.i.oq;
|
|
196
196
|
}
|
|
197
197
|
set editorTextField(v) {
|
|
198
|
-
this.i.
|
|
198
|
+
this.i.oq = v;
|
|
199
199
|
}
|
|
200
200
|
/**
|
|
201
201
|
* Gets or sets the ComboBox value field.
|
|
202
202
|
*/
|
|
203
203
|
get editorValueField() {
|
|
204
|
-
return this.i.
|
|
204
|
+
return this.i.or;
|
|
205
205
|
}
|
|
206
206
|
set editorValueField(v) {
|
|
207
|
-
this.i.
|
|
207
|
+
this.i.or = v;
|
|
208
208
|
}
|
|
209
209
|
findByName(name) {
|
|
210
210
|
var baseResult = super.findByName(name);
|
|
@@ -22,27 +22,27 @@ export class IgcSectionHeaderCellInfo extends IgcCellInfo {
|
|
|
22
22
|
* Sets or gets the resolved text for the section header cell.
|
|
23
23
|
*/
|
|
24
24
|
get resolvedText() {
|
|
25
|
-
return this.i.
|
|
25
|
+
return this.i.mz;
|
|
26
26
|
}
|
|
27
27
|
set resolvedText(v) {
|
|
28
|
-
this.i.
|
|
28
|
+
this.i.mz = v;
|
|
29
29
|
}
|
|
30
30
|
/**
|
|
31
31
|
* Sets or gets the resolved summary text for the section header cell.
|
|
32
32
|
*/
|
|
33
33
|
get resolvedSummaryText() {
|
|
34
|
-
return this.i.
|
|
34
|
+
return this.i.mx;
|
|
35
35
|
}
|
|
36
36
|
set resolvedSummaryText(v) {
|
|
37
|
-
this.i.
|
|
37
|
+
this.i.mx = v;
|
|
38
38
|
}
|
|
39
39
|
/**
|
|
40
40
|
* Sets or gets how summaries are displayed in the section header cell.
|
|
41
41
|
*/
|
|
42
42
|
get summaryDisplayMode() {
|
|
43
|
-
return this.i.
|
|
43
|
+
return this.i.mo;
|
|
44
44
|
}
|
|
45
45
|
set summaryDisplayMode(v) {
|
|
46
|
-
this.i.
|
|
46
|
+
this.i.mo = ensureEnum(GroupSummaryDisplayMode_$type, v);
|
|
47
47
|
}
|
|
48
48
|
}
|
|
@@ -22,38 +22,38 @@ export class IgcSummaryCellInfo extends IgcCellInfo {
|
|
|
22
22
|
* Sets or gets the resolved summary label for the summary cell.
|
|
23
23
|
*/
|
|
24
24
|
get resolvedSummaryLabel() {
|
|
25
|
-
return this.i.
|
|
25
|
+
return this.i.mr;
|
|
26
26
|
}
|
|
27
27
|
set resolvedSummaryLabel(v) {
|
|
28
|
-
this.i.
|
|
28
|
+
this.i.mr = v;
|
|
29
29
|
}
|
|
30
30
|
/**
|
|
31
31
|
* Sets or gets the resolved summary value for the sumamry cell.
|
|
32
32
|
*/
|
|
33
33
|
get resolvedSummaryValue() {
|
|
34
|
-
return this.i.
|
|
34
|
+
return this.i.mt;
|
|
35
35
|
}
|
|
36
36
|
set resolvedSummaryValue(v) {
|
|
37
|
-
this.i.
|
|
37
|
+
this.i.mt = v;
|
|
38
38
|
}
|
|
39
39
|
/**
|
|
40
40
|
* Gets or sets the color of the text for the summary label in the cell.
|
|
41
41
|
*/
|
|
42
42
|
get summaryLabelTextColor() {
|
|
43
|
-
return brushToString(this.i.
|
|
43
|
+
return brushToString(this.i.my);
|
|
44
44
|
}
|
|
45
45
|
set summaryLabelTextColor(v) {
|
|
46
|
-
this.i.
|
|
46
|
+
this.i.my = stringToBrush(v);
|
|
47
47
|
}
|
|
48
48
|
get font() {
|
|
49
|
-
if (this.i.
|
|
49
|
+
if (this.i.mk == null) {
|
|
50
50
|
return null;
|
|
51
51
|
}
|
|
52
|
-
return this.i.
|
|
52
|
+
return this.i.mk.fontString;
|
|
53
53
|
}
|
|
54
54
|
set font(v) {
|
|
55
55
|
let fi = new FontInfo();
|
|
56
56
|
fi.fontString = v;
|
|
57
|
-
this.i.
|
|
57
|
+
this.i.mk = fi;
|
|
58
58
|
}
|
|
59
59
|
}
|
|
@@ -21,9 +21,9 @@ export class IgcTemplateHeaderCellInfo extends IgcTemplateCellInfo {
|
|
|
21
21
|
* Sets or gets whether the filter UI should be visible in the header.
|
|
22
22
|
*/
|
|
23
23
|
get isFilterUIVisible() {
|
|
24
|
-
return this.i.
|
|
24
|
+
return this.i.mo;
|
|
25
25
|
}
|
|
26
26
|
set isFilterUIVisible(v) {
|
|
27
|
-
this.i.
|
|
27
|
+
this.i.mo = ensureBool(v);
|
|
28
28
|
}
|
|
29
29
|
}
|
|
@@ -69,38 +69,38 @@ export let IgcTextColumnComponent = /*@__PURE__*/ (() => {
|
|
|
69
69
|
* Gets or sets the editor type used for editing cells in this column.
|
|
70
70
|
*/
|
|
71
71
|
get editorType() {
|
|
72
|
-
return this.i.
|
|
72
|
+
return this.i.n5;
|
|
73
73
|
}
|
|
74
74
|
set editorType(v) {
|
|
75
|
-
this.i.
|
|
76
|
-
this._a("editorType", enumToString(EditorType_$type, this.i.
|
|
75
|
+
this.i.n5 = ensureEnum(EditorType_$type, v);
|
|
76
|
+
this._a("editorType", enumToString(EditorType_$type, this.i.n5));
|
|
77
77
|
}
|
|
78
78
|
/**
|
|
79
79
|
* Gets or sets the ComboBox data source.
|
|
80
80
|
*/
|
|
81
81
|
get editorDataSource() {
|
|
82
|
-
return this.i.
|
|
82
|
+
return this.i.n6;
|
|
83
83
|
}
|
|
84
84
|
set editorDataSource(v) {
|
|
85
|
-
this.i.
|
|
85
|
+
this.i.n6 = v;
|
|
86
86
|
}
|
|
87
87
|
/**
|
|
88
88
|
* Gets or sets the ComboBox text field.
|
|
89
89
|
*/
|
|
90
90
|
get editorTextField() {
|
|
91
|
-
return this.i.
|
|
91
|
+
return this.i.n8;
|
|
92
92
|
}
|
|
93
93
|
set editorTextField(v) {
|
|
94
|
-
this.i.
|
|
94
|
+
this.i.n8 = v;
|
|
95
95
|
}
|
|
96
96
|
/**
|
|
97
97
|
* Gets or sets the ComboBox value field.
|
|
98
98
|
*/
|
|
99
99
|
get editorValueField() {
|
|
100
|
-
return this.i.
|
|
100
|
+
return this.i.n9;
|
|
101
101
|
}
|
|
102
102
|
set editorValueField(v) {
|
|
103
|
-
this.i.
|
|
103
|
+
this.i.n9 = v;
|
|
104
104
|
}
|
|
105
105
|
}
|
|
106
106
|
IgcTextColumnComponent._observedAttributesIgcTextColumnComponent = null;
|
|
@@ -24,42 +24,42 @@ export class IgcTextHeaderCellInfo extends IgcTextCellInfo {
|
|
|
24
24
|
* Sets or gets whether the filter UI should be visible in the header.
|
|
25
25
|
*/
|
|
26
26
|
get isColumnOptionsEnabled() {
|
|
27
|
-
return this.i.
|
|
27
|
+
return this.i.mu;
|
|
28
28
|
}
|
|
29
29
|
set isColumnOptionsEnabled(v) {
|
|
30
|
-
this.i.
|
|
30
|
+
this.i.mu = ensureBool(v);
|
|
31
31
|
}
|
|
32
32
|
get sortIndicatorStyle() {
|
|
33
|
-
return this.i.
|
|
33
|
+
return this.i.ms;
|
|
34
34
|
}
|
|
35
35
|
set sortIndicatorStyle(v) {
|
|
36
|
-
this.i.
|
|
36
|
+
this.i.ms = ensureEnum(SortIndicatorStyle_$type, v);
|
|
37
37
|
}
|
|
38
38
|
/**
|
|
39
39
|
* Gets or sets the alignment of the column options icon within the header cell.
|
|
40
40
|
*/
|
|
41
41
|
get columnOptionsIconAlignment() {
|
|
42
|
-
return this.i.
|
|
42
|
+
return this.i.mo;
|
|
43
43
|
}
|
|
44
44
|
set columnOptionsIconAlignment(v) {
|
|
45
|
-
this.i.
|
|
45
|
+
this.i.mo = ensureEnum(ColumnOptionsIconAlignment_$type, v);
|
|
46
46
|
}
|
|
47
47
|
/**
|
|
48
48
|
* Gets or sets the color for the column options icon in the header.
|
|
49
49
|
*/
|
|
50
50
|
get columnOptionsIconColor() {
|
|
51
|
-
return brushToString(this.i.
|
|
51
|
+
return brushToString(this.i.m6);
|
|
52
52
|
}
|
|
53
53
|
set columnOptionsIconColor(v) {
|
|
54
|
-
this.i.
|
|
54
|
+
this.i.m6 = stringToBrush(v);
|
|
55
55
|
}
|
|
56
56
|
/**
|
|
57
57
|
* Gets or sets how the column option icon will behave in the header.
|
|
58
58
|
*/
|
|
59
59
|
get columnOptionsIconBehavior() {
|
|
60
|
-
return this.i.
|
|
60
|
+
return this.i.mq;
|
|
61
61
|
}
|
|
62
62
|
set columnOptionsIconBehavior(v) {
|
|
63
|
-
this.i.
|
|
63
|
+
this.i.mq = ensureEnum(ColumnOptionsIconBehavior_$type, v);
|
|
64
64
|
}
|
|
65
65
|
}
|
package/esm2015/public_api.js
CHANGED
|
@@ -416,6 +416,8 @@ export * from './lib/igc-cell-style-requested-event-args';
|
|
|
416
416
|
export * from './lib/DataGridColumn';
|
|
417
417
|
export * from './lib/igc-data-grid-column-component';
|
|
418
418
|
export * from './lib/DataGridColumnToolbarManager';
|
|
419
|
+
export * from './lib/FormatCellEventArgs';
|
|
420
|
+
export * from './lib/igc-format-cell-event-args';
|
|
419
421
|
export * from './lib/ColumnWidth';
|
|
420
422
|
export * from './lib/igc-column-width';
|
|
421
423
|
export * from './lib/igc-column-width-module';
|
|
@@ -29,18 +29,18 @@ var CanvasCellPresenterBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
29
29
|
this.a.cn(a.el, a.ep, a.en, a.ej);
|
|
30
30
|
}
|
|
31
31
|
if (a.a1) {
|
|
32
|
-
this.a.ch(a.
|
|
32
|
+
this.a.ch(a.lz, a.d9, a.ee, a.ec, a.d7);
|
|
33
33
|
}
|
|
34
34
|
if (a.bo) {
|
|
35
35
|
this.a.ck(a.fu);
|
|
36
|
-
this.a.cu(a.
|
|
36
|
+
this.a.cu(a.he);
|
|
37
37
|
}
|
|
38
38
|
if (a.a3) {
|
|
39
39
|
if (a.bi && !this.a.z) {
|
|
40
40
|
this.a.b5();
|
|
41
41
|
}
|
|
42
42
|
if (a.a8(CellModel.d6)) {
|
|
43
|
-
this.a.cg(a.
|
|
43
|
+
this.a.cg(a.ly.color);
|
|
44
44
|
}
|
|
45
45
|
if (a.a8(CellModel.ei)) {
|
|
46
46
|
this.a.cm(a.ch);
|
|
@@ -25,7 +25,7 @@ var CanvasContentCellModelHelper = /** @class */ /*@__PURE__*/ (function (_super
|
|
|
25
25
|
};
|
|
26
26
|
CanvasContentCellModelHelper.a = function (a, b, c) {
|
|
27
27
|
if (b.a3) {
|
|
28
|
-
if (b.a8(CellModel.fa) || b.a8(CellModel.eg) || b.a8(CellModel.
|
|
28
|
+
if (b.a8(CellModel.fa) || b.a8(CellModel.eg) || b.a8(CellModel.hd) || b.a7("IsRowPinned") || b.a7("IsRowSticky") || b.a7("PinnedRowOpacity")) {
|
|
29
29
|
var d = Math.min(1, Math.max(0, b.ct));
|
|
30
30
|
var e = b.cg * (1 - d);
|
|
31
31
|
c.ci(e);
|
|
@@ -34,14 +34,14 @@ var CanvasContentCellModelHelper = /** @class */ /*@__PURE__*/ (function (_super
|
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
if (b.a8(CellModel.er)) {
|
|
37
|
-
CanvasContentCellModelHelper.c(c, b.
|
|
37
|
+
CanvasContentCellModelHelper.c(c, b.l0);
|
|
38
38
|
if (b.bi) {
|
|
39
|
-
c.cw(b.
|
|
39
|
+
c.cw(b.l0);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
if (b.a8(CellModel.gg)) {
|
|
43
43
|
}
|
|
44
|
-
if (b.a8(CellModel.fw) || b.a8(CellModel.
|
|
44
|
+
if (b.a8(CellModel.fw) || b.a8(CellModel.hc)) {
|
|
45
45
|
var f = b.g;
|
|
46
46
|
var g = b.i;
|
|
47
47
|
c.cl(f);
|