igniteui-angular-data-grids 20.1.0 → 20.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/igniteui-angular-data-grids.umd.js +5727 -5576
- package/bundles/igniteui-angular-data-grids.umd.min.js +1 -1
- package/esm2015/lib/AccessibilityRow.js +1 -1
- package/esm2015/lib/CanvasCellPresenterBase.js +9 -9
- package/esm2015/lib/CanvasContentCellModelHelper.js +9 -9
- package/esm2015/lib/CanvasDateTimeCellPresenter.js +8 -8
- package/esm2015/lib/CanvasGridCellBase.js +7 -7
- package/esm2015/lib/CanvasImageCellPresenter.js +9 -9
- package/esm2015/lib/CanvasNumericCellPresenter.js +8 -8
- package/esm2015/lib/CanvasSectionHeaderCellPresenter.js +9 -9
- package/esm2015/lib/CanvasSummaryCell.js +1 -1
- package/esm2015/lib/CanvasSummaryCellPresenter.js +3 -3
- package/esm2015/lib/CanvasTemplateCellPresenter.js +4 -4
- package/esm2015/lib/CanvasTemplateHeaderCellPresenter.js +3 -3
- package/esm2015/lib/CanvasTextCellPresenter.js +9 -9
- package/esm2015/lib/CanvasTextHeaderCellPresenter.js +7 -7
- package/esm2015/lib/CellPresenterBase.js +40 -37
- package/esm2015/lib/CheckboxListBridge.js +4 -0
- package/esm2015/lib/CheckboxListView_combined.js +778 -743
- package/esm2015/lib/ColumnChooserView_combined.js +9 -9
- package/esm2015/lib/ColumnFilterCondition_combined.js +2894 -2867
- package/esm2015/lib/ColumnGroupingView_combined.js +4 -4
- package/esm2015/lib/ColumnPinningView_combined.js +7 -7
- package/esm2015/lib/ComparisonOperatorSelectorView_combined.js +7 -7
- package/esm2015/lib/ContentCellModelHelper.js +13 -13
- package/esm2015/lib/DataGridCellLayoutPanel.js +17 -17
- package/esm2015/lib/DateTimeCellPresenter.js +9 -9
- package/esm2015/lib/EditorCell.js +303 -303
- package/esm2015/lib/EditorCellPresenter.js +27 -27
- package/esm2015/lib/EditorRowCell.js +1 -1
- package/esm2015/lib/FilterCell.js +272 -272
- package/esm2015/lib/FilterCellPresenter.js +16 -16
- package/esm2015/lib/GridCellBase.js +354 -335
- package/esm2015/lib/GridColumnFilterOptionsView_combined.js +9 -9
- package/esm2015/lib/GridColumnGroupOptionsView_combined.js +4 -4
- package/esm2015/lib/GridColumnHideOptionsView_combined.js +1 -1
- 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 +6 -6
- package/esm2015/lib/GridExternalWrapper.js +6 -6
- package/esm2015/lib/GridFilterDialogView_combined.js +1 -1
- package/esm2015/lib/GridSortIndicatorView_combined.js +15 -8
- package/esm2015/lib/ISummaryChooserView_combined.js +9 -9
- package/esm2015/lib/ImageCell.js +59 -59
- package/esm2015/lib/ImageCellPresenter.js +17 -17
- 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 +21 -21
- package/esm2015/lib/SectionHeaderCell.js +15 -15
- package/esm2015/lib/SectionHeaderCellPresenter.js +10 -10
- package/esm2015/lib/SortIndicatorStyle.js +6 -2
- package/esm2015/lib/SummaryCell.js +40 -40
- package/esm2015/lib/SummaryCellPresenter.js +10 -10
- package/esm2015/lib/TemplateCell.js +15 -15
- package/esm2015/lib/TemplateCellPresenter.js +5 -5
- 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 +5 -5
- package/esm2015/lib/TextCell.js +32 -32
- package/esm2015/lib/TextCellPresenter.js +10 -10
- package/esm2015/lib/TextHeaderCell.js +153 -153
- package/esm2015/lib/TextHeaderCellPresenter.js +25 -25
- package/esm2015/lib/VerticalSeparatorCell.js +37 -37
- package/esm2015/lib/igx-cell-info.js +164 -155
- package/esm2015/lib/igx-checkbox-list-component.js +82 -66
- package/esm2015/lib/igx-combo-box-column-component.js +10 -10
- package/esm2015/lib/igx-data-grid-column-component.js +87 -76
- package/esm2015/lib/igx-date-time-cell-info.js +12 -12
- package/esm2015/lib/igx-date-time-column-component.js +20 -20
- package/esm2015/lib/igx-editor-cell-info.js +23 -23
- package/esm2015/lib/igx-filter-cell-info.js +26 -26
- package/esm2015/lib/igx-image-cell-info.js +6 -6
- package/esm2015/lib/igx-image-column-component.js +10 -10
- package/esm2015/lib/igx-numeric-cell-info.js +26 -26
- package/esm2015/lib/igx-numeric-column-component.js +30 -30
- package/esm2015/lib/igx-section-header-cell-info.js +6 -6
- package/esm2015/lib/igx-summary-cell-info.js +9 -9
- package/esm2015/lib/igx-template-cell-info.js +2 -2
- package/esm2015/lib/igx-template-header-cell-info.js +2 -2
- package/esm2015/lib/igx-text-cell-info.js +2 -2
- package/esm2015/lib/igx-text-column-component.js +8 -8
- package/esm2015/lib/igx-text-header-cell-info.js +10 -10
- package/esm5/lib/AccessibilityRow.js +1 -1
- package/esm5/lib/CanvasCellPresenterBase.js +9 -9
- package/esm5/lib/CanvasContentCellModelHelper.js +9 -9
- package/esm5/lib/CanvasDateTimeCellPresenter.js +8 -8
- package/esm5/lib/CanvasGridCellBase.js +7 -7
- package/esm5/lib/CanvasImageCellPresenter.js +9 -9
- package/esm5/lib/CanvasNumericCellPresenter.js +8 -8
- package/esm5/lib/CanvasSectionHeaderCellPresenter.js +9 -9
- package/esm5/lib/CanvasSummaryCell.js +1 -1
- package/esm5/lib/CanvasSummaryCellPresenter.js +3 -3
- package/esm5/lib/CanvasTemplateCellPresenter.js +4 -4
- package/esm5/lib/CanvasTemplateHeaderCellPresenter.js +3 -3
- package/esm5/lib/CanvasTextCellPresenter.js +9 -9
- package/esm5/lib/CanvasTextHeaderCellPresenter.js +7 -7
- package/esm5/lib/CellPresenterBase.js +40 -37
- package/esm5/lib/CheckboxListBridge.js +4 -0
- package/esm5/lib/CheckboxListView_combined.js +760 -725
- package/esm5/lib/ColumnChooserView_combined.js +9 -9
- package/esm5/lib/ColumnFilterCondition_combined.js +2735 -2700
- package/esm5/lib/ColumnGroupingView_combined.js +4 -4
- package/esm5/lib/ColumnPinningView_combined.js +7 -7
- package/esm5/lib/ComparisonOperatorSelectorView_combined.js +7 -7
- package/esm5/lib/ContentCellModelHelper.js +13 -13
- package/esm5/lib/DataGridCellLayoutPanel.js +17 -17
- package/esm5/lib/DateTimeCellPresenter.js +9 -9
- package/esm5/lib/EditorCell.js +285 -285
- package/esm5/lib/EditorCellPresenter.js +27 -27
- package/esm5/lib/EditorRowCell.js +1 -1
- package/esm5/lib/FilterCell.js +262 -262
- package/esm5/lib/FilterCellPresenter.js +16 -16
- package/esm5/lib/GridCellBase.js +349 -326
- package/esm5/lib/GridColumnFilterOptionsView_combined.js +9 -9
- package/esm5/lib/GridColumnGroupOptionsView_combined.js +4 -4
- package/esm5/lib/GridColumnHideOptionsView_combined.js +1 -1
- 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 +6 -6
- package/esm5/lib/GridExternalWrapper.js +6 -6
- package/esm5/lib/GridFilterDialogView_combined.js +1 -1
- package/esm5/lib/GridSortIndicatorView_combined.js +15 -10
- package/esm5/lib/ISummaryChooserView_combined.js +9 -9
- package/esm5/lib/ImageCell.js +59 -59
- package/esm5/lib/ImageCellPresenter.js +17 -17
- 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 +21 -21
- package/esm5/lib/SectionHeaderCell.js +15 -15
- package/esm5/lib/SectionHeaderCellPresenter.js +10 -10
- package/esm5/lib/SortIndicatorStyle.js +6 -2
- package/esm5/lib/SummaryCell.js +40 -40
- package/esm5/lib/SummaryCellPresenter.js +10 -10
- package/esm5/lib/TemplateCell.js +15 -15
- package/esm5/lib/TemplateCellPresenter.js +5 -5
- 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 +5 -5
- package/esm5/lib/TextCell.js +32 -32
- package/esm5/lib/TextCellPresenter.js +10 -10
- package/esm5/lib/TextHeaderCell.js +151 -151
- package/esm5/lib/TextHeaderCellPresenter.js +25 -25
- package/esm5/lib/VerticalSeparatorCell.js +37 -37
- package/esm5/lib/igx-cell-info.js +168 -155
- package/esm5/lib/igx-checkbox-list-component.js +82 -66
- package/esm5/lib/igx-combo-box-column-component.js +10 -10
- package/esm5/lib/igx-data-grid-column-component.js +91 -76
- package/esm5/lib/igx-date-time-cell-info.js +12 -12
- package/esm5/lib/igx-date-time-column-component.js +20 -20
- package/esm5/lib/igx-editor-cell-info.js +23 -23
- package/esm5/lib/igx-filter-cell-info.js +26 -26
- package/esm5/lib/igx-image-cell-info.js +6 -6
- package/esm5/lib/igx-image-column-component.js +10 -10
- package/esm5/lib/igx-numeric-cell-info.js +26 -26
- package/esm5/lib/igx-numeric-column-component.js +30 -30
- package/esm5/lib/igx-section-header-cell-info.js +6 -6
- package/esm5/lib/igx-summary-cell-info.js +9 -9
- package/esm5/lib/igx-template-cell-info.js +2 -2
- package/esm5/lib/igx-template-header-cell-info.js +2 -2
- package/esm5/lib/igx-text-cell-info.js +2 -2
- package/esm5/lib/igx-text-column-component.js +8 -8
- package/esm5/lib/igx-text-header-cell-info.js +10 -10
- package/fesm2015/igniteui-angular-data-grids.js +5924 -5791
- package/fesm5/igniteui-angular-data-grids.js +5729 -5578
- package/lib/CheckboxListBridge.d.ts +1 -0
- package/lib/CheckboxListViewExternal.d.ts +1 -0
- package/lib/CheckboxListView_combined.d.ts +185 -179
- package/lib/ColumnFilterCondition_combined.d.ts +820 -813
- package/lib/EditorCell.d.ts +67 -67
- package/lib/FilterCell.d.ts +55 -55
- package/lib/GridCellBase.d.ts +105 -102
- package/lib/ImageCell.d.ts +17 -17
- package/lib/NumericCell.d.ts +2 -2
- package/lib/SectionHeaderCell.d.ts +3 -3
- package/lib/SortIndicatorStyle.d.ts +5 -1
- package/lib/SummaryCell.d.ts +9 -9
- package/lib/TemplateCell.d.ts +5 -5
- package/lib/TemplateHeaderCell.d.ts +2 -2
- package/lib/TemplateHeaderCellModel.d.ts +7 -7
- package/lib/TextCell.d.ts +7 -7
- package/lib/TextHeaderCell.d.ts +29 -29
- package/lib/VerticalSeparatorCell.d.ts +8 -8
- package/lib/igx-cell-info.d.ts +6 -0
- package/lib/igx-checkbox-list-component.d.ts +10 -0
- package/lib/igx-data-grid-column-component.d.ts +7 -1
- package/package.json +4 -4
|
@@ -680,7 +680,7 @@ export let MultiColumnComboBoxView = /*@__PURE__*/ (() => {
|
|
|
680
680
|
}
|
|
681
681
|
let f = this.g;
|
|
682
682
|
let g = this.g.p();
|
|
683
|
-
e = g.
|
|
683
|
+
e = g.mc();
|
|
684
684
|
}
|
|
685
685
|
d.d = e;
|
|
686
686
|
d.b = a;
|
|
@@ -2403,7 +2403,7 @@ export let MultiColumnComboBox = /*@__PURE__*/ (() => {
|
|
|
2403
2403
|
return c._inner[0];
|
|
2404
2404
|
}
|
|
2405
2405
|
for (let d of fromEnum(c)) {
|
|
2406
|
-
if (0 == StringComparer.b.compare(d.
|
|
2406
|
+
if (0 == StringComparer.b.compare(d.l7, a)) {
|
|
2407
2407
|
return d;
|
|
2408
2408
|
}
|
|
2409
2409
|
}
|
|
@@ -13,18 +13,18 @@ export let NumericCell = /*@__PURE__*/ (() => {
|
|
|
13
13
|
class NumericCell extends TextCell {
|
|
14
14
|
constructor(a) {
|
|
15
15
|
super(a);
|
|
16
|
-
this.
|
|
17
|
-
this.
|
|
16
|
+
this.c2(this.dw, 2);
|
|
17
|
+
this.da(this.dw, 1);
|
|
18
18
|
}
|
|
19
|
-
|
|
20
|
-
super.
|
|
19
|
+
ck(a, b, c) {
|
|
20
|
+
super.ck(a, b, c);
|
|
21
21
|
if (a == "Indent" || a == "IsCollapsable") {
|
|
22
|
-
this.
|
|
22
|
+
this.dw.setRawStyleProperty("margin-left", this.bd + this.bf + this.be + "px");
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
|
-
|
|
26
|
-
super.
|
|
27
|
-
this.
|
|
25
|
+
b8() {
|
|
26
|
+
super.b8();
|
|
27
|
+
this.dg(2, 1);
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
30
|
NumericCell.$t = markType(NumericCell, 'NumericCell', TextCell.$);
|
|
@@ -24,20 +24,20 @@ export let NumericCellPresenter = /*@__PURE__*/ (() => {
|
|
|
24
24
|
super.b(a);
|
|
25
25
|
let b = a;
|
|
26
26
|
if (a.a7) {
|
|
27
|
-
if (a.bc(NumericCellModel.
|
|
28
|
-
b.
|
|
29
|
-
this.d.
|
|
27
|
+
if (a.bc(NumericCellModel.op) || a.bc(NumericCellModel.od) || a.bc(NumericCellModel.h2) || b.n6()) {
|
|
28
|
+
b.kx = this.e(b);
|
|
29
|
+
this.d.c8(this.d.dw, b.kx);
|
|
30
30
|
}
|
|
31
|
-
ContentCellModelHelper.a(this.a.
|
|
31
|
+
ContentCellModelHelper.a(this.a.am, b, this.a.ar, this.d.dw, this.a);
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
e(a) {
|
|
35
|
-
if (a.
|
|
36
|
-
return a.
|
|
35
|
+
if (a.lt != null) {
|
|
36
|
+
return a.lt;
|
|
37
37
|
}
|
|
38
|
-
if (a.
|
|
39
|
-
let val_ = a.
|
|
40
|
-
let override_ = a.
|
|
38
|
+
if (a.ov != null) {
|
|
39
|
+
let val_ = a.n9;
|
|
40
|
+
let override_ = a.ov;
|
|
41
41
|
return (override_.format(val_));
|
|
42
42
|
}
|
|
43
43
|
return NumericCellFormatter.c(a);
|
|
@@ -741,15 +741,15 @@ export let PropertyEditor = /*@__PURE__*/ (() => {
|
|
|
741
741
|
}
|
|
742
742
|
else {
|
|
743
743
|
let a = new TextColumn();
|
|
744
|
-
a.
|
|
745
|
-
a.
|
|
746
|
-
a.
|
|
744
|
+
a.k0 = 10;
|
|
745
|
+
a.k1 = 5;
|
|
746
|
+
a.l7 = "PropertyPath";
|
|
747
747
|
a.dataBinding = delegateCombine(a.dataBinding, runOn(this, this.dp));
|
|
748
748
|
this.l.columns.add(a);
|
|
749
749
|
let b = new TemplateColumn();
|
|
750
|
-
b.
|
|
751
|
-
b.
|
|
752
|
-
b.
|
|
750
|
+
b.l7 = "ValueType";
|
|
751
|
+
b.k0 = 5;
|
|
752
|
+
b.k1 = 5;
|
|
753
753
|
b.dataBinding = delegateCombine(b.dataBinding, runOn(this, this.cu));
|
|
754
754
|
b.cellStyleKeyRequested = delegateCombine(b.cellStyleKeyRequested, runOn(this, this.cs));
|
|
755
755
|
b.cellUpdating = delegateCombine(b.cellUpdating, runOn(this, this.ct));
|
|
@@ -829,8 +829,8 @@ export let PropertyEditor = /*@__PURE__*/ (() => {
|
|
|
829
829
|
let r = this.cc(l);
|
|
830
830
|
if (c.count <= g) {
|
|
831
831
|
let s = new TextColumn();
|
|
832
|
-
s.
|
|
833
|
-
s.
|
|
832
|
+
s.k0 = 10;
|
|
833
|
+
s.k1 = 5;
|
|
834
834
|
s.width = ((() => {
|
|
835
835
|
let $ret = new ColumnWidth();
|
|
836
836
|
$ret.c = false;
|
|
@@ -838,8 +838,8 @@ export let PropertyEditor = /*@__PURE__*/ (() => {
|
|
|
838
838
|
return $ret;
|
|
839
839
|
})());
|
|
840
840
|
s.dataBinding = delegateCombine(s.dataBinding, runOn(this, this.dp));
|
|
841
|
-
s.
|
|
842
|
-
s.
|
|
841
|
+
s.my = "PropertyName_" + k;
|
|
842
|
+
s.l7 = "PropertyName";
|
|
843
843
|
c.add(s);
|
|
844
844
|
this.au.item(s, c.count - 1);
|
|
845
845
|
g++;
|
|
@@ -876,10 +876,10 @@ export let PropertyEditor = /*@__PURE__*/ (() => {
|
|
|
876
876
|
}
|
|
877
877
|
if (c.count <= g) {
|
|
878
878
|
let v = new TemplateColumn();
|
|
879
|
-
v.
|
|
880
|
-
v.
|
|
881
|
-
v.
|
|
882
|
-
v.
|
|
879
|
+
v.my = "ValueType_" + k;
|
|
880
|
+
v.l7 = "ValueType";
|
|
881
|
+
v.k0 = 5;
|
|
882
|
+
v.k1 = 5;
|
|
883
883
|
v.dataBinding = delegateCombine(v.dataBinding, runOn(this, this.cu));
|
|
884
884
|
v.width = ((() => {
|
|
885
885
|
let $ret = new ColumnWidth();
|
|
@@ -950,12 +950,12 @@ export let PropertyEditor = /*@__PURE__*/ (() => {
|
|
|
950
950
|
}
|
|
951
951
|
cu(a, b) {
|
|
952
952
|
let c = a;
|
|
953
|
-
let d = this.s(c, b.cellInfo.
|
|
953
|
+
let d = this.s(c, b.cellInfo.fp, b.rowObject);
|
|
954
954
|
b.resolvedValue = enumGetBox(PropertyEditorValueType_$type, d != null ? d.w : 0);
|
|
955
955
|
}
|
|
956
956
|
dp(a, b) {
|
|
957
957
|
let c = a;
|
|
958
|
-
let d = this.s(c, b.cellInfo.
|
|
958
|
+
let d = this.s(c, b.cellInfo.fp, b.rowObject);
|
|
959
959
|
if (d == null) {
|
|
960
960
|
b.resolvedValue = null;
|
|
961
961
|
return;
|
|
@@ -1072,7 +1072,7 @@ export let PropertyEditor = /*@__PURE__*/ (() => {
|
|
|
1072
1072
|
}
|
|
1073
1073
|
ct(a, b) {
|
|
1074
1074
|
let c = a;
|
|
1075
|
-
let d = this.s(c, b.cellInfo.
|
|
1075
|
+
let d = this.s(c, b.cellInfo.fp, b.cellInfo.ig);
|
|
1076
1076
|
let e = d != null ? d.w : 0;
|
|
1077
1077
|
switch (e) {
|
|
1078
1078
|
case 10:
|
|
@@ -1169,7 +1169,7 @@ export let PropertyEditor = /*@__PURE__*/ (() => {
|
|
|
1169
1169
|
if (c.t != 3) {
|
|
1170
1170
|
c.t = 3;
|
|
1171
1171
|
}
|
|
1172
|
-
let e = this.s(a, b.cellInfo.
|
|
1172
|
+
let e = this.s(a, b.cellInfo.fp, b.cellInfo.ig);
|
|
1173
1173
|
let f = c.inputs._inner[0];
|
|
1174
1174
|
f.bh = e;
|
|
1175
1175
|
f.cq = (e.ar != null ? e.ar.toString() : "");
|
|
@@ -1183,7 +1183,7 @@ export let PropertyEditor = /*@__PURE__*/ (() => {
|
|
|
1183
1183
|
if (c.r != 3) {
|
|
1184
1184
|
c.r = 3;
|
|
1185
1185
|
}
|
|
1186
|
-
let e = this.s(a, b.cellInfo.
|
|
1186
|
+
let e = this.s(a, b.cellInfo.fp, b.cellInfo.ig);
|
|
1187
1187
|
c.ed = e;
|
|
1188
1188
|
let f = e.ar;
|
|
1189
1189
|
if (typeof e.ar === 'number' || typeof e.ar === 'number') {
|
|
@@ -1200,7 +1200,7 @@ export let PropertyEditor = /*@__PURE__*/ (() => {
|
|
|
1200
1200
|
if (c.density != 3) {
|
|
1201
1201
|
c.density = 3;
|
|
1202
1202
|
}
|
|
1203
|
-
let e = this.s(a, b.cellInfo.
|
|
1203
|
+
let e = this.s(a, b.cellInfo.fp, b.cellInfo.ig);
|
|
1204
1204
|
if (c.dd != e) {
|
|
1205
1205
|
if (!d) {
|
|
1206
1206
|
c.selectedValueChanged = delegateRemove(c.selectedValueChanged, runOn(this, this.cq));
|
|
@@ -1464,7 +1464,7 @@ export let PropertyEditor = /*@__PURE__*/ (() => {
|
|
|
1464
1464
|
if (!c.y) {
|
|
1465
1465
|
c.y = true;
|
|
1466
1466
|
}
|
|
1467
|
-
let e = this.s(a, b.cellInfo.
|
|
1467
|
+
let e = this.s(a, b.cellInfo.fp, b.cellInfo.ig);
|
|
1468
1468
|
let f = e.ar;
|
|
1469
1469
|
if (f == null) {
|
|
1470
1470
|
f = false;
|
|
@@ -13,32 +13,32 @@ export let SectionHeaderCell = /*@__PURE__*/ (() => {
|
|
|
13
13
|
class SectionHeaderCell extends GridCellBase {
|
|
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.dv = null;
|
|
17
|
+
this.dv = a.createElement("span");
|
|
18
|
+
this.ar.setRawStyleProperty("text-align", "left");
|
|
19
|
+
this.ar.setRawStyleProperty("vertical-align", "middle");
|
|
20
|
+
this.ar.setRawStyleProperty("overflow", "hidden");
|
|
21
|
+
this.ar.setRawStyleProperty("white-space", "nowrap");
|
|
22
|
+
this.ar.setRawStyleProperty("text-overflow", "ellipsis");
|
|
23
|
+
this.ar.append(this.dv);
|
|
24
24
|
}
|
|
25
|
-
get
|
|
26
|
-
return this.
|
|
25
|
+
get dw() {
|
|
26
|
+
return this.dv;
|
|
27
27
|
}
|
|
28
28
|
get_ae() {
|
|
29
29
|
return true;
|
|
30
30
|
}
|
|
31
|
-
|
|
32
|
-
super.
|
|
31
|
+
ck(a, b, c) {
|
|
32
|
+
super.ck(a, b, c);
|
|
33
33
|
if (a == "Indent") {
|
|
34
|
-
this.
|
|
34
|
+
this.dv.setRawStyleProperty("margin-left", this.bd + this.bf + 10 + "px");
|
|
35
35
|
}
|
|
36
36
|
if (a == "IsCollapsable") {
|
|
37
37
|
if (this.aa) {
|
|
38
|
-
this.
|
|
38
|
+
this.dv.setRawStyleProperty("margin-left", this.bd + this.bf + 10 + "px");
|
|
39
39
|
}
|
|
40
40
|
else {
|
|
41
|
-
this.
|
|
41
|
+
this.dv.setRawStyleProperty("margin-left", "0px");
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
}
|
|
@@ -23,26 +23,26 @@ export let SectionHeaderCellPresenter = /*@__PURE__*/ (() => {
|
|
|
23
23
|
super.b(a);
|
|
24
24
|
let b = a;
|
|
25
25
|
if (a.a7) {
|
|
26
|
-
if (a.bc(SectionHeaderCellModel.
|
|
27
|
-
if (b.
|
|
28
|
-
if (b.
|
|
29
|
-
b.
|
|
26
|
+
if (a.bc(SectionHeaderCellModel.n6) || a.bc(SectionHeaderCellModel.n8) || a.bc(SectionHeaderCellModel.n7) || a.bc(SectionHeaderCellModel.oa)) {
|
|
27
|
+
if (b.n2 == null || (b.n2.length == 0 && b.og == null)) {
|
|
28
|
+
if (b.ie == null) {
|
|
29
|
+
b.kx = "";
|
|
30
30
|
}
|
|
31
31
|
else {
|
|
32
|
-
b.
|
|
32
|
+
b.kx = b.ie.toString();
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
else {
|
|
36
|
-
if (b.
|
|
37
|
-
b.
|
|
36
|
+
if (b.oe != null && b.n5 == 0) {
|
|
37
|
+
b.kx = b.og + " " + b.oe;
|
|
38
38
|
}
|
|
39
39
|
else {
|
|
40
|
-
b.
|
|
40
|
+
b.kx = b.og;
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
-
this.d.
|
|
43
|
+
this.d.c8(this.d.dw, b.kx);
|
|
44
44
|
}
|
|
45
|
-
ContentCellModelHelper.a(this.a.
|
|
45
|
+
ContentCellModelHelper.a(this.a.am, b, this.a.ar, this.d.dw, this.a);
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
}
|
|
@@ -20,13 +20,17 @@ export var SortIndicatorStyle = /*@__PURE__*/ (function (SortIndicatorStyle) {
|
|
|
20
20
|
* is faded and which is fully opaque.
|
|
21
21
|
*/
|
|
22
22
|
SortIndicatorStyle[SortIndicatorStyle["FadingSimpleUpDownArrows"] = 2] = "FadingSimpleUpDownArrows";
|
|
23
|
+
/**
|
|
24
|
+
* The sort indicator is not rendered.
|
|
25
|
+
*/
|
|
26
|
+
SortIndicatorStyle[SortIndicatorStyle["None"] = 3] = "None";
|
|
23
27
|
/**
|
|
24
28
|
* No style is set.
|
|
25
29
|
*/
|
|
26
|
-
SortIndicatorStyle[SortIndicatorStyle["Unset"] =
|
|
30
|
+
SortIndicatorStyle[SortIndicatorStyle["Unset"] = 4] = "Unset";
|
|
27
31
|
return SortIndicatorStyle;
|
|
28
32
|
})({});
|
|
29
33
|
/**
|
|
30
34
|
* @hidden
|
|
31
35
|
*/
|
|
32
|
-
export let SortIndicatorStyle_$type = markEnum('SortIndicatorStyle', 'Default,0|FadingUpDownArrows,1|FadingSimpleUpDownArrows,2|Unset,
|
|
36
|
+
export let SortIndicatorStyle_$type = markEnum('SortIndicatorStyle', 'Default,0|FadingUpDownArrows,1|FadingSimpleUpDownArrows,2|None,3|Unset,4');
|
|
@@ -13,59 +13,59 @@ export let SummaryCell = /*@__PURE__*/ (() => {
|
|
|
13
13
|
class SummaryCell extends GridCellBase {
|
|
14
14
|
constructor(a) {
|
|
15
15
|
super(a);
|
|
16
|
-
this.
|
|
17
|
-
this.
|
|
18
|
-
this.
|
|
19
|
-
this.
|
|
20
|
-
this.
|
|
21
|
-
this.
|
|
22
|
-
this.
|
|
23
|
-
this.
|
|
24
|
-
this.
|
|
25
|
-
this.
|
|
26
|
-
this.
|
|
27
|
-
this.
|
|
28
|
-
this.
|
|
29
|
-
this.
|
|
30
|
-
this.
|
|
31
|
-
this.
|
|
32
|
-
this.
|
|
33
|
-
this.
|
|
34
|
-
this.
|
|
35
|
-
this.
|
|
36
|
-
this.
|
|
37
|
-
this.
|
|
38
|
-
this.
|
|
39
|
-
this.
|
|
40
|
-
this.
|
|
16
|
+
this.dv = null;
|
|
17
|
+
this.dw = null;
|
|
18
|
+
this.dx = null;
|
|
19
|
+
this.d1 = -1;
|
|
20
|
+
this.d0 = -1;
|
|
21
|
+
this.ar.setRawStyleProperty("vertical-align", "middle");
|
|
22
|
+
this.dx = a.createElement("div");
|
|
23
|
+
this.dv = a.createElement("span");
|
|
24
|
+
this.dv.setRawStyleProperty("display", "inline-block");
|
|
25
|
+
this.dv.setRawStyleProperty("width", "40%");
|
|
26
|
+
this.dv.setRawStyleProperty("white-space", "nowrap");
|
|
27
|
+
this.dv.setRawStyleProperty("text-overflow", "ellipsis");
|
|
28
|
+
this.dv.setRawStyleProperty("vertical-align", "middle");
|
|
29
|
+
this.dv.setRawStyleProperty("overflow", "hidden");
|
|
30
|
+
this.dx.append(this.dv);
|
|
31
|
+
this.dw = a.createElement("span");
|
|
32
|
+
this.dw.setRawStyleProperty("display", "inline-block");
|
|
33
|
+
this.dw.setRawStyleProperty("width", "60%");
|
|
34
|
+
this.dw.setRawStyleProperty("text-align", "right");
|
|
35
|
+
this.dw.setRawStyleProperty("white-space", "nowrap");
|
|
36
|
+
this.dw.setRawStyleProperty("text-overflow", "ellipsis");
|
|
37
|
+
this.dw.setRawStyleProperty("vertical-align", "middle");
|
|
38
|
+
this.dw.setRawStyleProperty("overflow", "hidden");
|
|
39
|
+
this.dx.append(this.dw);
|
|
40
|
+
this.ar.append(this.dx);
|
|
41
41
|
}
|
|
42
|
-
get
|
|
43
|
-
return this.
|
|
42
|
+
get dy() {
|
|
43
|
+
return this.dv;
|
|
44
44
|
}
|
|
45
|
-
get
|
|
46
|
-
return this.
|
|
45
|
+
get dz() {
|
|
46
|
+
return this.dw;
|
|
47
47
|
}
|
|
48
|
-
|
|
49
|
-
super.
|
|
48
|
+
db(a, b) {
|
|
49
|
+
super.db(a, b);
|
|
50
50
|
let c = Math.max(0, a - b);
|
|
51
|
-
if (this.
|
|
52
|
-
this.
|
|
51
|
+
if (this.d1 != c) {
|
|
52
|
+
this.d1 = c;
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
|
-
|
|
56
|
-
super.
|
|
55
|
+
c1(a, b) {
|
|
56
|
+
super.c1(a, b);
|
|
57
57
|
let c = Math.max(0, a - b);
|
|
58
|
-
if (this.
|
|
59
|
-
this.
|
|
58
|
+
if (this.d0 != c) {
|
|
59
|
+
this.d0 = c;
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
62
|
get_ae() {
|
|
63
63
|
return false;
|
|
64
64
|
}
|
|
65
|
-
|
|
66
|
-
super.
|
|
65
|
+
ck(a, b, c) {
|
|
66
|
+
super.ck(a, b, c);
|
|
67
67
|
if (a == "Indent" || a == "IsCollapsable") {
|
|
68
|
-
this.
|
|
68
|
+
this.dx.setRawStyleProperty("margin-left", this.bd + this.bf + this.be + "px");
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
71
|
}
|
|
@@ -23,25 +23,25 @@ export let SummaryCellPresenter = /*@__PURE__*/ (() => {
|
|
|
23
23
|
super.b(a);
|
|
24
24
|
let b = a;
|
|
25
25
|
if (a.a7) {
|
|
26
|
-
ContentCellModelHelper.a(this.a.
|
|
27
|
-
ContentCellModelHelper.a(this.a.
|
|
26
|
+
ContentCellModelHelper.a(this.a.am, b, this.a.ar, this.d.dy, this.a);
|
|
27
|
+
ContentCellModelHelper.a(this.a.am, b, this.a.ar, this.d.dz, this.a);
|
|
28
28
|
if (a.bb("ResolvedSummaryLabel") || a.bb("ResolvedSummaryValue")) {
|
|
29
|
-
if (b.
|
|
30
|
-
this.d.
|
|
29
|
+
if (b.n8 != null) {
|
|
30
|
+
this.d.c8(this.d.dy, b.n8);
|
|
31
31
|
}
|
|
32
|
-
if (b.
|
|
33
|
-
this.d.
|
|
32
|
+
if (b.oa != null) {
|
|
33
|
+
this.d.c8(this.d.dz, b.oa);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
if (a.bb("SummaryLabelTextColor")) {
|
|
37
|
-
this.d.
|
|
37
|
+
this.d.dy.setRawStyleProperty("color", b.of._fill);
|
|
38
38
|
}
|
|
39
39
|
if (a.bb("SummaryLabelFontInfo")) {
|
|
40
|
-
let c = b.
|
|
40
|
+
let c = b.n1;
|
|
41
41
|
if (c == null) {
|
|
42
|
-
c = FontUtil.getDefaultFont(this.a.
|
|
42
|
+
c = FontUtil.getDefaultFont(this.a.am);
|
|
43
43
|
}
|
|
44
|
-
this.d.
|
|
44
|
+
this.d.dy.setRawStyleProperty("font", c.fontString);
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
}
|
|
@@ -15,33 +15,33 @@ export let TemplateCell = /*@__PURE__*/ (() => {
|
|
|
15
15
|
class TemplateCell extends GridCellBase {
|
|
16
16
|
constructor(a) {
|
|
17
17
|
super(a);
|
|
18
|
-
this.
|
|
19
|
-
this.
|
|
20
|
-
this.
|
|
21
|
-
this.
|
|
22
|
-
this.
|
|
18
|
+
this.dv = null;
|
|
19
|
+
this.dv = new TemplateCellContainer(a);
|
|
20
|
+
this.dv.element.setRawStyleProperty("box-sizing", "border-box");
|
|
21
|
+
this.ar.append(this.dv.element);
|
|
22
|
+
this.ar.listen("keydown", runOn(this, this.dx));
|
|
23
23
|
}
|
|
24
|
-
get
|
|
25
|
-
return this.
|
|
24
|
+
get dw() {
|
|
25
|
+
return this.dv;
|
|
26
26
|
}
|
|
27
27
|
get_ae() {
|
|
28
28
|
return true;
|
|
29
29
|
}
|
|
30
|
-
|
|
31
|
-
super.
|
|
30
|
+
ck(a, b, c) {
|
|
31
|
+
super.ck(a, b, c);
|
|
32
32
|
if (a == "Indent" || a == "IsCollapsable") {
|
|
33
|
-
this.
|
|
33
|
+
this.dv.element.setRawStyleProperty("margin-left", this.bd + this.bf + this.be + "px");
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
|
-
|
|
37
|
-
let a = this.
|
|
36
|
+
b9() {
|
|
37
|
+
let a = this.dv.element.getNativeElement();
|
|
38
38
|
if (a.contains(document.activeElement)) {
|
|
39
39
|
return;
|
|
40
40
|
}
|
|
41
|
-
super.
|
|
41
|
+
super.b9();
|
|
42
42
|
}
|
|
43
|
-
|
|
44
|
-
let b = this.
|
|
43
|
+
dx(a) {
|
|
44
|
+
let b = this.dv.element.getNativeElement();
|
|
45
45
|
if (b.contains(document.activeElement) && document.activeElement.nodeName == "INPUT") {
|
|
46
46
|
let c = BaseDOMEventProxy.c0(a);
|
|
47
47
|
if (c == 14 || c == 16) {
|
|
@@ -24,12 +24,12 @@ export let TemplateCellPresenter = /*@__PURE__*/ (() => {
|
|
|
24
24
|
super.b(a);
|
|
25
25
|
let b = a;
|
|
26
26
|
let c = this.d.actualColumns._inner[a.l.a5];
|
|
27
|
-
if (a.bc(CellModel.
|
|
28
|
-
let d = Math.min(1, Math.max(0, a.
|
|
29
|
-
let e = a.
|
|
30
|
-
this.e.
|
|
27
|
+
if (a.bc(CellModel.fo) || a.bc(CellModel.h4)) {
|
|
28
|
+
let d = Math.min(1, Math.max(0, a.c7));
|
|
29
|
+
let e = a.cs * (1 - d);
|
|
30
|
+
this.e.dw.element.setRawStyleProperty("opacity", e.toString());
|
|
31
31
|
}
|
|
32
|
-
c.
|
|
32
|
+
c.pa(a, this.e.dw);
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
TemplateCellPresenter.$t = markType(TemplateCellPresenter, 'TemplateCellPresenter', CellPresenterBase.$);
|
|
@@ -14,12 +14,12 @@ export let TemplateHeaderCell = /*@__PURE__*/ (() => {
|
|
|
14
14
|
class TemplateHeaderCell extends GridCellBase {
|
|
15
15
|
constructor(a) {
|
|
16
16
|
super(a);
|
|
17
|
-
this.
|
|
18
|
-
this.
|
|
19
|
-
this.
|
|
17
|
+
this.dv = null;
|
|
18
|
+
this.dv = new TemplateCellContainer(a);
|
|
19
|
+
this.ar.append(this.dv.element);
|
|
20
20
|
}
|
|
21
|
-
get
|
|
22
|
-
return this.
|
|
21
|
+
get dw() {
|
|
22
|
+
return this.dv;
|
|
23
23
|
}
|
|
24
24
|
get_ac() {
|
|
25
25
|
return true;
|
|
@@ -15,35 +15,35 @@ export let TemplateHeaderCellModel = /*@__PURE__*/ (() => {
|
|
|
15
15
|
class TemplateHeaderCellModel extends TemplateCellModel {
|
|
16
16
|
constructor() {
|
|
17
17
|
super(...arguments);
|
|
18
|
-
this.
|
|
18
|
+
this.n4 = false;
|
|
19
19
|
}
|
|
20
|
-
get
|
|
21
|
-
return this.
|
|
20
|
+
get n5() {
|
|
21
|
+
return this.n4;
|
|
22
22
|
}
|
|
23
|
-
set
|
|
24
|
-
let b = this.
|
|
25
|
-
this.
|
|
26
|
-
if (this.
|
|
27
|
-
this.
|
|
23
|
+
set n5(a) {
|
|
24
|
+
let b = this.n4;
|
|
25
|
+
this.n4 = a;
|
|
26
|
+
if (this.n4 != b) {
|
|
27
|
+
this.mf("IsFilterUIVisible", TemplateHeaderCellModel.n6, b, this.n4);
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
|
-
|
|
31
|
-
super.
|
|
30
|
+
mo(a, b) {
|
|
31
|
+
super.mo(a, b);
|
|
32
32
|
if (a == "IsFilterUIVisible") {
|
|
33
|
-
this.
|
|
33
|
+
this.n5 = b;
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
|
-
|
|
36
|
+
l0(a) {
|
|
37
37
|
switch (a) {
|
|
38
38
|
case "IsFilterUIVisible": return Boolean_$type;
|
|
39
39
|
}
|
|
40
|
-
return super.
|
|
40
|
+
return super.l0(a);
|
|
41
41
|
}
|
|
42
|
-
|
|
42
|
+
id(a) {
|
|
43
43
|
if (a == "IsFilterUIVisible") {
|
|
44
|
-
return this.
|
|
44
|
+
return this.n5;
|
|
45
45
|
}
|
|
46
|
-
return super.
|
|
46
|
+
return super.id(a);
|
|
47
47
|
}
|
|
48
48
|
b(a) {
|
|
49
49
|
if (a == null) {
|
|
@@ -51,11 +51,11 @@ export let TemplateHeaderCellModel = /*@__PURE__*/ (() => {
|
|
|
51
51
|
}
|
|
52
52
|
a = super.b(a);
|
|
53
53
|
let b = a;
|
|
54
|
-
b.ae = this.
|
|
54
|
+
b.ae = this.n2;
|
|
55
55
|
return b;
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
TemplateHeaderCellModel.$t = markType(TemplateHeaderCellModel, 'TemplateHeaderCellModel', TemplateCellModel.$);
|
|
59
|
-
TemplateHeaderCellModel.
|
|
59
|
+
TemplateHeaderCellModel.n6 = CellModel.f7("IsFilterUIVisible");
|
|
60
60
|
return TemplateHeaderCellModel;
|
|
61
61
|
})();
|
|
@@ -24,13 +24,13 @@ export let TemplateHeaderCellPresenter = /*@__PURE__*/ (() => {
|
|
|
24
24
|
super.b(a);
|
|
25
25
|
let b = this.d.actualColumns._inner[a.l.a5];
|
|
26
26
|
let c = b.header;
|
|
27
|
-
if (a.bc(CellModel.
|
|
28
|
-
let d = Math.min(1, Math.max(0, a.
|
|
29
|
-
let e = a.
|
|
30
|
-
this.e.
|
|
27
|
+
if (a.bc(CellModel.fo) || a.bc(CellModel.h4)) {
|
|
28
|
+
let d = Math.min(1, Math.max(0, a.c7));
|
|
29
|
+
let e = a.cs * (1 - d);
|
|
30
|
+
this.e.dw.element.setRawStyleProperty("opacity", e.toString());
|
|
31
31
|
}
|
|
32
32
|
let f = a;
|
|
33
|
-
c.hr(f, this.e.
|
|
33
|
+
c.hr(f, this.e.dw);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
TemplateHeaderCellPresenter.$t = markType(TemplateHeaderCellPresenter, 'TemplateHeaderCellPresenter', CellPresenterBase.$);
|