igniteui-angular-data-grids 21.0.0 → 21.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-angular-data-grids.umd.js +9371 -8077
- package/bundles/igniteui-angular-data-grids.umd.min.js +1 -1
- package/esm2015/lib/CanvasCellPresenterBase.js +1 -1
- package/esm2015/lib/CanvasTemplateCellPresenter.js +1 -1
- package/esm2015/lib/CanvasTemplateHeaderCellPresenter.js +1 -1
- package/esm2015/lib/CellPresenterBase.js +10 -10
- package/esm2015/lib/CheckboxListBridge.js +28 -0
- package/esm2015/lib/CheckboxListView_combined.js +730 -705
- package/esm2015/lib/ColumnChooserView_combined.js +16 -16
- package/esm2015/lib/ColumnFilterCondition_combined.js +5835 -5150
- package/esm2015/lib/ColumnGroupingView_combined.js +14 -14
- package/esm2015/lib/ColumnPinningView_combined.js +16 -16
- package/esm2015/lib/ComparisonOperatorSelectorView_combined.js +5 -5
- package/esm2015/lib/ContentCellModelHelper.js +3 -3
- package/esm2015/lib/DataGridScrollerKeyboardListener.js +15 -15
- package/esm2015/lib/DataGridToolbarView_combined.js +12 -12
- package/esm2015/lib/DateTimeCellPresenter.js +2 -2
- package/esm2015/lib/DraggerView.js +3 -3
- package/esm2015/lib/EditorCell.js +266 -266
- package/esm2015/lib/EditorCellPresenter.js +15 -15
- package/esm2015/lib/FilterCell.js +261 -261
- package/esm2015/lib/FilterCellPresenter.js +8 -8
- package/esm2015/lib/GridCellBase.js +65 -63
- package/esm2015/lib/GridColumnButtonOptionsView_combined.js +2 -2
- package/esm2015/lib/GridColumnFilterOptionsView_combined.js +17 -17
- package/esm2015/lib/GridColumnGroupOptionsView_combined.js +9 -9
- package/esm2015/lib/GridColumnHideOptionsView_combined.js +5 -5
- package/esm2015/lib/GridColumnMoveOptionsView_combined.js +1 -1
- package/esm2015/lib/GridColumnOptionsViewBase_combined.js +15 -15
- package/esm2015/lib/GridColumnOptionsView_combined.js +3 -3
- package/esm2015/lib/GridColumnPinOptionsView_combined.js +4 -4
- package/esm2015/lib/GridColumnSortOptionsView_combined.js +2 -2
- package/esm2015/lib/GridColumnSummaryOptionsView_combined.js +13 -13
- package/esm2015/lib/GridExternalWrapper.js +9 -6
- package/esm2015/lib/GridFilterDialogView_combined.js +311 -172
- package/esm2015/lib/GridSortIndicatorView_combined.js +2 -2
- package/esm2015/lib/GridStyleRepository.js +271 -433
- package/esm2015/lib/GridStyleRepositoryKeys.js +11 -0
- package/esm2015/lib/ISummaryChooserView_combined.js +11 -11
- package/esm2015/lib/ImageCell.js +55 -55
- package/esm2015/lib/ImageCellPresenter.js +8 -8
- package/esm2015/lib/MultiColumnComboBoxUtilities.js +2 -2
- package/esm2015/lib/MultiColumnComboBoxView_combined.js +35 -35
- package/esm2015/lib/NumericCell.js +4 -4
- package/esm2015/lib/NumericCellPresenter.js +2 -2
- package/esm2015/lib/PropertyEditorView_combined.js +22 -22
- package/esm2015/lib/SectionHeaderCell.js +8 -8
- package/esm2015/lib/SectionHeaderCellPresenter.js +2 -2
- package/esm2015/lib/SummaryCell.js +25 -25
- package/esm2015/lib/SummaryCellPresenter.js +5 -5
- package/esm2015/lib/TemplateCell.js +11 -11
- package/esm2015/lib/TemplateCellPresenter.js +2 -2
- package/esm2015/lib/TemplateHeader.js +7 -7
- package/esm2015/lib/TemplateHeaderCell.js +5 -5
- package/esm2015/lib/TemplateHeaderCellPresenter.js +2 -2
- package/esm2015/lib/TemplateSectionHeader.js +2 -2
- package/esm2015/lib/TextCell.js +22 -22
- package/esm2015/lib/TextCellPresenter.js +2 -2
- package/esm2015/lib/TextHeaderCell.js +140 -134
- package/esm2015/lib/TextHeaderCellPresenter.js +43 -21
- package/esm2015/lib/TextIconSetConditionalStyle.js +3 -3
- package/esm2015/lib/VerticalSeparatorCell.js +32 -32
- package/esm2015/lib/igx-checkbox-list-component.js +69 -69
- package/esm2015/lib/igx-column-moving-separator-component.js +6 -6
- package/esm2015/lib/igx-column-resizing-separator-component.js +4 -4
- package/esm2015/lib/igx-combo-box-column-component.js +10 -10
- package/esm2015/lib/igx-data-grid-column-component.js +265 -139
- package/esm2015/lib/igx-data-grid-component.js +110 -2
- package/esm2015/lib/igx-data-grid-filter-dialog-component.js +79 -16
- package/esm2015/lib/igx-data-grid-pager-component.js +32 -10
- package/esm2015/lib/igx-date-time-column-component.js +20 -20
- package/esm2015/lib/igx-definition-base-component.js +89 -89
- package/esm2015/lib/igx-filter-row-definition-component.js +8 -8
- package/esm2015/lib/igx-header-component.js +16 -16
- package/esm2015/lib/igx-image-column-component.js +10 -10
- package/esm2015/lib/igx-numeric-column-component.js +30 -30
- package/esm2015/lib/igx-section-header-component.js +16 -16
- package/esm2015/lib/igx-summary-row-component.js +16 -16
- package/esm2015/lib/igx-text-column-component.js +8 -8
- package/esm2015/lib/igx-text-header-cell-info.js +65 -4
- package/esm2015/public_api.js +1 -0
- package/esm5/lib/CanvasCellPresenterBase.js +1 -1
- package/esm5/lib/CanvasTemplateCellPresenter.js +1 -1
- package/esm5/lib/CanvasTemplateHeaderCellPresenter.js +1 -1
- package/esm5/lib/CellPresenterBase.js +10 -10
- package/esm5/lib/CheckboxListBridge.js +28 -0
- package/esm5/lib/CheckboxListView_combined.js +709 -684
- package/esm5/lib/ColumnChooserView_combined.js +16 -16
- package/esm5/lib/ColumnFilterCondition_combined.js +5822 -5005
- package/esm5/lib/ColumnGroupingView_combined.js +14 -14
- package/esm5/lib/ColumnPinningView_combined.js +16 -16
- package/esm5/lib/ComparisonOperatorSelectorView_combined.js +5 -5
- package/esm5/lib/ContentCellModelHelper.js +3 -3
- package/esm5/lib/DataGridScrollerKeyboardListener.js +15 -15
- package/esm5/lib/DataGridToolbarView_combined.js +12 -12
- package/esm5/lib/DateTimeCellPresenter.js +2 -2
- package/esm5/lib/DraggerView.js +3 -3
- package/esm5/lib/EditorCell.js +256 -256
- package/esm5/lib/EditorCellPresenter.js +15 -15
- package/esm5/lib/FilterCell.js +252 -252
- package/esm5/lib/FilterCellPresenter.js +8 -8
- package/esm5/lib/GridCellBase.js +64 -62
- package/esm5/lib/GridColumnButtonOptionsView_combined.js +2 -2
- package/esm5/lib/GridColumnFilterOptionsView_combined.js +17 -17
- package/esm5/lib/GridColumnGroupOptionsView_combined.js +9 -9
- package/esm5/lib/GridColumnHideOptionsView_combined.js +5 -5
- package/esm5/lib/GridColumnMoveOptionsView_combined.js +1 -1
- package/esm5/lib/GridColumnOptionsViewBase_combined.js +15 -15
- package/esm5/lib/GridColumnOptionsView_combined.js +3 -3
- package/esm5/lib/GridColumnPinOptionsView_combined.js +4 -4
- package/esm5/lib/GridColumnSortOptionsView_combined.js +2 -2
- package/esm5/lib/GridColumnSummaryOptionsView_combined.js +13 -13
- package/esm5/lib/GridExternalWrapper.js +9 -6
- package/esm5/lib/GridFilterDialogView_combined.js +331 -164
- package/esm5/lib/GridSortIndicatorView_combined.js +2 -2
- package/esm5/lib/GridStyleRepository.js +275 -585
- package/esm5/lib/GridStyleRepositoryKeys.js +11 -0
- package/esm5/lib/ISummaryChooserView_combined.js +11 -11
- package/esm5/lib/ImageCell.js +54 -54
- package/esm5/lib/ImageCellPresenter.js +8 -8
- package/esm5/lib/MultiColumnComboBoxUtilities.js +2 -2
- package/esm5/lib/MultiColumnComboBoxView_combined.js +35 -35
- package/esm5/lib/NumericCell.js +4 -4
- package/esm5/lib/NumericCellPresenter.js +2 -2
- package/esm5/lib/PropertyEditorView_combined.js +22 -22
- package/esm5/lib/SectionHeaderCell.js +8 -8
- package/esm5/lib/SectionHeaderCellPresenter.js +2 -2
- package/esm5/lib/SummaryCell.js +26 -26
- package/esm5/lib/SummaryCellPresenter.js +5 -5
- package/esm5/lib/TemplateCell.js +11 -11
- package/esm5/lib/TemplateCellPresenter.js +2 -2
- package/esm5/lib/TemplateHeader.js +7 -7
- package/esm5/lib/TemplateHeaderCell.js +5 -5
- package/esm5/lib/TemplateHeaderCellPresenter.js +2 -2
- package/esm5/lib/TemplateSectionHeader.js +2 -2
- package/esm5/lib/TextCell.js +22 -22
- package/esm5/lib/TextCellPresenter.js +2 -2
- package/esm5/lib/TextHeaderCell.js +138 -132
- package/esm5/lib/TextHeaderCellPresenter.js +43 -21
- package/esm5/lib/TextIconSetConditionalStyle.js +4 -3
- package/esm5/lib/VerticalSeparatorCell.js +32 -32
- package/esm5/lib/igx-checkbox-list-component.js +69 -69
- package/esm5/lib/igx-column-moving-separator-component.js +6 -6
- package/esm5/lib/igx-column-resizing-separator-component.js +4 -4
- package/esm5/lib/igx-combo-box-column-component.js +10 -10
- package/esm5/lib/igx-data-grid-column-component.js +313 -139
- package/esm5/lib/igx-data-grid-component.js +151 -3
- package/esm5/lib/igx-data-grid-filter-dialog-component.js +103 -16
- package/esm5/lib/igx-data-grid-pager-component.js +40 -10
- package/esm5/lib/igx-date-time-column-component.js +20 -20
- package/esm5/lib/igx-definition-base-component.js +89 -89
- package/esm5/lib/igx-filter-row-definition-component.js +8 -8
- package/esm5/lib/igx-header-component.js +16 -16
- package/esm5/lib/igx-image-column-component.js +10 -10
- package/esm5/lib/igx-numeric-column-component.js +30 -30
- package/esm5/lib/igx-section-header-component.js +16 -16
- package/esm5/lib/igx-summary-row-component.js +16 -16
- package/esm5/lib/igx-text-column-component.js +8 -8
- package/esm5/lib/igx-text-header-cell-info.js +93 -4
- package/esm5/public_api.js +1 -0
- package/fesm2015/igniteui-angular-data-grids.js +9273 -8141
- package/fesm5/igniteui-angular-data-grids.js +9373 -8080
- package/lib/CheckboxListBridge.d.ts +1 -0
- package/lib/CheckboxListExternal.d.ts +6 -0
- package/lib/CheckboxListView_combined.d.ts +153 -148
- package/lib/ColumnFilterCondition_combined.d.ts +1402 -1268
- package/lib/EditorCell.d.ts +51 -51
- package/lib/FilterCell.d.ts +53 -53
- package/lib/GridCellBase.d.ts +21 -19
- package/lib/GridExternalWrapper.d.ts +1 -0
- package/lib/GridFilterDialogView_combined.d.ts +81 -58
- package/lib/GridStyleRepository.d.ts +23 -84
- package/lib/GridStyleRepositoryKeys.d.ts +48 -0
- package/lib/ImageCell.d.ts +14 -14
- package/lib/SectionHeaderCell.d.ts +2 -2
- package/lib/SummaryCell.d.ts +4 -4
- package/lib/TemplateCell.d.ts +3 -3
- package/lib/TemplateHeader.d.ts +3 -3
- package/lib/TemplateHeaderCell.d.ts +2 -2
- package/lib/TemplateSectionHeader.d.ts +2 -2
- package/lib/TextCell.d.ts +4 -4
- package/lib/TextHeaderCell.d.ts +26 -24
- package/lib/VerticalSeparatorCell.d.ts +4 -4
- package/lib/igx-data-grid-column-component.d.ts +55 -1
- package/lib/igx-data-grid-component.d.ts +51 -2
- package/lib/igx-data-grid-filter-dialog-component.d.ts +28 -1
- package/lib/igx-data-grid-pager-component.d.ts +11 -1
- package/lib/igx-text-header-cell-info.d.ts +34 -0
- package/package.json +4 -4
- package/public_api.d.ts +1 -0
|
@@ -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.k7 = 10;
|
|
745
|
+
a.k8 = 5;
|
|
746
|
+
a.mr = "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.mr = "ValueType";
|
|
751
|
+
b.k7 = 5;
|
|
752
|
+
b.k8 = 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.k7 = 10;
|
|
833
|
+
s.k8 = 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.ni = "PropertyName_" + k;
|
|
842
|
+
s.mr = "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.ni = "ValueType_" + k;
|
|
880
|
+
v.mr = "ValueType";
|
|
881
|
+
v.k7 = 5;
|
|
882
|
+
v.k8 = 5;
|
|
883
883
|
v.dataBinding = delegateCombine(v.dataBinding, runOn(this, this.cu));
|
|
884
884
|
v.width = ((() => {
|
|
885
885
|
let $ret = new ColumnWidth();
|
|
@@ -1180,11 +1180,11 @@ export let PropertyEditor = /*@__PURE__*/ (() => {
|
|
|
1180
1180
|
}
|
|
1181
1181
|
cz(a, b) {
|
|
1182
1182
|
this.m.q(b, (c, d) => {
|
|
1183
|
-
if (c.
|
|
1184
|
-
c.
|
|
1183
|
+
if (c.s != 3) {
|
|
1184
|
+
c.s = 3;
|
|
1185
1185
|
}
|
|
1186
1186
|
let e = this.s(a, b.cellInfo.fp, b.cellInfo.ig);
|
|
1187
|
-
c.
|
|
1187
|
+
c.ee = e;
|
|
1188
1188
|
let f = e.ar;
|
|
1189
1189
|
if (typeof e.ar === 'number' || typeof e.ar === 'number') {
|
|
1190
1190
|
f = e.ar.toString();
|
|
@@ -1232,7 +1232,7 @@ export let PropertyEditor = /*@__PURE__*/ (() => {
|
|
|
1232
1232
|
}
|
|
1233
1233
|
if (d) {
|
|
1234
1234
|
c.selectedValueChanged = delegateCombine(c.selectedValueChanged, runOn(this, this.cq));
|
|
1235
|
-
c.hw = BrushUtil.
|
|
1235
|
+
c.hw = BrushUtil.l(255, 255, 255, 255);
|
|
1236
1236
|
c.g = ["Name"];
|
|
1237
1237
|
c.columnHeadersVisible = false;
|
|
1238
1238
|
c.defaultColumnWidth = ((() => {
|
|
@@ -1307,7 +1307,7 @@ export let PropertyEditor = /*@__PURE__*/ (() => {
|
|
|
1307
1307
|
}
|
|
1308
1308
|
cm(a, b) {
|
|
1309
1309
|
let c = a;
|
|
1310
|
-
let d = c.
|
|
1310
|
+
let d = c.ee;
|
|
1311
1311
|
this.an = true;
|
|
1312
1312
|
d.a6();
|
|
1313
1313
|
this.an = false;
|
|
@@ -1644,9 +1644,9 @@ export let PropertyEditor = /*@__PURE__*/ (() => {
|
|
|
1644
1644
|
}
|
|
1645
1645
|
}
|
|
1646
1646
|
PropertyEditor.$t = markType(PropertyEditor, 'PropertyEditor', Base.$, [INotifyPropertyChanged_$type]);
|
|
1647
|
-
PropertyEditor.eb = BrushUtil.
|
|
1647
|
+
PropertyEditor.eb = BrushUtil.l(255, 24, 29, 31);
|
|
1648
1648
|
PropertyEditor.cj = "M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z";
|
|
1649
|
-
PropertyEditor.d9 = BrushUtil.
|
|
1650
|
-
PropertyEditor.ea = BrushUtil.
|
|
1649
|
+
PropertyEditor.d9 = BrushUtil.l(255, 248, 248, 248);
|
|
1650
|
+
PropertyEditor.ea = BrushUtil.l(255, 24, 29, 31);
|
|
1651
1651
|
return PropertyEditor;
|
|
1652
1652
|
})();
|
|
@@ -13,17 +13,17 @@ export let SectionHeaderCell = /*@__PURE__*/ (() => {
|
|
|
13
13
|
class SectionHeaderCell extends GridCellBase {
|
|
14
14
|
constructor(a) {
|
|
15
15
|
super(a);
|
|
16
|
-
this.
|
|
17
|
-
this.
|
|
16
|
+
this.dw = null;
|
|
17
|
+
this.dw = a.createElement("span");
|
|
18
18
|
this.ar.setRawStyleProperty("text-align", "left");
|
|
19
19
|
this.ar.setRawStyleProperty("vertical-align", "middle");
|
|
20
20
|
this.ar.setRawStyleProperty("overflow", "hidden");
|
|
21
21
|
this.ar.setRawStyleProperty("white-space", "nowrap");
|
|
22
22
|
this.ar.setRawStyleProperty("text-overflow", "ellipsis");
|
|
23
|
-
this.ar.append(this.
|
|
23
|
+
this.ar.append(this.dw);
|
|
24
24
|
}
|
|
25
|
-
get
|
|
26
|
-
return this.
|
|
25
|
+
get dx() {
|
|
26
|
+
return this.dw;
|
|
27
27
|
}
|
|
28
28
|
get_ae() {
|
|
29
29
|
return true;
|
|
@@ -31,14 +31,14 @@ export let SectionHeaderCell = /*@__PURE__*/ (() => {
|
|
|
31
31
|
ck(a, b, c) {
|
|
32
32
|
super.ck(a, b, c);
|
|
33
33
|
if (a == "Indent") {
|
|
34
|
-
this.
|
|
34
|
+
this.dw.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.dw.setRawStyleProperty("margin-left", this.bd + this.bf + 10 + "px");
|
|
39
39
|
}
|
|
40
40
|
else {
|
|
41
|
-
this.
|
|
41
|
+
this.dw.setRawStyleProperty("margin-left", "0px");
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
}
|
|
@@ -40,9 +40,9 @@ export let SectionHeaderCellPresenter = /*@__PURE__*/ (() => {
|
|
|
40
40
|
b.kx = b.og;
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
-
this.d.c8(this.d.
|
|
43
|
+
this.d.c8(this.d.dx, b.kx);
|
|
44
44
|
}
|
|
45
|
-
ContentCellModelHelper.a(this.a.am, b, this.a.ar, this.d.
|
|
45
|
+
ContentCellModelHelper.a(this.a.am, b, this.a.ar, this.d.dx, this.a);
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
}
|
|
@@ -13,50 +13,50 @@ export let SummaryCell = /*@__PURE__*/ (() => {
|
|
|
13
13
|
class SummaryCell extends GridCellBase {
|
|
14
14
|
constructor(a) {
|
|
15
15
|
super(a);
|
|
16
|
-
this.dv = null;
|
|
17
16
|
this.dw = null;
|
|
18
17
|
this.dx = null;
|
|
18
|
+
this.dy = null;
|
|
19
|
+
this.d2 = -1;
|
|
19
20
|
this.d1 = -1;
|
|
20
|
-
this.d0 = -1;
|
|
21
21
|
this.ar.setRawStyleProperty("vertical-align", "middle");
|
|
22
|
-
this.
|
|
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);
|
|
22
|
+
this.dy = a.createElement("div");
|
|
31
23
|
this.dw = a.createElement("span");
|
|
32
24
|
this.dw.setRawStyleProperty("display", "inline-block");
|
|
33
|
-
this.dw.setRawStyleProperty("width", "
|
|
34
|
-
this.dw.setRawStyleProperty("text-align", "right");
|
|
25
|
+
this.dw.setRawStyleProperty("width", "40%");
|
|
35
26
|
this.dw.setRawStyleProperty("white-space", "nowrap");
|
|
36
27
|
this.dw.setRawStyleProperty("text-overflow", "ellipsis");
|
|
37
28
|
this.dw.setRawStyleProperty("vertical-align", "middle");
|
|
38
29
|
this.dw.setRawStyleProperty("overflow", "hidden");
|
|
39
|
-
this.
|
|
40
|
-
this.
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
30
|
+
this.dy.append(this.dw);
|
|
31
|
+
this.dx = a.createElement("span");
|
|
32
|
+
this.dx.setRawStyleProperty("display", "inline-block");
|
|
33
|
+
this.dx.setRawStyleProperty("width", "60%");
|
|
34
|
+
this.dx.setRawStyleProperty("text-align", "right");
|
|
35
|
+
this.dx.setRawStyleProperty("white-space", "nowrap");
|
|
36
|
+
this.dx.setRawStyleProperty("text-overflow", "ellipsis");
|
|
37
|
+
this.dx.setRawStyleProperty("vertical-align", "middle");
|
|
38
|
+
this.dx.setRawStyleProperty("overflow", "hidden");
|
|
39
|
+
this.dy.append(this.dx);
|
|
40
|
+
this.ar.append(this.dy);
|
|
44
41
|
}
|
|
45
42
|
get dz() {
|
|
46
43
|
return this.dw;
|
|
47
44
|
}
|
|
48
|
-
|
|
49
|
-
|
|
45
|
+
get d0() {
|
|
46
|
+
return this.dx;
|
|
47
|
+
}
|
|
48
|
+
dc(a, b) {
|
|
49
|
+
super.dc(a, b);
|
|
50
50
|
let c = Math.max(0, a - b);
|
|
51
|
-
if (this.
|
|
52
|
-
this.
|
|
51
|
+
if (this.d2 != c) {
|
|
52
|
+
this.d2 = c;
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
55
|
c1(a, b) {
|
|
56
56
|
super.c1(a, b);
|
|
57
57
|
let c = Math.max(0, a - b);
|
|
58
|
-
if (this.
|
|
59
|
-
this.
|
|
58
|
+
if (this.d1 != c) {
|
|
59
|
+
this.d1 = c;
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
62
|
get_ae() {
|
|
@@ -65,7 +65,7 @@ export let SummaryCell = /*@__PURE__*/ (() => {
|
|
|
65
65
|
ck(a, b, c) {
|
|
66
66
|
super.ck(a, b, c);
|
|
67
67
|
if (a == "Indent" || a == "IsCollapsable") {
|
|
68
|
-
this.
|
|
68
|
+
this.dy.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.am, b, this.a.ar, this.d.dy, this.a);
|
|
27
26
|
ContentCellModelHelper.a(this.a.am, b, this.a.ar, this.d.dz, this.a);
|
|
27
|
+
ContentCellModelHelper.a(this.a.am, b, this.a.ar, this.d.d0, this.a);
|
|
28
28
|
if (a.bb("ResolvedSummaryLabel") || a.bb("ResolvedSummaryValue")) {
|
|
29
29
|
if (b.n8 != null) {
|
|
30
|
-
this.d.c8(this.d.
|
|
30
|
+
this.d.c8(this.d.dz, b.n8);
|
|
31
31
|
}
|
|
32
32
|
if (b.oa != null) {
|
|
33
|
-
this.d.c8(this.d.
|
|
33
|
+
this.d.c8(this.d.d0, b.oa);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
if (a.bb("SummaryLabelTextColor")) {
|
|
37
|
-
this.d.
|
|
37
|
+
this.d.dz.setRawStyleProperty("color", b.of._fill);
|
|
38
38
|
}
|
|
39
39
|
if (a.bb("SummaryLabelFontInfo")) {
|
|
40
40
|
let c = b.n1;
|
|
41
41
|
if (c == null) {
|
|
42
42
|
c = FontUtil.getDefaultFont(this.a.am);
|
|
43
43
|
}
|
|
44
|
-
this.d.
|
|
44
|
+
this.d.dz.setRawStyleProperty("font", c.fontString);
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
}
|
|
@@ -15,14 +15,14 @@ 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.ar.append(this.
|
|
22
|
-
this.ar.listen("keydown", runOn(this, this.
|
|
18
|
+
this.dw = null;
|
|
19
|
+
this.dw = new TemplateCellContainer(a);
|
|
20
|
+
this.dw.element.setRawStyleProperty("box-sizing", "border-box");
|
|
21
|
+
this.ar.append(this.dw.element);
|
|
22
|
+
this.ar.listen("keydown", runOn(this, this.dy));
|
|
23
23
|
}
|
|
24
|
-
get
|
|
25
|
-
return this.
|
|
24
|
+
get dx() {
|
|
25
|
+
return this.dw;
|
|
26
26
|
}
|
|
27
27
|
get_ae() {
|
|
28
28
|
return true;
|
|
@@ -30,18 +30,18 @@ export let TemplateCell = /*@__PURE__*/ (() => {
|
|
|
30
30
|
ck(a, b, c) {
|
|
31
31
|
super.ck(a, b, c);
|
|
32
32
|
if (a == "Indent" || a == "IsCollapsable") {
|
|
33
|
-
this.
|
|
33
|
+
this.dw.element.setRawStyleProperty("margin-left", this.bd + this.bf + this.be + "px");
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
b9() {
|
|
37
|
-
let a = this.
|
|
37
|
+
let a = this.dw.element.getNativeElement();
|
|
38
38
|
if (a.contains(document.activeElement)) {
|
|
39
39
|
return;
|
|
40
40
|
}
|
|
41
41
|
super.b9();
|
|
42
42
|
}
|
|
43
|
-
|
|
44
|
-
let b = this.
|
|
43
|
+
dy(a) {
|
|
44
|
+
let b = this.dw.element.getNativeElement();
|
|
45
45
|
if (b.contains(document.activeElement) && document.activeElement.nodeName == "INPUT") {
|
|
46
46
|
let c = BaseDOMEventProxy.c1(a);
|
|
47
47
|
if (c == 14 || c == 16) {
|
|
@@ -27,9 +27,9 @@ export let TemplateCellPresenter = /*@__PURE__*/ (() => {
|
|
|
27
27
|
if (a.bc(CellModel.fo) || a.bc(CellModel.h4)) {
|
|
28
28
|
let d = Math.min(1, Math.max(0, a.c7));
|
|
29
29
|
let e = a.cs * (1 - d);
|
|
30
|
-
this.e.
|
|
30
|
+
this.e.dx.element.setRawStyleProperty("opacity", e.toString());
|
|
31
31
|
}
|
|
32
|
-
c.
|
|
32
|
+
c.qr(a, this.e.dx);
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
TemplateCellPresenter.$t = markType(TemplateCellPresenter, 'TemplateCellPresenter', CellPresenterBase.$);
|
|
@@ -20,19 +20,19 @@ export let TemplateHeader = /*@__PURE__*/ (() => {
|
|
|
20
20
|
n(a) {
|
|
21
21
|
return new TemplateHeaderCellModel();
|
|
22
22
|
}
|
|
23
|
-
|
|
23
|
+
d4(a, b, c) {
|
|
24
24
|
let d = "template-header-" + a.a5.toString();
|
|
25
25
|
return d;
|
|
26
26
|
}
|
|
27
|
-
|
|
28
|
-
super.
|
|
27
|
+
eq(a, b, c, d) {
|
|
28
|
+
super.eq(a, b, c, d);
|
|
29
29
|
let e = a;
|
|
30
30
|
let f = b.cg(a.l);
|
|
31
|
-
e.n2 = f.
|
|
32
|
-
e.n = f.
|
|
33
|
-
e.n5 = f.
|
|
31
|
+
e.n2 = f.l0;
|
|
32
|
+
e.n = f.hu;
|
|
33
|
+
e.n5 = f.jn;
|
|
34
34
|
}
|
|
35
|
-
|
|
35
|
+
ht(a, b) {
|
|
36
36
|
if (this.cellUpdating != null) {
|
|
37
37
|
this.cellUpdating(this, ((() => {
|
|
38
38
|
let $ret = new TemplateHeaderCellUpdatingEventArgs();
|
|
@@ -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.ar.append(this.
|
|
17
|
+
this.dw = null;
|
|
18
|
+
this.dw = new TemplateCellContainer(a);
|
|
19
|
+
this.ar.append(this.dw.element);
|
|
20
20
|
}
|
|
21
|
-
get
|
|
22
|
-
return this.
|
|
21
|
+
get dx() {
|
|
22
|
+
return this.dw;
|
|
23
23
|
}
|
|
24
24
|
get_ac() {
|
|
25
25
|
return true;
|
|
@@ -27,10 +27,10 @@ export let TemplateHeaderCellPresenter = /*@__PURE__*/ (() => {
|
|
|
27
27
|
if (a.bc(CellModel.fo) || a.bc(CellModel.h4)) {
|
|
28
28
|
let d = Math.min(1, Math.max(0, a.c7));
|
|
29
29
|
let e = a.cs * (1 - d);
|
|
30
|
-
this.e.
|
|
30
|
+
this.e.dx.element.setRawStyleProperty("opacity", e.toString());
|
|
31
31
|
}
|
|
32
32
|
let f = a;
|
|
33
|
-
c.
|
|
33
|
+
c.ht(f, this.e.dx);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
TemplateHeaderCellPresenter.$t = markType(TemplateHeaderCellPresenter, 'TemplateHeaderCellPresenter', CellPresenterBase.$);
|
|
@@ -17,13 +17,13 @@ export let TemplateSectionHeader = /*@__PURE__*/ (() => {
|
|
|
17
17
|
super(...arguments);
|
|
18
18
|
this.cellUpdating = null;
|
|
19
19
|
}
|
|
20
|
-
|
|
20
|
+
d4(a, b, c) {
|
|
21
21
|
return "templateSectionHeader";
|
|
22
22
|
}
|
|
23
23
|
n(a) {
|
|
24
24
|
return new TemplateSectionHeaderCellModel();
|
|
25
25
|
}
|
|
26
|
-
|
|
26
|
+
hx(a, b) {
|
|
27
27
|
if (this.cellUpdating != null) {
|
|
28
28
|
this.cellUpdating(this, ((() => {
|
|
29
29
|
let $ret = new TemplateSectionHeaderCellUpdatingEventArgs();
|
package/esm2015/lib/TextCell.js
CHANGED
|
@@ -13,42 +13,42 @@ export let TextCell = /*@__PURE__*/ (() => {
|
|
|
13
13
|
class TextCell extends GridCellBase {
|
|
14
14
|
constructor(a) {
|
|
15
15
|
super(a);
|
|
16
|
-
this.
|
|
16
|
+
this.dw = null;
|
|
17
|
+
this.dz = -1;
|
|
17
18
|
this.dy = -1;
|
|
18
|
-
this.dx = -1;
|
|
19
19
|
this.ar.setRawStyleProperty("text-align", "left");
|
|
20
20
|
this.ar.setRawStyleProperty("vertical-align", "middle");
|
|
21
|
-
this.
|
|
22
|
-
this.
|
|
23
|
-
this.
|
|
24
|
-
this.
|
|
25
|
-
this.
|
|
26
|
-
this.
|
|
27
|
-
this.ar.append(this.
|
|
21
|
+
this.dw = a.createElement("span");
|
|
22
|
+
this.dw.setRawStyleProperty("display", "inline-block");
|
|
23
|
+
this.dw.setRawStyleProperty("overflow", "hidden");
|
|
24
|
+
this.dw.setRawStyleProperty("white-space", "nowrap");
|
|
25
|
+
this.dw.setRawStyleProperty("text-overflow", "ellipsis");
|
|
26
|
+
this.db(this.dw, 1);
|
|
27
|
+
this.ar.append(this.dw);
|
|
28
28
|
}
|
|
29
|
-
get
|
|
30
|
-
return this.
|
|
29
|
+
get dx() {
|
|
30
|
+
return this.dw;
|
|
31
31
|
}
|
|
32
|
-
|
|
33
|
-
super.
|
|
32
|
+
dc(a, b) {
|
|
33
|
+
super.dc(a, b);
|
|
34
34
|
let c = Math.max(0, a - b - (this.bd + this.bf + this.be));
|
|
35
|
-
if (this.
|
|
36
|
-
this.
|
|
37
|
-
this.
|
|
35
|
+
if (this.dz != c) {
|
|
36
|
+
this.dz = c;
|
|
37
|
+
this.dw.setRawStyleProperty("max-width", c.toString() + "px");
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
c1(a, b) {
|
|
41
41
|
super.c1(a, b);
|
|
42
42
|
let c = Math.max(0, a - b);
|
|
43
|
-
if (this.
|
|
44
|
-
this.
|
|
45
|
-
this.
|
|
43
|
+
if (this.dy != c) {
|
|
44
|
+
this.dy = c;
|
|
45
|
+
this.dw.setRawStyleProperty("max-height", c.toString() + "px");
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
c0(a, b) {
|
|
49
49
|
super.c0(a, b);
|
|
50
|
-
if (a == this.
|
|
51
|
-
this.
|
|
50
|
+
if (a == this.dw) {
|
|
51
|
+
this.dw.setRawStyleProperty("line-height", (this.bg - this.bh).toString() + "px");
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
get_ae() {
|
|
@@ -57,7 +57,7 @@ export let TextCell = /*@__PURE__*/ (() => {
|
|
|
57
57
|
ck(a, b, c) {
|
|
58
58
|
super.ck(a, b, c);
|
|
59
59
|
if (a == "Indent" || a == "IsCollapsable") {
|
|
60
|
-
this.
|
|
60
|
+
this.dw.setRawStyleProperty("margin-left", this.bd + this.bf + this.be + "px");
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
}
|
|
@@ -25,9 +25,9 @@ export let TextCellPresenter = /*@__PURE__*/ (() => {
|
|
|
25
25
|
if (a.a7) {
|
|
26
26
|
if (a.bc(TextCellModel.n0) || a.bc(TextCellModel.h2) || a.bc(TextCellModel.gx)) {
|
|
27
27
|
b.kx = this.e(b);
|
|
28
|
-
this.d.c8(this.d.
|
|
28
|
+
this.d.c8(this.d.dx, b.kx);
|
|
29
29
|
}
|
|
30
|
-
ContentCellModelHelper.a(this.a.am, b, this.a.ar, this.d.
|
|
30
|
+
ContentCellModelHelper.a(this.a.am, b, this.a.ar, this.d.dx, this.a);
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
e(a) {
|