igniteui-webcomponents-data-grids 7.1.0-alpha.3 → 7.1.0-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-webcomponents-data-grids.umd.js +6134 -5858
- package/bundles/igniteui-webcomponents-data-grids.umd.min.js +1 -1
- package/esm2015/lib/CanvasCellPresenterBase.js +4 -4
- package/esm2015/lib/CanvasContentCellModelHelper.js +5 -5
- package/esm2015/lib/CanvasDateTimeCellPresenter.js +8 -8
- package/esm2015/lib/CanvasGridCellBase.js +2 -2
- package/esm2015/lib/CanvasImageCellPresenter.js +7 -7
- package/esm2015/lib/CanvasNumericCellPresenter.js +8 -8
- package/esm2015/lib/CanvasSectionHeaderCellPresenter.js +9 -9
- package/esm2015/lib/CanvasSummaryCellPresenter.js +6 -6
- package/esm2015/lib/CanvasTemplateCellPresenter.js +2 -2
- package/esm2015/lib/CanvasTemplateHeaderCellPresenter.js +1 -1
- package/esm2015/lib/CanvasTextCellPresenter.js +9 -9
- package/esm2015/lib/CanvasTextHeaderCellPresenter.js +7 -7
- package/esm2015/lib/CellPresenterBase.js +37 -34
- package/esm2015/lib/CheckboxListView_combined.js +23 -23
- package/esm2015/lib/ColumnChooserView_combined.js +9 -9
- package/esm2015/lib/ColumnFilterCondition_combined.js +4143 -3997
- package/esm2015/lib/ColumnGroupingView_combined.js +4 -4
- package/esm2015/lib/ColumnPinningView_combined.js +5 -5
- package/esm2015/lib/ComparisonOperatorSelectorView_combined.js +6 -6
- package/esm2015/lib/ContentCellModelHelper.js +10 -10
- package/esm2015/lib/DataGridCellLayoutPanel.js +10 -10
- package/esm2015/lib/DataGridScrollerKeyboardListener.js +2 -2
- package/esm2015/lib/DataGridToolbarView_combined.js +1 -1
- package/esm2015/lib/DateTimeCellPresenter.js +9 -9
- package/esm2015/lib/EditorCell.js +292 -292
- package/esm2015/lib/EditorCellPresenter.js +26 -26
- package/esm2015/lib/FilterCell.js +269 -269
- package/esm2015/lib/FilterCellPresenter.js +15 -15
- package/esm2015/lib/GridCellBase.js +167 -150
- package/esm2015/lib/GridColumnFilterOptionsView_combined.js +4 -4
- 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 +1 -1
- package/esm2015/lib/GridColumnSummaryOptionsView_combined.js +7 -7
- package/esm2015/lib/GridExternalWrapper.js +6 -6
- package/esm2015/lib/GridFilterDialogView_combined.js +2 -2
- package/esm2015/lib/ImageCell.js +57 -57
- package/esm2015/lib/ImageCellPresenter.js +15 -15
- package/esm2015/lib/MultiColumnComboBoxView_combined.js +2 -2
- package/esm2015/lib/NumericCell.js +8 -8
- package/esm2015/lib/NumericCellPresenter.js +9 -9
- package/esm2015/lib/PropertyEditorView_combined.js +19 -19
- package/esm2015/lib/SectionHeaderCell.js +20 -20
- package/esm2015/lib/SectionHeaderCellPresenter.js +10 -10
- package/esm2015/lib/SummaryCell.js +45 -45
- package/esm2015/lib/SummaryCellPresenter.js +10 -10
- package/esm2015/lib/TemplateCell.js +15 -15
- package/esm2015/lib/TemplateCellPresenter.js +3 -3
- package/esm2015/lib/TemplateHeader.js +2 -2
- package/esm2015/lib/TemplateHeaderCell.js +5 -5
- package/esm2015/lib/TemplateHeaderCellModel.js +18 -18
- package/esm2015/lib/TemplateHeaderCellPresenter.js +3 -3
- package/esm2015/lib/TemplateSectionHeader.js +1 -1
- package/esm2015/lib/TextCell.js +29 -29
- package/esm2015/lib/TextCellPresenter.js +10 -10
- package/esm2015/lib/TextHeaderCell.js +184 -184
- package/esm2015/lib/TextHeaderCellPresenter.js +52 -52
- package/esm2015/lib/VerticalSeparatorCell.js +37 -37
- package/esm2015/lib/igc-cell-info.js +90 -81
- package/esm2015/lib/igc-combo-box-column-component.js +10 -10
- package/esm2015/lib/igc-data-grid-column-component.js +224 -214
- package/esm2015/lib/igc-data-grid-component.js +10 -0
- 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-image-cell-info.js +6 -6
- package/esm2015/lib/igc-image-column-component.js +12 -12
- package/esm2015/lib/igc-numeric-cell-info.js +35 -26
- package/esm2015/lib/igc-numeric-column-component.js +38 -38
- package/esm2015/lib/igc-section-header-cell-info.js +6 -6
- package/esm2015/lib/igc-section-header-component.js +32 -12
- 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 +38 -38
- package/esm5/lib/CanvasCellPresenterBase.js +4 -4
- package/esm5/lib/CanvasContentCellModelHelper.js +5 -5
- package/esm5/lib/CanvasDateTimeCellPresenter.js +8 -8
- package/esm5/lib/CanvasGridCellBase.js +2 -2
- package/esm5/lib/CanvasImageCellPresenter.js +7 -7
- package/esm5/lib/CanvasNumericCellPresenter.js +8 -8
- package/esm5/lib/CanvasSectionHeaderCellPresenter.js +9 -9
- package/esm5/lib/CanvasSummaryCellPresenter.js +6 -6
- package/esm5/lib/CanvasTemplateCellPresenter.js +2 -2
- package/esm5/lib/CanvasTemplateHeaderCellPresenter.js +1 -1
- package/esm5/lib/CanvasTextCellPresenter.js +9 -9
- package/esm5/lib/CanvasTextHeaderCellPresenter.js +7 -7
- package/esm5/lib/CellPresenterBase.js +37 -34
- package/esm5/lib/CheckboxListView_combined.js +23 -23
- package/esm5/lib/ColumnChooserView_combined.js +9 -9
- package/esm5/lib/ColumnFilterCondition_combined.js +3989 -3819
- package/esm5/lib/ColumnGroupingView_combined.js +4 -4
- package/esm5/lib/ColumnPinningView_combined.js +5 -5
- package/esm5/lib/ComparisonOperatorSelectorView_combined.js +6 -6
- package/esm5/lib/ContentCellModelHelper.js +10 -10
- package/esm5/lib/DataGridCellLayoutPanel.js +10 -10
- package/esm5/lib/DataGridScrollerKeyboardListener.js +2 -2
- package/esm5/lib/DataGridToolbarView_combined.js +1 -1
- package/esm5/lib/DateTimeCellPresenter.js +9 -9
- package/esm5/lib/EditorCell.js +277 -277
- package/esm5/lib/EditorCellPresenter.js +26 -26
- package/esm5/lib/FilterCell.js +259 -259
- package/esm5/lib/FilterCellPresenter.js +15 -15
- package/esm5/lib/GridCellBase.js +164 -143
- package/esm5/lib/GridColumnFilterOptionsView_combined.js +4 -4
- 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 +1 -1
- package/esm5/lib/GridColumnSummaryOptionsView_combined.js +7 -7
- package/esm5/lib/GridExternalWrapper.js +6 -6
- package/esm5/lib/GridFilterDialogView_combined.js +2 -2
- package/esm5/lib/ImageCell.js +57 -57
- package/esm5/lib/ImageCellPresenter.js +15 -15
- package/esm5/lib/MultiColumnComboBoxView_combined.js +2 -2
- package/esm5/lib/NumericCell.js +8 -8
- package/esm5/lib/NumericCellPresenter.js +9 -9
- package/esm5/lib/PropertyEditorView_combined.js +19 -19
- package/esm5/lib/SectionHeaderCell.js +20 -20
- package/esm5/lib/SectionHeaderCellPresenter.js +10 -10
- package/esm5/lib/SummaryCell.js +45 -45
- package/esm5/lib/SummaryCellPresenter.js +10 -10
- package/esm5/lib/TemplateCell.js +15 -15
- package/esm5/lib/TemplateCellPresenter.js +3 -3
- package/esm5/lib/TemplateHeader.js +2 -2
- package/esm5/lib/TemplateHeaderCell.js +5 -5
- package/esm5/lib/TemplateHeaderCellModel.js +17 -17
- package/esm5/lib/TemplateHeaderCellPresenter.js +3 -3
- package/esm5/lib/TemplateSectionHeader.js +1 -1
- package/esm5/lib/TextCell.js +29 -29
- package/esm5/lib/TextCellPresenter.js +10 -10
- package/esm5/lib/TextHeaderCell.js +182 -182
- package/esm5/lib/TextHeaderCellPresenter.js +52 -52
- package/esm5/lib/VerticalSeparatorCell.js +37 -37
- package/esm5/lib/igc-cell-info.js +94 -81
- package/esm5/lib/igc-combo-box-column-component.js +10 -10
- package/esm5/lib/igc-data-grid-column-component.js +228 -214
- package/esm5/lib/igc-data-grid-component.js +14 -0
- 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-image-cell-info.js +6 -6
- package/esm5/lib/igc-image-column-component.js +12 -12
- package/esm5/lib/igc-numeric-cell-info.js +39 -26
- package/esm5/lib/igc-numeric-column-component.js +38 -38
- package/esm5/lib/igc-section-header-cell-info.js +6 -6
- package/esm5/lib/igc-section-header-component.js +40 -12
- 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 +38 -38
- package/fesm2015/igniteui-webcomponents-data-grids.js +6274 -6050
- package/fesm5/igniteui-webcomponents-data-grids.js +6134 -5858
- package/lib/ColumnFilterCondition_combined.d.ts +1077 -1053
- package/lib/EditorCell.d.ts +67 -67
- package/lib/FilterCell.d.ts +55 -55
- package/lib/GridCellBase.d.ts +64 -61
- package/lib/ImageCell.d.ts +17 -17
- package/lib/NumericCell.d.ts +2 -2
- package/lib/SectionHeaderCell.d.ts +4 -4
- package/lib/SummaryCell.d.ts +10 -10
- package/lib/TemplateCell.d.ts +5 -5
- package/lib/TemplateHeaderCell.d.ts +2 -2
- package/lib/TemplateHeaderCellModel.d.ts +7 -7
- package/lib/TemplateSectionHeader.d.ts +1 -1
- package/lib/TextCell.d.ts +7 -7
- package/lib/TextHeaderCell.d.ts +30 -30
- package/lib/VerticalSeparatorCell.d.ts +8 -8
- package/lib/igc-cell-info.d.ts +5 -0
- package/lib/igc-data-grid-column-component.d.ts +5 -0
- package/lib/igc-data-grid-component.d.ts +5 -0
- package/lib/igc-numeric-cell-info.d.ts +5 -0
- package/lib/igc-section-header-component.d.ts +10 -0
- package/package.json +4 -4
|
@@ -736,15 +736,15 @@ let PropertyEditor = /*@__PURE__*/ (() => {
|
|
|
736
736
|
}
|
|
737
737
|
else {
|
|
738
738
|
let a = new TextColumn();
|
|
739
|
-
a.
|
|
740
|
-
a.
|
|
741
|
-
a.
|
|
739
|
+
a.lm = 10;
|
|
740
|
+
a.ln = 5;
|
|
741
|
+
a.nj = "PropertyPath";
|
|
742
742
|
a.dataBinding = delegateCombine(a.dataBinding, runOn(this, this.dp));
|
|
743
743
|
this.l.columns.add(a);
|
|
744
744
|
let b = new TemplateColumn();
|
|
745
|
-
b.
|
|
746
|
-
b.
|
|
747
|
-
b.
|
|
745
|
+
b.nj = "ValueType";
|
|
746
|
+
b.lm = 5;
|
|
747
|
+
b.ln = 5;
|
|
748
748
|
b.dataBinding = delegateCombine(b.dataBinding, runOn(this, this.cu));
|
|
749
749
|
b.cellStyleKeyRequested = delegateCombine(b.cellStyleKeyRequested, runOn(this, this.cs));
|
|
750
750
|
b.cellUpdating = delegateCombine(b.cellUpdating, runOn(this, this.ct));
|
|
@@ -824,8 +824,8 @@ let PropertyEditor = /*@__PURE__*/ (() => {
|
|
|
824
824
|
let r = this.cc(l);
|
|
825
825
|
if (c.count <= g) {
|
|
826
826
|
let s = new TextColumn();
|
|
827
|
-
s.
|
|
828
|
-
s.
|
|
827
|
+
s.lm = 10;
|
|
828
|
+
s.ln = 5;
|
|
829
829
|
s.width = ((() => {
|
|
830
830
|
let $ret = new ColumnWidth();
|
|
831
831
|
$ret.c = false;
|
|
@@ -833,8 +833,8 @@ let PropertyEditor = /*@__PURE__*/ (() => {
|
|
|
833
833
|
return $ret;
|
|
834
834
|
})());
|
|
835
835
|
s.dataBinding = delegateCombine(s.dataBinding, runOn(this, this.dp));
|
|
836
|
-
s.
|
|
837
|
-
s.
|
|
836
|
+
s.ob = "PropertyName_" + k;
|
|
837
|
+
s.nj = "PropertyName";
|
|
838
838
|
c.add(s);
|
|
839
839
|
this.au.item(s, c.count - 1);
|
|
840
840
|
g++;
|
|
@@ -871,10 +871,10 @@ let PropertyEditor = /*@__PURE__*/ (() => {
|
|
|
871
871
|
}
|
|
872
872
|
if (c.count <= g) {
|
|
873
873
|
let v = new TemplateColumn();
|
|
874
|
-
v.
|
|
875
|
-
v.
|
|
876
|
-
v.
|
|
877
|
-
v.
|
|
874
|
+
v.ob = "ValueType_" + k;
|
|
875
|
+
v.nj = "ValueType";
|
|
876
|
+
v.lm = 5;
|
|
877
|
+
v.ln = 5;
|
|
878
878
|
v.dataBinding = delegateCombine(v.dataBinding, runOn(this, this.cu));
|
|
879
879
|
v.width = ((() => {
|
|
880
880
|
let $ret = new ColumnWidth();
|
|
@@ -1067,7 +1067,7 @@ let PropertyEditor = /*@__PURE__*/ (() => {
|
|
|
1067
1067
|
}
|
|
1068
1068
|
ct(a, b) {
|
|
1069
1069
|
let c = a;
|
|
1070
|
-
let d = this.s(c, b.cellInfo.fq, b.cellInfo.
|
|
1070
|
+
let d = this.s(c, b.cellInfo.fq, b.cellInfo.ij);
|
|
1071
1071
|
let e = d != null ? d.w : 0;
|
|
1072
1072
|
switch (e) {
|
|
1073
1073
|
case 10:
|
|
@@ -1164,7 +1164,7 @@ let PropertyEditor = /*@__PURE__*/ (() => {
|
|
|
1164
1164
|
if (c.t != 3) {
|
|
1165
1165
|
c.t = 3;
|
|
1166
1166
|
}
|
|
1167
|
-
let e = this.s(a, b.cellInfo.fq, b.cellInfo.
|
|
1167
|
+
let e = this.s(a, b.cellInfo.fq, b.cellInfo.ij);
|
|
1168
1168
|
let f = c.inputs._inner[0];
|
|
1169
1169
|
f.bh = e;
|
|
1170
1170
|
f.cq = (e.ar != null ? e.ar.toString() : "");
|
|
@@ -1178,7 +1178,7 @@ let PropertyEditor = /*@__PURE__*/ (() => {
|
|
|
1178
1178
|
if (c.s != 3) {
|
|
1179
1179
|
c.s = 3;
|
|
1180
1180
|
}
|
|
1181
|
-
let e = this.s(a, b.cellInfo.fq, b.cellInfo.
|
|
1181
|
+
let e = this.s(a, b.cellInfo.fq, b.cellInfo.ij);
|
|
1182
1182
|
c.ee = e;
|
|
1183
1183
|
let f = e.ar;
|
|
1184
1184
|
if (typeof e.ar === 'number' || typeof e.ar === 'number') {
|
|
@@ -1195,7 +1195,7 @@ let PropertyEditor = /*@__PURE__*/ (() => {
|
|
|
1195
1195
|
if (c.density != 3) {
|
|
1196
1196
|
c.density = 3;
|
|
1197
1197
|
}
|
|
1198
|
-
let e = this.s(a, b.cellInfo.fq, b.cellInfo.
|
|
1198
|
+
let e = this.s(a, b.cellInfo.fq, b.cellInfo.ij);
|
|
1199
1199
|
if (c.dd != e) {
|
|
1200
1200
|
if (!d) {
|
|
1201
1201
|
c.selectedValueChanged = delegateRemove(c.selectedValueChanged, runOn(this, this.cq));
|
|
@@ -1459,7 +1459,7 @@ let PropertyEditor = /*@__PURE__*/ (() => {
|
|
|
1459
1459
|
if (!c.y) {
|
|
1460
1460
|
c.y = true;
|
|
1461
1461
|
}
|
|
1462
|
-
let e = this.s(a, b.cellInfo.fq, b.cellInfo.
|
|
1462
|
+
let e = this.s(a, b.cellInfo.fq, b.cellInfo.ij);
|
|
1463
1463
|
let f = e.ar;
|
|
1464
1464
|
if (f == null) {
|
|
1465
1465
|
f = false;
|
|
@@ -8,46 +8,46 @@ import { GridCellBase } from "./GridCellBase";
|
|
|
8
8
|
import { markType } from "igniteui-webcomponents-core";
|
|
9
9
|
let SectionHeaderCell = /*@__PURE__*/ (() => {
|
|
10
10
|
class SectionHeaderCell extends GridCellBase {
|
|
11
|
-
get
|
|
12
|
-
return this.
|
|
11
|
+
get d0() {
|
|
12
|
+
return this.dz;
|
|
13
13
|
}
|
|
14
14
|
constructor(a) {
|
|
15
15
|
super(a);
|
|
16
|
-
this.
|
|
17
|
-
this.
|
|
18
|
-
this.
|
|
19
|
-
this.
|
|
20
|
-
this.
|
|
21
|
-
this.
|
|
22
|
-
this.
|
|
23
|
-
this.
|
|
16
|
+
this.dz = null;
|
|
17
|
+
this.dz = a.createElement("span");
|
|
18
|
+
this.dz.setRawStyleProperty("display", "inline-block");
|
|
19
|
+
this.dz.setRawStyleProperty("line-height", "normal");
|
|
20
|
+
this.dz.setRawStyleProperty("vertical-align", "middle");
|
|
21
|
+
this.dz.setRawStyleProperty("overflow", "hidden");
|
|
22
|
+
this.dz.setRawStyleProperty("white-space", "nowrap");
|
|
23
|
+
this.dz.setRawStyleProperty("text-overflow", "ellipsis");
|
|
24
24
|
this.ar.setRawStyleProperty("text-align", "left");
|
|
25
25
|
this.ar.setRawStyleProperty("vertical-align", "middle");
|
|
26
26
|
this.ar.setRawStyleProperty("overflow", "hidden");
|
|
27
27
|
this.ar.setRawStyleProperty("white-space", "nowrap");
|
|
28
28
|
this.ar.setRawStyleProperty("text-overflow", "ellipsis");
|
|
29
|
-
this.ar.append(this.
|
|
29
|
+
this.ar.append(this.dz);
|
|
30
30
|
}
|
|
31
|
-
|
|
32
|
-
super.
|
|
33
|
-
if (a == this.
|
|
34
|
-
this.
|
|
31
|
+
c1(a, b) {
|
|
32
|
+
super.c1(a, b);
|
|
33
|
+
if (a == this.dz) {
|
|
34
|
+
this.dz.setRawStyleProperty("line-height", (this.bg - this.bh).toString() + "px");
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
get_ae() {
|
|
38
38
|
return true;
|
|
39
39
|
}
|
|
40
|
-
|
|
41
|
-
super.
|
|
40
|
+
cl(a, b, c) {
|
|
41
|
+
super.cl(a, b, c);
|
|
42
42
|
if (a == "Indent") {
|
|
43
|
-
this.
|
|
43
|
+
this.dz.setRawStyleProperty("margin-left", this.bd + this.bf + 10 + "px");
|
|
44
44
|
}
|
|
45
45
|
if (a == "IsCollapsable") {
|
|
46
46
|
if (this.aa) {
|
|
47
|
-
this.
|
|
47
|
+
this.dz.setRawStyleProperty("margin-left", this.bd + this.bf + 10 + "px");
|
|
48
48
|
}
|
|
49
49
|
else {
|
|
50
|
-
this.
|
|
50
|
+
this.dz.setRawStyleProperty("margin-left", "0px");
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
}
|
|
@@ -20,26 +20,26 @@ let SectionHeaderCellPresenter = /*@__PURE__*/ (() => {
|
|
|
20
20
|
super.b(a);
|
|
21
21
|
let b = a;
|
|
22
22
|
if (a.a7) {
|
|
23
|
-
if (a.bc(SectionHeaderCellModel.
|
|
24
|
-
if (b.
|
|
25
|
-
if (b.
|
|
26
|
-
b.
|
|
23
|
+
if (a.bc(SectionHeaderCellModel.of) || a.bc(SectionHeaderCellModel.oh) || a.bc(SectionHeaderCellModel.og) || a.bc(SectionHeaderCellModel.oj)) {
|
|
24
|
+
if (b.ob == null || (b.ob.length == 0 && b.op == null)) {
|
|
25
|
+
if (b.ii == null) {
|
|
26
|
+
b.k1 = "";
|
|
27
27
|
}
|
|
28
28
|
else {
|
|
29
|
-
b.
|
|
29
|
+
b.k1 = b.ii.toString();
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
else {
|
|
33
|
-
if (b.
|
|
34
|
-
b.
|
|
33
|
+
if (b.on != null && b.oe == 0) {
|
|
34
|
+
b.k1 = b.op + " " + b.on;
|
|
35
35
|
}
|
|
36
36
|
else {
|
|
37
|
-
b.
|
|
37
|
+
b.k1 = b.op;
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
|
-
this.d.
|
|
40
|
+
this.d.c9(this.d.d0, b.k1);
|
|
41
41
|
}
|
|
42
|
-
ContentCellModelHelper.a(this.a.am, b, this.a.ar, this.d.
|
|
42
|
+
ContentCellModelHelper.a(this.a.am, b, this.a.ar, this.d.d0, this.a);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
}
|
|
@@ -8,70 +8,70 @@ import { GridCellBase } from "./GridCellBase";
|
|
|
8
8
|
import { markType } from "igniteui-webcomponents-core";
|
|
9
9
|
let SummaryCell = /*@__PURE__*/ (() => {
|
|
10
10
|
class SummaryCell extends GridCellBase {
|
|
11
|
-
get
|
|
12
|
-
return this.
|
|
11
|
+
get d2() {
|
|
12
|
+
return this.dz;
|
|
13
13
|
}
|
|
14
|
-
get
|
|
15
|
-
return this.
|
|
14
|
+
get d3() {
|
|
15
|
+
return this.d0;
|
|
16
16
|
}
|
|
17
|
-
|
|
18
|
-
super.
|
|
17
|
+
dd(a, b) {
|
|
18
|
+
super.dd(a, b);
|
|
19
19
|
let c = Math.max(0, a - b);
|
|
20
|
-
if (this.
|
|
21
|
-
this.
|
|
20
|
+
if (this.d5 != c) {
|
|
21
|
+
this.d5 = c;
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
|
-
|
|
25
|
-
super.
|
|
24
|
+
c2(a, b) {
|
|
25
|
+
super.c2(a, b);
|
|
26
26
|
let c = Math.max(0, a - b);
|
|
27
|
-
if (this.
|
|
28
|
-
this.
|
|
27
|
+
if (this.d4 != c) {
|
|
28
|
+
this.d4 = c;
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
|
-
|
|
32
|
-
super.
|
|
33
|
-
if (a == this.
|
|
34
|
-
this.
|
|
31
|
+
c1(a, b) {
|
|
32
|
+
super.c1(a, b);
|
|
33
|
+
if (a == this.dz) {
|
|
34
|
+
this.dz.setRawStyleProperty("line-height", (this.bg - this.bh).toString() + "px");
|
|
35
35
|
}
|
|
36
|
-
else if (a == this.
|
|
37
|
-
this.
|
|
36
|
+
else if (a == this.d0) {
|
|
37
|
+
this.d0.setRawStyleProperty("line-height", (this.bg - this.bh).toString() + "px");
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
constructor(a) {
|
|
41
41
|
super(a);
|
|
42
|
-
this.
|
|
43
|
-
this.
|
|
44
|
-
this.
|
|
45
|
-
this.
|
|
46
|
-
this.
|
|
42
|
+
this.dz = null;
|
|
43
|
+
this.d0 = null;
|
|
44
|
+
this.d1 = null;
|
|
45
|
+
this.d5 = -1;
|
|
46
|
+
this.d4 = -1;
|
|
47
47
|
this.ar.setRawStyleProperty("vertical-align", "middle");
|
|
48
|
-
this.
|
|
49
|
-
this.
|
|
50
|
-
this.
|
|
51
|
-
this.
|
|
52
|
-
this.
|
|
53
|
-
this.
|
|
54
|
-
this.
|
|
55
|
-
this.
|
|
56
|
-
this.
|
|
57
|
-
this.
|
|
58
|
-
this.
|
|
59
|
-
this.
|
|
60
|
-
this.
|
|
61
|
-
this.
|
|
62
|
-
this.
|
|
63
|
-
this.
|
|
64
|
-
this.
|
|
65
|
-
this.
|
|
66
|
-
this.ar.append(this.
|
|
48
|
+
this.d1 = a.createElement("div");
|
|
49
|
+
this.dz = a.createElement("span");
|
|
50
|
+
this.dz.setRawStyleProperty("display", "inline-block");
|
|
51
|
+
this.dz.setRawStyleProperty("width", "40%");
|
|
52
|
+
this.dz.setRawStyleProperty("white-space", "nowrap");
|
|
53
|
+
this.dz.setRawStyleProperty("text-overflow", "ellipsis");
|
|
54
|
+
this.dz.setRawStyleProperty("vertical-align", "middle");
|
|
55
|
+
this.dz.setRawStyleProperty("overflow", "hidden");
|
|
56
|
+
this.d1.append(this.dz);
|
|
57
|
+
this.d0 = a.createElement("span");
|
|
58
|
+
this.d0.setRawStyleProperty("display", "inline-block");
|
|
59
|
+
this.d0.setRawStyleProperty("width", "60%");
|
|
60
|
+
this.d0.setRawStyleProperty("text-align", "right");
|
|
61
|
+
this.d0.setRawStyleProperty("white-space", "nowrap");
|
|
62
|
+
this.d0.setRawStyleProperty("text-overflow", "ellipsis");
|
|
63
|
+
this.d0.setRawStyleProperty("vertical-align", "middle");
|
|
64
|
+
this.d0.setRawStyleProperty("overflow", "hidden");
|
|
65
|
+
this.d1.append(this.d0);
|
|
66
|
+
this.ar.append(this.d1);
|
|
67
67
|
}
|
|
68
68
|
get_ae() {
|
|
69
69
|
return false;
|
|
70
70
|
}
|
|
71
|
-
|
|
72
|
-
super.
|
|
71
|
+
cl(a, b, c) {
|
|
72
|
+
super.cl(a, b, c);
|
|
73
73
|
if (a == "Indent" || a == "IsCollapsable") {
|
|
74
|
-
this.
|
|
74
|
+
this.d1.setRawStyleProperty("margin-left", this.bd + this.bf + this.be + "px");
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
77
|
}
|
|
@@ -20,25 +20,25 @@ let SummaryCellPresenter = /*@__PURE__*/ (() => {
|
|
|
20
20
|
super.b(a);
|
|
21
21
|
let b = a;
|
|
22
22
|
if (a.a7) {
|
|
23
|
-
ContentCellModelHelper.a(this.a.am, b, this.a.ar, this.d.
|
|
24
|
-
ContentCellModelHelper.a(this.a.am, b, this.a.ar, this.d.
|
|
23
|
+
ContentCellModelHelper.a(this.a.am, b, this.a.ar, this.d.d2, this.a);
|
|
24
|
+
ContentCellModelHelper.a(this.a.am, b, this.a.ar, this.d.d3, this.a);
|
|
25
25
|
if (a.bb("ResolvedSummaryLabel") || a.bb("ResolvedSummaryValue")) {
|
|
26
|
-
if (b.
|
|
27
|
-
this.d.
|
|
26
|
+
if (b.oh != null) {
|
|
27
|
+
this.d.c9(this.d.d2, b.oh);
|
|
28
28
|
}
|
|
29
|
-
if (b.
|
|
30
|
-
this.d.
|
|
29
|
+
if (b.oj != null) {
|
|
30
|
+
this.d.c9(this.d.d3, b.oj);
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
if (a.bb("SummaryLabelTextColor")) {
|
|
34
|
-
this.d.
|
|
34
|
+
this.d.d2.setRawStyleProperty("color", b.oo._fill);
|
|
35
35
|
}
|
|
36
|
-
if (a.bb("SummaryLabelFontInfo")) {
|
|
37
|
-
let c = b.
|
|
36
|
+
if (a.bb("FontInfo") || a.bb("SummaryLabelFontInfo")) {
|
|
37
|
+
let c = b.oa;
|
|
38
38
|
if (c == null) {
|
|
39
39
|
c = FontUtil.getDefaultFont(this.a.am);
|
|
40
40
|
}
|
|
41
|
-
this.d.
|
|
41
|
+
this.d.d2.setRawStyleProperty("font", c.fontString);
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
}
|
|
@@ -10,35 +10,35 @@ import { runOn, markType } from "igniteui-webcomponents-core";
|
|
|
10
10
|
import { BaseDOMEventProxy } from "igniteui-webcomponents-core";
|
|
11
11
|
let TemplateCell = /*@__PURE__*/ (() => {
|
|
12
12
|
class TemplateCell extends GridCellBase {
|
|
13
|
-
get
|
|
14
|
-
return this.
|
|
13
|
+
get d0() {
|
|
14
|
+
return this.dz;
|
|
15
15
|
}
|
|
16
16
|
constructor(a) {
|
|
17
17
|
super(a);
|
|
18
|
-
this.
|
|
19
|
-
this.
|
|
20
|
-
this.
|
|
21
|
-
this.ar.append(this.
|
|
22
|
-
this.ar.listen("keydown", runOn(this, this.
|
|
18
|
+
this.dz = null;
|
|
19
|
+
this.dz = new TemplateCellContainer(a);
|
|
20
|
+
this.dz.element.setRawStyleProperty("box-sizing", "border-box");
|
|
21
|
+
this.ar.append(this.dz.element);
|
|
22
|
+
this.ar.listen("keydown", runOn(this, this.d1));
|
|
23
23
|
}
|
|
24
24
|
get_ae() {
|
|
25
25
|
return true;
|
|
26
26
|
}
|
|
27
|
-
|
|
28
|
-
super.
|
|
27
|
+
cl(a, b, c) {
|
|
28
|
+
super.cl(a, b, c);
|
|
29
29
|
if (a == "Indent" || a == "IsCollapsable") {
|
|
30
|
-
this.
|
|
30
|
+
this.dz.element.setRawStyleProperty("margin-left", this.bd + this.bf + this.be + "px");
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
|
-
|
|
34
|
-
let a = this.
|
|
33
|
+
ca() {
|
|
34
|
+
let a = this.dz.element.getNativeElement();
|
|
35
35
|
if (a.contains(document.activeElement)) {
|
|
36
36
|
return;
|
|
37
37
|
}
|
|
38
|
-
super.
|
|
38
|
+
super.ca();
|
|
39
39
|
}
|
|
40
|
-
|
|
41
|
-
let b = this.
|
|
40
|
+
d1(a) {
|
|
41
|
+
let b = this.dz.element.getNativeElement();
|
|
42
42
|
if (b.contains(document.activeElement) && document.activeElement.nodeName == "INPUT") {
|
|
43
43
|
let c = BaseDOMEventProxy.c4(a);
|
|
44
44
|
if (c == 14 || c == 16) {
|
|
@@ -21,12 +21,12 @@ let TemplateCellPresenter = /*@__PURE__*/ (() => {
|
|
|
21
21
|
super.b(a);
|
|
22
22
|
let b = a;
|
|
23
23
|
let c = this.d.actualColumns._inner[a.l.a5];
|
|
24
|
-
if (a.bc(CellModel.fp) || a.bc(CellModel.
|
|
24
|
+
if (a.bc(CellModel.fp) || a.bc(CellModel.h7)) {
|
|
25
25
|
let d = Math.min(1, Math.max(0, a.c7));
|
|
26
26
|
let e = a.cs * (1 - d);
|
|
27
|
-
this.e.
|
|
27
|
+
this.e.d0.element.setRawStyleProperty("opacity", e.toString());
|
|
28
28
|
}
|
|
29
|
-
c.
|
|
29
|
+
c.r8(a, this.e.d0);
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
TemplateCellPresenter.$t = /*@__PURE__*/ markType(TemplateCellPresenter, 'TemplateCellPresenter', CellPresenterBase.$);
|
|
@@ -9,14 +9,14 @@ import { TemplateCellContainer } from "./TemplateCellContainer";
|
|
|
9
9
|
import { markType } from "igniteui-webcomponents-core";
|
|
10
10
|
let TemplateHeaderCell = /*@__PURE__*/ (() => {
|
|
11
11
|
class TemplateHeaderCell extends GridCellBase {
|
|
12
|
-
get
|
|
13
|
-
return this.
|
|
12
|
+
get d0() {
|
|
13
|
+
return this.dz;
|
|
14
14
|
}
|
|
15
15
|
constructor(a) {
|
|
16
16
|
super(a);
|
|
17
|
-
this.
|
|
18
|
-
this.
|
|
19
|
-
this.ar.append(this.
|
|
17
|
+
this.dz = null;
|
|
18
|
+
this.dz = new TemplateCellContainer(a);
|
|
19
|
+
this.ar.append(this.dz.element);
|
|
20
20
|
}
|
|
21
21
|
get_ac() {
|
|
22
22
|
return true;
|
|
@@ -12,35 +12,35 @@ let TemplateHeaderCellModel = /*@__PURE__*/ (() => {
|
|
|
12
12
|
class TemplateHeaderCellModel extends TemplateCellModel {
|
|
13
13
|
constructor() {
|
|
14
14
|
super(...arguments);
|
|
15
|
-
this.
|
|
15
|
+
this.od = false;
|
|
16
16
|
}
|
|
17
|
-
get
|
|
18
|
-
return this.
|
|
17
|
+
get oe() {
|
|
18
|
+
return this.od;
|
|
19
19
|
}
|
|
20
|
-
set
|
|
21
|
-
let b = this.
|
|
22
|
-
this.
|
|
23
|
-
if (this.
|
|
24
|
-
this.
|
|
20
|
+
set oe(a) {
|
|
21
|
+
let b = this.od;
|
|
22
|
+
this.od = a;
|
|
23
|
+
if (this.od != b) {
|
|
24
|
+
this.mk("IsFilterUIVisible", TemplateHeaderCellModel.of, b, this.od);
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
|
|
28
|
-
super.
|
|
27
|
+
mt(a, b) {
|
|
28
|
+
super.mt(a, b);
|
|
29
29
|
if (a == "IsFilterUIVisible") {
|
|
30
|
-
this.
|
|
30
|
+
this.oe = b;
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
|
-
|
|
33
|
+
l5(a) {
|
|
34
34
|
switch (a) {
|
|
35
35
|
case "IsFilterUIVisible": return Boolean_$type;
|
|
36
36
|
}
|
|
37
|
-
return super.
|
|
37
|
+
return super.l5(a);
|
|
38
38
|
}
|
|
39
|
-
|
|
39
|
+
ih(a) {
|
|
40
40
|
if (a == "IsFilterUIVisible") {
|
|
41
|
-
return this.
|
|
41
|
+
return this.oe;
|
|
42
42
|
}
|
|
43
|
-
return super.
|
|
43
|
+
return super.ih(a);
|
|
44
44
|
}
|
|
45
45
|
b(a) {
|
|
46
46
|
if (a == null) {
|
|
@@ -48,12 +48,12 @@ let TemplateHeaderCellModel = /*@__PURE__*/ (() => {
|
|
|
48
48
|
}
|
|
49
49
|
a = super.b(a);
|
|
50
50
|
let b = a;
|
|
51
|
-
b.ae = this.
|
|
51
|
+
b.ae = this.ob;
|
|
52
52
|
return b;
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
55
|
TemplateHeaderCellModel.$t = /*@__PURE__*/ markType(TemplateHeaderCellModel, 'TemplateHeaderCellModel', TemplateCellModel.$);
|
|
56
|
-
TemplateHeaderCellModel.
|
|
56
|
+
TemplateHeaderCellModel.of = /*@__PURE__*/ CellModel.f9("IsFilterUIVisible");
|
|
57
57
|
return TemplateHeaderCellModel;
|
|
58
58
|
})();
|
|
59
59
|
export { TemplateHeaderCellModel };
|
|
@@ -21,13 +21,13 @@ let TemplateHeaderCellPresenter = /*@__PURE__*/ (() => {
|
|
|
21
21
|
super.b(a);
|
|
22
22
|
let b = this.d.actualColumns._inner[a.l.a5];
|
|
23
23
|
let c = b.header;
|
|
24
|
-
if (a.bc(CellModel.fp) || a.bc(CellModel.
|
|
24
|
+
if (a.bc(CellModel.fp) || a.bc(CellModel.h7)) {
|
|
25
25
|
let d = Math.min(1, Math.max(0, a.c7));
|
|
26
26
|
let e = a.cs * (1 - d);
|
|
27
|
-
this.e.
|
|
27
|
+
this.e.d0.element.setRawStyleProperty("opacity", e.toString());
|
|
28
28
|
}
|
|
29
29
|
let f = a;
|
|
30
|
-
c.hu(f, this.e.
|
|
30
|
+
c.hu(f, this.e.d0);
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
TemplateHeaderCellPresenter.$t = /*@__PURE__*/ markType(TemplateHeaderCellPresenter, 'TemplateHeaderCellPresenter', CellPresenterBase.$);
|
|
@@ -20,7 +20,7 @@ let TemplateSectionHeader = /*@__PURE__*/ (() => {
|
|
|
20
20
|
n(a) {
|
|
21
21
|
return new TemplateSectionHeaderCellModel();
|
|
22
22
|
}
|
|
23
|
-
|
|
23
|
+
ic(a, b) {
|
|
24
24
|
if (this.cellUpdating != null) {
|
|
25
25
|
this.cellUpdating(this, ((() => {
|
|
26
26
|
let $ret = new TemplateSectionHeaderCellUpdatingEventArgs();
|
package/esm2015/lib/TextCell.js
CHANGED
|
@@ -8,53 +8,53 @@ import { GridCellBase } from "./GridCellBase";
|
|
|
8
8
|
import { markType } from "igniteui-webcomponents-core";
|
|
9
9
|
let TextCell = /*@__PURE__*/ (() => {
|
|
10
10
|
class TextCell extends GridCellBase {
|
|
11
|
-
get
|
|
12
|
-
return this.
|
|
11
|
+
get d0() {
|
|
12
|
+
return this.dz;
|
|
13
13
|
}
|
|
14
|
-
|
|
15
|
-
super.
|
|
14
|
+
dd(a, b) {
|
|
15
|
+
super.dd(a, b);
|
|
16
16
|
let c = Math.max(0, a - b - (this.bd + this.bf + this.be));
|
|
17
|
-
if (this.
|
|
18
|
-
this.
|
|
19
|
-
this.
|
|
17
|
+
if (this.d2 != c) {
|
|
18
|
+
this.d2 = c;
|
|
19
|
+
this.dz.setRawStyleProperty("max-width", c.toString() + "px");
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
|
-
|
|
23
|
-
super.
|
|
22
|
+
c2(a, b) {
|
|
23
|
+
super.c2(a, b);
|
|
24
24
|
let c = Math.max(0, a - b);
|
|
25
|
-
if (this.
|
|
26
|
-
this.
|
|
27
|
-
this.
|
|
25
|
+
if (this.d1 != c) {
|
|
26
|
+
this.d1 = c;
|
|
27
|
+
this.dz.setRawStyleProperty("max-height", c.toString() + "px");
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
30
|
constructor(a) {
|
|
31
31
|
super(a);
|
|
32
|
-
this.
|
|
33
|
-
this.
|
|
34
|
-
this.
|
|
32
|
+
this.dz = null;
|
|
33
|
+
this.d2 = -1;
|
|
34
|
+
this.d1 = -1;
|
|
35
35
|
this.ar.setRawStyleProperty("text-align", "left");
|
|
36
36
|
this.ar.setRawStyleProperty("vertical-align", "middle");
|
|
37
|
-
this.
|
|
38
|
-
this.
|
|
39
|
-
this.
|
|
40
|
-
this.
|
|
41
|
-
this.
|
|
42
|
-
this.
|
|
43
|
-
this.ar.append(this.
|
|
37
|
+
this.dz = a.createElement("span");
|
|
38
|
+
this.dz.setRawStyleProperty("display", "inline-block");
|
|
39
|
+
this.dz.setRawStyleProperty("overflow", "hidden");
|
|
40
|
+
this.dz.setRawStyleProperty("white-space", "nowrap");
|
|
41
|
+
this.dz.setRawStyleProperty("text-overflow", "ellipsis");
|
|
42
|
+
this.dc(this.dz, 1);
|
|
43
|
+
this.ar.append(this.dz);
|
|
44
44
|
}
|
|
45
|
-
|
|
46
|
-
super.
|
|
47
|
-
if (a == this.
|
|
48
|
-
this.
|
|
45
|
+
c1(a, b) {
|
|
46
|
+
super.c1(a, b);
|
|
47
|
+
if (a == this.dz) {
|
|
48
|
+
this.dz.setRawStyleProperty("line-height", (this.bg - this.bh).toString() + "px");
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
get_ae() {
|
|
52
52
|
return true;
|
|
53
53
|
}
|
|
54
|
-
|
|
55
|
-
super.
|
|
54
|
+
cl(a, b, c) {
|
|
55
|
+
super.cl(a, b, c);
|
|
56
56
|
if (a == "Indent" || a == "IsCollapsable") {
|
|
57
|
-
this.
|
|
57
|
+
this.dz.setRawStyleProperty("margin-left", this.bd + this.bf + this.be + "px");
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
}
|